S
Sambo
Hi All
I'll dot point a few things to try and give some clarity around the
problem I'm having, and the outcome I need:
The Web Service construction:
- My web service is developed in .NET 2.0
- My web service needs to be constructed/generated from an existing
WSDL
- The WSDL was written by a third party (a standards body)
- The WSDL is also used by other parties that I need to communicate
with (that do not use .NET and may not be running on a Windopws
platform)
- I will be comsuming the third party service and they will be
consuming mine
The problem:
Microsoft.NET "cleverly" handles exceptions as SoapException and maps
them back to a SOAP fault element. The custom WSDL I need to use to
generate my web service from contains a clearly defined fault element.
Unfortunately, WSDL.EXE does not recognise this and will not generate
an exception class from it for me to raise in code for that web method.
I need to know whether a client that is NOT written in MS.NET and NOT
running in a Windows environment will see the required fault element in
the WSDL produced by my web service after I have used WSDL.EXE to
generate it from the custom WSDL (that does contain the fault element
definition).
I have seen articles on consuming web services and using SOAP
extensions to read the fault element, likewise to produce a fault
element at runtime, but I need to be able to ensure the consuming
application (on a foreign platform) will see my web service's WSDL
correctly at design time (as defined by the standards body that issued
it for me to produce my service from).
Please help. I'm exhausted after reading the entire internet
Thanks in advance,
Sam
I'll dot point a few things to try and give some clarity around the
problem I'm having, and the outcome I need:
The Web Service construction:
- My web service is developed in .NET 2.0
- My web service needs to be constructed/generated from an existing
WSDL
- The WSDL was written by a third party (a standards body)
- The WSDL is also used by other parties that I need to communicate
with (that do not use .NET and may not be running on a Windopws
platform)
- I will be comsuming the third party service and they will be
consuming mine
The problem:
Microsoft.NET "cleverly" handles exceptions as SoapException and maps
them back to a SOAP fault element. The custom WSDL I need to use to
generate my web service from contains a clearly defined fault element.
Unfortunately, WSDL.EXE does not recognise this and will not generate
an exception class from it for me to raise in code for that web method.
I need to know whether a client that is NOT written in MS.NET and NOT
running in a Windows environment will see the required fault element in
the WSDL produced by my web service after I have used WSDL.EXE to
generate it from the custom WSDL (that does contain the fault element
definition).
I have seen articles on consuming web services and using SOAP
extensions to read the fault element, likewise to produce a fault
element at runtime, but I need to be able to ensure the consuming
application (on a foreign platform) will see my web service's WSDL
correctly at design time (as defined by the standards body that issued
it for me to produce my service from).
Please help. I'm exhausted after reading the entire internet
Thanks in advance,
Sam