![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #2 (permalink) |
| Guest | Re: creating fault for non-wcf client On Jun 1, 11:43 am, jvshore <jvsh...@earthlink.net> wrote: > I am using WCF to act as gateway to linux applications, and thus the > client is not a WCF client. I want to return a SOAP fault to the > client - how do I do this? I failed to indicate that the binding is basicHttpBinding and the client is making calls to the service via SOAP |
| | #3 (permalink) |
| Guest | Re: creating fault for non-wcf client On Jun 1, 11:49 pm, jvshore <jvsh...@earthlink.net> wrote: > On Jun 1, 11:43 am, jvshore <jvsh...@earthlink.net> wrote: > > > I am using WCF to act as gateway to linux applications, and thus the > > client is not a WCF client. I want to return a SOAP fault to the > > client - how do I do this? > > I failed to indicate that the binding is basicHttpBinding and the > client is making calls to the service via SOAP I think you can serialize the caught exception(SOAP fault) and send it. I am not sure whether we can serialize all faults in WCF. |
| | #4 (permalink) |
| Guest | Re: creating fault for non-wcf client On Jun 3, 12:13 am, Aneesh P <anees...@gmail.com> wrote: > On Jun 1, 11:49 pm, jvshore <jvsh...@earthlink.net> wrote: > > > On Jun 1, 11:43 am, jvshore <jvsh...@earthlink.net> wrote: > > > > I am using WCF to act as gateway to linux applications, and thus the > > > client is not a WCF client. I want to return a SOAP fault to the > > > client - how do I do this? > > > I failed to indicate that the binding is basicHttpBinding and the > > client is making calls to the service via SOAP > > I think you can serialize the caught exception(SOAP fault) and send > it. I am not sure whether we can serialize all faults in WCF. In case the fault is not serializabel, we can use a custom [DataContract] which is serializable and can be sent to any client in XML format. The logic to handle the fault should be in client side - like parsing the XML and identifying the error details. |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My fault - can't get SideBar to run | Les | Vista account administration | 3 | 03-30-2008 06:47 PM |
| fault | joe72 | Vista mail | 1 | 12-30-2007 10:12 AM |
| Protection fault | sourdoh | Vista security | 0 | 07-30-2007 06:42 PM |
| Program at fault | bmv | Vista account administration | 1 | 03-14-2007 06:56 PM |