You need to sign in to do that
Don't have an account?
Dafuel
Error while importing wsdl
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.strikeiron.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.strikeiron.com"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://www.strikeiron.com"> <s:element name="ZIPCodeLookup"> <s:complextype> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ZIPOrPostalCode" type="s:string" /> </s:sequence> </s:complextype> </s:element> <s:element name="ZIPCodeLookupResponse"> <s:complextype> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ZIPCodeLookupResult" type="tns:SIWsOutputOfZIPCodeResult" /> </s:sequence> </s:complextype> </s:element> <s:element name="SIWsOutputOfZIPCodeResult"> <s:complextype> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ServiceStatus" type="tns:SIWsStatus" /> <s:element minOccurs="0" maxOccurs="1" name="ServiceResult" type="tns:ZIPCodeResult" /> </s:sequence> </s:complextype> </s:element> <s:element name="SIWsStatus"> <s:complextype> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="StatusNbr" type="s:int" /> <s:element minOccurs="0" maxOccurs="1" name="StatusDescription" type="s:string" /> </s:sequence> </s:complextype> </s:element> <s:element name="ZIPCodeResult"> <s:complextype> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="OriginalZIPOrPostalCode" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="FormattedZIPOrPostalCode" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="StateOrProvinceCode" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="StateOrProvinceName" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="CountryCode" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="CountyName" type="s:string" /> </s:sequence> </s:complextype> </s:element> </s:schema> <xs:schema xmlns:tns1="http://ws.strikeiron.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.strikeiron.com"> <xs:element name="LicenseInfo" type="tns1:LicenseInfo"> <xs:complextype name="LicenseInfo"> <xs:sequence> <xs:element minOccurs="0" name="UnregisteredUser" type="tns1:UnregisteredUser" /> <xs:element minOccurs="0" name="RegisteredUser" type="tns1:RegisteredUser" /> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="UnregisteredUser"> <xs:complextype name="UnregisteredUser"> <xs:sequence> <xs:element minOccurs="0" name="EmailAddress" type="xs:string" /> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="RegisteredUser"> <xs:complextype name="RegisteredUser"> <xs:sequence> <xs:element minOccurs="0" name="UserID" type="xs:string" /> <xs:element minOccurs="0" name="Password" type="xs:string" /> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="SubscriptionInfo"> <xs:complextype name="SubscriptionInfo"> <xs:sequence> <xs:element name="LicenseStatusCode" type="xs:int" /> <xs:element minOccurs="0" name="LicenseStatus" type="xs:string" /> <xs:element name="LicenseActionCode" type="xs:int" /> <xs:element minOccurs="0" name="LicenseAction" type="xs:string" /> <xs:element name="RemainingHits" type="xs:int" /> <xs:element name="Amount" type="xs:decimal" /> </xs:sequence> </xs:complextype> </xs:element> </xs:schema> </wsdl:types> <wsdl:message name="ZIPCodeLookupSoapIn"> <wsdl:part name="parameters" element="tns:ZIPCodeLookup" /> </wsdl:message> <wsdl:message name="ZIPCodeLookupSoapOut"> <wsdl:part name="parameters" element="tns:ZIPCodeLookupResponse" /> </wsdl:message> <wsdl:message name="LicenseInfoMessage"> <wsdl:part xmlns:q3="http://ws.strikeiron.com" name="LicenseInfo" element="q3:LicenseInfo" /> </wsdl:message> <wsdl:message name="SubscriptionInfoMessage"> <wsdl:part xmlns:q4="http://ws.strikeiron.com" name="SubscriptionInfo" element="q4:SubscriptionInfo" /> </wsdl:message> <wsdl:portType name="AdvancedZipInfoSoap"> <wsdl:operation name="ZIPCodeLookup"> <wsdl:input message="tns:ZIPCodeLookupSoapIn" /> <wsdl:output message="tns:ZIPCodeLookupSoapOut" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="AdvancedZipInfoSoap" type="tns:AdvancedZipInfoSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="ZIPCodeLookup"> <soap:operation soapAction="http://www.strikeiron.com/ZIPCodeLookup" style="document" /> <wsdl:input> <soap:body use="literal" /> <soap:header message="tns:LicenseInfoMessage" part="LicenseInfo" use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> <soap:header message="tns:SubscriptionInfoMessage" part="SubscriptionInfo" use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="AdvancedZipInfo"> <wsdl:port name="AdvancedZipInfoSoap" binding="tns:AdvancedZipInfoSoap"> <soap:address location="http://ws.strikeiron.com/StrikeIron/ZIPPostalCodeInfo5/AdvancedZipInfo" /> </wsdl:port> </wsdl:service> </wsdl:definitions>
I have this wsdl file n i want to generate apex code from wsdl...now wenever i try to import this file ....salesforce gives me an error..saying
Error: Failed to parse wsdl due to an internal error: 881300400-25869 (-43640737)...
Anyone plz guide me what i need to do to make it works fine...
The Wsdl i am using is taken from strikeiron.com and since i am using some externel wsdl...then what's the point of using eclipse to create/parse wsdl...since i already have this file....i just want to import it....