Regarding #1: Based on John's service interface, Java2WSDL should generate a WSDL interface that accepts an empty SOAP Body. e.g.,
<wsdl:message name="getDateMessage"/>
But based on a bunch of recent messages I've seen, Axis2 barfs on an empty SOAP Body. This is a bug that needs to be fixed. I don't know if anyone has created a JIRA for it.
Anne
On 6/21/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
Hi Anne,
Sorry, I didn't see this earlier. Thanks you very much for putting these
things together. Please see my comments inline.
Anne Thomas Manes wrote:
> I don't think it's an error that java2wsdl generates a wrapped interface
> (that's what .NET would do). The problem is that Axis2 doesn't
> automatically
> unwrap the message. Based on the axis-dev discussion list, I think this
> issue will be resolved in Axis2 v1.1.
>
> I see three significant issues that need to be addressed, all of which have
> been raised before:
>
> 1- Axis2 needs to support an empty <soap:Body> element
I can not understand what this means. Appreciate if you can explain a
bit more on this.
> 2- java2wsdl should NOT generate a wrapped interface until auto-unwrapping
> is supported.
This is of the things that is in our to do list and will be implemented,
hopefully, before the next release.
> 3- java2wsdl should NOT include the namespace attribute in the <soap:body>
> definitions of document style services.
This is a bug. Is there an issue already in JIRA for this. If not please
please create one.
Thanks,
Chinthaka
