← Prev in month ← Prev in thread

Generic Factory in ASAP

From
Mayilraj Krishnan <>
Date
2003-11-07T17:45:54+00:00
ID
Thread
Generic Factory in ASAP
Not to disturb the other thread, coming back to the original question
of  having "Generic Factory" for ASAP.

I thought will forward whatever I sent to Keith Swenson,

so that TC members can chime in.

Regards

Mayilraj

Date: Thu, 06 Nov 2003 09:40:44 -0800

To: Keith Swenson <>

From: Mayilraj Krishnan <>

Subject: RE: [asap] Factory in ASAP 

Keith

Thank you for your nice email.

I am in agreement with your concept on "Resource Oriented
Approach" for

asynchronous services.

We can come up with some tool to generate factory for each async service
but I think WS developers should  not worry about developing factory
for each service.

The main problem in the  factory pattern (similar to ASAP pattern)
is,  factory returns the address for service instance. 

Rather I would think consumer will use the address of the service
instance (endpoint) and the factory

will be used at the infrastructure level (feature in WSDL 1.2). 
Once the WSDL processor understands

the feature (will be defined with ASAP url), it knows how to interact
with the generic factory and coordinate with the service.

I guess we should not be calling that entity as "Factory" but I
could not think of alternate name.

At this point I am not sure this way features can be implemented or the
intention of the features to do this kind of services.

Thanks

Mayilraj

At 06:30 AM 11/6/2003 -0800, you wrote:

Hopefully
you have seen my other comment about factories.  With reflection on
that, I would like to see how you would expect to use a single factory
for a "CheckInventory" operation and a "Shipping"
operation.

-Keith Swenson 

-----Original Message----- 
From: Mayilraj Krishnan
[mailto:] 
Sent: Wednesday, November 05, 2003 5:23 PM 
To: Keith Swenson 
Cc: ASAP 
Subject: RE: [asap] Factory in ASAP 

I was referring two web services.. One is check Inventory and another
is Shipping.

Thanks 
Mayilraj 
At 03:53 PM 11/5/2003 -0800, Keith Swenson wrote:

Could you clarify your example at this statement: 

>> I have two web services one is check inventory, shipping. 
What is the other? 
-Keith 

-----Original Message----- 
From: Mayilraj Krishnan
[mailto:]

Sent: Wednesday, November 05, 2003 12:32 PM 
To: Jeffrey Ricker; ASAP 
Subject: [asap] Factory in ASAP 
So far I have been thinking we need just only one factory for ASAP 
implementation or 
the implementation of services could be conveniently placed under one 
logical ASAP factory. 
I have two web services one is check inventory, shipping. Why do I
need to 
create 
two ASAP factory? I think the ASAP pattern  is generic enough,
it can just 
have one factory. 
[In terms of WSDL 1.2 we could map this to one ASAP (soap/transport 
protocol) binding and one feature)] 
Is that a right assumption? 

Thanks 
Mayilraj 
At 11:35 AM 11/4/2003 -0500, Jeffrey Ricker wrote:

>I have attached files for describing the current draft of ASAP in WSDL. 
>These are rough draft documents that have not been proofed. 
> 
>The asap.xsd describes the payloads 
>The asap.wsdl is the basis for all ASAP services 
> 
>The concept here is to treat ASAP as a binding. The message structures 
>are all the same, the programmer only has to define the ContextData and 
>the ResultsData elements. 
> 
>The checkInventory.wsdl and productLevel.xsd files provide an example of 
>this ASAP-as-a-binding approach. 
> 
>Ricker 
> 
> 
> 
> 
>To unsubscribe from this mailing list (and be removed from the roster of 
>the OASIS TC), go to 
>http://www.oasis-open.org/apps/org/workgroup/asap/members/leave_workgroup.php. 
To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/asap/members/leave_workgroup.php.
← Prev in month ← Prev in thread