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

lbolanos do-not-reply at jboss.com
Mon Feb 23 14:57:45 EST 2009


Greetings!

I'm using Jboss.4.2.3

I want to receive the process event with hashtable with Objects like String, Integer or QueryVO.


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) {
	}


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:



VO

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

select 




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

How can i ride this problem?

Thanks in advance

Leo






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

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



More information about the jboss-user mailing list