Can a Excel Client call a nusoap server without WSDL?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Unbreakable

    Can a Excel Client call a nusoap server without WSDL?

    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,$namespa ce);

    Thanks All.
    This whole sample was based on apple tutorial.



    //THE XML request send to SERVER from Client.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <SOAP-ENV:Envelope SOAP-ENV:encodingSty le="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:s tring">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:encodingSty le="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:lookupResp onse xmlns:ns1="urn: xmethods-BNPriceCheck">
    <return>
    <price xsi:type="xsd:s tring">11</price>
    <detail xsi:type="xsd:s tring">the 111 book</detail>
    </return>
    </ns1:lookupRespo nse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
Working...