Click here to Skip to main content
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 6:22am
Edited 16-Mar-10 6: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 334
1 Kornfeld Eliyahu Peter 325
2 Maciej Los 239
3 OriginalGriff 188
4 King Fisher 185
0 OriginalGriff 6,303
1 DamithSL 4,764
2 Maciej Los 4,306
3 Kornfeld Eliyahu Peter 3,914
4 Sergey Alexandrovich Kryukov 3,538


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 16 Mar 2010
Copyright © CodeProject, 1999-2014
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