# SOAP Web Service with AS3 Question

**URL:** <https://forum.kirupa.com/t/soap-web-service-with-as3-question/272746>\
**Category:** flash\
**Created:** [October 8, 2008, 5:46am UTC](https://forum.kirupa.com/t/soap-web-service-with-as3-question/272746 "2008-10-08T05:46:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarantoo](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@sarantoo](https://forum.kirupa.com/u/sarantoo)\
**Post date:** [October 8, 2008, 5:46am UTC](https://forum.kirupa.com/t/soap-web-service-with-as3-question/272746/1 "2008-10-08T05:46:06Z")

</div>

Hi Guys,

I’m new to AS world and just start using it with AS3 recently.

I have some web services that I need to consume. I’ve tried the mx.rcp.soap classes but it add some 120k overhead to the swf file so I steered away from it.

I resort to manually construct XML soap message and POST it with some custom headers to fulfill soap spec. by using URLLoader/URLRequest things and it works really well except that I can’t read soap fault when it occurs.

Because soap fault come with http 500 (.Net Web Service), the loader just throw an exception before I can capture soap fault message. Is there a way around this?

Many thanks,  
saran
