I noticed that the WSDL's schema says:
elementFormDefault="unqualified"
I thought that java2wsdl generates a schema with
elementFormDefault="qualified"
by default.
The request message qualifies the child element "ns1:name" (which is
invalid according to the schema). The response message does not
qualify the child element "return" (which is valid according to the
schema). Interesting that the client generates an invalid message and
faults on a valid message.
Anne
On 9/18/07, Deepal jayasinghe <[EMAIL PROTECTED]> wrote:
> Hmm ,create a JIRA and attach your java class.
> > Hi Deepal,
> >
> > I started by creating a java class A.java and use java2wsdl to create
> > a wsdl and wsdl2java to create Stubs.
> try to deploy the service and then do the ?wsdl on it and generate the
> code using that.
> > Client still get the exception:
> > Caused by: org.apache.axis2.databinding.ADBException: Unexpected
> > subelement return
> > at
> > org.apache.ws.axis2.AStub$SayHelloResponse$Factory.parse(AStub.java:1164)
> > ... 3 more
> >
>
>
> ---------------------------------------------------------------------
> 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]