cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Receiver/Sender in IDOC->XI->SOAP receivers?

Former Member
0 Kudos

hi,

i have idoc-> xi-> soap receiver.

1. How can i get a response back from soap receiver?

2. in the above scenario is SOAP the receiver or agian the sender?

3. not sure how i can get a response back from the soap receiver?

any tips would be helpful.

thanks,

tirumal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi, Tirumal

I have the same problems that you

You can resolve you problems,

Can you help me

I have the same scenary but in the rwb I have the problems

Message processing failed. Cause: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.

but I think so that is because the response of webservice, because i did the interfases asynchronous, the sent the idoc to webservce the sent of data is correct only I have the log in the rwb, but i dont found information

you have some idea.

moorthy
Active Contributor
0 Kudos

In this case , SOAP Receiver will invoke a WeBService. Webservice will give the response back to XI.

SOAP is a Receiver in IDOC->XI->SOAP Scenario. Because XI should invoke the WebService.

SOAP Receiver i.e WebService will give the response. But you need to Handle with Synchnous Message Interfaces.

Thanks,

Moorthy

former_member187339
Active Contributor
0 Kudos

Hi,

>>How can i get a response back from soap receiver?

Make the interface of soap side as SYNCHRONOUS..

And do the appropriate Mapping...

>>in the above scenario is SOAP the receiver or agian the sender?

Receiver...

>>not sure how i can get a response back from the soap receiver?

If you are calling a webservice which sends some response then it will come back to the interface.

Regards

Suraj

Former Member
0 Kudos

Suraj -

You have clarified the first 2 questions.

Third question, did not get enough clarification:

1. I have various SOAP Receivers, no idea what their response would be. Only known at runtime.

2. In the above case, how would i create my data type and the interface?

Thanks,

Tirumal

former_member187339
Active Contributor
0 Kudos

Hi,

You are going to call a webservice(wsdl) from the soap receiver, so you will have the format of the return message with you...

Just import the wsdl and you will get the message type..

Regards

Suraj

Former Member
0 Kudos

hi,

There is no wsdl file. Its a HTTPS URL.

Thanks,

Tirumal

former_member187339
Active Contributor
0 Kudos

Hi,

It should be

<i>

Under Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to.</i>

http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm

What are you specifying?

Can you give the entry in Target URL...

Regards

Suraj

Message was edited by: S.R.Suraj

Former Member
0 Kudos

hi,

I am specifying the complete https url here.

how can i determine the WSDL with the above https path so that i can use this in my response.

They have not provided any wsdl.

Thanks,

tirumal

moorthy
Active Contributor
0 Kudos

Hi Tirumal,

Check this document for the configuring SOAP Reciever.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c7...

Thanks,

Moorthy

Former Member
0 Kudos

Moorthy-

Read the document.

I think i cannot use SOAP Receiver but have to use a HTTPS receiver instead since the URLs that the vendors have provided do not have WSDL but they have propreitary systems running on Webmethods and other web application servers.

Some URLS point to .asp page and some point as in :

https://test.us.com/invoke/B2BDirect.Entry/processDocument

In this case how can i get the response and is there a common reponse data type/message type that i can create?

Thanks,

Tirumal

former_member187339
Active Contributor
0 Kudos

Hi,

Actually i am not clear with the requirement. If you don't have the wsdl then you have to create the response DT, MT and use it in MI. The structure should be taken from end systems.

I was not able to traverse thru the link which you sent.

Regards

Suraj

moorthy
Active Contributor
0 Kudos

Hi ,

Create a Req Message and Response Message (Data Type/Message Type) based on the whatever req/resp is http server is receiving/sending back. This you need to decide based on the http receiver.

This explains about http message type creation.

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

Moorthy

Former Member
0 Kudos

Moorthy -

Ok. So i have to get the HTTP Responses structure from all the various suppliers based on which i can create a generic structure for each supplier.

Thanks,

Tirumal

moorthy
Active Contributor
0 Kudos

Yes, Go ahead on that.

Please close the thread if you think.

Thanks,

Moorthy

Former Member
0 Kudos

I think you can find the response message format by using Dummy Response first and then from error you can find actual response message format. Go to the weblog

/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response

It is for JDBC but should work for your scenario too.

Just give it a try.

Former Member
0 Kudos

Nilkanth -

I will give it a try and let you know.

Thanks,

Tirumal