I still don't quite understand your question, probably because I do not
understand what it is you want to do, but let me throw out a few thoughts.

Since your message is on this list, I assume your question relates to SOAP
and not XML in general.  If you want to use SOAP to do remote procedure
calls, you do not have to worry about the underlying XML format it will use.
Apache SOAP can be used to serialize your Java objects as XML without too
much work on your part.  The GetAddress client in the addressbook sample is
a nice example of this.  On the other hand, if you have data in XML format
that you want to transmit using SOAP, you have at least two options.  You
can read the document into a DOM then use the "literal XML" encoding of
Apache SOAP to transfer the data in a SOAP message.  The GetAllListings
addressbook sample shows the use of literal XML.  You could alternatively
leverage the SOAP attachments capability to send the XML document as an
attachment.  The mime sample shows how to use attachments.

I hope this helps you and/or generates more questions to post to this list.

Scott Nichol

----- Original Message -----
From: "Johnson, Michael1 [IT]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 12:52 PM
Subject: RE: Anything other than Dom?


> A am new to xml so please pardon me if I have mistaken this but I thought
> that using DOM I could pass it data and have it format an XML document. I
> was wondering if there are any alternatives to DOM.
>
> -MJ
>
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 11:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Anything other than Dom?
>
>
> Michael,
>
> I don't really understand your question.  It would help me if you could
> expand on this, either with an example or more of an explanation, e.g. if
> there is something you *wish* Apache SOAP could do.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Johnson, Michael1 [IT]" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 19, 2002 11:49 AM
> Subject: Anything other than Dom?
>
>
> > When getting data is there another way to format it other than using dom
> to
> > create an object that represents the data?
> >
> > thanks
> >
> > -MJ
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to