I have a SoapService operation that is declared as a void and I'm using the
WSE-generated proxy to call it. If the server throws an exception, a
response is sent, but the prxy doesn't seem to notice it. If I change the
operation to return something (like an int), the proxy propagates the fault
as an exception.
Is this the intended bevavior and if so, why? Thanks a lot,
- Erik
Nathan Anderson - 09 Mar 2005 17:51 GMT
For SoapService, a SoapMethod with a void return type is one way, so no
envelope is ever sent in response to the client.
ASMX handles one way a little differently where it is defined as a property
on the SoapDocumentMethod and SoapRpcMethod attributes.
Hope this helps.
> I have a SoapService operation that is declared as a void and I'm using the
> WSE-generated proxy to call it. If the server throws an exception, a
[quoted text clipped - 5 lines]
>
> - Erik