Start by validating the WSDL. The error message indicates that you're
missing the "message" attribute in the <input> definition for the
"SellServiceFee" operation.
Proper format for a portType definition looks something like this:
<wsdl:portType name="myPortType">
<wsdl:operation name="myOperation">
<wsdl:input name="myOperationRequest" message="tns:myOperationRequest"/>
<wsdl:output name="myOperationResponse"
message="tns:myOperationResponse"/>
</wsdl:operation>
</wsdl:portType>
The message attribute must reference a <wsdl:message> definition.
Anne
On 7/18/06, akkachotu <[EMAIL PROTECTED]> wrote:
I have a complex WSDL with lot of schema files and when I generated
WSDL2Java using AXIS 1.3 then I am getting below error:
java.io.IOException: No 'message' attribute in <input> for operation
'SellServiceFee'
at
org.apache.axis.wsdl.symbolTable.SymbolTable.ensureOperationValid(SymbolTable.java:1536)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.ensureOperationsOfPortTypeValid(SymbolTable.java:1608)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populatePortTypes(SymbolTable.java:1629)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:743)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:734)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
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(Thread.java:534)
I cannot paste the wsdl and the schemas (.xsd) files here as they are
very huge and can anyone please let me know what can be problem with
my wsdl ?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]