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

2009-09-27 Thread error3
Le vendredi 25 septembre 2009 à 10:35 +0530, Amila Suriarachchi a
écrit : 
> 
> How to develop the fastest way an operational client and set
> the whole soap envelop
>  you want to send ? 
> 
> Please see here[1]
> 
> thanks,
> Amila.
> 
> [1]
> http://amilachinthaka.blogspot.com/2009/09/sending-arbitrary-soap-message-with.html


Thank you very much Amila, it works perfectly ! 



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

2009-09-24 Thread Amila Suriarachchi
On Thu, Sep 24, 2009 at 3:58 PM,  wrote:

>
> - "Amila Suriarachchi"  a écrit :
>
> > [...]
> > 
> > theName
> > 
> > 
> > [...]
> >
> > How can I modify the WSDL to make axis2 generating a client which can
> > produce the above 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,
> But why doesn't Axis2 know how to generate such a message ?
> I saw nothing in w3.org/TR/wsdl saying that multi parts inside soap:body
> is prohibited... I've only see this
> limitation (for compatibility if I've correctly understood) on ws-i.org.
>
> Axis2 only how to generate WS-I ? Not wsdl in general ?
>
This is to solve the problem now you have faced :). If soap stacks do not
follow WS-I it is
very difficult to interoperate between them.


>
> How to develop the fastest way an operational client and set the whole soap
> envelop
>  you want to send ?
>

Please see here[1]

thanks,
Amila.

[1]
http://amilachinthaka.blogspot.com/2009/09/sending-arbitrary-soap-message-with.html

>
> Thanx again for help and informations
>



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


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

2009-09-24 Thread error3

- "Amila Suriarachchi"  a écrit :

> [...]
> 
> theName
> 
> 
> [...]
> 
> How can I modify the WSDL to make axis2 generating a client which can
> produce the above 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,
But why doesn't Axis2 know how to generate such a message ?
I saw nothing in w3.org/TR/wsdl saying that multi parts inside soap:body is 
prohibited... I've only see this
limitation (for compatibility if I've correctly understood) on ws-i.org.

Axis2 only how to generate WS-I ? Not wsdl in general ?

How to develop the fastest way an operational client and set the whole soap 
envelop
 you want to send ?

Thanx again for help and informations


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

2009-09-23 Thread Amila Suriarachchi
On Thu, Sep 24, 2009 at 5:46 AM, error3  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 :
>
> [...]
>
> theName
> 
>
> [...]
>
> 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/


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

2009-09-23 Thread error3
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 :

[...]

 theName
 

[...]

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 ?

thank you very much for any help,

-- 
Martin


TMP.WSDL
Description: application/wsdl