One Star

Unable to create Salesforce.com WSDL

I connect to the ff URL to get the Salesforce.com WSDL:
https://na5.salesforce.com/soap/wsdl.jsp?type=*
I get the following exception when I preview an operation while trying to create a WSDL metadata in TOS (It does not matter what operation, I get the same error):
Exception in component tWebServiceInput
org.xml.sax.SAXException: Fatal Error: URI=https://na5.salesforce.com/soap/wsdl.jsp?type=* Line=20: The reference to entity "startURL" must end with the ';' delimiter.
at org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils.java:723)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:88)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:326)
org.talend.repository.ui.wizards.metadata.connection.wsdl.WSDLSchemaStep1Form$PreviewProcessor.nonUIProcessInThread(WSDLSchemaStep1Form.java:783)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

I'm wondering if the error might be due to the fact that the SOAP endpoint inside the WSDL is for the latest version of Salesforce (v 15.0), whereas when I create Salesforce.com metadata TOS only allows version 10.0?
Any suggestion to fix the error?
1 REPLY
One Star

Re: Unable to create Salesforce.com WSDL

I was able to fix the problem by downloading the WSDL to my local drive and then pointed the web service meta data create to the local copy of the wsdl.