dev@jax-ws.java.net

Passing lists of interfaces as parameters

From: bmolof <barrymolof_at_lycos.com>
Date: Wed, 16 Jan 2008 09:01:58 -0800 (PST)

Hello All,

I am trying to create JAX-WS web services running in WebLogic 10 and I'm
running into some problems regarding interfaces.

Lets say I have an interface called IAddress and the implementation class
called AddressImpl. I want my webservice to take in parameters of IAddress.
I was able to do this by specifying the XmlJavaAdapter annotation and
creating a marshaller.

My problem occurs when I want my webservice to take a List<IAddress> as a
parameter or any Collection for that matter. When I start WebLogic I get an
error saying that JAXB does not support interfaces.

What can I do to pass a Collection of interfaces as a parameter in a JAX-WS
webservice?

Regards,
Barry

-- 
View this message in context: http://www.nabble.com/Passing-lists-of-interfaces-as-parameters-tp14885521p14885521.html
Sent from the JAX-WS Development mailing list archive at Nabble.com.