fault

python web-services: returning a fault from the server using ZSI

I'm interested in writing a python client for a web-service, and for testing purposes it would be very interesting also to have a simple stub server. I'm using python 2.3, and ZSI 2.0. My problem is that I do not manage to return an exception from the server. If I raise an exception of the type used for the soap fault in the wsdl, I ge...

Paging from a remote share

Let's say that I have an application running on Windows XP that is "launched" from a mapped network drive. When a page fault is triggered by the execution of this application and a code page needs to be read from disk, assuming it's not in the pagefile, will Windows go out to the mapped network share to read the necessary code page in f...

gsoap fault processing - sending application specific exceptions

Hello GSoap community! My application is crashing when I am sending application specific fault details. Here's how my SOAP_ENV__Detail looks like - struct SOAP_ENV__Detail { public: ex__ExceptionType *ex__Exception; /* optional element of type ex:ex__ExceptionType */ int __type; /* any type of element <fault> (defined below) ...

flex webservice fault : HTTP request error

Hi Guys, Im using Flex 3 and the WebService component. I started getting the following fault HTTP request error when making a call to service method. This error only showed up and i cant figure out whats causing it <mx:WebService useProxy="false" id= "myService"> <mx:operation name="getName" resultFormat="object" ...

svcutil soap fault namespace problem

I'm generating client side web service code using svcutil. The wsdl contract I'm using contains a soap fault. When the code is generated the fault seems to be wrapped in the namespace it was defined in the contract. Can anyone explain why? I'm simply running svcutil [filename] Example WSDL: <wsdl:definitions xmlns:soap="http://sche...

Determine whether memory location is in CPU cache.

It is possible for an operating system to determine whether a page of memory is in DRAM or in swap; for example, simply try to access it and if a page fault occurs, it wasn't. However, is the same thing possible with CPU cache? Is there any efficient way to tell whether a given memory location has been loaded into a cache line, or to ...

JAX-WS Exception

How to assign the fault field of the SOAPFaultException on the server side? ...

Service Faulted State

Where is the MyDefinedFault class. how to define this class. ...

Why do my WCF service returning a FaultException, time out after 10 calls?

I have a WCF service that sometimes has to return a Fault. For some reason, the calls to my service begins to time out with the following error: "The request channel timed out while waiting for a reply after 00:00:59.8906201. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The ti...

Fault Diagnostic Process

Has anyone created or seen a good fault diagnostic procedure for a web based solutions that an Operations team could use to do diagnostic and support with? The solution is based on a C# system running on IIS and making use of things like workflow and WCF services. It's a Service Based solution and also makes use of external and Internal...

How should I compensate for a bad WSDL?

I've come across several examples of SOAP-based web services where automated tooling fails to build a client that works. Investigating these examples leads me to believe that the WSDL the service uses to describe itself doesn't quite match the service that's being provided. Maybe a wrong type somewhere, a different data structure - some...

cannot find dispatch method - Axis 1.4 SOAP Web service

I am using Apache Axis 1.4 and Netbeans 6.5 to develop and test a SOAP Web service and client. I generated the Java classes from the WSDL (see attachment). It builds and deploys without problem, but when I try to run the client to test the WS, I get an error. The namespace looks correct, so why does it say it can't find the dispatch me...

How can I send fault on a duplex channel ?

A client and a server communicate in duplex mode. The client has a universal service (Action="*") as contract callback. I'd like the server to be able to send fault to my client. How can I do ? ...

How to handle seg faults under Windows?

How can a Windows application handle segmentation faults? By 'handle' I mean intercept them and perhaps output a descriptive message. Also, the ability to recover from them would be nice too, but I assume that is too complicated. ...

Network simulator doubt..

Hi all.. I run a wireless simulation on NS2 with DSDV protocol.It works well for this.But when i use DSR protocol instead od DSDV it shows Segmentation fault as error. Can anyone help me in this... ...

Core Data cannot resolve faults when object has "description" attribute?

EDIT: see below for a fix, but I don't understand why the fix works. :) Code: NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; NSEntityDescription *entity = [NSEntityDescription entityForName:@"A" inManagedObjectContext:moc]; [fetchRequest setEntity:entity]; NSSortDescriptor *sor...

Fault injection for .NET apps?

I am wondering if anyone knows of tools or techniques to automatically inject common faults into a running .NET program. Stuff like... Randomly inject an OutOfMemoryException upon allocation Randomly inject FileNotFoundException upon trying to access a files Randomly inject IO or Network exceptions upon using a socket. So I'm really...

Axis2 Web Services and Eclipse WSDL authoring: Adding an axis fault to wsdl causes exception when running wsdl2java

I am trying to create a contract-first Web Service using Apache Axis2 1.4.1. Since Eclipse has what seems like a pretty complete wsdl editor I started autoring my wsdls using Eclipse´s editor. Everything works great, I can generate Java classes using wsdl2java and the Web Services work when deployed. However, adding an exception or fault...

How to return a complex object from an axis web service

Hi all, I am writing a simple web service to return an object with 2 properties. I am embedding the service into an existing web application. My wsdd looks like this. <globalConfiguration> <parameter name="adminPassword" value="admin"/> <parameter name="sendXsiTypes" value="true"/> <parameter name="sendMultiRefs" value=...

Is there a way to declare WCF FaultContracts at a higher level than operation?

I have a service where every operation can respond with the same custom fault type. I have this working fine by applying the FaultContract attribute to every operation like so: [OperationContract] [FaultContract(typeof(MyFault))] public string Operation1(); [OperationContract] [FaultContract(typeof(MyFault))] public string Operation2(...