You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Marcus Crafter <cr...@fztig938.bank.dresdner.net> on 2002/09/23 11:42:52 UTC
[FYI] Avalon Provider for Axis available
Hi All,
Hope everyone has a nice weekend.
Just an FYI. Over the weekend I wrote an AvalonProvider class for
Axis, which essentially allows you to publish your Avalon Components as
Axis based SOAP web services.
The provider source is currently available in Axis Bugzilla, #12903.
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12903).
Here's an example Axis deployment descriptor showing how an
Avalon based service can be published:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="Excalibur-Store" provider="java:Avalon">
<parameter name="role" value="org.apache.excalibur.store.Store/TRANSIENT_STORE"/>
<parameter name="className" value="org.apache.excalibur.store.Store"/>
<parameter name="allowedMethods" value="clear size"/>
</service>
</deployment>
The parameters 'role' and 'allowedMethods' specify the Avalon ROLE to
lookup inside the ComponentManager, and the methods that are
allowed to be invoked on that component.
That's all you need to do, those methods can then be invoked by a
SOAP client - Axis will lookup the component, call the method and
send any results back to the client as a SOAP response automatically.
Releasing of the component back to the component manager is done
depending on the scope of the webservice (which can be of request,
session, or application type).
Anyway, just thought I'd let you all know - perhaps it's of use for
someone else other than me :)
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [FYI] Avalon Provider for Axis available
Posted by Leo Simons <le...@apache.org>.
On Mon, 2002-09-23 at 22:25, Paul Hammant wrote:
> A transparent SOAP publication transport is slated for AltRMI...
I know....multiple SOAP-related plans all over the java world....avalon
is no different =)
- LSD
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [FYI] Avalon Provider for Axis available
Posted by Paul Hammant <Pa...@yahoo.com>.
Leo,
A transparent SOAP publication transport is slated for AltRMI...
- Paul
>On Mon, 2002-09-23 at 11:42, Marcus Crafter wrote:
>
>
>>Hi All,
>>
>> Hope everyone has a nice weekend.
>>
>>
>
>sure did...hope you did too =)
>
>
>
>> Just an FYI. Over the weekend I wrote an AvalonProvider class for
>> Axis, which essentially allows you to publish your Avalon Components as
>> Axis based SOAP web services.
>>
>> The provider source is currently available in Axis Bugzilla, #12903.
>> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12903).
>>
>>
>
>neat. I have just about the same thing (less clean) in use internally
>with our company. I'm gonna dump it in favour of this =)
>
>What remains is automated generation and application of the
>(un)deployment information; I'll be looking into modding merlin2 to do
>that...
>
>...and of course autogeneration of avalon component proxies for things
>deployed in axis....
>
>
>
>> Anyway, just thought I'd let you all know - perhaps it's of use for
>> someone else other than me :)
>>
>>
>
>sure is...
>
>One thing I'm thinking of is using SOAP for interoperability between
>csframework & friends and the java version. I feel it should be possible
>to write 2 containers (1 C#, 1 java) that make component sharing
>transparent across SOAP....I'm waiting to see what Steve comes up with
>here... :)
>
>cheers,
>
>Leo
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [FYI] Avalon Provider for Axis available
Posted by Leo Simons <le...@apache.org>.
On Mon, 2002-09-23 at 11:42, Marcus Crafter wrote:
> Hi All,
>
> Hope everyone has a nice weekend.
sure did...hope you did too =)
> Just an FYI. Over the weekend I wrote an AvalonProvider class for
> Axis, which essentially allows you to publish your Avalon Components as
> Axis based SOAP web services.
>
> The provider source is currently available in Axis Bugzilla, #12903.
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12903).
neat. I have just about the same thing (less clean) in use internally
with our company. I'm gonna dump it in favour of this =)
What remains is automated generation and application of the
(un)deployment information; I'll be looking into modding merlin2 to do
that...
...and of course autogeneration of avalon component proxies for things
deployed in axis....
> Anyway, just thought I'd let you all know - perhaps it's of use for
> someone else other than me :)
sure is...
One thing I'm thinking of is using SOAP for interoperability between
csframework & friends and the java version. I feel it should be possible
to write 2 containers (1 C#, 1 java) that make component sharing
transparent across SOAP....I'm waiting to see what Steve comes up with
here... :)
cheers,
Leo
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: [FYI] Avalon Provider for Axis available
Posted by Robert <rm...@bull-enterprises.com>.
Cool! I was getting close to being tasked to build a web service front
end for one of our components. This might help a great deal.
- Robert
-----Original Message-----
From: Marcus Crafter [mailto:crafterm@fztig938.bank.dresdner.net]
Sent: Monday, September 23, 2002 4:43 AM
To: Avalon Mailing List
Subject: [FYI] Avalon Provider for Axis available
Hi All,
Hope everyone has a nice weekend.
Just an FYI. Over the weekend I wrote an AvalonProvider class
for
Axis, which essentially allows you to publish your Avalon
Components as
Axis based SOAP web services.
The provider source is currently available in Axis Bugzilla,
#12903.
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12903).
Here's an example Axis deployment descriptor showing how an
Avalon based service can be published:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="Excalibur-Store" provider="java:Avalon">
<parameter name="role"
value="org.apache.excalibur.store.Store/TRANSIENT_STORE"/>
<parameter name="className"
value="org.apache.excalibur.store.Store"/>
<parameter name="allowedMethods" value="clear size"/>
</service>
</deployment>
The parameters 'role' and 'allowedMethods' specify the Avalon
ROLE to
lookup inside the ComponentManager, and the methods that are
allowed to be invoked on that component.
That's all you need to do, those methods can then be invoked by
a
SOAP client - Axis will lookup the component, call the method
and
send any results back to the client as a SOAP response
automatically.
Releasing of the component back to the component manager is done
depending on the scope of the webservice (which can be of
request,
session, or application type).
Anyway, just thought I'd let you all know - perhaps it's of use
for
someone else other than me :)
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>