Please read about wrapped vs. not-wrapped doc/lit web services in the Axis
user guide and wiki.

You need to define (in the wsdl) a WS that takes a single document.  The
root element of that document can contain two string elements.  If you use
the wrapped style in the deployment descriptor for your service, your web
service can be implemented as you originally specified, echo(String s1,
String s2) and the containing wrapper element will be stripped away.
However, the client must always call the web service with a single Document
as its parameter.

Jeff
----- Original Message ----- 
From: "Henry Lu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 9:59 AM
Subject: Re: Axis 1.2 RC2 released


> Okay, I got some explanation finally. But I still want to use DoC/Lit.
Could you send me a working version
> of WSDL for DOC/LIT? Do you think this is a bug in the axis? Are they
going to fix when the axis 1.2 is released? I used a c# version of WSDL
file, it works for MS IE server but failed on Axis server. Why?
>
> -Henry
>
> >>> [EMAIL PROTECTED] 11/24/2004 11:53:18 AM >>>
> Montabert, Olivier a écrit :
>
> >Hi,
> >
> >The problem is that you have a WSDL with multiple <part>s in doc/lit
> >mode, which is not WS-I compliant.
> >Either change your operation, or use rpc/literal instead.
> >
> >
> or rather wrapped/literal.
>
> -- 
> Julien
>
>
>
> **********************************************************
> Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.
>

Reply via email to