1 Reply Latest reply on Apr 6, 2006 11:42 PM by 322036

    INVALID_WSDL: "invalid XML in document at file ...wsdl" by using wsdl file

    493855
      I want to deploy the webservice of www.salesforce.com in my bpel program .
      I am using Oracle Bpel Process Manager for developing my bpel program .
      I have downloaded the wsdl file from following link given on their site https://na1.salesforce.com/soap/wsdl.jsp
      When I try to specify this wsdl file in partnerlink in the Bpel program I get the following error message.

      "Error while reading the wsdl file file:/..... filename.wsdl
      wsdl Exception: fault code : INVALID_WSDL: invalid XML in document at file:/....filename.wsdl : Excepted DOCTYPE"

      Can someone tell me , what could be reason for this error and how to resolve it ?
      Please find below the WSDL file giving error.
      Please note when I use other wsdl file provided by other web service provider eg:-

      http://www.holidaywebservice.com/holidays/holidayservice.asmx?wsdl
      It works properly and doesnot give any error message.

      Thanks and regards.

      Ram Krishna Tripathi
      =====
      <?xml version="1.0" encoding="UTF-8" ?>
      <!--

      -->
      <definitions targetNamespace="urn:enterprise.soap.sforce.com" xmlns="http://schemas.xmlsoap.org/wsdl/"

      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

      xmlns:tns="urn:enterprise.soap.sforce.com" xmlns:fns="urn:fault.enterprise.soap.sforce.com"

      xmlns:ens="urn:sobject.enterprise.soap.sforce.com">
      <types>
      <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema"

      targetNamespace="urn:sobject.enterprise.soap.sforce.com">
      <import namespace="urn:enterprise.soap.sforce.com" />
      <!-- Base sObject (abstract)
      -->
      <complexType name="sObject">
      <sequence>
      <element name="fieldsToNull" type="xsd:string" nillable="true" minOccurs

      .
      .
      .
      .
      .
      .
      <service name="SforceService">
      <documentation>Sforce SOAP API</documentation>
      <port binding="tns:SoapBinding" name="Soap">
      <soap:address location="https://www.salesforce.com/services/Soap/c/7.0" />
      </port>
      </service>
      </definitions>

      ====