You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by akkachotu <ak...@gmail.com> on 2006/07/18 23:02:39 UTC

No 'message' attribute in for operation ...

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: No 'message' attribute in for operation ...

Posted by robert lazarski <ro...@gmail.com>.
Have you tried validating the wsdl and the schemas?

HTH,
Robert
http://www.braziloutsource.com/

On 7/18/06, akkachotu <ak...@gmail.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: No 'message' attribute in for operation ...

Posted by Anne Thomas Manes <at...@gmail.com>.
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 <ak...@gmail.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org