Re: Contract First Development and WSE 3.0 Policy Files
- From: "Pablo Cibraro" <pcibraro@xxxxxxxxxxx>
- Date: Thu, 8 Jun 2006 09:39:57 -0400
Hi Chris,
What is the base class for IMTOMUploader ?. In order to use the attribute
Policy, the base class must be a WebService or SoapService class.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
"Chris Mullins" <cmullins@xxxxxxxxx> wrote in message
news:u5PWfJoiGHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
I've built a Web Service using the new VS.NET 2005 Contract-First
methodology - define an Interface, put the "WebMethod" attributes on
there, and than have a concrete class implement the interface. This works
great, and really helps with versioning issues.
The problem is, I'm trying to get this to work with WSE 3.0 policy files,
and not having any luck.
My class definition looks like:
[WebService(Namespace = http://www.mynamespace.com/mtomhost)]
[Policy("ServicePolicy")]
public class MTOMHost : IMTOMUploader
This doesn't seem to do anything, and even changing the policy name to
some non-existant ("BogusPolicy") doesn't have any affect. Does WSE 3.0
and the policy assertions with with the contract-first approach for web
service development?
--
Chris Mullins
.
- References:
- Contract First Development and WSE 3.0 Policy Files
- From: Chris Mullins
- Contract First Development and WSE 3.0 Policy Files
- Prev by Date: Re: Running WSE 3.0 WebServices without IIS
- Next by Date: Re: Read WSE configuration from class library project
- Previous by thread: Contract First Development and WSE 3.0 Policy Files
- Next by thread: Re: Read WSE configuration from class library project
- Index(es):
Relevant Pages
|
|