Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Binding operation has no corresponding portType operation:

 
babu mohan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,I am trying to do wsdl2java using axis2 wsdl2java class. i keep getting this error for one of the operations in wsdl. this operation is a notification type, meaning it does not have input but only output. I have all the necessary jars in the class path but i keep getting this error. the jars i use are :
all the axis lib jar and xalan,xerces,xmlapi.


Binding operation has no corresponding portType operation: name = getType, input name = null, output name = null
at org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.java:2818)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:796)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:571)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:546)
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:426)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:620)

really apprciate help
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Make sure that all <operation> elements in the <binding> element in the WSDL has <operation> elements with matching names in the <portType> element references by the <binding> element.
Example:

Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic