Hi, What if you add the targetnamespace to the webresult annotation, such as
@WebResult(name="thingArray", targetNamespace = "http://jws.samples.geronimo.apache.org") Also how did you generate your wsdl? It would help if you could supply your sample. Thanks Lin On Thu, Jul 31, 2008 at 1:18 PM, ericp56 <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using JAX-WS with POJO. I've run into an issue. I'm figuring it may be > easily recognizable by others, so here it is: > > In my interface, I've added the following: > > @WebResult(name="thingArray") > public Thing[] GetThings(); > > Thing is a class in the same namespace. > > Upon execution, the following exception happens: > > Caused by: javax.xml.bind.JAXBException: [Lcom.my.ws.Thing; is not known to > this context > at > com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:538) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:82) > > Any suggestions? > > Thanks, > > Eric > -- > View this message in context: > http://www.nabble.com/Simple-JAX-WS-tp18759351s134p18759351.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >
