Re: Passing XML in a RPC Parameter

Peter Thaggard <[email protected]> Tue, 6 Jan 2004 14:13:45 -0500
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <OFB86155CE.DC939C54-ON85256E13.00698737-85256E13.0069A59B@freddiemac.com>
Hello,

Yes, we do this all the time; in fact, we convert 40,000-row Excel
spreadsheets into XML,
which is then passed to a Java-based web service.

Just define your Web Service to accept a String argument.





                      "Ryan Champlin"
                      <ryan.champlin@FIRS        To:       [email protected]
                      TLOGIC.COM>                cc:
                      Sent by:                   Subject:  [SOAP] Passing XML in a RPC Parameter
                      "Discussion of
                      implementing SOAP
                      applications today"
                      <[email protected]
                      OP.COM>


                      01/06/2004 01:47 PM
                      Please respond to
                      "Discussion of
                      implementing SOAP
                      applications today"






Is it possible to pass an XML document in a parameter of an RPC style web
service method that is expecting a string?  If so what is the
proper procedure for doing this?

When testing various clients we are finding out that we need to encode the
entire XML string in order for this to work.  The web service itself was
developed
using the .Net platform.

Thanks,
Ryan