Multiple Operations with soapAction="" in a WCF Service Contract?

Posted by John Saunders on Stack Overflow See other posts from Stack Overflow or by John Saunders
Published on 2010-04-09T06:27:37Z Indexed on 2010/04/09 6:33 UTC
Read the original article Hit count: 683

Filed under:
|
|

I need to create a service that will be "called back" by a third party. As a result, I need to conform to their WSDL.

Their WSDL has all of the operations defined with soapAction="", so my service needs to do the same. Unfortunately, I'm getting the error:

The operations A and B have the same action (). Every operation must have a unique action value.

In ASMX web services, there was a mode where the soapAction would not be used, but the name of the request element would be used instead. Is there some way using WCF not only to dispatch on the request element, but also to emit a WSDL with no soapAction?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about c#