NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Vague (to me) error message with web service.

Joined: 26 Jan 2007
Posts: 2
Reply with quote
I'm attempting to build a client side for a quoting web service. The third party who maintains the server side has provided a WSDL in paper form but hasn't hosted it on the web. Their documentation is also pretty much non-existent. I'm using php and nusoap to develop the client. I can't initilise my soapclient with the WSDL and am receiving error messages that don't give me a lot of information about what I'm doing wrong.

The WSDL is:

<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="PriceQuoteService" targetNamespace="" xmlns="" xmlns:ns2="" xmlns:soap="" xmlns:tns="" xmlns:xsd="">
<schema targetNamespace="" xmlns="" xmlns:soap11-enc="" xmlns:tns="" xmlns:wsdl="" xmlns:xsi="">
  <import namespace="" />
<complexType name="LocalAccessDomain">
  <element name="bandwidth" type="string" />
  <element name="city" type="string" />
  <element name="customerName" type="string" />
  <element name="litBldgFlag" type="boolean" />
  <element name="state" type="string" />
  <element name="street" type="string" />
  <element name="term" type="short" />
  <element name="zip" type="string" />
  <element name="zip4" type="string" />
<complexType name="LocalAccessPrice">
  <element name="message" type="string" />
  <element name="nonRecurringPrice" type="double" />
  <element name="quoteId" type="long" />
  <element name="recurringPrice" type="double" />
  <element name="statusCode" type="string" />
<message name="PQSService_calculatePricesResponse">
  <part name="result" type="ns2:LocalAccessPrice" />
<message name="PQSService_calculatePrices">
  <part name="LocalAccessDomain_1" type="ns2:LocalAccessDomain" />
<portType name="PQSService">
<operation name="calculatePrices" parameterOrder="LocalAccessDomain_1">
  <input message="tns:PQSService_calculatePrices" />
  <output message="tns:PQSService_calculatePricesResponse" />
<binding name="PQSServiceBinding" type="tns:PQSService">
  <soap:binding style="rpc" transport="" />
<operation name="calculatePrices">
  <soap:operation soapAction="" />
  <soap:body encodingStyle="" namespace="" use="encoded" />
  <soap:body encodingStyle="" namespace="" use="encoded" />
<service name="PriceQuoteService">
<port binding="tns:PQSServiceBinding" name="PQSServicePort">
  <soap:address location="" />

My request to the webservice is:

<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC=""><SOAP-ENV:Header><userid>powernet</userid><password>jneSxok!ij3#3n9zG6nd</password></SOAP-ENV:Header><SOAP-ENV:Body><ns1303:calculatePrices xmlns:ns1303=""><LocalAccessDomain><bandwidth xsi:type="xsd:string">DS-1</bandwidth><city xsi:type="xsd:string">Fairfield</city><customerName xsi:type="xsd:string">Test Customer</customerName><litBldgFlag xsi:type="xsd:string">Y</litBldgFlag><state xsi:type="xsd:string">OH</state><street xsi:type="xsd:string">1252 Main St</street><term xsi:type="xsd:string">12</term><zip xsi:type="xsd:string">45014</zip><zip4 xsi:type="xsd:string">5556</zip4></LocalAccessDomain></ns1303:calculatePrices></SOAP-ENV:Body></SOAP-ENV:Envelope>

The message back from the server is:


I am assuming that the issue is with my request xml and not with the arguments to the API function. I have the debug if that would help.

Anyone have any ideas?
View user's profileFind all posts by relytjjSend private message
Vague (to me) error message with web service.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

 Reply to topic