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
JassaJassa 

Problem with WSDL file

Hey ,

After running this* command

*java -classpath C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\axis.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\axis-ant.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\commons-discovery.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\commons-logging.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\log4j-1.2.4.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\saaj.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\wsdl4j.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\xercesImpl.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\lib\xml-apis.jar org.apache.axis.wsdl.WSDL2Java -v -a enterprise.wsdl

I am getting this error:

Parsing XML file:  enterprise.wsdl
org.xml.sax.SAXException: Fatal Error: URI=file:///C:/wsdl2java/enterprise.wsdl
Line=1: The processing instruction target matching "[xX][mM][lL]" is not allowed
.
        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:322)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:384)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Unknown Source)

 

Can you guys please look into this.

 

Thanks

DevAngelDevAngel

Hi Jassa,

Post your wsdl, or if too sensitive, send it to me at d_noSpam_carroll@salesforc.com (remove the _noSpam_ part) and I'll try it out.