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 sc...@web.de on 2005/05/03 14:17:21 UTC

second parameter is null when using wsdl with wsdlsoap:binding style="document"

Hi,
in a futher message I read about a similar problem and it's solution.

posted solution: change wsdlsoap:binding style="document" to wsdlsoap:binding style="rpc"

But the solution posted there is not applicable to me. My little webservice has to be used in a IIS
from MS. And the developer suite of MS has problems with WSDL files that use rpc style.

Has anyone a idea to solve this?

I am using tomcat 5.5.9 with java 1.5.0_02-b09 on windows xp.
My axis release is 1.2 from yesterday evening (02.05.2005 18:12)

Thanks
Harri
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201


Re: second parameter is null when using wsdl with wsdlsoap:binding style="document"

Posted by Anne Thomas Manes <at...@gmail.com>.
When using document style, you don't specify "parameters" in the
<message> definition. Instead you have one message <part>, and that
part points to a wrapped element. The wrapper element should be
defined as a sequence of elements -- which are your parameters.

If you want to create a parameterized interface, then you want to use
the "wrapped" style. (which is what .NET uses by default)

Anne

On 5/3/05, schleckergoeschle@web.de <sc...@web.de> wrote:
> Hi,
> in a futher message I read about a similar problem and it's solution.
> 
> posted solution: change wsdlsoap:binding style="document" to wsdlsoap:binding style="rpc"
> 
> But the solution posted there is not applicable to me. My little webservice has to be used in a IIS
> from MS. And the developer suite of MS has problems with WSDL files that use rpc style.
> 
> Has anyone a idea to solve this?
> 
> I am using tomcat 5.5.9 with java 1.5.0_02-b09 on windows xp.
> My axis release is 1.2 from yesterday evening (02.05.2005 18:12)
> 
> Thanks
> Harri
> __________________________________________________________
> Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
> weltweit telefonieren! http://freephone.web.de/?mc=021201
> 
>