Simple XML Framework parse only part of the XML

chiendacazica

New Member
I am using the Simple XML framework to parse responses from a soap web service. I only want to parse the actual web service response and ignore the soap envelope and body (i.e. I don't want to have Envelope and Body classes for all my responses).XML:\[code\]<Envelope> <Body> <TopGoalScorersResponse> <TopGoalScorersResult> <tTopGoalScorer> <sName>Alan Dzagoev</sName> <iGoals>3</iGoals> <sCountry>Y</sCountry> <sFlag>http://footballpool.dataaccess.eu/images/flags/ru.gif</sFlag> <sFlagLarge>http://footballpool.dataaccess.eu/images/flags/ru.png</sFlagLarge> </tTopGoalScorer> </TopGoalScorersResult> </TopGoalScorersResponse> </Body></Envelope>\[/code\]So for this response I want to have TopGoalScorersResponse, TopGoalScorersResult and TopGoalScorer classes and not be required to have an Envelope and Body class.Is this possible?ThanksDavid
 
Back
Top