logo       

How to read SOAP messages from connection input stream..: msg#00003

java.enhydra.kxml

Subject: How to read SOAP messages from connection input stream..

hi all,
i was wondering...
i have a servlet in the background which is going to output
a xml message like this to a j2me client

<SOAP-ENV>¨
<SOAP-BODY>
<agencies>
<agency>
<name>name1</name>
<tel>tel1</tel>
</agency>
...
....
</agencies>
</SOAP-BODY>
<SOAP-ENV>

in hte sample that i have seen, the issue is for getting results from RPC
operations,
but in my app i have to receive a complete XML file as result of invoking an
operation
on hte backend servlet

anyone knows how to build a SOAP Envelope from an incoming stream containing an
xml file?

thanx in advance and regards
marco

PS i saw a method called parseBody which accepts an XMLPullParser..but i m not
sure
how to use it..will it be parseBody(new new KXmlParser ()) ??


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise