Dan-
Is it possible to deploy and enforce wsdl-first web-services with
SecurityPolicy references without Spring? Is it largely a function of
adding the WSS4J interceptors to one's endpoint? Searching this forum
yields contradictory indications regarding the feature-set of CXF without
Spring, though it does seem that the later posts indicate that most
everything you can do with Spring, you can do without (with the possible
exception of JMS). Is this correct? I can't seem to find any samples or
system tests that use the CXFNonSpringServlet - are there any?

Thanks

Dirk


On Thu, Mar 7, 2013 at 11:37 AM, Daniel Kulp [via CXF] <
[email protected]> wrote:

>
> What does your web.xml look like?   Does it still reference the
> CXFServlet?   Did you update it to change it to CXFNonSpringServlet?
>
> Dan
>
>
>
>
> On Mar 7, 2013, at 2:28 PM, dhogan <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5724272&i=0>>
> wrote:
>
> > Thanks for the prompt response.
> >
> > I have explicitly removed the spring maven dependencies. I had a set of
> > pretty sophisticated services running (based on CXF's
> > SecurityTokenService), with spring-web as a mvn dependency. I had a
> basic
> > web-service that allowed me to publish STS instances. This endpoint was
> > published via a cxf-servlet.xml:
> > jaxws:endpoint id="STSPublish"
> > implementor="org.forgerock.openam.sts.publish.web.STSPublishImpl"
> >                    address="/sts_publish">
> >    </jaxws:endpoint>
> >
> > We are already using Guice in our project, and I would prefer not to
> > include Spring - fewer moving parts = less complexity. When the wsdl
> > corresponding to this service was hit, in a .war without Spring jars, I
> > would get the NoClassDefFoundError mentioned in the previous post. It
> > appears that the cxf-servlet.xml file has to have a <beans> root
> element,
> > which may be responsible for pulling in Spring, so I tried to publish
> the
> > same service programmatically, but I appear to get the same error.
> >
> > Thanks for your help.
> >
> > Dirk
> >
> >
> > On Thu, Mar 7, 2013 at 11:16 AM, Jose María Zaragoza [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5724272&i=1>>
> wrote:
> >
> >>>
> >>> java.lang.ClassNotFoundException:
> >>> org.springframework.context.ApplicationListener
> >>>
> >>
> >>
> >> Which  Spring JAR do you have added to your project ? Or mvn
> dependencies
> >> ...
> >>
> >>
> >> ------------------------------
> >> If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
>
> >> .
> >> NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/JaxWsServerFactoryBean-without-Spring-tp5724258p5724271.html
> > Sent from the cxf-user mailing list archive at Nabble.com.
>
> --
> Daniel Kulp
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5724272&i=2> -
> http://dankulp.com/blog
>
> Talend Community Coder - http://coders.talend.com
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/JaxWsServerFactoryBean-without-Spring-tp5724258p5724272.html
>  To unsubscribe from JaxWsServerFactoryBean without Spring, click 
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5724258&code=ZGlyay5ob2dhbkBmb3JnZXJvY2suY29tfDU3MjQyNTh8NDEzODQ2MjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://cxf.547215.n5.nabble.com/JaxWsServerFactoryBean-without-Spring-tp5724258p5724281.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to