axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Sahnwaldt (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2530) publish any object as web service
Date Mon, 24 Jul 2006 19:56:14 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2530?page=all ]

Christopher Sahnwaldt updated AXIS-2530:
----------------------------------------

    Attachment: AxisServerExporter.java

Creates an AxisServer object with a given configuration and exports it as an attribute in
the ServletContext where the AxisServlet will find it.

The tricky part is that the name of the created AxisServer object must be the same as the
name of the AxisServlet (as set in web.xml). Otherwise, the AxisServlet won't use our server.
Thus the setServletName() method.

The attribute name is the constant AxisServletBase.ATTR_AXIS_ENGINE.

The class implements a Spring interface, but if you don't need that, just remove it.

> publish any object as web service
> ---------------------------------
>
>                 Key: AXIS-2530
>                 URL: http://issues.apache.org/jira/browse/AXIS-2530
>             Project: Apache Axis
>          Issue Type: New Feature
>          Components: Deployment / Registries
>    Affects Versions: current (nightly)
>            Reporter: Christopher Sahnwaldt
>         Attachments: AxisServerExporter.java
>
>
> It would be great if one could take any object and publish it as a service. See for example
http://marc.theaimsgroup.com/?l=axis-dev&m=115168170301873 . We have similar requirements
(we configure objects using Spring), so we figured out a way to  create our own Axis configuration
and fill it with service handlers for our objects. To make the AxisServlet use our handmade
configuration, we create an AxisServer object and store it as an attribute in the ServletContext.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message