Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while generating the wsdd file  RSS feed

 
Prashanth Chandra
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I tried to generate a wsdd file from a wsdl file i have encountered the follwoing errors. Please help me on this.

I have typed the follwing command to generate a wsdd file:

java org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -S true tax.wsdl

Below is error log regarding that.

SDLException (at /definitions/binding[1]/operation[1]/input): faultCode=INVALID
WSDL: Element '{http://schemas.xmlsoap.org/wsdl/}input' contained unexpected at
ributes: 'message':
at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingInput(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingOperation(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.parseBinding(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's hard to say without looking at the offending WSDL file, which contains something that the tool you're using doesn't like.
 
Prashanth Chandra
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Please find my WSDL file in the below link

http://203.196.150.184/axis/conferencelibrary.wsdl


Thanks in advance
Prashanth
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder if that's due to the fact that the WSDL does not use any namespace, which may be confusing the tool. It's customary to put all WSDL elements in the "wsdl" namespace, so that no confusion can arise with other namespaces (like the targetNamespace). Otherwise, the WSDL (and the offending element) looks good to me at first glance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!