cancel
Showing results for 
Search instead for 
Did you mean: 

RPC style Webservice wants input as String, How to do?

Former Member
0 Kudos

Hi All,

Please help in solving sending XML to web-service

My WebService WSDL following lines shows one field

<wsdl:message name="publishSalesOrderCanonicalInput">

<wsdl:part name="_x0078_mlString" type="xsd:string"/>

</wsdl:message>

There is only one part(field) but we wants to send 50 field XML.

But If you see Note:856597 & attached WSDL in Note getQuote_rpc.wsdl following lines

<message name="GetTradePriceInput">

<part name="tickerSymbol" type="xsd:string"/>

<part name="time" type="xsd:dateTime"/>

</message>

There are two part(fields) for two XML fields as in Note.

Is it possible to Pass XML message in this type of web-service?

If possible then How can I send?

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closed

henrique_pinto
Active Contributor
0 Kudos

First of all, RPC encoded WSDL's don't work nice in XI.

Try to change it to Document/literal.

To pass a XML as a string, use this solution: /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

Regards,

Henrique.