cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service URL

Former Member
0 Kudos

Hi experts.

I have a web service which i generated and exposed from sender agreement in the PI.

The interface of the web service is async.

Also the soap adapter quality is set to exactly once.

The web service is being called by the url

http://<server>:<ABAP-port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interf...;

But in sxi_monitor i see an sync call to the web service and the status of the message is error.

How should i call the web service in order it will be called async?

Regards Max.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

You can modify it to the below;

http://<server>:<HTTP port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interface=<YourNamespace>%5E<YourInterface>&QualityOfService=ExactlyOnce&sap-user<user>&sap-password<password>&sap-client=<XXX>

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

> http://<server>:<ABAP-port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interf...;

It is not the ABAP port, it is the J2EE port number.

Check this URL formats

http://<server_name>:<J2EE Port>/XISOAPAdapter/MessageServlet?channel=:<Sender_Business_system>

:<Sender_communication_channel>

http://<PIhost>:<j2eeport>/XISOAPAdapter/MessageServlet?channel=:<party>:<service>:<channel>;

http://<PIuser>:<passwd>@<host>:<j2eeport>/XISOAPAdapter/MessageServlet?channel=:<party>:<service>:<...;

New Namespace Introduced from PI 7.1 onwards and it is recommended to use.

http://host:port /XISOAPAdapter/MessageServlet?senderParty=FP& senderService=FS& interface=IF&receiverParty=TP&receiverService=TS&interfaceNamespace=IFNamespace

Regards

Ramesh

Former Member
0 Kudos

Hi I have managed to solve the problem.

The case was to add to the url: http://.......&QualityOfService=ExactlyOnce

Regards Max.

former_member200962
Active Contributor
0 Kudos

Are you directly calling the Integration Engine?

Some Intersting and useful information from Stefan's blog: /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

From the above Blog:
By default the SOAP call is treated as a synchronous call. If you want an asynchronous call, you have to add 
&QualityOfService=ExactlyOnce to the URL. 

This would help you.

Regards,

Abhishek.

Edited by: abhishek salvi on Jun 10, 2010 5:29 PM

former_member200962
Active Contributor
0 Kudos

try the below URL format:

http://<IPAddress OR ServerName>:<PORT_No>/XISOAPAdapter/MessageServlet?channel=:<SenderBusinessService>:<SenderSOAPCC>&version=3.0&Sender.Service=<SenderBusinessService>&Interface=<SenderInterfaceNamespace>%5E<SenderMI>

Add the additional paramaters like sap-user and password if required.

And it is not the ABAP port!

Regards,

Abhishek.

Edited by: abhishek salvi on Jun 10, 2010 5:21 PM