axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: WSDL client generation. Problem with more than one part and binding style "document"
Date Thu, 24 Sep 2009 04:36:08 GMT
On Thu, Sep 24, 2009 at 5:46 AM, error3 <error3@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/

Mime
View raw message