# Parsing soap requests

**URL:** <https://forum.kirupa.com/t/parsing-soap-requests/274209>\
**Category:** flash\
**Created:** [October 27, 2008, 3:47am UTC](https://forum.kirupa.com/t/parsing-soap-requests/274209 "2008-10-27T03:47:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saxx](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@saxx](https://forum.kirupa.com/u/saxx)\
**Post date:** [October 27, 2008, 3:47am UTC](https://forum.kirupa.com/t/parsing-soap-requests/274209/1 "2008-10-27T03:47:04Z")

</div>

I’m using alducente’s web service in as3 release found here.

> **[Web Service in AS3, Release 1.0](https://alducente.wordpress.com/2007/10/27/web-service-in-as3-release-10/)**
>
> I completed what seems like a stable version of my web service class. It’s been tested on 3 different services and has been successful in calling methods in each of those 3 services. Some fea…

I’m having a hard time parsing the soap xml i get. I’ve googled until my nose bled and nothing still. Can anybody help me with this?

When i try getting the id elements in the xml, it doesn’t work. But i can get the whole xml document fine.

```auto

//Required imports

import alducente.services.WebService;
import flash.events.*;

var xmlData:XML = new XML(); 

//Instantiate the class
var ws:WebService = new WebService();

//Add a listener for when the web service methods become available
ws.addEventListener(Event.CONNECT, connected);

//Connect to the service by downloading the WSDL
ws.connect("http://dev.clubkiddoo.com/ClubKiddoo/src/KiddooService.asmx?WSDL");

//Once connected, call an available method on the service named "ResolveIP" with the appropriate parameters
function connected(evt:Event):void{

	trace('connected')

	ws.GetAllActivities(done, "GetAllActivitiesRequest()");

			

}

//This function is called when there is a response from the sesrvice
function done(serviceResponse:XML):void{
	trace("nWeb Service Result: ");
	trace(serviceResponse);
	trace(serviceResponse.Id) // returns nothing
		
}

```
