Hari,
Thanks for your help...  my deploy.wsdd file contains the BeanMapping tag...

<beanMapping
    qname="ns:Category"
    xmlns:ns="urn:SearchCategoryService"
    languageSpecificType="java:TLI.beans.Category"/>

This should suffice instead of the typeMapping correct? I made sure my QName in my client now mathes: QName qn = new QName("urn:SearchCategoryService" .

This still has not worked.. Any other ideas? Thank you very much for replying..


From: "Hari Lakshmanan" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: No serializer found for class
Date: Thu, 26 Feb 2004 16:35:11 -0800

Sorry it should read as namespace instead of qname
<typeMapping
        xmlns:ns="urn:SearchCategoryService"
...




__Hari


-----Original Message-----
From: Hari Lakshmanan
Sent: Thursday, February 26, 2004 4:30 PM
To: [EMAIL PROTECTED]
Subject: RE: No serializer found for class


I had similar problem Make sure qname under typeMappings in your deploy.wsdd is urn:SearchCategoryService. If not, change it and redeploy and run the client

Hope this helps


-----Original Message----- From: christopher justin [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 4:11 PM To: [EMAIL PROTECTED] Subject: No serializer found for class


Hello all,


My web service client seems to not register my class with the
BeanSerializer
correctly...I keep getting  "No serializer found for class
TLI.beans.Category".  I am stumped... if any one can help out it would
be
greatly appreciated.  Here is my client code:

                   Category c = new Category();
                   c.setName("name");
                    c.setValue("myname");
                   Service service = new Service();
           Call call = (Call)service.createCall();
           QName qn = new QName("urn:SearchCategoryService",
"Category");

call.registerTypeMapping(Category.class, qn,

BeanSerializerFactory.class,

BeanDeserializerFactory.class);
           call.setOperationName( "getCategoriesSearch" );
           call.setEncodingStyle( Constants.NS_URI_XML );
           call.addParameter( "Category", qn, ParameterMode.IN );
           call.setReturnType( qn );
                   call.setTargetEndpointAddress( endPoint );
           Category cat1l = (Category) call.invoke( new Object[] {c} );

Am i missing something ?  Does the Qname need to match something I am
missing ?

_________________________________________________________________
Say "good-bye" to spam, viruses and pop-ups with MSN Premium -- free
trial
offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/


_________________________________________________________________
Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/




Reply via email to