cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC To WebService Asynchronous

venkatasap
Participant
0 Kudos

Hi Sap All.

i have got an issue in an IDOC to Webservice Asynchronous.

the Issue is the IDOC has got 10 fields which should be mapped with 10 fields in webservice(XSD) structure but then after mapping to the webservice structure of 10 fields ,all the 10 fields in the reciever webservice should be converted into a single long string which should be passed to reciever via an SOAP reciever channel.

the reason y pi need to convert all 10 fields of reciever webservice structure to a single long string is :

i have got a target url as http://trsdevapp1:9080/xxwww/services/ServiceHandler/wsdl/ServiceHandler.wsdl which pi need to send the data to,but when i type this url in my soap test tool it has given me the structure with only one long string where pi need to send the data to.

can any body help me in doing this .

regards.

Varma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Varma,

If you are using PI 7.1 then you can use the weblog given by shekar. If you are on PI 7.0 or XI 3.0 then you can use CDATA. Do a search for CDATA in sdn. In some of the links you can find the xsl mapping. So once you have done your graphical mapping add another mapping which is xsl that will put into one string. You can find the xsl code in one of the links.

Regards,

---Satish

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Varma,

The XSD hwta you have it has 10 fileds and you have done mapping accordingly,that is the reason you getting data with 10 fileds.

If you want to append to onse sttring then get XSD for only new structure , like how you want to append ,like you want to genarate one string ??

check out this blog

/people/jyothi.anagani/blog/2010/06/17/convert-the-input-xml-to-string-in-pi-71-using-standard-graphical-mapping

Regards,

Raj

former_member207622
Contributor
0 Kudos

HI

You can use the return as xml feauture of pI 7.1 . where in you can append the data in a single row

the link is given by above .

Regards

Ninad