Already answered on the Axis2 list, but for the benefit of others:

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"/>

Wrapped handling requires a separate class for each operation's input 
and output.

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). 


 - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - 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
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to