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/
- No serializer found for class Rajagopal
- Re: No serializer found for class Tony Blair
- Re: No serializer found for class Parul . Joshi
- Re: No serializer found for class Tony Blair
- Re: No serializer found for class Tony Blair
- Re: No serializer found for class Parul . Joshi
- Re: No serializer found for class Vivek Nagulapati
- Re: No serializer found for class Parul . Joshi
- Re: No serializer found for class ian_d_stewart
- Re: No serializer found for class christopher justin
- Re: No serializer found for class Airline Pedestal
- RE: No serializer found for class Hari Lakshmanan
- RE: No serializer found for class Hari Lakshmanan
- RE: No serializer found for class christopher justin
- Re: No serializer found for class christopher justin
