Loading ...
Sorry, an error occurred while loading the content.

Type not correctly namespace qualified

Expand Messages
  • parcelstring
    Hi Im getting this response(see bottom) from a SOAP::Lite server. The customer object in the response has a type of namesp2:Customer but it should have my own
    Message 1 of 1 , Oct 24, 2005
    View Source
    • 0 Attachment
      Hi

      Im getting this response(see bottom) from a SOAP::Lite server. The
      customer object in the response has a type of namesp2:Customer but it
      should have my own type in there with a namespace like this one.

      xmlns:mytypes="http://thor.mediaburst.net/wsdl/types"

      How do i get SOAP::Lite to add this namespace and correctly qualify
      the Customer object?

      Thanks
      Ben



      <?xml version="1.0" encoding="utf-16"?>
      <SOAP-ENV:Envelope
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:namesp2="http://namespaces.soaplite.com/perl"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <SOAP-ENV:Body>
      <namesp1:FindCustomersResponse xmlns:namesp1="urn:adminsearchservice">
      <Customer xsi:type="namesp2:Customer">
      <creditCycleLimit
      xsi:type="xsd:string">xsd:string</creditCycleLimit>
      <creditCheckId xsi:type="xsd:string">xsd:string</creditCheckId>
      <status xsi:type="xsd:string">xsd:string</status>
      <vspId xsi:type="xsd:string">string</vspId>
      <salesPersonId xsi:type="xsd:string">xsd:string</salesPersonId>
      <billCycleId xsi:type="xsd:string">xsd:string</billCycleId>
      <companyName xsi:type="xsd:string">xsd:string</companyName>
      <languageId xsi:type="xsd:string">xsd:string</languageId>
      <primaryCostactId xsi:type="xsd:string">string</primaryCostactId>
      <customerId xsi:type="xsd:string">tring</customerId>
      <currencyId xsi:type="xsd:string">xsd:string</currencyId>
      <costCentreId xsi:type="xsd:string">xsd:string</costCentreId>
      </Customer>
      </namesp1:FindCustomersResponse>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.