Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Binding operation has no corresponding portType operation:

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic