Hi im trying to parse the soap message using the cSenDomFragement parsing.... but it is creating a problem in parsing my xml...let me explain the problems i faced....
when i tried to parse the xml responce using the first method in cSenDomFragement parsing ie passing directly as a string(i.e storing my xml in a variable and passing directly) it get parsed but not the expected one....it is displaying only the contents in the tag.....for eg when i tried parsing the below xml
<messages>
<message>
<from>some number</from>
<content>some text</content>
</message>
</messages>
it displayes as follows in the console while parsing
messages
message
from
from
content
content
message
messages
its not displaying the values....this is the problem im facing in tat method
2) in next one passin it a file, i wrote my xml response in a file and passed to it but whn it reaches the
parsel(); method it stops and displayes as systemerror(-981).....
i dono wthr im goin wrong r wat???? but before i used the second method for parsing and i was successful( i.e i created a xml using generatexml method as follows,
<messages>
<message>
<from>some number</from>
<content>some text</content>
</message>
</messages>
stored in a file and parsed it....but its not working for soap response
Wat i want to know is, is this parsing work for soap messages or is there any other parsing methods to parse the soap response....plz help me out.....waiting for replies.........![]()


Reply With Quote
someone plz help me out of this problem!!!!!!!!!!!!!!!!!!!! 

