|
Replies:
7
-
Last Post:
Mar 23, 2009 3:20 AM
by: Martin Grebac
|
|
|
|
|
|
|
Ignoring the WS-Policy
Posted:
Mar 19, 2009 6:09 AM
|
|
|
Hello,
Is there a possibility to configure metro to ignore the WS-Policy? I have a WSDL which contains a Policy. And I don't want, that metro interpret this policy and set up the security environment based on this policy, because, I want handle this on my own.
I'm using metro 1.4
Thanks
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 19, 2009 10:45 AM
in response to: nepuser
|
|
|
One way is that you can create the client with local copy of the WSDL which has no policy.
|
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 20, 2009 12:39 AM
in response to: jdg6688
|
|
|
Thanks for your answer. But I'm on the server side. I want to deliver the WSDL with Policy to the Client, if the client calls ?wsdl. But I want handle the Policy related stuff on my on. Everythink is on the server!
regards
|
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 20, 2009 4:37 AM
in response to: nepuser
|
|
|
On 20. Mar 2009, at 09:39, metro@javadesktop.org wrote:
> Thanks for your answer. But I'm on the server side. I want to > deliver the WSDL with Policy to the Client, if the client calls ? > wsdl. But I want handle the Policy related stuff on my on. > Everythink is on the server!
You could create a WSDL without policies and use that to configure your service and point the client at the WSDL with policies at a different location. The other option would be to use plain JAX-WS instead of Metro: https://jax-ws.dev.java.net/2.1.5/
Fabian
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 20, 2009 8:01 AM
in response to: Fabian Ritzmann
|
|
|
Curious, what is your use case?
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 20, 2009 11:51 AM
in response to: Fabian Ritzmann
|
|
|
Sounds like a silly question, but how do you use plain JAX-WS in glassfish? To me it seems as if the security tube of metro would always kick in if the WSDL contains a relevant policy.
Message was edited by: krausest1
|
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 23, 2009 3:05 AM
in response to: krausest1
|
|
|
On 20. Mar 2009, at 20:51, metro@javadesktop.org wrote:
> Sounds like a silly question, but how do you use plain JAX-WS > glassfish? To me it seems as if the security tube of metro would > always kick in on glassfish if the WSDL contains a relevant policy.
That's true for GlassFish, not without meddling with code and files in the Metro jars at least. With Metro 2.0 we are introducing a configuration file that allows you to control what tubes get instantiated. The code is there already but we don't have any documentation yet (and some details might still change).
Fabian
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|
|
|
|
Re: Ignoring the WS-Policy
Posted:
Mar 23, 2009 3:20 AM
in response to: Fabian Ritzmann
|
|
|
There's also NetBeans configuration for this in recent 6.7 builds. MartinG
Fabian Ritzmann wrote: > On 20. Mar 2009, at 20:51, metro@javadesktop.org wrote: > >> Sounds like a silly question, but how do you use plain JAX-WS >> glassfish? To me it seems as if the security tube of metro would >> always kick in on glassfish if the WSDL contains a relevant policy. > > That's true for GlassFish, not without meddling with code and files in > the Metro jars at least. With Metro 2.0 we are introducing a > configuration file that allows you to control what tubes get > instantiated. The code is there already but we don't have any > documentation yet (and some details might still change). > > Fabian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net > For additional commands, e-mail: users-help@metro.dev.java.net >
-- Martin Grebac, http://blogs.sun.com/mgrebac
Web Technologies & Standards Sun Microsystems Czech
ICQ: 93478885
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|