on 04-06-2011 5:27 AM
Hi Experts,
I have Proxy to SOAP sceario. I gave the WSDL url to third party.
They are developing .net application and using above webservice in the application. They successfully registered the WSDL url and able to read the methods. The problem here, while invoking the method of PI webservice the following error displayed.
"The request faild with HTTP status 401: Unauthorized."
Please help me.
Thanks - Sridhar
hi,
one point to consider. if your scenario is proxy2SOAP why did you gie the wsdl to the third party??? in this kind of scenario you consume the third party WSDL importing it as external definition.
or you was wrong when typing the thread or your conceps are upside down
whatever the error relate to user credential error, so to solve it you have to mantaince the PI USER you gave to third party.
use XML Spy or SOAP UI to test your scenario and make sure the user is right.
other possibility is edit your WSDL ussing notepad for example and locate the tag ADDRESS LOCATION and the bottom of it:
<soap:address location="http://<server:port>/XISOAPAdapter/MessageServlet?channel=:<Businnes System>:System_sends_SOAP_request&version=3.0&Sender.Service=<Businnes System>&Interface=<namespace>
copy the location and paste in your browser, it will requiere to you to authenticate and should get a message like
Message Servlet is in Status OK
Status information:
...
....
...
Thanks
Rodrigo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a Service user login on PI system, then put login credentials in endpoint url when client calling.
http://<server:port>/XISOAPAdapter/MessageServlet?channel=:<Businnes System>:System_sends_SOAP_request&version=3.0&Sender.Service=<Businnes System>&Interface=<namespace>&sap-user=<USER>&sap-password=<PASS>
HTTP 401 unauthorized error is due to invalid login credentials. You have to create valid service user for PI and provide it to your client.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
In order to solve this, ensure you have maintained the correct password, which MUST be the same, for all the service users
on XI. You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..
Kindly check the note below:
#936093 - XI 7.0: Changing the passwords of XI service users
Also ensure that the user has the correct role as per link below:
http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm
And set the value of xiadapter.inbound.timeout.default = 600000
You may refer to note #791379 for that.
Best regards,
Caio Cagnani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Description: The request requires user authentication
Possible Tips:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
thanks,
Bhupesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.