cancel
Showing results for 
Search instead for 
Did you mean: 

Can Through WebService (SOAP to RFC/Proxy) Asynchronous possible?

Former Member
0 Kudos

Dear Gurus,

Can we push the data asynchrnously using webService.Let say I have SOAP to RFC/Proxy Scenario and want to push the data in SAP CRM or BW system ,Is possible that we do it Asynchronuosly? One Side communication through SOAP?

Please advice,

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

yes you can.

The WS will have no response structure and your QoS should be set to EO

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos
One Side communication through SOAP?

Message/ Service Interface in XI/PI should be defined with Mode as Asynchronous.....and then in ID create the WSDL for this Asynchronous MI/ SI.....this is how your SOAP Async will work....provide this WSDL to sender application.

Regards,

Abhishek.

Former Member
0 Kudos

Hi Abhishek,

I have created the below objects

Sender DT

Receiver DT

Sender MT

Receiver MT

Outbound Messsafe Interface(Asyn)

Inbound Message Interface (Asyn)

One Mapping( Source to target)

Interface Mapping

In ID

One Sender Channel ( with Default namespace=sender Message Interface )

Quality of service (EO)

One Receiver Channel(RFC)

but I am runing this scenario .

there are many points which I have observed

1--I am getting the log version in MONI of XI (Not any Message)

2---No Call Adapter step is coimg in pipeline steps of MONI (however there are already some interface which are runing so I suposse this not the patach level) problem

3---And the last one I have given (EO but it coimg as BE as Quality od service)

Regards

Former Member
0 Kudos

Hi All,

To make my scenario asyncronous I have added the QOS=EO in my below URL

<soap:address location="http://iltlvsap23.sap.as.com:8000/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=WS2BI_Test&amp;Interface=urn%3AWS2BI%5ESOAPMI;QOS=EO" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>

still I am getting every timesame 3 messages in MONI one for log version(Best Effort) QOS and other 2 with error

Regards

Edited by: Manish22 on May 13, 2010 3:00 PM

Edited by: Manish22 on May 13, 2010 3:02 PM

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi All,

>

> To make my scenario asyncronous I have added the QOS=EO in my below URL

it should be

&QualityOfService=ExactlyOnce

Former Member
0 Kudos

Hi Vijay,

I have used this also

&QualityOfService=ExactlyOnce

when I am opening the WSDL In XML spy editing the URL and adding the &QualityOfService=ExactlyOnce

to URL and saving the WSDL it is giveing error.the file is not vaild.

I am also following these threds

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

I am adding the QOS in my URL like this..

<soap:address location="http://iltlvsap23.sap.ns.com:8000/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=WS2BI_Test&amp;Interface=urn%3AWS2BI%5ESOAPMI;&QualityOfService=ExactlyOnce" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>

My Scenario is SOAP to RFC Asyn

Plz suggest

Regards

Edited by: Manish22 on May 14, 2010 10:08 AM

Former Member
0 Kudos

Hi,

<wsdl:port name="SOAPMIPort" binding="p1:SOAPMIBinding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

<soap:address location="http://iltlvsap23.sap.ns.com:8000/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=WS2BI_Test&amp;Interface=urn%3AWS2BI%5ESOAPMI;QualityofService=Exactly Once&amp;" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>

</wsdl:port>

Now I have added the QOS = Excatly Once but still it is not working.

I am getting the same Error IN SXMB_MONI

<faultcode>SOAP:Server</faultcode>

<faultstring>System Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context/>

<code>MAPPING.NO_MAPPINGPROGRAM_FOUND</code>

<text>Interface mapping Object ID 70D5388ED71830AEA75F619DF7889EE4 Software Component 00ECC9E06D1211DDB9F5FD010A1E01B6 does not exist in runtime cache</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Regards

Former Member
0 Kudos

Hi Manish,

Do not manually go and add in the WSDL. Infact make the WSDL over MT from ESR by going in Tools -> Display WSDL and use this WSDL to trigger the interface.

Regards,

Neelansha

Former Member
0 Kudos

Hi neelansha,

In ID there no option

Tools -> Display WSDL and use this WSDL to trigger the interface.

there is only one option define webservice and there is no option to add Quality of Service automatically

there is some thing wrong wid my SOAPUI tool I think beacuse if I have config scenario wrong then it should give error then also when I am sending message from XI(RWB) it is showing QOS= EO but when I am sending the message from SOAP tool it is showing error with QOS=BE..

Plz suggest...

Regards

Former Member
0 Kudos

Hi,

What version of SAP PI are you using.

The QoS can't be changed in WSDL. You will have to create a new WSDL which will pick up the QoS from the channel as while defining WSDL you have to give the URL which contains the channel name as well as the Business system.

You can create WSDL from Define web service and use that WSDL to trigger the interface. The QoS will be picked from the communication channel. In communication channel add that Qos which you want and after that create the WSDL. This WSDL will not throw the error . and as u said that from RWB the error is not coming, I think in channel the right QoS is there.

Try tis once.

Regards,

Neelansha

Former Member
0 Kudos

Hi,

Below are some thread links as same problem I am getting in My Scenario.

We are on XI3.0

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Regards

Edited by: Manish22 on May 17, 2010 8:31 AM

Former Member
0 Kudos

Hi Manish,

The blog by Stefan says the same as I told you, try creating the WSDL, it will automatically take the QoS.

Regards,

Neelansha