logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Constructin SOAP request XML: msg#00049

Subject: Re: Constructin SOAP request XML
I'm not trying to build XML, it's more of a generation of repetitive SOAP requests, for which I'd like to create a method that will pass typical parameters into a request structure. I was doing some digging around through the nusoap code last night, and found the 'soap_val' object, which is kind of what I'm looking for. The only problem with that object is that it creates this randomly generated element namespace (something I could do without or maybe it doesn't really matter). I've used the soap_val object before for ESRI Map Services, and it seemed to do exactly that, build a SOAP request. Still a bit wary about what to use. Any pointers would be of great help.

CJ...

On 4/12/06, Scott Nichol <snicholnews@xxxxxxxxxxxxxxx> wrote:
Normally, one does not build the XML in one's own code.  That is usually done only where the service requires some particular construct that NuSOAP will not correctly generate automatically.  It is more typical that code will pass NuSOAP arrays of method parameters that NuSOAP will use to generate the XML payload.

The samples directory in CVS and the NuSOAP distributions includes examples of passing parameters as arrays.  There are also a number of tutorials on the 'net that show how to do this, including mine starting at http://www.scottnichol.com/nusoapintro.htm.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "C.J." <cj@xxxxxxxxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx >
Sent: Wednesday, April 12, 2006 10:38 AM
Subject: [Nusoap-general] Constructin SOAP request XML


> Hello guys,
>
> I'm fairly new to the inner workings of NuSOAP, and got some really good
> scripts together in the past few days for a program I'm working on. My
> question regards a SOAP request that needs to be sent to a web service in
> parts (i.e. Request header, footer, and body/actual request). Does nusoap
> have a way of building the XML, or do you have to write out the XML by hand
> everytime?
>
> Cheers,
> CJ...
>
> --
> Christopher J. Walsh...
> +------------------------------+
> + OdeWeb Designs               +
> + http://www.odewebdesigns.com +
> + cj@xxxxxxxxxxxxxxxxx         +
> +------------------------------+
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general

<Prev in Thread] Current Thread [Next in Thread>