cancel
Showing results for 
Search instead for 
Did you mean: 

Step By Step SOAP to PROXY

Former Member
0 Kudos

Hi Experts ,

We have a scenario where we have SOAP on sender side and ABAP proxy as receiver .

Scenario : Synchronous

The sender send one request with one field and PI has to send that field to CRM via ABAP proxy , CRM in return should send the response (ABAP PROXY) and that response PI should send it to Sender via web service

Question :

Do I need to create 2 ABAP proxies , one for request and one for response or we can use one proxy for both request and response ?

Same thing do we need 2 WSDL for request and response or we can use one WSDL with request and response ?

Request to please share your inputs and any pointer on how to create the web service to ABAP Proxy (Sync) .

Accepted Solutions (0)

Answers (5)

Answers (5)

smavachee
Active Contributor
0 Kudos

> Create DT and respective MT for Request and Response.

> Create Service Interfaces with Synchronous mode with respective MT's.

> Two seperate MM with respective Request and Response MT's.

> Create Operation Mapping and call both Request and Response Mappings in it.

> Complete the Configuration part considering Sender SOAP and Receiver ECC Services.

> Configure CC with required parameters in Sender SOAP CC and Receiver XI CC.

> Genenate WSDL from Sender agreement and save it as a local file.

> Use SOAP UI or any available Tool. Import the generated wsdl, provide input data and execute the test.

> If you are comfortable with expected result, deliver wsdl to the Sender Party.

> For Inbound Proxy, you can refer initial replies.

Hope it helps.!

Regards,

Sunil

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>Does that makes conclusions that we will have 2 different mappings ...

Yes, You will have two mappings one for request (i.e soap request structure to proxy request structure) and other one for response (i.e abap response structure to soap response)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

There are plenty of threads related to SOAP sender and proxy receiver scenarios. To answer your second question,  you are hosting web service using soap sender so you have to create request and response message and generate WSDL and share it to the sender system. Or you can use the same request and response data structure for outbound and inbound message.  Use outbound interface for the wsdl generation. Use SPROXY in the abap system and generate proxy methods using inbound interface.

nabendu_sen
Active Contributor
0 Kudos

Hi Abhishek,

Please check the below blog for Receiver Proxy.

http://wiki.sdn.sap.com/wiki/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2b...

For further reference check the thread:

http://scn.sap.com/thread/1515328

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Abhishek,

You need to create two data types for request/response messages to use it in Proxy and make sure that service interface type synchrnous /inbound for ABAP proxy.Then you need generate proxy in ECC-SPROXY and implement code.

For SOAP , request your Web service team to share req/response structures,sometimes they may provide WSDL/XSD/DTD.

One WSDL file can have req/response structures.

Search in scn,you will find many docs.

Thank you,

Raj

Former Member
0 Kudos

Hi Raja ,

Does that makes conclusions that we will have 2 different mappings ...one for request and one for response for ABAP proxy ? Cant we use one proxy structure with request and response fields ?

rajasekhar_reddy14
Active Contributor
0 Kudos

As I mentioned earlier replay search in scn.

You need to mappings one is for request and other one is for response.

You need to create two data types for Proxy or WSDL/XSD/DTD should have two structures (request and response),if both request and response structures same then use same message type for request and response in service interface for Proxy.