You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Stephan Cleaves <sc...@kana.com> on 2000/09/21 21:40:59 UTC

DOM object from client ?

I've been looking around the archive and have not seen an answer to this
question. It would be nice if the javadocs actually contained documentation
because I'm sure this would have been easily answered by that. So my
question is, can a DOM object, say an Element be turned into a Call object?
I attempted to use Envelope.unmarshall( Node ) and while this worked to a
point, the serialization pukes out when it encounters Element objects
instead of Parameter objects inside of the Body object. The project I'm
working on already deals with XML over HTTP, so we're really just trying to
hook up SOAP interfaces for added flexibility, but I'm having trouble
finding how to go from XML to objects which can actually be sent via SOAP.
Any help would be greatly appreciated.

stephan


##
Stephan R. Cleaves
Java/Unix Senior Software Engineer
Kana Communications
phone: 603.665.1269
fax: 603.665.1869
mailto:stephan.cleaves@kana.com



Re: DOM object from client ?

Posted by Cory Isaacson <ci...@capita2.com>.
Stephan,

Look at the AddressBook example, for getAllListings. This does what you want
using LiteralXML encoding.

Cory
----- Original Message -----
From: "Stephan Cleaves" <sc...@kana.com>
To: <so...@xml.apache.org>
Sent: Thursday, September 21, 2000 3:40 PM
Subject: DOM object from client ?


> I've been looking around the archive and have not seen an answer to this
> question. It would be nice if the javadocs actually contained
documentation
> because I'm sure this would have been easily answered by that. So my
> question is, can a DOM object, say an Element be turned into a Call
object?
> I attempted to use Envelope.unmarshall( Node ) and while this worked to a
> point, the serialization pukes out when it encounters Element objects
> instead of Parameter objects inside of the Body object. The project I'm
> working on already deals with XML over HTTP, so we're really just trying
to
> hook up SOAP interfaces for added flexibility, but I'm having trouble
> finding how to go from XML to objects which can actually be sent via SOAP.
> Any help would be greatly appreciated.
>
> stephan
>
>
> ##
> Stephan R. Cleaves
> Java/Unix Senior Software Engineer
> Kana Communications
> phone: 603.665.1269
> fax: 603.665.1869
> mailto:stephan.cleaves@kana.com
>
>


Re: DOM object from client ?

Posted by Cory Isaacson <ci...@capita2.com>.
Stephan,

Look at the AddressBook example, for getAllListings. This does what you want
using LiteralXML encoding.

Cory
----- Original Message -----
From: "Stephan Cleaves" <sc...@kana.com>
To: <so...@xml.apache.org>
Sent: Thursday, September 21, 2000 3:40 PM
Subject: DOM object from client ?


> I've been looking around the archive and have not seen an answer to this
> question. It would be nice if the javadocs actually contained
documentation
> because I'm sure this would have been easily answered by that. So my
> question is, can a DOM object, say an Element be turned into a Call
object?
> I attempted to use Envelope.unmarshall( Node ) and while this worked to a
> point, the serialization pukes out when it encounters Element objects
> instead of Parameter objects inside of the Body object. The project I'm
> working on already deals with XML over HTTP, so we're really just trying
to
> hook up SOAP interfaces for added flexibility, but I'm having trouble
> finding how to go from XML to objects which can actually be sent via SOAP.
> Any help would be greatly appreciated.
>
> stephan
>
>
> ##
> Stephan R. Cleaves
> Java/Unix Senior Software Engineer
> Kana Communications
> phone: 603.665.1269
> fax: 603.665.1869
> mailto:stephan.cleaves@kana.com
>
>