CXF 3.1.10, log4j 2.13, slf4j 1.7.30 - CXF ALWAYS TO CONSOLE/STDOUT

2021-05-04 Thread Morein, Arnie
Everyone, no matter what I do, I cannot STOP CXF from logging to the console/stdout. This is eating up the /app volume at an incredible base instead of sending that to the /log volume. In the org.apache.cxf.logger file I have: org.apache.cxf.common.logging.Slf4jLogger (the log4j version had ev

RE: CXF InInterceptors Definition Issue

2020-12-14 Thread Morein, Arnie
No one? -Original Message- From: Morein, Arnie Sent: Monday, December 7, 2020 3:35 PM To: users@cxf.apache.org Subject: CXF InInterceptors Definition Issue Server: Wildfly 20 JDK: 15 CXF: 3.15.5 Hello everyone. I've looked for examples but have yet to find them. I am consum

CXF InInterceptors Definition Issue

2020-12-07 Thread Morein, Arnie
Server: Wildfly 20 JDK: 15 CXF: 3.15.5 Hello everyone. I've looked for examples but have yet to find them. I am consuming a third-party web service in a project. I've created the Java stubs and am consuming them. I have a set of classes that log the SOAP XML (entire envelope) to a table. I ha

RE: Help with SOAP XML Logging

2018-06-19 Thread Morein, Arnie
at org.apache.cxf.staxutils.OverlayW3CDOMStreamWriter.writeEndElement(OverlayW3CDOMStreamWriter.java:89) ~[cxf-core-3.1.15.jar:3.1.15] From: Morein, Arnie Sent: Tuesday, June 19, 2018 11:38 AM To: users@cxf.apache.org Subject: Help with SOAP XML Logging I need to create four interceptor ancestor classes to log the SOAP XML

Help with SOAP XML Logging

2018-06-19 Thread Morein, Arnie
I need to create four interceptor ancestor classes to log the SOAP XML of an inbound or outbound message to the database. I've seen examples and some work to a point but mostly I'm just confused. I need clarification as to which phase to write them for: WS client outbound: ? POST_MARSHAL or MAR

RE: XML of Fault?

2018-03-21 Thread Morein, Arnie
; } Which I got from an example class; however, when my in-bound fault is processed, none of the first three if() statements return true. -Original Message- From: Morein, Arnie [mailto:arnold.mor...@dps.texas.gov] Sent: Wednesday, March 21, 2018 3:06 PM To: users@cxf.apache.o

XML of Fault?

2018-03-21 Thread Morein, Arnie
Does anyone have an example of a fault in/out interceptor that accesses the underlying XML? I cannot figure how out to access. Using CXF 3.1.10.

Custom property - send and return?

2018-03-21 Thread Morein, Arnie
Is there a way to add a property to a message, say: message.getExchange().add("myProperty", thing); and have it returned in the response, even though the service in question would have no idea what it is or is even there?

Compound projects with XSDs, WSDLs - how to suppress duplicate classes

2018-02-28 Thread Morein, Arnie
I have serveral web service projects that I am converting from AXIS to CXF. When they were first written, the core types defined in the XSD files where copied into each other project; I have removed those duplications, as defined below. The first project, ws-dls-cps, is just two fairly large XS

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
THAT was it!! Adding the wsdlLocation parameter helped clean up all the errors and the two services FINALLY talked! Thank you SO MUCH for the guidance! -Original Message- From: Morein, Arnie Sent: Friday, November 03, 2017 9:36 AM To: 'Daniel Kulp'; 'users@cxf.apache.o

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
/META-INF/resources/Authenticate-Service-single.wsdl So I guess it found it via the classpath. More testing... more testing... -Original Message----- From: Morein, Arnie Sent: Friday, November 03, 2017 9:29 AM To: 'Daniel Kulp'; users@cxf.apache.org Subject: RE: Help with configuring

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
ember 03, 2017 9:02 AM To: users@cxf.apache.org; Morein, Arnie Subject: Re: Help with configuring web service to match security from WSDL CAUTION: This email was received from an EXTERNAL source, use caution when clicking links or opening attachments. If you believe this to be a malicious a

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
ap:MustUnderstandMustUnderstand headers: [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood. --uuid:961564f5-6667-4912-908f-52a80252797f-- -- 2017-11-03 08:17:41.870 DEBUG [org.apache.cxf.transport.http.AbstractHTTPDestination]

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
What about a SOAP handler? Or is something else missing or mis-configured? -Original Message- From: Morein, Arnie Sent: Friday, November 03, 2017 8:13 AM To: users@cxf.apache.org; 'cohei...@apache.org' Subject: RE: Help with configuring web service to match security fro

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
No. -Original Message- From: Colm O hEigeartaigh [mailto:cohei...@apache.org] Sent: Friday, November 03, 2017 8:12 AM To: Morein, Arnie Cc: users@cxf.apache.org Subject: Re: Help with configuring web service to match security from WSDL Do you have a test-case I can take a look at

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
Yes, In fact most of the CXF package is imported via Maven. -Original Message- From: Colm O hEigeartaigh [mailto:cohei...@apache.org] Sent: Friday, November 03, 2017 8:03 AM To: Morein, Arnie Cc: users@cxf.apache.org Subject: Re: Help with configuring web service to match security from

RE: Help with configuring web service to match security from WSDL

2017-11-03 Thread Morein, Arnie
/secconv/SecureConversationTest.java In particular, the service configuration is here: https://github.com/apache/cxf/blob/master/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/secconv/server.xml Colm. On Fri, Nov 3, 2017 at 2:43 AM, Morein, Arnie wrote: &g

Help with configuring web service to match security from WSDL

2017-11-02 Thread Morein, Arnie
I have created a mock service based on a WSDL from a vendor that is already in use. One of the calls requires that the message be timestamped/signed/encrypted before transmission. The real service provider issued an X.509 certificate for our use. I have had our internal folks issue one like it

Bypassing cxf-crypto.properties type file?

2017-10-05 Thread Morein, Arnie
I have a web service to consume that uses TLS to encrypt the traffic over the wire and an X.509 Certificate to encrypt/sign the XML. I have the target server's entire certificate chain in a JKS file called serverTrustStore.jks, and our certificate is in clientKeyStore.jks. All is well, communic

RE: Spring 4.3.10 and Apache CXF 3.1.12 in WAR project, CXFServlet not starting

2017-08-15 Thread Morein, Arnie
Has no one got any ideas? Suggestions? -Original Message- From: Morein, Arnie [mailto:arnold.mor...@dps.texas.gov] Sent: Monday, August 14, 2017 8:45 AM To: users@cxf.apache.org Subject: [EXTERNAL] Spring 4.3.10 and Apache CXF 3.1.12 in WAR project, CXFServlet not starting I am trying

Spring 4.3.10 and Apache CXF 3.1.12 in WAR project, CXFServlet not starting

2017-08-14 Thread Morein, Arnie
I am trying to get a few Soap services upgraded by moving them to a new WAR project with no UI, just services, and upgrading the various APIs in the process. I am using Spring 4 with XML configuration. When I first deployed my test service, everything worked. The CXF Servlet URL (/services/*) r

RE: [EXTERNAL] Re: CXF Servlet NPE in PerRequestFactory.create(PerRequestFactory.java:56)

2017-08-07 Thread Morein, Arnie
Not sure what the culprit was either, but did a full upgrade to 3.1.12 and all is well. -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Tuesday, August 01, 2017 1:21 PM To: users@cxf.apache.org; Morein, Arnie Subject: [EXTERNAL] Re: CXF Servlet NPE in

CXF Servlet NPE in PerRequestFactory.create(PerRequestFactory.java:56)

2017-08-01 Thread Morein, Arnie
I am implementing a JAX-WS using the following stack: *Spring 3.0.7.RELEASE *JAXB 2.2.11 *CXF 3.1.10 Yes, this is an OLD version of Spring, but it cannot be upgraded at this time. I prototyped this service in another, minimal project using: *Spring 4.3.9.

Undetermined exceptions during web service call

2017-03-07 Thread Morein, Arnie
CXF 3.1.10 When making a call, there are exceptions logged. The call is made and returns and is marked as failed, but I have no idea if the failure is a result of the NPEs. Can someone tell me why I'm getting the NPEs? 2017-03-07 13:44:36.531 DEBUG [LogUtils ] - Using or

Strange error when making call

2017-02-23 Thread Morein, Arnie
Can someone translate this into plain English? After much grief, a call is going out, but the response may be invalid? Or maybe I don't have the interceptors configured properly? Feb23 14:55:26.546 WARN [PhaseInterceptorChain ][::] - Interceptor for {http://aamva.org/authentication/3.1.

RE: CXF API cannot find the properties file

2017-02-23 Thread Morein, Arnie
For some reason, the path prefix of /WEB-INF/classes/ had to be removed, so the path starts with "cxf/...". Both in the constants below and in the .properties file. Why I have no idea. -Original Message----- From: Morein, Arnie [mailto:arnold.mor...@dps.texas.gov] Sent: Thursday

CXF API cannot find the properties file

2017-02-23 Thread Morein, Arnie
CXF: 3.1.10 WAR project with key store file and properties file in /WEB-INF/classes/cxf folder in WAR project. The following code is in effect: private static final String KEYSTORE_FILE = "/WEB-INF/classes/cfx/clientKeyStore.jks"; private static final String KEYST

RE: [EXTERNAL] Re: Re: Problem calling WCF MS service with security, policies, trust

2017-02-21 Thread Morein, Arnie
Query, in the properties file referenced from the XML file, is this the right prefix for the properties? org.apache.ws.security.crypto.merlin.* The reason I ask is, the GIT URL you sent me to, the entry keys begin with "security.*" instead of "ws-security.*" I've seen else where; as well as bei

RE: [EXTERNAL] Re: Problem calling WCF MS service with security, policies, trust

2017-02-21 Thread Morein, Arnie
ay. Typically, WS-SecureConversation is not used to obtain a token for once service and then re-used for another service. Colm. On Fri, Feb 17, 2017 at 2:21 PM, Morein, Arnie wrote: > My situation has two WSDLs: a and b. > > Both use the same keystore which contains two Trusted Cert Ent

RE: [EXTERNAL] Re: Problem calling WCF MS service with security, policies, trust

2017-02-21 Thread Morein, Arnie
going to work by the way. Typically, WS-SecureConversation is not used to obtain a token for once service and then re-used for another service. Colm. On Fri, Feb 17, 2017 at 2:21 PM, Morein, Arnie wrote: > My situation has two WSDLs: a and b. > > Both use the same keystore which con

RE: [EXTERNAL] Re: Problem calling WCF MS service with security, policies, trust

2017-02-21 Thread Morein, Arnie
for once service and then re-used for another service. Colm. On Fri, Feb 17, 2017 at 2:21 PM, Morein, Arnie wrote: > My situation has two WSDLs: a and b. > > Both use the same keystore which contains two Trusted Cert Entries and > a Private Key Entry (x.509 cert). This key is supp

RE: Problem calling WCF MS service with security, policies, trust

2017-02-17 Thread Morein, Arnie
My situation has two WSDLs: a and b. Both use the same keystore which contains two Trusted Cert Entries and a Private Key Entry (x.509 cert). This key is supposed to be used to sign and encrypt the messages. Calling the a::authentication.authenticate method should be over https, signed and enc

RE: [EXTERNAL] Re: Problem calling WCF MS service with security

2017-02-16 Thread Morein, Arnie
he.org Subject: [EXTERNAL] Re: Problem calling WCF MS service with security Answer inline. On Thu, Feb 16, 2017 at 2:02 PM, Morein, Arnie wrote: > And that is part of the confusion. What is meant by PORT NAME? > The Port name in the WSDL. For example, from the ws-security-examples, syste

RE: Problem calling WCF MS service with security

2017-02-16 Thread Morein, Arnie
I put the client-crypto.properties and jsk files in /WEB-INF/classes, and updated the security.signature.properties in the XML file to point to /WEB-INF/classes/xyz as appropriate. CXF still cannot find it. So I moved the client-crypto.properties, jks and new cxf.xml file to the jar project wh

RE: Problem calling WCF MS service with security

2017-02-16 Thread Morein, Arnie
could it be? I CERTAINLY hope that these jaxws:client constructs are NOT supposed to be every METHOD in the server?! -Original Message- From: Morein, Arnie [mailto:arnold.mor...@dps.texas.gov] Sent: Wednesday, February 15, 2017 4:29 PM To: users@cxf.apache.org Subject: [EXTERNAL] Problem

Problem calling WCF MS service with security

2017-02-15 Thread Morein, Arnie
I have to consume a web service that was written in .Net and requires the security policies listed below. We develop in Java to a WAR. I created a separate project for the WSDL's Java stubs using Maven's cxf-codegen-plugin (3.1.10). It was added to the main WAR project and compiles fine. But dur