johvargas / sfdc-wsc

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

Exception in thread "main" com.sforce.ws.wsdl.WsdlParseException: #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. save http://advertisersapi.doubleclick.net/v1.7/api/dfa-api/site?wsdl to
site.wsdl
2. java com.sforce.ws.tools.wsdlc site.wsdl ./dfa.jar

What is the expected output? What do you see instead?

Expected output is a dfa.jar file containing web services class files

I got this on the command line:
[WSC][wsdlc.run:288]Created temp dir:
C:\DOCUME~1\wkinchin\LOCALS~1\Temp\wsdlc-t
emp-7684125469716399361-dir
Exception in thread "main" com.sforce.ws.wsdl.WsdlParseException: attribute
name
 can not be null at: 11:71
        at com.sforce.ws.wsdl.Attribute.read(Attribute.java:73)
        at com.sforce.ws.wsdl.ComplexType.read(ComplexType.java:126)
        at com.sforce.ws.wsdl.Schema.read(Schema.java:117)
        at com.sforce.ws.wsdl.Types.read(Types.java:64)
        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:74)
        at com.sforce.ws.tools.wsdlc.run(wsdlc.java:288)
        at com.sforce.ws.tools.wsdlc.main(wsdlc.java:279)

What version of the product are you using? On what operating system?
   wsc-gae-16_0.jar
   windows xp 
   jdk1.6.0_13
   command propmt

Please provide any additional information below.

Original issue reported on code.google.com by dynamogr...@googlemail.com on 2 Jul 2009 at 4:36

GoogleCodeExporter commented 8 years ago
This look like a rpc style web service. WSC only supports doc/literal style web 
service.

Original comment by manoj.ch...@gmail.com on 23 Jul 2009 at 12:02

GoogleCodeExporter commented 8 years ago

Original comment by manoj.ch...@gmail.com on 6 Apr 2010 at 11:14