Yes, the class has to exist (though it can be just an empty "public
class UpdateResponse {}" - where I capitalized according to Java naming
conventions, which means that class="updateResponse" I used in the last
email should really be class="UpdateResponse"). Wrapped requires a
separate class for each operation's input and output.
- Dennis
Josh wrote:
Dennis,
To be clear, does this "marker" class need to physically exist?
Josh
On 3/26/07, *Dennis Sosnoski* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi Josh,
If you're using unwrapped you shouldn't need to map this at all. If
you're using wrapped handling you'd just have a "marker" class
with an
empty mapping:
<mapping class="updateResponse" name="updateResponse"/>
You can see an example of the unwrapped handling for this at
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/example (with the
WSDL and code at
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/example/library-service
<http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/example/library-service>).
- Dennis
Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
<http://www.sosnoski.co.nz>
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
Josh wrote:
> All,
>
> I am having difficulting dealing with an existing WSDL which
declares
> a "void" response message. I have the following in my wsdl:
>
> <element name="updateResponse">
> <complexType/>
> </element>
>
> <wsdl:message name="updateResponse">
> <wsdl:part element="impl:updateResponse" name="parameters"/>
> </wsdl:message>
>
> Because this is really a void return, how would I map this using
JiBX?
>
> Regards,
>
> Joshua
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]