on 06-22-2011 2:40 PM
Hi Guru's,
I am trying to post the data to the External URL.
The scenario is asynchronous. I have done with the configuration part and able to successfully ping to the External Server.
The issue is the XML format that i am sending to the external server is :
*xml
=
< ?xml version="1.0" encoding="UTF-8"? >\n< ns1:MT_SEND_DATA_URL xmlns:ns1="http:/XXXX/XXXX/X_X_X" >
< REQUEST >
< INVITE_DETAIL >
< MSG_ID >
< /MSG_ID >
< SERVICE >
< /SERVICE >
< MAIL_LINK >
< /MAIL_LINK >
< OPT_MESSAGE > poiuyt poiuy</OPT_MESSAGE >
< RECV_EMAIL >< /RECV_EMAIL >
< SENDER_EMAIL >com< /SENDER_EMAIL >
< SENDER_NAME > < /SENDER_NAME >
< USER_ID >123456< /USER_ID >
< /INVITE_DETAIL >
< META >
< ACTION >qwerty< /ACTION >
< /META >
< /REQUEST >
< /ns1:MT_SEND_DATA_URL >*
while the required Output format should be :
*<?xml version=\"1.0\" encoding=\"UTF-8\"?>
< request >
< meta >
< action>XXXXe</action >
< /meta >
< invite_details >
< user_id>1105288</user_id >
< senders_name><![CDATA[abc]]></senders_name >
< senders_email><![CDATA[ ]]></senders_email >
< user_id><![CDATA[000000]]></user_id >
< emails><![CDATA[ ]]></emails >
< opt_message><![CDATA[]]></opt_message >
< mail_link><![CDATA[http://www.xyz.com]]></mail_link >
< service><![CDATA[abc]]></service >
< msg_id><![CDATA[def]]></msg_id >
< /invite_details >
< /request >*
Please provide the Solution for this.
Thanks,
regards,
akshay ruia.
Hi,
If you doesn't have the XSD or WSDL file.
Create a Data type structure as
< meta >
< action>XXXXe</action >
< /meta >
< invite_details >
< user_id>1105288</user_id >
< senders_name><![CDATAabc]></senders_name >
< senders_email><![CDATA ]></senders_email >
< user_id><![CDATA000000]></user_id >
< emails><![CDATA ]></emails >
< opt_message><!CDATA[]></opt_message >
< mail_link><![CDATAhttp://www.xyz.com]></mail_link >
< service><![CDATAabc]></service >
< msg_id><![CDATAdef]></msg_id >
< /invite_details >
Create a messge type as request i.e. message type name should be request and delete the namespace in XML Namespace text box
In Messge Mapping you can check the format of the message
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akshay,
Import as External definition ...please go through the below link which helps you how to import your external defenitions.
Regards,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you not import the required format as External definition in SAP PI and do the message mapping. Please try that out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.