Service side Jaxws-maven-plugin wsgen generate wsdl with security policies

View: New views
5 Messages — Rating Filter:   Alert me  

Service side Jaxws-maven-plugin wsgen generate wsdl with security policies

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all

I've got an Ejb Maven project, implementing a Web Service. I use jaxws-maven-plugin in my pom, with [b]wsgen[/b] ti generate the WSDL file. this work fine. The goal is to generate the wsdl without deploying the WS on a container.

Right now i want to use Security policies. The wsit file is well located, but WSDL never contains any security policies :(

This is not the traditional use of wsgen, so i wonder if wsgen Can generate wsdl with the security policies.

To my mind, this should be possible, because for exemple Glassfish generate the wsdl at runtime, with the security polices.

I just failed in reproducing that with maven plugins :(

If needed, I could post my Poms.

Thanks all
[Message sent by forum member 'jferrandi' (jferrandi)]

http://forums.java.net/jive/thread.jspa?messageID=354366

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Service side Jaxws-maven-plugin wsgen generate wsdl with security policies

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found this post, very usefull on this subject

http://weblogs.java.net/blog/arungupta/archive/2007/02/jaxws_seiwsdl_p.html
[Message sent by forum member 'jferrandi' (jferrandi)]

http://forums.java.net/jive/thread.jspa?messageID=354642

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Service side Jaxws-maven-plugin wsgen generate wsdl with security policies

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

with some investigation, i have to add a service provider, named PolicyWSDLGeneratorExtension to my Jar.

Right now I have to find it in the Jars Galaxy :p
[Message sent by forum member 'jferrandi' (jferrandi)]

http://forums.java.net/jive/thread.jspa?messageID=354659

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Service side Jaxws-maven-plugin wsgen generate wsdl with security policies

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, finallt the solution is very simple, the hardest was finding documentation ... or be inspired.

just add this dependance on jaxws-maven-plugin scope :

             <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxws-maven-plugin</artifactId>
                 .....
                <dependencies>
                    <dependency>
                        <groupId>local.metro</groupId>
                        <artifactId>webservices-rt</artifactId>
                        <version>1.5</version>
                    </dependency>
                </dependencies>
            </plugin>
[Message sent by forum member 'jferrandi' (jferrandi)]

http://forums.java.net/jive/thread.jspa?messageID=356251

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Service side Jaxws-maven-plugin wsgen generate wsdl with security policies

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

\m/
[Message sent by forum member 'eskatos' (eskatos)]

http://forums.java.net/jive/thread.jspa?messageID=356254

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...