You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Rajan Sadasivan <Ra...@lumenare.com> on 2000/10/25 18:57:34 UTC
soap design questions
Hi:
Q1) i am trying to investigate soap to see if both clients/server have to
be java classes.
from the deployment descriptor for addressbook -
<isd:mappings>
<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:xml-soap-address-demo" qname="x:address"
javaType="samples.addressbook.Address"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
..
i see that the client file GetAddress.java it is doing java class mappings
as specified in the depoloyment.
This would be a major pb. if all clients have to be java clients for SOAP.
Please let me know how i can specify a service where data returned is a
serialized java address object and
the client does not have to be a java client.
Q2) where are the docs for SOAP deployment service spec ?
thanks
rajans
Re: soap design questions
Posted by Simon Fell <so...@zaks.demon.co.uk>.
On Wed, 25 Oct 2000 09:57:34 -0700, in soap you wrote:
>
>Hi:
>
>Q1) i am trying to investigate soap to see if both clients/server have to
>be java classes.
>from the deployment descriptor for addressbook -
> <isd:mappings>
> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:x="urn:xml-soap-address-demo" qname="x:address"
> javaType="samples.addressbook.Address"
>
>java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>
>xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> ..
>
>i see that the client file GetAddress.java it is doing java class mappings
>as specified in the depoloyment.
>This would be a major pb. if all clients have to be java clients for SOAP.
>Please let me know how i can specify a service where data returned is a
>serialized java address object and
>the client does not have to be a java client.
the BeanSerializer serializes a Java Bean into a standard SOAP Complex
Type (and vica versa). Other toolkits which understand complex types
can map the SOAPified Java bean into whatever makes sense for them.
e.g. 4s4c maps complex types to UDT's in COM, and interop's fine with
the Java bean serializer.
Cheers
Simon
www.4s4c.com
Re: soap design questions
Posted by Simon Fell <so...@zaks.demon.co.uk>.
On Wed, 25 Oct 2000 09:57:34 -0700, in soap you wrote:
>
>Hi:
>
>Q1) i am trying to investigate soap to see if both clients/server have to
>be java classes.
>from the deployment descriptor for addressbook -
> <isd:mappings>
> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:x="urn:xml-soap-address-demo" qname="x:address"
> javaType="samples.addressbook.Address"
>
>java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>
>xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> ..
>
>i see that the client file GetAddress.java it is doing java class mappings
>as specified in the depoloyment.
>This would be a major pb. if all clients have to be java clients for SOAP.
>Please let me know how i can specify a service where data returned is a
>serialized java address object and
>the client does not have to be a java client.
the BeanSerializer serializes a Java Bean into a standard SOAP Complex
Type (and vica versa). Other toolkits which understand complex types
can map the SOAPified Java bean into whatever makes sense for them.
e.g. 4s4c maps complex types to UDT's in COM, and interop's fine with
the Java bean serializer.
Cheers
Simon
www.4s4c.com