Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Error in JAX-RPC client to invoke Web services w/dynamic proxy

I am developing Java Web services using Java WS Developer Pack jwsdp-1_0_01. I wrote a JAX-RPC client to invoke Web service using dynamic proxy. But I got an error: no serializer is registered for (null, {http://com.test/types/IDVerifierImpl}Message)

In my program, I send an object of user-defined class Id to IDVerifier Web service and receive a message as object of user-defined class Message.

-----------------

Id id = new Id();
id.setName(name);
id.setSecurityNumber(securityNumber);
id.setZone(zone);
Message message = myProxy.verify(id);
-----------------

I think I will have to write a SOAP de/serializer for my classes like Id, Message. But I don't know how? Could you offer any help/steps/guidelines/code samples? Thanking you in anticipation.
Earlier releases of the JWSDP had a bug that affected code trying to decode non-primitive data types. The latest release reportedly fixes it. You can download the latest release at:

http://java.sun.com/webservices/nutshell.html

Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close