Hello all,

I have an unusual problem.

A little background of the problem is --

We let user define his own operations through our web interface. These functions are written in Java. User can put some code in our application and call these functions dynamically. Now we want to expose these functions through web services.

So e.g. if a user writes a function

int addNumbers(int a, int b)

We want to give the user ability to call these functions through his SOAP client.

We generate the WSDL dynamically and expose this function through this WSDL as an operation.

Now when the user calls this function, we get operation not found AxisFault on the client. This is because the service is not defined in the services.xml, which is a normal behaviour. This exception comes in the DispatchPhase class.

Well the solution would be to have a handler before the dispatch phase to dispatch to your service and operation , then everything will work fine.


--
Thanks,
Deepal
................................................................
http://blogs.deepal.org/



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

Reply via email to