Any body getting a chance to look at this.
TIA
Sanjay
--- Sanjay bahal <[EMAIL PROTECTED]> wrote:
> The code looks like this:
> SOAPMappingRegistry registry = new
> SOAPMappingRegistry();
>  QName qname = new QName( "urn:my_encoding",
> "demo.Invoice" );
> BeanSerializer serializer = new BeanSerializer();
>  registry.mapTypes( Constants.NS_URI_SOAP_ENC,
> qname,
> Invoice.class, serializer, serializer );
> 
>  // prepare the service invocation
>  Call call = new Call();
>  call.setSOAPMappingRegistry( registry );
>  call.setTargetObjectURI( urn );
>  call.setMethodName( "receive" );
>  call.setEncodingStyleURI( Constants.NS_URI_SOAP_ENC
> );
>  Vector params = new Vector();
>  params.addElement( new Parameter( "invoice",
> Invoice.class, new Invoice( "MyInvoice", 42 ), null
> )
> );
>  call.setParams( params );
> Response response = call.invoke( url, "" );
> 
> Thanks again,
> Sanjay
> --- Sanjay bahal <[EMAIL PROTECTED]> wrote:
> > Henk:
> > Here is the deployment descriptor:
> > [TypeMapping
> >
>
encodingStyle=http://schemas.xmlsoap.org/soap/encoding/,elementType=my_encoding:demo.Invoice,javaType=demo.Invoice,java2XMLClassName=org.apache.soap.encoding.soapenc.BeanSerializer,xml2JavaClassName=org.apache.soap.encoding.soapenc.BeanSerializer]
> > I don't know the version numbers of Soap/Tomcat. I
> > had
> > downloaded the latest builds a little while ago,
> > Thanks
> > Sanjay
> > 
> > 
> > --- Henk Schipper <[EMAIL PROTECTED]>
> > wrote:
> > > What other modules are you using? I can't
> imaging
> > > you use only those two.
> > > Pls specify also the version numbers.
> > > 
> > > Further on can you give the definition of your
> > > deployment descriptor and
> > > soap request?
> > > 
> > > Thx
> > > 
> > > Henk.
> > > 
> > > -----Original Message-----
> > > From: Sanjay bahal [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, 14 November, 2001 2:51 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Soap Deseralization Error
> > > 
> > > 
> > > Hi,
> > > I get the flwg error:
> > > <faultstring>No Deserializer found to
> deserialize
> > a
> > > &apos;urn:my_encoding:demo.Invoice&apos; using
> > > encoding style
> > >
> >
>
&apos;http://schemas.xmlsoap.org/soap/encoding/&apos;.</faultstring>
> > > 
> > > demo.Invoice my class.
> > > any ideas,
> > > Thanks
> > > Sanjay
> > > I use Tomcat 3_2 and SOAP_2_2
> > > 
> > > 
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Find the one for you at Yahoo! Personals
> > > http://personals.yahoo.com
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Find the one for you at Yahoo! Personals
> > http://personals.yahoo.com
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

Reply via email to