Skip to main content

"Man-in-the-middle" Web Service

3 replies [Last post]
bthomas33
Offline
Joined: 2008-12-01

I am looking to make a web service that accepts any request, runs some XSLT on select messages, and passes the request on to another web service for processing. I have used JAX-WS before, but always with a predefined set of methods. Is there a way I could use JAX-WS to accept anything and everything, or will I need to work at a lower level?

Thanks!
Brian

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Fabian Ritzmann

On 1. Dec 2008, at 20:53, metro@javadesktop.org wrote:

> I am looking to make a web service that accepts any request, runs
> some XSLT on select messages, and passes the request on to another
> web service for processing. I have used JAX-WS before, but always
> with a predefined set of methods. Is there a way I could use JAX-WS
> to accept anything and everything, or will I need to work at a lower
> level?

The provider interface is probably the right thing for you:
https://jax-ws.dev.java.net/nonav/2.1.5/docs/provider.html

Fabian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

lindemannralf
Offline
Joined: 2008-08-20

I agree, the provider is the right thing for you. The only problem is that the policy must be the same. You can´t write a generic endpoint with deferent security requirements the content could be different.

bthomas33
Offline
Joined: 2008-12-01

Thanks! I'll give the provider a shot, and make sure to match the security policy on my web service.