Hi
I am trying to call webservice in .net using it's wsdl from Java. I am trying to create Client stub using Apache Axis 2 in eclipse Galileo SR2. Same exception with Netbean 6.9.
I have "AddOrgService" method overloaded in webservice. Looks like it is creating a problem.
What could be the solution?
But I am getting following exception :
IWAB0399E Error in generating Java from WSDL: java.lang.IllegalArgumentException: Duplicate
operation with name=AddOrgService, found in portType
'{http://ensim.com/unifyws/Exchange2K7WS}ExchangeManagerSoap'.
java.lang.IllegalArgumentException: Duplicate operation with name=AddOrgService, found
in portType '{http://ensim.com/unifyws/Exchange2K7WS}ExchangeManagerSoap'.
at com.ibm.wsdl.PortTypeImpl.getOperation(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)