2009-02-26 7 views
0

Ich erhalte den folgenden Fehler bei der Verwendung von soapclient ($ myUrl);Verwenden von SOAP, um auf Webdienste zuzugreifen - fehlgeschlagen auf soapclient()

SOAP-Fehler: Das Parsen WSDL

Hier ist, was ich sehe, ob ein direkt auf den WSDL-Link gelangen.

http: // Dienstleistungen "xmlns: apachesoap = "http://xml.apache.org/xml-soap" xmlns: impl = "http: // Dienste" xmlns: intf =" http: // Dienste "xmlns: soapenc =" http://schemas.xmlsoap.org/soap/encoding/ "xmlns: tns1 =" http: // rpc.xml.coldfusion "xmlns: wsdl =" http: //schemas.xmlsoap. org/wsdl /“xmlns: wsdlsoap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns: xsd = "http://www.w3.org/2001/XMLSchema"> http: //xml.apache.org/xml-soap "xmlns =" ​​http://www.w3.org/2001/XMLSchema "> http: // services" /> http: //rpc.xml.coldfusion " /> http://schemas.xmlsoap.org/soap/encoding/ "/>

   <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"> 
     <import namespace = "http://services"/> 
     <import namespace = "http://xml.apache.org/xml-soap"/> 
     <import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/> 
     <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"> 
     <import namespace = "http://xml.apache.org/xml-soap"/> 
     <import namespace = "http://rpc.xml.coldfusion"/> 

     <import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/> 
     <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> 

Antwort

1

Sieht aus wie der erste Teil dieser WSDL abgehackt wird .. war das nur ein copy/paste Fehler, oder ist das eigentlich, was du hast zurück?

Wenn das tatsächlich ist, was du zurückbekommen hast, dann gibt es dein Problem genau dort. Aus irgendeinem Grund erhalten Sie nur das "Ende" der WSDL.

Verwandte Themen