cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SOAP to IDOC Scenario

former_member440061
Participant
0 Kudos

Hi,

We have implemented a SOAP to IDOC scenario and the onjects have been moved to production envrionment now. I have provided the end point url to the third party (Maximo) to connect to the Web service exposed by PI.

But when I try to access the same url in a browser, I am getting the error I have attached.

403 Forbidden

You are not authorized to view the requested resource.


Details:

The requested resource is not in public directory of the server.

the username and passwird are working fine.

The url I provided them was obtained using SOAP UI.

Url looks like this :

http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=BC_MaximoSAP&receiverParty=...

Please help urgently.

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

HI Faisal,

You can get the URL with Service Registry as well.

Try with the URL: http://host:portSOAPAdapter/MessageServlet?channel=:BC_MaximoSAP:CommunicationChannel

You need to know the name of the communication channel.

Check also your user roles Service Users - Configuration of SAP NetWeaver - SAP Library

, you need to have the same roles that PIAPPLUSER.

Regards.

former_member440061
Participant
0 Kudos

Hello Iñaki,

thanks for responding.


I tried the url format you mentioned : http://host:portSOAPAdapter/MessageServlet?channel=:BC_MaximoSAP:CommunicationChannel

But it gives 404 Error : The Requested resource doesn't exist.

I have also got roles corresponding to  PIAPPLUSER added to the user I am using. but still no go:

It gives error 403 with the url I have mentioed in the original post.

Can you please let me knowhow can I get the url from Service registry. Any other thing I can/need to  check for this.

Thanks.

iaki_vila
Active Contributor
0 Kudos

Hi Faisal,

My apologizes, the URL is: http://host:port/XISOAPAdapter/MessageServlet?channel=:BC_MaximoSAP:yourcommunicationchannel

I skip a / between the port and XISOAPAdapter

To get the WSDL form service registry, you need at least a SAP 7.1 and to publish the scenario, check the exceptional Daniel Graversen's blog

Regards.

former_member440061
Participant
0 Kudos

Hi,

The issue is resolved.

I asked Basis people to restart the server and it started wokring.

Thanks everyone for showing interest.

Buut I did n't understand why it started showing error 403. The only change that I am aware of is that some additional hardware was added to PI server as it low on memory.

Any clues..?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Regenerate ur wsdl file and search for "soap:address location" tag and there u will find your endpoint URL.

In addition to that, make sure SAP_XI_APPL_SERV_USER user roles are assigned to the id which you are using to ping soap endpoint URL.

Thanks

Amit Srivastava