You need to sign in to do that
Don't have an account?
Newport
Error: Failed to parse wsdl: Unable to find element for ...
Error: Failed to parse wsdl: Unable to find element for {http://www.w3.org/2001/XMLSchema}schema
I'm getting the above error when trying generate New Apex Code from WSDL.
Without me publishing my entire WSDL... any idea what could cause this? I've been fiddling with my WSDL for hours trying to make it work...
Can't find the answer here or anywhere.
Thanks!
I'm getting the above error when trying generate New Apex Code from WSDL.
Without me publishing my entire WSDL... any idea what could cause this? I've been fiddling with my WSDL for hours trying to make it work...
Can't find the answer here or anywhere.
Thanks!
https://gist.github.com/221df65009580e381d79.git
Hmmm... I guess that takes you nowhere, doesn't it? Well I pasted it in there and got a "Gist", then copied the URL from the side of the page there. Oh man, can you please tell me what I'm doing wrong with github?
transcendentalfeeling@yahoo.com
I'll try to paste the WSDL right here...
<wsdl:definitions 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://tempuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
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/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://tempuri.org/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:import namespace="http://microsoft.com/wsdl/types/"/>
<s:element name="SetUserAccountExpiration">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="userToken" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="loginId" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="accountExpiration" nillable="true" type="s:dateTime"/>
<s:element minOccurs="0" maxOccurs="1" name="updatedBy" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SetUserAccountExpirationResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SetUserAccountExpirationResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="SetUserAccountExpirationSoapIn">
<wsdl:part name="parameters" element="tns:SetUserAccountExpiration"/>
</wsdl:message>
<wsdl:message name="SetUserAccountExpirationSoapOut">
<wsdl:part name="parameters" element="tns:SetUserAccountExpirationResponse"/>
</wsdl:message>
<wsdl:portType name="wsAdvisysConnectorSoap">
<wsdl:operation name="SetUserAccountExpiration">
<wsdl:input message="tns:SetUserAccountExpirationSoapIn"/>
<wsdl:output message="tns:SetUserAccountExpirationSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="wsAdvisysConnectorSoap" type="tns:wsAdvisysConnectorSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SetUserAccountExpiration">
<soap:operation soapAction="http://tempuri.org/SetUserAccountExpiration" 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="wsAdvisysConnector">
<wsdl:port name="wsAdvisysConnectorSoap" binding="tns:wsAdvisysConnectorSoap">
<soap:address location="https://stagingservice.echowealth.com/ws/wsAdvisysConnector.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
So, I added
</s:schema>
</wsdl:types>
in the appropriate place (before the <wsdl:message> tag and am now on to a new error: "Failed to parse wsdl: Unknown element: operation"