[jboss-user] [JBossWS] - Re: Error unmarshalling anytype with complexType

lbolanos do-not-reply at jboss.com
Mon Feb 23 15:11:02 EST 2009

Sorry... my first time  :(

I'm using Jboss.4.2.3

I have this interface

	@WebMethod(operationName = "process", action = "http://com.sns.bas.dbenabler.web.jmsws/action/processIn")
	public DoneMessage process(Hashtable<String, Object> listParameter ) {
	@WebMethod(operationName = "dummy", action = "http://com.sns.bas.dbenabler.web.jmsws/action/processIn")
	public QueryVO dummy(QueryVO arg1) {

I want the hashtable receive any Objects like String, Integer or QueryVO.

All is ok when i send String or Integer.

But when the client send a QueryVO the JAXBContext does not found the QName("queryVO","","")  because it is searching for QName("queryVO","http://com.hds.eihv./DBEnabler","ns3")

This is the what the client send:

  | <key>
  |     VO
  | </key>
  | <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns3="http://com.hds.eihv./DBEnabler" xsi:type="ns3:queryVO">
  |    <sql>
  |       select 
  |    </sql>
  | </value>
  | </entry>

There is a way to include a (QName, Class)  to JAXBContext   ?

How can i ride this problem?

Thanks in advance


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212413#4212413

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212413

More information about the jboss-user mailing list