+ Start a Discussion
loveLearningloveLearning 

WSDL2 apex genration have problem

<?xml version="1.0" encoding="UTF-8" ?>

- <wsdl:definitions name="si_sfdc_customer_poc_ob" targetNamespace="http://diesl.com/sfdc/testingobjects" xmlns:p1="http://diesl.com/sfdc/testingobjects" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation />- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="Envelope">- <xsd:complexType>
- <xsd:sequence>  <xsd:element name="Header" type="xsd:string" form="qualified" />
- <xsd:element name="Body" form="qualified">
- <xsd:complexType>- <xsd:sequence>
- <xsd:element name="MT_CUSTOMER_REQUEST" form="qualified">
- <xsd:complexType>
- <xsd:sequence>  <xsd:element name="CustomerNumber" type="xsd:int" form="qualified" />
  <xsd:element name="CompanyCode" type="xsd:string" form="qualified" />
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
- <xsd:element name="Customer_Response">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element name="CustomerName" type="xsd:string" form="qualified" />
  <xsd:element name="Name" type="xsd:string" form="qualified" />
    </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="xmln.Envelope">
  <wsdl:documentation />
 
I am unable to generate the apex2 wsdl as it is giving me parse error as target namenspace not found and if i copy paste the target namesapce in the schema ; it giving error as unablt to generate apex code as schema element not found for , customer response;
loveLearningloveLearning

It was thoring error as cant add more than 20000 characters so adding the next half of the xml here wsdl:part name="Envelope" element="Envelope" /> - - - - - - - - -