You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Kottamasu, Madhuri" <ma...@intel.com> on 2000/09/06 22:53:15 UTC
How to attach the SOAP Envelope to the Document
Hi,
I am very new to SOAP. I downloaded SOAP API from Apache few days before.
What I am trying to do is, using SOAP API, build a small SOAP document and
send it from client to server.
Here is my code:
XMLParserLiaison xpl = new XercesParserLiaison();
Document doc = xpl.createDocument();
Envelope env = new Envelope();
Body body = new Body();
env.setBody(body);
I am unable to find how to attach this env to the document. Can anyone
please point me to correct place?
Thanks,
Madhuri Kottamasu
Re: How to attach the SOAP Envelope to the Document
Posted by Cory Isaacson <ci...@capita2.com>.
The SOAP code automatically generates the SOAP document -- look at the
examples, especially the AddressBook (getAllListings which sends an XML
document in a SOAP envelope).
Cory
----- Original Message -----
From: "Kottamasu, Madhuri" <ma...@intel.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 06, 2000 4:53 PM
Subject: How to attach the SOAP Envelope to the Document
> Hi,
>
> I am very new to SOAP. I downloaded SOAP API from Apache few days before.
> What I am trying to do is, using SOAP API, build a small SOAP document and
> send it from client to server.
>
> Here is my code:
> XMLParserLiaison xpl = new XercesParserLiaison();
> Document doc = xpl.createDocument();
> Envelope env = new Envelope();
> Body body = new Body();
> env.setBody(body);
>
> I am unable to find how to attach this env to the document. Can anyone
> please point me to correct place?
> Thanks,
>
> Madhuri Kottamasu
>
>
>
Re: How to attach the SOAP Envelope to the Document
Posted by Cory Isaacson <ci...@capita2.com>.
The SOAP code automatically generates the SOAP document -- look at the
examples, especially the AddressBook (getAllListings which sends an XML
document in a SOAP envelope).
Cory
----- Original Message -----
From: "Kottamasu, Madhuri" <ma...@intel.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 06, 2000 4:53 PM
Subject: How to attach the SOAP Envelope to the Document
> Hi,
>
> I am very new to SOAP. I downloaded SOAP API from Apache few days before.
> What I am trying to do is, using SOAP API, build a small SOAP document and
> send it from client to server.
>
> Here is my code:
> XMLParserLiaison xpl = new XercesParserLiaison();
> Document doc = xpl.createDocument();
> Envelope env = new Envelope();
> Body body = new Body();
> env.setBody(body);
>
> I am unable to find how to attach this env to the document. Can anyone
> please point me to correct place?
> Thanks,
>
> Madhuri Kottamasu
>
>
>