List of JARs for CXF 3 without Spring

2015-01-23 Thread newcxfusr
Hi All,I am looking for list of JAR I need to add in my webapp to run the CXF based JAX-WS webservice in Weblogic 12C.If I use javax.jws.*it fails saying javax.jws.webservices not found in class path.If I remove above from weblogic.xmlI get below exceptionjava.lang.RuntimeException: Cannot

Re: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

2015-01-23 Thread Daniel Kulp
Can you produce a test case? It’s certainly not something anyone else (that I’m aware of) is seeing. Also, make sure you DON’T have a jaxb-core jar anywhere if using 2.2.6. Dan > On Jan 23, 2015, at 1:22 PM, JamesDev wrote: > > Using 2.7.14 for All the cxf jars still causes this proble

spnego/kerberos-secured web service problem

2015-01-23 Thread Mark Durant
Hi all, I’ve been trying to create and test a CXF client that’s consuming a web service secured with SPNEGO/Kerberos authentication on a Windows 2008 server. I’m neither a Windows nor a security guru by any stretch of the imagination, but mainly following Groovy Tom’s advice at http://groovyja

Cxf not handling 404 correctly

2015-01-23 Thread JamesDev
Hello, I am whenever I try to connect to an invalid Url, such as http://(tomcat-server)/sdrthsdfhh, I get the following stack trace : javax.xml.ws.soap.SOAPFaultException: Error reading XMLStreamReader. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:158)

Re: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

2015-01-23 Thread JamesDev
Using 2.7.14 for All the cxf jars still causes this problem and I make sure that all of the Jaxb jars are version 2.2.6. -- View this message in context: http://cxf.547215.n5.nabble.com/Could-not-initialize-class-com-sun-xml-bind-v2-model-impl-RuntimeBuiltinLeafInfoImpl-tp5752963p5753487.html S

Re: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

2015-01-23 Thread Daniel Kulp
Did you fix the issue of having mixed versions of CXF?You need to use 2.7.14 for ALL the cxf jars, not just one or two. And then check to make sure the JAXB jars end up as all the same version as well. Dan > On Jan 23, 2015, at 12:46 PM, JamesDev wrote: > > This error happens when I u

Re: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

2015-01-23 Thread JamesDev
This error happens when I use org.apache.cxf:cxf-rt-ws-security version 2.7.11 to 2.7.14 Using version 2.7.10 of this dependency, I dont get this problem anymore. The issue was introduced in this library in 2.7.11 and seems to be persisted through 2.7.14 -- View this message in context: http:

Re: Aw: Re: Re: client proxy conversion after request leads to NPE

2015-01-23 Thread Sergey Beryozkin
On 23/01/15 16:30, Sergey Beryozkin wrote: Hi I've pushed the following change: http://git-wip-us.apache.org/repos/asf/cxf/commit/be929cdc This is the only thing which is different from the top level proxy creation code. If it helps then it is OK. I'm not really keen to investigate why having

Re: included xsd's are not resolved for wadl generation

2015-01-23 Thread Sergey Beryozkin
On 23/01/15 14:05, MayBee wrote: Hi again, I have found the following in this documentation: https://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-RepresentingexternalschemasandnonJAXBtypes TODO : add ignoreImports flag so that users can list root and imported sc

Re: Aw: Re: Re: client proxy conversion after request leads to NPE

2015-01-23 Thread Sergey Beryozkin
Hi I've pushed the following change: http://git-wip-us.apache.org/repos/asf/cxf/commit/be929cdc This is the only thing which is different from the top level proxy creation code. If it helps then it is OK. I'm not really keen to investigate why having Spring dependencies might have side-effect

WS-Discovery, ProbeMatch - how can I change Types

2015-01-23 Thread AlexA
Hi, I created web service using a following wdsl : https://msdn.microsoft.com/en-us/library/windows/hardware/dn641604(v=vs.85).aspx see the download of the "Print Device Definition V1.0 for Web Services on Devices". Unfortunately my service is not recognized by Add Printer functionality of the Wind

Re: Response not getting encrypted

2015-01-23 Thread Colm O hEigeartaigh
I'm not sure...it looks like you have not configured SOAP UI to decrypt the SOAP Body? Colm. On Fri, Jan 23, 2015 at 11:51 AM, Rajesh Rao wrote: > Thanks Colm, > > I did what you suggested. The updated policy looks like > > > > Now using SOAP UI when I test (without any 'Incoming WSS'), I get b

Re: STS Validate Operation and token transformation

2015-01-23 Thread Colm O hEigeartaigh
Yes I think we probably should support OnBehalfOf/ActAs in this scenario as well. Please submit a patch! Colm. On Thu, Jan 22, 2015 at 4:07 PM, dhogan wrote: > Hi Colm- > Wow - thanks for the quick action. > > What about OnBehalfOf/ActAs handling in the non-status validate invocation? > The ide

Aw: Re: Re: client proxy conversion after request leads to NPE

2015-01-23 Thread Veit Guna
Ok. Meanwhile I tracked down the problem. As I thought before, it is spring related! I sent you a testcase which reproduces the problem. Maybe it helps to find the problem. Thanks! Veit   Gesendet: Freitag, 23. Januar 2015 um 15:22 Uhr Von: "Sergey Beryozkin" An: users@cxf.apache.org Betreff: 

Re: Aw: Re: client proxy conversion after request leads to NPE

2015-01-23 Thread Sergey Beryozkin
On 23/01/15 14:18, Veit Guna wrote: Hm. It seems it has also something todo with dependencies on my classpath. On the first look, it seems that spring is somehow involved in the problem. If I remove some deps, it works, if I add them, it breaks again. So maybe let me look a bit further, befor

Aw: Re: client proxy conversion after request leads to NPE

2015-01-23 Thread Veit Guna
Hm. It seems it has also something todo with dependencies on my classpath. On the first look, it seems that spring is somehow involved in the problem. If I remove some deps, it works, if I add them, it breaks again. So maybe let me look a bit further, before you fix something that maybe isn't b

included xsd's are not resolved for wadl generation

2015-01-23 Thread MayBee
Hi again, I have found the following in this documentation: https://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-RepresentingexternalschemasandnonJAXBtypes > TODO : add ignoreImports flag so that users can list root and imported > schemas in "schemaLocations" and h

Re: wadl generation at build time including resources@base from jaxrs:server@address

2015-01-23 Thread MayBee
Ok Thanks. That was helpful for now. -- View this message in context: http://cxf.547215.n5.nabble.com/wadl-generation-at-build-time-including-resources-base-from-jaxrs-server-address-tp5753439p5753450.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Aw: client proxy conversion after request leads to NPE

2015-01-23 Thread Sergey Beryozkin
Hi On 23/01/15 13:08, Veit Guna wrote: One thing I forgot to mention: This only seems to happen when the request was performed on a sub resource. If I try it with the main resource it seems to work... I see the code which creates subresource proxies is slightly different from the one that cre

Aw: client proxy conversion after request leads to NPE

2015-01-23 Thread Veit Guna
One thing I forgot to mention: This only seems to happen when the request was performed on a sub resource. If I try it with the main resource it seems to work...

client proxy conversion after request leads to NPE

2015-01-23 Thread Veit Guna
Hi. I'm using the 3.0.4-SNAPSHOT version of CXF due to the latest fixes within the client proxy code. As I continued with my development, I stumbled across another issue regarding the proxy: Using: Client client = WebClient.client(proxy); WebClient httpClient = WebClient.fromClient(client); o

Re: OutInterceptor properties using Java Annotations

2015-01-23 Thread Rajesh Rao
Thanks Colm, as suggested by you, I removed the 'WSS4J Out/In Interceptors' properties from the annotation and retained only WS-SecurityPolicy configuration properties and cxf is able to encrypt the response. Rajesh -- View this message in context: http://cxf.547215.n5.nabble.com/OutIntercepto

Re: Response not getting encrypted

2015-01-23 Thread Rajesh Rao
Thanks Colm, I did what you suggested. The updated policy looks like Now using SOAP UI when I test (without any 'Incoming WSS'), I get back response in which body content is encrypted. The response I get back from apache cxf looks like But now when I specify the 'Incoming WSS' which should

RE: Security Related Questions

2015-01-23 Thread Andrei Shakirin
Hi, > -Original Message- > From: srinivas thallapalli [mailto:sree.tallapa...@gmail.com] > Sent: Freitag, 23. Januar 2015 10:53 > To: users@cxf.apache.org > Subject: RE: Security Related Questions > > Hi Andrei, > > Thanks for providing very good resources. > > If I proceed with Custom

Re: wadl generation at build time including resources@base from jaxrs:server@address

2015-01-23 Thread Sergey Beryozkin
Hi On 23/01/15 09:01, MayBee wrote: Hi all, I currently try to generate the WADL specification for my web application using org.apache.cxf cxf-java2wadl-plugin 3.0.3 My web application has three differen jaxrs:server declarations with different address values. According to JAXRSServicesDescrip

RE: Security Related Questions

2015-01-23 Thread srinivas thallapalli
Hi Andrei, Thanks for providing very good resources. If I proceed with Custom Assertion and Interceptor provider approach, Will I be able to see the corresponding policy element in my generated WSDL automatically or we need to add the Policy element to WSDL manually. Basically I am using Java fir

RE: Security Related Questions

2015-01-23 Thread Andrei Shakirin
Hi, I have described it a bit in my blog: http://ashakirin.blogspot.de/2012/02/using-ws-policy-in-cxf-projects.html "Create custom policy assertions and associate interceptors". There are some details in CXF documentation: http://cxf.apache.org/docs/developing-assertions.html. You can take as s

wadl generation at build time including resources@base from jaxrs:server@address

2015-01-23 Thread MayBee
Hi all, I currently try to generate the WADL specification for my web application using org.apache.cxf cxf-java2wadl-plugin 3.0.3 My web application has three differen jaxrs:server declarations with different address values. According to JAXRSServicesDescription-Changingthebaseaddress