sorry, all this applied to Axis 1.

Christopher Sahnwaldt wrote:

Axis uses the class org.apache.axis.handlers.http.URLMapper
to map request URLs to service handlers. It is configured
in your server-config.wsdd. If you replace the standard
URLMapper in the configuration with your own implementation,
it should be fairly easy to route all requests to the same
service handler.

If you configure that service handler with provider="java:MSG"
you should be able to get the SOAPEnvelope or individual
parts of the soap body, depending on what methods your
service class implements. If you really want to know what's
going on, read the source code, but there's also some documentation:
http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage

Be aware though that if you use the message provider, you lose
the automatic conversion of xml to java values.

Christian Galbavy wrote:

Hy,

I want to write a JAVA program which does the following:
I want catch all SOAP requests to my server instead to invoke methods of services. So I want to take each message, parse the service name, the method name and get all params and there types. I was thinking to do this with a servlet. So all SOAP requests are send to this servlet. I tried to take the HttpServletRequest and parse the XML document manually. Then I get the service name, the method name and all the params and invoke a Corba call, the service name maps to a Corba Object, the method name maps to the Corba method and the same for the params.

The problem is, that I cant use AXIS, because every SOAP call has to come to one program. So perhaps it is possible to use AXIS to parse the SOAP call and get all params and put my code before the method of a service is looked for and invoked.

Do you have a tip for me how to start with this task?
Thanks a lot for your help!

Regards
Christian



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



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

Reply via email to