function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ajitvermaajitverma 

Changed WSDL to have external schema does not work

Hi All,

 

I have very simple question. I have a WSDL provided by the vendor which has separate XSD import. I know that SFDC does not support such WSDL to generate proxy classes. So I modified the WSDL document and include separate schemas into the same WSDL. This modification is done by me on the fly and nothing has been by the Vendor.

 

I am able to generate the proxy classes using customized WSDL but when I invoke the required operation I got the error message saying 

 

System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: An error occurred during a WCF call: Input parameter is invalid - XML Does not validate against schema: http://endpointaddress/Schema/SchemaName.xsd. Validation Error: The 'http://endpointaddress:ApplicationID' element is not declared. faultcode=s:Client faultactor

 

I just want to confirm wheather this is the right approach to customize the WSDL because I have no choice except modifying the WSDL.

 

Any help is appreciated.

 

Thanks,

 

 

 

Ritesh AswaneyRitesh Aswaney

I'm guessing you have added the URL endpoint you are making the callout to the list of permitted endpoints in your org. The whitelist is located under the Network option in the Setup menu.

ajitvermaajitverma

That is not the issue. without registering the endpoints callout cannot be completed.