Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Binding operation has no corresponding portType operation: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Binding operation has no corresponding portType operation:" Watch "Binding operation has no corresponding portType operation:" New topic
Author

Binding operation has no corresponding portType operation:

babu mohan
Greenhorn

Joined: Sep 29, 2005
Posts: 7
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Binding operation has no corresponding portType operation: