cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP error in SOAP Adapter

Former Member
0 Kudos

Hello Everybody,

I have a SOAP adapter with several communication channels configured.

When i want to test these scenarios, i obtain this error:

com.sap.aii.messaging.net.TransportException: HTTP 401 Unauthorized

at com.sap.aii.messaging.net.ClientHttpImpl.call(ClientHttpImpl.java:180)

at com.sap.aii.messaging.adapter.WSTestClient.doPost(WSTestClient.java:241)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.aii.messaging.adapter.Zone.service(ModuleGUIBrowserEngine.java:1072)

at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:370)

What could be happening? Is something about permissions in SOAP? in this case what are the SOAP commands to specify this parameters?

Thakns a LOT!!

Regards,

Javier Sahagun

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I explain what we have done in this message; thanks to all for your aid

Former Member
0 Kudos

This blog entry may help you, it was a saving grace for me:

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

agasthuri_doss
Active Contributor
0 Kudos

Hi,

1)check the maintain Client, userid, password, and lang information in SICF transaction -> sap/xi/engine and click on service and check whether you have entered right information.

2)check OSS Note 769062.

3)Check your BASIS component whether it is on the same SP Level as your J2EE engine.

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi agasthuri

I readed https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4061. [original link is broken] [original link is broken] [original link is broken] [original link is broken]

I restarted the service in SICF transaction, etc, etc, etc.....

now I execute and I receive

java.lang.NullPointerException

at com.sap.aii.messaging.net.EndpointImpl.parseURI(EndpointImpl.java:303)

at com.sap.aii.messaging.net.EndpointImpl.<init>(EndpointImpl.java:59)

at com.sap.aii.messaging.net.EndpointHTTPImpl.<init>(EndpointHTTPImpl.java:33)

at com.sap.aii.messaging.net.FactoryImpl.createEndpoint(FactoryImpl.java:116)

at com.sap.aii.messaging.adapter.XMBTestClient.doPost(XMBTestClient.java:223)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.aii.messaging.adapter.Zone.service(ModuleGUIBrowserEngine.java:1072)

at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:370)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Am not very sure if this can be the cause, but if you are using a receiver SOAP adapter , and if there is a proxy between the XI and your Webservice, you would need to give the Porxy server details along with the Credetials in the receievr SOAP adapter.

Can you pl check this.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh

I am use Sender SOAP Adapter and Receiver RFC Adapter in my scenario

Regards

Former Member
0 Kudos

Hi gurus:

The scenario that I'm trying to create is the one that is described in blog:

/people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi

thanks

agasthuri_doss
Active Contributor
0 Kudos

Hi,

check the requesting username & password.

check the index_service is locked

check this weblog..

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Regards

Agasthuri Doss