on 04-12-2006 6:04 PM
Hi All,
From the Integration Directory we took the WSDL file
for a service.
We used the same in NWDS for invoking the WebService
We are getting the following error while invoking a web service,
java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
Can anyone help.
Thanks in Advance
Chemmanz
Hi,
It may be because of this reason-
SP level of NWDS and XI- it is prefer to have both are on same level
Hope this helps,
Thanks,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>Invalid Response Code: (401) Unauthorized.
Make sure u are setting basic credentails before making the SOAP call.
How are you making the webservice call?? do you have a deployable stand alone java proxy or generated a model from the wsdl??.
cheers,
naveen
Message was edited by: Naveen Pandrangi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moorthy,
I took the option Tools->Define Webservice to create wsdl
there the URL I should give as
http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet? channel=:<service>:<channel>
I have some doubts abt
<j2ee-port> - is it 50000 or 8000
Channel ???
Service ???
I am using a SoapSender adapter ?
How can I authenticate user??
Regards
Chemmanz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
<j2ee-port> - is it 50000 or 8000
>>>> Usually 50000
Channel ???
>>>>SOAP Sender Adapter
Service ???
>>> You can create your own Business Service/Systems.
Some links-
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Hope this helps,
Regards,
Moorthy
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.