Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - creating fault for non-wcf client

 
 
Old 06-01-2007   #1 (permalink)
jvshore


 
 

creating fault for non-wcf client

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?


My System SpecsSystem Spec
Old 06-01-2007   #2 (permalink)
jvshore


 
 

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

My System SpecsSystem Spec
Old 06-02-2007   #3 (permalink)
Aneesh P


 
 

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.

My System SpecsSystem Spec
Old 06-03-2007   #4 (permalink)
Aneesh P


 
 

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.

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
ntdll.dll fault Vista General
fault Vista mail
Iolo say that it is MS Fault Vista General
Program at fault Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46