Why Domain Object Factory Name is based on the Stored Proc

Topics: July and December Releases Forum
Jan 24, 2007 at 1:44 PM

Hi all,

I have just started to admire the luxuries provided by the Web Service Software Factory.

However, I have few questions listed below.


1. In the Dec 2006 release of the Web Service Software Factory, why is the name of the generated Domain Object Factory class for a particular entity is based on the Get All stored procedure for that entity? e.g.
GETALL_STORED_PROC_NAMEFactory.
It is very confusing.
I personally feel that it should be based on Domain Object's name e.g.
DOMAIN_OBJECT_NAMEFactory.


2. Is there any thing related to Web Service Security and Exception Shielding which comes out of the box with the Service Factory?



Regards,
Hameer Saleem
Jan 24, 2007 at 5:30 PM
Hameer,

I think I understand your first point of feedback. I wasn't involved in the naming decision for these generated factories. I tend to agree with you, but I'll check with the other guys to get some rationale.

About your second question, I can't remember if you're building ASMX or WCF services.

Exception Shielding: If you check out the reference implementations, you should find examples of how to implement exception shielding. Check out the documentation ... it should help you find it. You can also check out the Web Service Security Patterns guide. I has an implementation pattern for exception shielding if you're using ASMX/WSE (http://msdn2.microsoft.com/en-us/library/aa480592.aspx).

Security: We don't have any guidance in the factory for security for ASMX/WSE services because we released that work in Dec 2005 as the Web Service Security Patterns guide (http://msdn2.microsoft.com/en-us/library/aa480545.aspx). If you're building WCF services, we have lots of stuff in Service Factory (written guidance and an entire guidance package which helps you apply the security patterns in a WCF service).

Hope that helps,
Don