By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,592 Members | 1,931 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,592 IT Pros & Developers. It's quick & easy.

Can a Excel Client call a nusoap server without WSDL?

P: n/a
I am using the nusoap client and nusoap server without any problem.

However, once I change the client to the excel, I am not sure how to
call the nusoap server. Especially the nusoap server only generate
the a SOAP message as follow instead of a WSDL file.

So, my question is

1.) Can I use excel or .Net as a client to call the nusoap server?

2.) If I can, how should I call it in the excel client side?
I am using the follow sentence to call when using the nusoapcleint.
$price = $client->call('lookup',$param,$namespace);

Thanks All.
This whole sample was based on apple tutorial.
http://developer.apple.com/internet/...s/soapphp.html
//THE XML request send to SERVER from Client.
<?xml version="1.0" encoding="ISO-8859-1"?>
<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:Body>
<ns1:lookup xmlns:ns1="urn:xmethods-BNPriceCheck">
<isbn xsi:type="xsd:string">111</isbn>
</ns1:lookup>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
//The XML result return by SERVER to Client.

<?xml version="1.0" encoding="ISO-8859-1"?>
<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:Body>
<ns1:lookupResponse xmlns:ns1="urn:xmethods-BNPriceCheck">
<return>
<price xsi:type="xsd:string">11</price>
<detail xsi:type="xsd:string">the 111 book</detail>
</return>
</ns1:lookupResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.