• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Marshallin Error

N. Ganapathy
Posts: 25
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have created a JAX-WS webservice which is built and deployed using Axis 2. The webservice implements a remote interface. The webservice is annotated as Stateleess. The webservice accepts a POJO as argument and returns another POJO. Both POJOs are annotated as XMLRootEelement.

Problem statement:
When we hit the webservice from SOAP UI, it returns error that the argument passed is null. To avoid this error if we add annotation Style.RPC then we get the marshalling error.

- with linked exception:
[javax.xml.bind.JAXBException: [xxxyyyVO; is not known to this context]</faultstring>

thanks in advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic