You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Amila Suriarachchi <am...@gmail.com> on 2009/09/24 06:36:08 UTC

Re: WSDL client generation. Problem with more than one part and binding style "document"

On Thu, Sep 24, 2009 at 5:46 AM, error3 <er...@free.fr> wrote:

> Hello,
>
> with the attached wsdl file (it's an simplified version of mine), I'm
> trying to generate WS client (in eclipse, and with Axis2).
>
> while trying to generate the client, I have an error saying that "more
> than one part" in the message... (I do not have the message nor my
> development environment at that time).
>
> Googlin' and found that "document" binding style shouldn't have multiple
> parts message in the body.
> Ok.
>
> So I know that, to querying the webservice (I can't modify it, it's an
> application one) I must send something like :
>
> [...]
>        <soap:body>
>             <MapName>theName</MapName>
>             <MapValues></MapValues>
>        </soap:body>
> [...]
>
> How can I modify the WSDL to make axis2 generating a client which can
> produce the request I want ? Is it possible ? Do I need to change the
> style to rpc ? If it's not possible, do you know an opensource project
> which know how to deal with my wsdl ?
>

I think this is not possible with Axis2 unless you write an operational
client and set the whole soap envelop
you want to send.

thanks,
Amila.


> thank you very much for any help,
>
> --
> Martin
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/