axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Sahnwaldt (JIRA)" <>
Subject [jira] Commented: (AXIS-2530) publish any object as web service
Date Mon, 24 Jul 2006 20:21:16 GMT
    [ ] 
Christopher Sahnwaldt commented on AXIS-2530:

Here's an example Spring configuration:

To create the AxisServer object and export it into the ServletContext:

<bean id="axisServerExporter" class="axis.dynamic.AxisServerExporter">
	<property name="configuration" ref="soapServerConfiguration"/>
	<property name="servletName" value="${}"/>

<bean id="soapServerConfiguration" class="axis.dynamic.SoapServerConfiguration">
	<property name="attachmentDir" value="${soap.attachment.dir}"/>
	<property name="disableServicesList" value="false"/>
	<property name="servicesPath" value="${soap.path}"/>

And to publish a bean as service:

<bean id="MyService" class="axis.dynamic.SoapReceiver">
	<property name="target" ref="myBean"/>
	<property name="allowedMethods" value="method1,method2"/>
	<property name="serverConfiguration" ref="soapServerConfiguration"/>

> publish any object as web service
> ---------------------------------
>                 Key: AXIS-2530
>                 URL:
>             Project: Apache Axis
>          Issue Type: New Feature
>          Components: Deployment / Registries
>    Affects Versions: current (nightly)
>            Reporter: Christopher Sahnwaldt
>         Attachments:,,,,,
> It would be great if one could take any object and publish it as a service. See for example . 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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message