Re: NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-19 Thread Anne Thomas Manes
You specify the client-side type mapping using a client.config file. Anne On 7/19/05, Linus Kamb <[EMAIL PROTECTED]> wrote: > > This worked. Although I have to invoke the service the "old-fashioned" way, > using Service > and Call.invoke() as opposed to using the generated *ServiceLocator and

Re: NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-19 Thread Linus Kamb
This worked. Although I have to invoke the service the "old-fashioned" way, using Service and Call.invoke() as opposed to using the generated *ServiceLocator and *ServiceSoapBindingStub classes so I can set the register the type mapping. Maybe there is a way set the client side type mapping

Re: NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-19 Thread Anne Thomas Manes
Linus, Try changing your apachesoap:Element type to xsd:anyType, and then define a mapping for anyType to a DOM Element. Anne On 7/14/05, Linus Kamb <[EMAIL PROTECTED]> wrote: > I get the exception dump below when trying to return an array of > org.w3c.dom.Elements. The XML is fine. The method

NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-14 Thread Linus Kamb
I get the exception dump below when trying to return an array of org.w3c.dom.Elements. The XML is fine. The method returns fine. Is it an error to try to send or return Element[] in doc/lit wrapped? I can send the very same XML to the server as doc lit wrapped no problem. It seems to be a pr