cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to Idoc interface

former_member745782
Active Participant
0 Kudos

hello gurus!

In my PI i want implement a interface webservice to Idoc.

It's necessary made a sync/async bridge?

I would like send back a ack to my webservice, just for to be sure message is arrived to PI.

Someone have a example?

i search but i found nothing on line

thanks

Alex

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Alex,

> It's necessary made a sync/async bridge?

Not necessary

> I would like send back a ack to my webservice, just for to be sure message is arrived to PI.

Check this link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3...

Regards

Ramesh

former_member745782
Active Participant
0 Kudos

so if is not necessary... how i can realise my interface??

i tried to build it without sync/async bridge but he don't work.

Someone already had a experience of SOAP - PI - IDOC interface????

former_member200962
Active Contributor
0 Kudos
Someone already had a experience of SOAP - PI - IDOC interface????

Create the objects (Message Interfaces) as Asynchronous....in ID create the SOAP sender channel and select the QoS as Exactly Once.....apart from these we dont do any special setting for such an interface....it will be pretty straight-forward.

Regards,

Abhishek.

former_member745782
Active Participant
0 Kudos

i do exactly this.

pity no one message arriving in PI and i cannot see any error. No in intergration monitor. No in adapter monitor.

No messages, no errors no logs

prateek
Active Contributor
0 Kudos

If you really want only async scenario, then it is problem with your sender soap application. See what message you get when sending soap message. You can also trace the call using TCPGateway.

/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway

Regards,

Prateek

former_member745782
Active Participant
0 Kudos

i installed and tried the TCP gateway.

After sending a message i have this error in TCP gw:

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

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

<context>XIAdapter</context>

<code>ADAPTER.JAVA_EXCEPTION</code>

<text><![CDATA[

com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve binding for the given channelId: Binding:CID=null;

the link of ws is correct: http://xxxxxx:50000/XISOAPAdapter/MessageServlet?channel=:BS_PMF_DEV:CC_PMF_SOAP_SENDER

i alread cleaned cache

any suggestion?

former_member745782
Active Participant
0 Kudos

unbelivable!

i delete old comunication channell and i create a new one IDENTICAL!

now interface work...

misterious PI

Edited by: apederiva on Feb 17, 2010 3:37 PM

0 Kudos

Isn't it your Webservice would return status code 200?

However you can build ALEAUD message type in PI system and post it back to your webservice against that IDOC#.

Probably you need to make another Async message for this one. Also publish webservice to post the data from PI.

Use Async bridge as Michael suggested.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>It's necessary made a sync/async bridge?

no as IDOC is does not send a reopnse message back by default - you need schedule sending it

but in case of IDOCs one ack can arrive for many idocs so this is not a good desing

just make sure you will have two soap calls:

one with IDOC - WS -> PI

and another one with IDOC confirmation - PI - WS

just don't do it in a sync way...

Regards,

Michal Krawczyk