Please log a JIRA..

~Thilina

On 11/23/06, Qiyun Yang <[EMAIL PROTECTED]> wrote:
Hi,

I use Java2WSDL to generate a wsdl for java class: StockQuoteService.java
(that comes with the axis2 1.1 distribution, --- quick start using AIOM. The
generated wsdl is invalid (when "validate" it). Here is the wsdl code:

<wsdl:operation name="update">
  <wsdl:input message="tns:updateMessage" />
  <wsdl:fault message="tns:updateFault" name="updateFault" />
</wsdl:operation>

The java code for update is in-only operation, so no output element, but it
has an exception spec. so it generates fault. But this is not for in-only
operation.

public void update(OMElement element) throws XMLStreamException { ... }

Is it normal?
Regards.
Q

_________________________________________________________________
Find just what you are after with the more precise, more powerful new MSN
Search. http://search.msn.com.sg/ Try it now.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to