cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP - Working from outside SAP but not inside

Former Member
0 Kudos

Hi guys!

I was able to use my WSDL file, generated from SAP-PI, using a tool called SOAPUI. In that tool I use my username and password. No problem there!

But, if I publish this Sender Agreement in my Service Registry, and test it, using the same username and password, I get the error:

Received HTTP response code 401 : Unauthorized.

Any thoughts on why this differente behavior? Should be at least the same I guess.

Thanks!

Ricardo Sancio Lóra

Brazil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

BASIS had forgot to establish the trust association between the Adapter and Integration Server..

Former Member
0 Kudos

One more thing..

I was able to see that in my WSDL the URL is something like:

sap/xi/engine?.... (using INTEGRATION SERVER)

And in my Sender Agreement is something like:

/XISOAPAdapter/MessageServlet?... (ADAPTER ENGINE)

VijayKonam
Active Contributor
0 Kudos

The second URL is correct and you should only that as the end point URL for testing the service.

VJ

Former Member
0 Kudos

VJ,

But the problem is that the second URL is not working - UNAUTHORIZED 401 error HTTP.

My user has 'full power' and still nothing.

This is regarding my QAS environment, in my DEV enrvironment, everything works fine. I did compare as much as I could, and my BASIS team is also helping.

Ricardo

Former Member
0 Kudos

Have you tried hitting your Web service with Web Service Navigator?

If that succeeds then the problem may be with your roles in ESR. If not, this needs to be looked from a different angle.