Click here to Skip to main content
0 members (51,731 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: XML J2EE
Hi all,

I have an xml SOAPenvelope request file :
<soapenv:Body>
 
   <FTTPProductTypexsi:type="xsd:string">TDV</FTTPProductType>
   <applicationIdxsi:type="xsd:string">702</applicationId>
    <insideFTTPProductTypexsi:type="xsd:string">T</insideFTTPProductType>
     <masterOrderNumxsi:type="xsd:string">TESTNEWDDA</masterOrderNum>
     <numberOfCalendarDaysxsi:type="xsd:string">10</numberOfCalendarDays>
    <serviceOrderNumxsi:type="xsd:string"xsi:nil="true"/>
     <serviceOrderTypexsi:type="xsd:string">N</serviceOrderType>
 
     <userIdxsi:type="xsd:string">V613001</userId>
</soapenv:Body>

This soap message I am storing by the following method :
org.apache.axis.Message l_request = mCtx.getRequestMessage();//mCtx is an instance of MessageContext
org.apache.axis.message.SOAPEnvelope l_Envelope = l_request.getSOAPEnvelope();

Thus, I got the above soap file into l_Envelope.

Now the only thing is I want to store these fields (xml values ) into related variables.
Is there any jax API that can solve my issue ?
Posted 16-Mar-10 5:22am
Edited 16-Mar-10 5:50am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 165
1 OriginalGriff 125
2 chainerlt 110
3 ppolymorphe 89
4 Mika Wendelius 70
0 OriginalGriff 9,178
1 Sergey Alexandrovich Kryukov 8,512
2 CPallini 5,189
3 Maciej Los 4,766
4 Mika Wendelius 3,696


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 16 Mar 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100