File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes JWSDP 2.0 client error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JWSDP 2.0 client error" Watch "JWSDP 2.0 client error" New topic
Author

JWSDP 2.0 client error

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi,

I have generated a client stubs for RPC/Encoded style webservices using wscompile tool of JWSDP 2.0. But when i run the client, i get following error

no serializer is registered for (class [Lcom.test.mywebservices.service.TemplateVariable;, {http://com.test.mywebservices/types}ArrayOfTemplateVariable)
at com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.java:51)
at com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(InternalTypeMappingRegistryImpl.java:376)
at com.test.mywebservices.service.TemplateVariables_SOAPSerializer.initialize(TemplateVariables_SOAPSerializer.java:28)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(ReferenceableSerializerImpl.java:65)
at com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(InternalTypeMappingRegistryImpl.java:381)

The client is embedded in my j2ee application and i am deploying it on jboss 4.2.2 with jdk 5.0.

Please help.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JWSDP 2.0 client error
 
Similar Threads
unmarshal-read with JAXB 2.0 and jwsdp 2.0
Using Wsimport to generate stubs
"rpc.ServiceException"
RSA premaster secret error
Which is the most suitable application server to prepare for SCDJWS?