Hi "Nalini T"
Your display name still doesn't quite comply with the JavaRanch official policy on registered names. "with a first and last name" "You can even use initials for the first name if you like." So if you simply want to swap the initial to the front then that would be fine.Please do not post the same message multiple times, either in the same forum or across different JavaRanch forums. You can delete your own messages by "editing" them and checking the "Delete Post? (check box, if yes)" checkbox, should you accidentally create multiple messages.Ease Up (in reference to your original message and the impression that multiple identical messages leave).Respect Your Coranchers PrivacyIn your original message you stated that the problem was solved. Your code and error message shows that you still haven't addressed the issue: the object hidden away in the object array still has to be serialized. So if that object doesn't have a default serializer/de-serializer pair
you will have write one.
See
Java API for XML-Based RPC (JAX-RPC) Specification 1.1 (JSR-101); Section: 19 Appendix: Serialization Framework
The other alternative is to extract the information from the object into variables with a data type that has default serialization/de-serialization support and send those variables instead.
Section: 5 Java to XML/WSDL Mapping The best alternative is to design your service WSDL-first (possibly defining your data XML Schemas separately) using the supported XSD types as outlined in
18. Appendix: XML Schema Support and then use the WSDL2Java tool to generate the stubs. Then you can unload the data form your original objects and load the data into instances of the classes provided by the stub.
Section: 4 WSDL/XML to Java Mapping