on 04-30-2013 8:22 PM
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) .
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
Please check the below blog for Receiver Proxy.
For further reference check the thread:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.