Hi Upul!

Thanks for your help...

But, what would be a omnode in this context?
I do not understand.

Thanks.

Julio



Upul Godage wrote:
> 
> SOAPFactory soap11Factory = OMAbstractFactory.getSOAP11Factory();
> SOAPEnvelope newEnvelope  = soap11Factory.getDefaultEnvelope();
> ...
> SOAPHeaderBlock newSOAPHeaderBlock = soap11Factory.createSOAPHeaderBlock(
>     localName, namespace);
> ...
> newEnvelope.getHeader().addChild(newSOAPHeaderBlock);
> ...
> newEnvelope.getBody().addChild(omNode);
> 
> Hope these bits help.
> 
> Upul
> 
> 
> On Nov 20, 2007 5:54 AM, juliocest <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I would like to know how can I do a SOAP envelope using axiom. I want to
>> construct the envelope with header and body. Many tutorials explain how
>> to
>> create the soap body, but few explain how create the envelope from
>> scratch.
>>
>> Thanks for a possible help.
>>
>> Julio
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-create-a-soap-envelope-using-AXIOM--tf4840398.html#a13848521
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-a-soap-envelope-using-AXIOM--tf4840398.html#a13853730
Sent from the Axis - User mailing list archive at Nabble.com.


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

Reply via email to