johvargas / sfdc-wsc

Automatically exported from code.google.com/p/sfdc-wsc
0 stars 0 forks source link

Unable to find schema for element;{http://www.w3.org/2001/XMLSchema}schema #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.running command java -classpath wsc-19.jar com.sforce.ws.tools.wsdlc xxx.wsdl 
xxx.jar
2.
3.

What is the expected output? What do you see instead?
[WSC][wsdlc.run:312]Created temp dir: <some-path>\wsdlc-
temp-179931989525067769-dir
Exception in thread "main" com.sforce.ws.wsdl.WsdlParseException: Unable to find
 schema for element; {http://www.w3.org/2001/XMLSchema}schema
        at com.sforce.ws.wsdl.Types.read(Types.java:91)
        at com.sforce.ws.wsdl.Definitions.parse(Definitions.java:162)
        at com.sforce.ws.wsdl.Definitions.read(Definitions.java:104)
        at com.sforce.ws.wsdl.WsdlFactory.create(WsdlFactory.java:68)
        at com.sforce.ws.tools.wsdlc.<init>(wsdlc.java:75)
        at com.sforce.ws.tools.wsdlc.run(wsdlc.java:312)
        at com.sforce.ws.tools.wsdlc.main(wsdlc.java:303)
Caused by: com.sforce.ws.ConnectionException: Unable to find schema for element;
 {http://www.w3.org/2001/XMLSchema}schema
        at com.sforce.ws.wsdl.Types.getSchema(Types.java:144)
        at com.sforce.ws.wsdl.Types.getElement(Types.java:136)
        at com.sforce.ws.wsdl.Types.updateElementRef(Types.java:111)
        at com.sforce.ws.wsdl.Types.read(Types.java:89)
        ... 6 more

What version of the product are you using? On what operating system?
wsc-19.jar; windows 7

Please provide any additional information below.
When trying to run the command at step 1, I get the above error;
The error appears at line <s:element ref="s:schema"/> in the following sequence

<s:element name="SomeName">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SomeName">
<s:complexType>
<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>

Original issue reported on code.google.com by a.moc...@gmail.com on 4 Oct 2010 at 11:08