tags:

views:

640

answers:

1

I'm receiving the following error when using soapclient($myUrl);

SOAP-ERROR: Parsing WSDL

Here is what I see if a directly access the WSDL link.

    <element name = "key" nillable="true" type="xsd:anyType"/>
    <element name = "value" nillable="true" type="xsd:anyType"/>
   </sequence>
  </complexType>
  <complexType name = "Map">
   <sequence>
    <element maxOccurs = "unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/>
   </sequence>
  </complexType>

 </schema>
 <schema targetNamespace = "http://rpc.xml.coldfusion" xmlns="http://www.w3.org/2001/XMLSchema"&gt;
  <import namespace = "http://services"/&gt;
  <import namespace = "http://xml.apache.org/xml-soap"/&gt;
  <import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/&gt;
  <complexType name = "CFCInvocationException">
   <sequence/>
  </complexType>
  <complexType name = "QueryBean">

   <sequence>
    <element name = "columnList" nillable="true" type="impl:ArrayOf_xsd_string"/>
    <element name = "data" nillable="true" type="impl:ArrayOfArrayOf_xsd_anyType"/>
   </sequence>
  </complexType>
 </schema>
 <schema targetNamespace = "http://services" xmlns="http://www.w3.org/2001/XMLSchema"&gt;
  <import namespace = "http://xml.apache.org/xml-soap"/&gt;
  <import namespace = "http://rpc.xml.coldfusion"/&gt;

  <import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/&gt;
  <complexType name = "ArrayOf_xsd_anyType">
   <complexContent>
    <restriction base = "soapenc:Array">
     <attribute ref = "soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
    </restriction>
   </complexContent>
  </complexType>
  <complexType name = "ArrayOf_xsd_string">

   <complexContent>
    <restriction base = "soapenc:Array">
     <attribute ref = "soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
    </restriction>
   </complexContent>
  </complexType>
  <complexType name = "ArrayOfArrayOf_xsd_anyType">
   <complexContent>
    <restriction base = "soapenc:Array">

     <attribute ref = "soapenc:arrayType" wsdl:arrayType="xsd:anyType[][]"/>
    </restriction>
   </complexContent>
  </complexType>
 </schema>
</wsdl:types>

<wsdl:message name = "updateCampaignResponse">

 <wsdl:part name = "updateCampaignReturn" type="xsd:boolean"/>

</wsdl:message>

+1  A: 

Looks like the first part of that WSDL is chopped off.. was that just a copy/paste error, or is that actually what you got back?

If that's actually what you got back, then there's your problem right there. For some reason you're only getting the "tail end" of the WSDL.

Eric Petroelje