Here is an alternative stratergy if it's acceptable for your requirments.

You can leverage the axis2 spring support to do what you want to do.
Your web service can work with the business interfaces and get spring to wire the impl during runtime.
This way it gives you the flexibility of mainting a your business methods via a set of interfaces and also swap the impls through configuration.

Hope this helps.

Regards,

Rajith

On 10/9/06, Reddy, Sanket (US - Hyderabad) < [EMAIL PROTECTED]> wrote:
HI Guys

In services.xml , can i mention the Interface name and then the
implemented class name. Are there any params which accepts the interface
name?

As everywhere I have seen the class name given in the <messageReceiver
class="asas" />

<service>
   <description>
      This is my first service, which says hello
   </description>
   <parameter name="ServiceClass" locked="false">HelloWorld</parameter>
   <operation name="sayHello">
      <messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
   </operation>
</service>


As all buisness methods in my project are exposed with the interfaces,
can I somehow mention that.

Or it doest make sense to expose the functionality from interface as we
are mentioning the class directly in the services.xml.


I am little confused.

Regards
Sanket


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message.


Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to