Most importantly Doc/Lit allows end users to process payloads using the
corresponding
XML Schema for the payload that is packaged in the SOAP Body. This is quite
important
when the WSDL2Java compiler creates the stubs and skeletons it is basically
creating
serializable beans that produce XML payloads for the SOAP body such that
the XML
payload is always compliant with the XSD.
-----Original Message-----
From: Hittesdorf,Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 7:56 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Does Doc/Literal allows users to directly work with
language constructs (classes, structures etc..)?
Axis is JAX-RPC compliant which means that you can develop Doc/Literal
Web
Services where you need not ever deal directly with XML. Rather you can
work directly with Java stubs and server-side skeletons. Axis will
marshal
and unmarshall your Doc/Literal SOAP message for you using Java classes
generated from your WSDL by the WSDL2Java compiler.
The same kind of support for Doc/Literal is provided by GLUE and
others.
Mick
-----Original Message-----
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 8:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Does Doc/Literal allows users to directly work with
language
constructs (classes, structures etc..)?
Hi Srinivas,
thanks for the reply.
Doc/Literal support in Axis allows users to directly work with
constructs
(classes, structures etc..) available
in languages. But in general can we do this in case of Doc/Literal? I
believe that the fundamental difference between
RPC/Encoded and Doc/Literal is that in case of RPC/Encoded, users can
directly work with constructs (classes, structures etc..) available in
languages.
However, we cann't do this in Doc/Literal since, it is the service
implementation, who pareses the SOAP message and interpret it.
Does doc/literal support in other SOAP implementation also allows this?
-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 4:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Does Doc/Literal allows users to directly work with
language constructs (classes, structures etc..)?
Yes, Doc/Literal support in Axis can do the same.
--- "Agarwal, Naresh" <[EMAIL PROTECTED]> wrote:
> Hi
>
> RPC/Encoded allows users to directly work with constructs
(classes,
structures etc..) available
> in languages.
> Does Doc/Literal allows the same?
>
> AFAIK, it does not, as in case of Doc/Literal, it is responsibility
of
client and the service to
> interpret the SOAP message.
>
> thanks
> Naresh Agarwal
>