JAX-RPC error

I'm testing a JAX-RPC call running in Sun App Server.  All of the methods are working properly except for the method which uses a user-definied object, the stack trace is:

javax.xml.rpc.soap.SOAPFaultException: JAXRPCTIE01: caught exception while handling request: deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: contentType

      at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:528)

      at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307)

      at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)

      at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)

      at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:121)

      at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:85)

Any idea what could be causing this?
LVL 5
jjacksnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mayank SAssociate Director - Product EngineeringCommented:
Perhaps the definition of the object on the other side has changed.
0
CEHJCommented:
You need to define a custom serializer
0
jjacksnAuthor Commented:
CEHJ, why/how.  Do I just need to override a method or something?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jjacksnAuthor Commented:
I'm using JAX-RPC, I was under the impression the generation of the WSDL and the Java wrappers would take care of the serializaiton and deserialization of the object.  Am I mistaken?

0
Mayank SAssociate Director - Product EngineeringCommented:
If you have used WSDL 2 Java from Axis, it should.
0
jjacksnAuthor Commented:
sorry, what is that?  i'm using JAX-RPC which is a bit older, but shoul still be capable of this.
0
Mayank SAssociate Director - Product EngineeringCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.