logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: pointers on asp SOAP client calls to php based nusoap server: msg#00003

Subject: Re: pointers on asp SOAP client calls to php based nusoap server
thanks all for the responses. I did get it working and Dan is right, it is a HUGE pain the a$$! unfortunately I couldn't use the latest asp stuff because our windoze servers haven't been updated in quite a while, and they are hesitant to do it, gotta love Bill and Co.!

thanks again,
ken;
On Dec 3, 2005, at 10:28 PM, Dan Rossi wrote:

I was forced to do a pure asp version, aswell as a .NET version which was far more nicer to do, as we couldnt expect our clients to have the xml toolkit on their servers. Email me if u want the example, as it was a pain in the ass.

On 03/12/2005, at 8:29 AM, Scott Nichol wrote:

Before I forget: did you consider using the MS SOAP Toolkit from ASP? The toolkit has COM classes to do SOAP. The "high-level" API let's you specify the WSDL then make your call(s). Almost no coding (or understanding what you are doing ;-) is necessary.

The syntax you show below for generating the XML payload looks reasonable. The namespace on the method line comes from the WSDL. It will be specified for the "operation" within the "binding". WSDL for an example operation is

<operation name="echoBoolean">
<soap:operation soapAction="http://www.scottnichol.com/samples/ round2_base_server.php/echoBoolean" style="rpc"/>
 <input>
<soap:body use="encoded" namespace="http://soapinterop.org/"; encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
 <output>
<soap:body use="encoded" namespace="http://soapinterop.org/"; encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>

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: "Ken Hawkins" <ken@xxxxxxxxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, December 01, 2005 2:35 PM
Subject: [Nusoap-general] pointers on asp SOAP client calls to php based nusoap server


I do have everything up and running on a php based nusoap server and
can communicate fine with Java and php. Now however, I get to pitch
in and help out with asp (I am not an asp guy!). Anyway can someone
point me in the correct direction to properly contruct the SOAP call
within asp?

by that I mean that I have:

strSoapEnvelopeHead = _
"<SOAP-ENV:Envelope" $_
" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/
encoding/"" &_
" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/""; &_
" xmlns:xsd="http://www.w3.org/2001/XMLSchema""; &_
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance""; &_
" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/""; &_
" xmlns:si="http://soapinterop.org/xsd";>" &_
"<SOAP-ENV:Header></SOAP-ENV:Header>" & _
"<SOAP-ENV:Body>"



     strSoapEnvelopeTail = _
  "</SOAP-ENV:Body>" & _
       "</SOAP-ENV:Envelope>"

which are (I think correct) the head and tail sections. it is the
method stuff that throws me:

strSoapEnvelopMethod = _
       "<m:getFooMethod xmlns:m=""urn:?????"">" & _
       "<some xsi:type="xsd:string">" & pSome & "</some > " $_
  "< text xsi:type="xsd:string">" & pText & "</text> " $_
       "</m:getFooMethod >"

I do not know;

1) what to put in the urn.
2) if the syntax is correct.

the rest is cake for me except this.

thanks in advance,
ken;


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


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