You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Anand, Rajesh" <Ra...@ml.com> on 2005/05/25 11:32:22 UTC

Header & attributes in SOAP msg

Folks,

	Is there a way to see soap msg before it goes out, maybe write
it out to a .txt file to view it.

	The soap msg I need to create has attributes and special headers
defined.

	Here is the snippet of what I need to generate.

	Any help with working example would be great. 

<EDSI-HDR:EDSIHeader 
            xmlns:EDSI-HDR =
"http://namespace.worldnet.ml.com/EDSI/Standards/Headers/EDSIHeader_2_0/
">
            <EDSI-HDR:MessageType>GetIndexService</EDSI-HDR:MessageType>
 
<EDSI-HDR:MessageTypeVersion>1.0</EDSI-HDR:MessageTypeVersion>
 
<EDSI-HDR:TimeStamp>2002-06-14T10:18:48-05:00</EDSI-HDR:TimeStamp>
        </EDSI-HDR:EDSIHeader>
        <PRO-HDR:RequestResponseHeader 
            xmlns:PRO-HDR =
"http://namespace.worldnet.ml.com/EDSI/Standards/Headers/ProtocolHeaders
_1_0/" SOAP-ENV:mustUnderstand = "1">
            <PRO-HDR:CorrelationID>GMI_Test</PRO-HDR:CorrelationID>
        </PRO-HDR:RequestResponseHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <getIndex:IndexServiceRequest 
            xmlns:getIndex =
"http://namespace.worldnet.ml.com/EDSI/Product/Services/GetIndexData_v1_
0/">
 
<getIndex:VendorSpecificSymbol>BP0001W</getIndex:VendorSpecificSymbol>
                <getIndex:BeginDate>2005-05-01</getIndex:BeginDate>
                <getIndex:EndDate>2005-05-23</getIndex:EndDate>
                <getIndex:LevelOrMembers>Level</getIndex:LevelOrMembers>
 
<getIndex:DataVendorName>Bloomberg</getIndex:DataVendorName>
        </getIndex:IndexServiceRequest>


	Thanks for your help in advance.



Rajesh Anand
Email:Rajesh_anand@ml.com
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------