Re: How to invoke web services with WSIF

Cyril Rognon <[email protected]> Tue, 23 May 2006 10:42:23 +0200
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
sub zero a écrit :

>
> Hello,
>
> sorry but my english, is very bad.
>
> so,
>
> for invoke web services with WSIF, i need to  learning what style
> encoding used in the wdsl document or no ????
>
> if yes, how to determine style encoding of WSDL document (Wrapped, 
> Literal,
> RPC) ????

Hi,

WSDL style is mentioned in your WSDL Document. It is not WSIF related. 
You should be able to invoke a service without knowledge of this. Style 
is SOAP related.

The binding section has a style parameter and a use parameter embedded 
that defines the correct style.

here you can see a document/Literal style :
...
<wsdl:binding ...>
<soap:binding style="document" .../>
<wsdl:operation ..>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
...
</wsdl:binding>
...


if you want to chose the right style, go to this excelent article : 
http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/

regards,
Cyril