on 06-11-2012 9:50 AM
Dear All,
I am designing Proxcy to SOAP scenario.
Sender ECC proxy
Receiver SOAP
I have defined source Data type message type and message mapping.
custom message type for proxy
MT_ABS_REQ
MT_ABS_RES
Service interface
SI_PROXY_IN - with above mentioned message types
SI_ABS_RES
with WSDL - request and response.
MM_ABS_REQ message mapping with - MT_ABS_REQ & (AbsenceSOAPin)External soap definition
MM_ABS_RES message mapping with - AbsenceSOAPout external definition and MT_ABS_RES.
i have created the proxy using SI_PROXY_IN and class has beed created ZCO_SI_PROXY_IN.
please advice proxy created for SI_PROXY_IN is correct or not and how to write a proxy program to send and handle the response from SOAP call.
Regards
Sukumar
Hi Sukumar,
Based on the description you gave, your configuration looks correct. Calling the proxy is really simple - you only need to create an object of the generated proxy class ZCO_SI_PROXY_IN and call one of its methods to send data to PI. Use this as a reference:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/3e/a35c3cff8ca92be10000000a114084/frameset.htm
Also, bear in mind that in newer versions, the sender proxy implementing class method is no longer called EXECUTE_SYNCHRONOUS, but the name is identical to the name of your sender operation.
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for suggestion ......i solved the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sukumar,
A few cents:
Check how the abap-proxy sender/consumer side works:
http://scn.sap.com/docs/DOC-3813
http://scn.sap.com/docs/DOC-3797
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Thanks for all suggestion...i have done with ABAP proxy generation....and its delivering data to PI ....but SXMB_MONI shows success full message but ..mapping is truncated
like below
Actual testing in Message mapping
<?xml version="1.0"
encoding="UTF-8"?>
<ns0:ZHR_ABSENCE_TO_GOALS
xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<IT_ABSENCE>
<item>
<EMPL_NUMBER>123456</EMPL_NUMBER>
<DAY_FROM>20120606</DAY_FROM>
<DAY_TO>20120606</DAY_TO>
<ABSENCE_TYPE>general</ABSENCE_TYPE>
</item>
</IT_ABSENCE>
</ns0:ZHR_ABSENCE_TO_GOALS>
Resul in SXMB_MONI payload.
Hi Sukumar,
adapter framework: java.io.IOException: unable to create a socket
This error comes when the connectivity fails between PI and Web service System, request your Basis and Network team to open necessary ports to connect Web service System.
Genarate proxy one more time, after doing structural change sin WSDL(Proxy structure) you have to genarate proxy one more time.
Regards,
Raj
>adapter framework: java.io.IOException: unable to create a socket
The message is not flowing between PI and target system. The reason is that firewall port is not enabled between PI server and webservice target system. Talk to network team to create firewall rules to establish connection between target and PI. Also you might want to check with target system outside pi using soapui to check the connectivity.
please advice proxy created for SI_PROXY_IN is correct or not and how to write a proxy program to send and handle the response from SOAP call.
first generate Proxy by using T.c SPROXY then write a report and in report , create Object and call the method ............
pls refer below link :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
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.