cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc---SOAP---Mail

Former Member
0 Kudos

Hi Experts,

Is this possible?

I configured a IDoc to soap to mail scenario. For this I imported IDoc CREMAS05, standard, under the namespace, and WSDL. The soap is syncronous. To capture soap response msg I created on Message Type. I used in the outbound syncronous Service Interface the IDoc, and Message type for response.

And inbound syncronous WSDL. Mapped IDoc to request message of WSDL and response to Message type MT_ZPOC_VENDOR_RES.

First I tried with keeping both Service interfaces Asyncronous and got IDoc successfully posted to WSDL. Later I changed to syncronous to capture response and send mail. The below screen is when SI are asyncronous.

ID configuration when SI are syncronous

Here I configured Receiver Mail adapter along with the soap adapter, and receiver agreement for both.

Will this configuration possible. Suggest me if any changes. Also suggest me the Mail adapter Transport Protocol and URL.

Accepted Solutions (0)

Answers (2)

Answers (2)

nabendu_sen
Active Contributor
0 Kudos

Hi Naveen,

You can also go with below approach if you do not have huge number messages:

IDoc (Async) Source  --> Web Service SOAP Lookup from UDF (Sync)  --> Mail (Async) Target.

You can check the below blog for SOAP Look up code from UDF.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2006/11/20/webservice-calls-from-a-user-defi...

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you need to configure it this way with dynamicconfiguration bean - any other way will not work,

http://scn.sap.com/blogs/henrique/2007/08/02/syncasync-scenarios-without-bpm

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Naveen,

Idoc will not work for synchronous scenario.  As suggested by michal follow the link to achieve your requirement.

Get the mail adapter URL from your client or Basis team.  Follow the below link for mail configuration.

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

Thanks,

Satish.