# SOAPFault from a WebService

**URL:** <https://forum.kirupa.com/t/soapfault-from-a-webservice/67764>\
**Category:** flash\
**Created:** [October 19, 2004, 1:36pm UTC](https://forum.kirupa.com/t/soapfault-from-a-webservice/67764 "2004-10-19T13:36:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shvilam](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@shvilam](https://forum.kirupa.com/u/shvilam)\
**Post date:** [October 19, 2004, 1:36pm UTC](https://forum.kirupa.com/t/soapfault-from-a-webservice/67764/1 "2004-10-19T13:36:40Z")

</div>

[font=Arial]i am using a webservis for my appliction and i wont to get same of the informstion from the webservis  
my cade look like that [/font]

loginWebService = new WebService(“[http://198.168.0.15/rnet/Services/ThrowTest.asmx?WSDL](http://198.168.0.15/rnet/Services/ThrowTest.asmx?WSDL)”);  
callback = loginWebService.myThrow()  
callback.onFault = function(fault){  
trace("fault.faultstring " +fault.faultstring)  
trace("fault.faultcode "+fault.faultcode)  
trace("fault.detail "+fault.detail)  
trace("fault.faultactor "+fault.faultactor)  
}

[font=Arial]and my output win look like that [/font]  
[font=Arial][/font]  
Error opening URL “[http://192.168.0.15/rnet/Services/ThrowTest.asmx](http://192.168.0.15/rnet/Services/ThrowTest.asmx)”  
fault.faultstring Unable to connect to endpoint: [http://192.168.0.15/rnet/Services/ThrowTest.asmx](http://192.168.0.15/rnet/Services/ThrowTest.asmx)  
fault.faultcode Server.Connection  
fault.detail undefined  
fault.faultactor undefined  
[font=Arial]and when i snif the port and take a look of the XML that i get from the webservises it is look like that [/font]  
[font=Arial]Server: Microsoft-IIS/5.1  
Date: Tue, 19 Oct 2004 07:00:56 GMT  
X-Powered-By: [ASP.NET](http://ASP.NET)  
HTTP/1.1 500 Internal Server Error.  
Server: Microsoft-IIS/5.1  
Date: Tue, 19 Oct 2004 07:00:56 GMT  
X-Powered-By: [ASP.NET](http://ASP.NET)  
X-AspNet-Version: 1.1.4322  
Cache-Control: private  
Content-Type: text/xml; charset=utf-8  
Content-Length: 613

\<?xml version=“1.0” encoding=“utf-8”?\>  
\<soap:Envelope xmlns:soap=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)” xmlns:xsd=“[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)”\>  
\<soap:Body\>  
\<soap:Fault\>  
\<faultcode\>soap:Client\</faultcode\>  
\<faultstring\>Fault occurred\</faultstring\>  
\<faultactor\>[http://192.168.0.15/rnet/Services/ThrowTest.asmx](http://192.168.0.15/rnet/Services/ThrowTest.asmx)\</faultactor\>  
\<detail\>  
\<SessionExpired d5p1:reason=“timeout” xmlns:d5p1=“[http://fitracks.net/](http://fitracks.net/)” xmlns=“[http://fitracks.net/](http://fitracks.net/)” /\>  
\</detail\>  
\</soap:Fault\>  
\</soap:Body\>  
\</soap:Envelope\>

[/font]

[font=Arial]

who can i get the that that there is in that XML?[/font]

i founded this post about it  
[http://www.intangibleinc.com/movabletype/archives/000007.html](http://www.intangibleinc.com/movabletype/archives/000007.html)  
dase there is some thining to do about it and not in the changing the header
