You need to sign in to do that
Don't have an account?

Error while parsing WSDL into Salesforce
Hello,
I have been trying to parse an WSDL into Salesforce and im receiving the following error. Please help.
Unable to find schema for element; {http://www.w3.org/2001/XMLSchema}schema
I have been trying to parse an WSDL into Salesforce and im receiving the following error. Please help.
Unable to find schema for element; {http://www.w3.org/2001/XMLSchema}schema
http://salesforce.stackexchange.com/questions/12120/how-to-work-around-lack-of-salesforce-wsdl-import-tag-support
http://geekswithblogs.net/shanavt/archive/2013/02/24/integrationg-.net-applications-with-salesforce.aspx
Good luck.
All Answers
https://success.salesforce.com/answers?id=90630000000hNuFAAU
Good luck.
Unable to find schema for element; {http://www.w3.org/2001/XMLSchema}schema
Here is the part of the XML. I think this should be sufficient since i have just removed the elments, company name etc.
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.xyz.com/irv/quickquote/auto/2006/10/01" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.XYZ.com/irv/quickquote/auto/2006/10/01" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">XYZ</wsdl:documentation>
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.XYZ.com/irv/quickquote/auto/2006/10/01">
<s:import namespace="http://microsoft.com/wsdl/types/" />
<s:element name="RemoveQuote">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="QuoteId" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
<s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
<s:simpleType name="guid">
<s:restriction base="s:string">
<s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
</s:restriction>
</s:simpleType>
</s:schema>
</wsdl:types>
<wsdl:message name="RemoveQuoteSoapIn">
<wsdl:part name="parameters" element="tns:RemoveQuote" />
</wsdl:message>
<wsdl:portType name="QQWebSvcSoap">
<wsdl:operation name="RemoveQuote">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Remove a quote from the database.</wsdl:documentation>
<wsdl:input message="tns:RemoveQuoteSoapIn" />
<wsdl:output message="tns:RemoveQuoteSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="QQWebSvcSoap" type="tns:QQWebSvcSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="RemoveQuote">
<soap:operation soapAction="http://www.xyz.com/irv/quickquote/auto/2006/10/01/RemoveQuote" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="QQWebSvc">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Services to provide online quoting.</wsdl:documentation>
<wsdl:port name="QQWebSvcSoap" binding="tns:QQWebSvcSoap">
<soap:address location="http://pasquote-bfapp.tent.trt.xyz.pri/QuickQuoteWebSvc/QQWebSvc.asmx" />
</wsdl:port>
<wsdl:port name="QQWebSvcSoap12" binding="tns:QQWebSvcSoap12">
<soap12:address location="http://pasquote-bfapp.tent.trt.xyz.pri/QuickQuoteWebSvc/QQWebSvc.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
See here: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_quickstart_intro.htm
Did that work?
j
Ohh! So basicially Soap12 means its a 1.2 version. I get it.
Now, How to overcome this problem to integrate both the systems? Isint there a possiblitiy at all Jason?
http://salesforce.stackexchange.com/questions/12120/how-to-work-around-lack-of-salesforce-wsdl-import-tag-support
http://geekswithblogs.net/shanavt/archive/2013/02/24/integrationg-.net-applications-with-salesforce.aspx
Good luck.
Hello Jason,
I appreciate your time so far in helping me to find a solution. I have searched a lot on Google as well to convert a 1.2 WSDL version to 1.1. There isint a specific and best way of doing it since every WSDL is differnt in its own way based on the elements and tags included. if some thing else changes in the.client side schema i felt its not a best practice to clean up the WSDL everytime and parse it inside Salesforce. I'm looking into other ways of integrating now. Like Informatica, or Command Line batch, REST, or through any other middleware system.
-Srikanth