[jira] [Created] (CXF-6766) Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider
Vjacheslav Borisov created CXF-6766: --- Summary: Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider Key: CXF-6766 URL: https://issues.apache.org/jira/browse/CXF-6766 Project: CXF Issue Type: Improvement Components: JAX-RS Affects Versions: 3.1.4 Reporter: Vjacheslav Borisov Priority: Trivial XSLTJaxbProvider configures factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE); We need option to disable this feature in some projects, e.g. to call xslt extension. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CXF-6766) Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider
[ https://issues.apache.org/jira/browse/CXF-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vjacheslav Borisov updated CXF-6766: Attachment: XSLTJaxbProvider.java.patch patch > Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider > > > Key: CXF-6766 > URL: https://issues.apache.org/jira/browse/CXF-6766 > Project: CXF > Issue Type: Improvement > Components: JAX-RS >Affects Versions: 3.1.4 >Reporter: Vjacheslav Borisov >Priority: Trivial > Attachments: XSLTJaxbProvider.java.patch > > > XSLTJaxbProvider configures > factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE); > We need option to disable this feature in some projects, e.g. to call xslt > extension. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CXF-6766) Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider
[ https://issues.apache.org/jira/browse/CXF-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-6766. --- Resolution: Fixed Assignee: Sergey Beryozkin Fix Version/s: 3.2.0 3.0.8 3.1.5 Thanks for the patch > Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider > > > Key: CXF-6766 > URL: https://issues.apache.org/jira/browse/CXF-6766 > Project: CXF > Issue Type: Improvement > Components: JAX-RS >Affects Versions: 3.1.4 >Reporter: Vjacheslav Borisov >Assignee: Sergey Beryozkin >Priority: Trivial > Fix For: 3.1.5, 3.0.8, 3.2.0 > > Attachments: XSLTJaxbProvider.java.patch > > > XSLTJaxbProvider configures > factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE); > We need option to disable this feature in some projects, e.g. to call xslt > extension. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FEDIZ-152) Disable URL rewrites with SessionID to avoid session hijacking
Jan Bernhardt created FEDIZ-152: --- Summary: Disable URL rewrites with SessionID to avoid session hijacking Key: FEDIZ-152 URL: https://issues.apache.org/jira/browse/FEDIZ-152 Project: CXF-Fediz Issue Type: Improvement Components: IDP, OIDC Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.3.0 if Cookies are disabled within the Browser the servlet container (like Tomcat) will usually switch to URL rewriting, by adding the JSessionID to the URL. This is dangerous because users tend to copy URLs from their browser and post them in chat or public forums, thus allowing someone else to hijack their session. Therefor it is best practice to ensure that a sessionID will not be included within the URL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CXF-6767) OSGI ServletImporter should be able to accept extra properties
Sergey Beryozkin created CXF-6767: - Summary: OSGI ServletImporter should be able to accept extra properties Key: CXF-6767 URL: https://issues.apache.org/jira/browse/CXF-6767 Project: CXF Issue Type: Improvement Components: OSGi, Transports Reporter: Sergey Beryozkin Assignee: Sergey Beryozkin Priority: Minor Fix For: 3.2.0 Example, Swagger specific/etc properties may need to be set up -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (FEDIZ-152) Disable URL rewrites with SessionID to avoid session hijacking
[ https://issues.apache.org/jira/browse/FEDIZ-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Bernhardt resolved FEDIZ-152. - Resolution: Fixed > Disable URL rewrites with SessionID to avoid session hijacking > -- > > Key: FEDIZ-152 > URL: https://issues.apache.org/jira/browse/FEDIZ-152 > Project: CXF-Fediz > Issue Type: Improvement > Components: IDP, OIDC >Reporter: Jan Bernhardt >Assignee: Jan Bernhardt > Fix For: 1.3.0 > > > if Cookies are disabled within the Browser the servlet container (like > Tomcat) will usually switch to URL rewriting, by adding the JSessionID to the > URL. > This is dangerous because users tend to copy URLs from their browser and post > them in chat or public forums, thus allowing someone else to hijack their > session. > Therefor it is best practice to ensure that a sessionID will not be included > within the URL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CXF-6767) OSGI ServletImporter should be able to accept extra properties
[ https://issues.apache.org/jira/browse/CXF-6767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin updated CXF-6767: -- Fix Version/s: 3.1.6 > OSGI ServletImporter should be able to accept extra properties > -- > > Key: CXF-6767 > URL: https://issues.apache.org/jira/browse/CXF-6767 > Project: CXF > Issue Type: Improvement > Components: OSGi, Transports >Reporter: Sergey Beryozkin >Assignee: Sergey Beryozkin >Priority: Minor > Fix For: 3.2.0, 3.1.6 > > > Example, Swagger specific/etc properties may need to be set up -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CXF-6767) OSGI ServletImporter should be able to accept extra properties
[ https://issues.apache.org/jira/browse/CXF-6767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-6767. --- Resolution: Fixed > OSGI ServletImporter should be able to accept extra properties > -- > > Key: CXF-6767 > URL: https://issues.apache.org/jira/browse/CXF-6767 > Project: CXF > Issue Type: Improvement > Components: OSGi, Transports >Reporter: Sergey Beryozkin >Assignee: Sergey Beryozkin >Priority: Minor > Fix For: 3.2.0, 3.1.6 > > > Example, Swagger specific/etc properties may need to be set up -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CXF-6766) Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider
[ https://issues.apache.org/jira/browse/CXF-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130789#comment-15130789 ] Akitoshi Yoshida commented on CXF-6766: --- Hi Sergey, shouldn't this be done in a consistent manner in all the parser usages in cxf, maybe then using a combination of a system property and a bus property? regards, aki > Option to disable XMLConstants.FEATURE_SECURE_PROCESSING in XSLTJaxbProvider > > > Key: CXF-6766 > URL: https://issues.apache.org/jira/browse/CXF-6766 > Project: CXF > Issue Type: Improvement > Components: JAX-RS >Affects Versions: 3.1.4 >Reporter: Vjacheslav Borisov >Assignee: Sergey Beryozkin >Priority: Trivial > Fix For: 3.1.5, 3.0.8, 3.2.0 > > Attachments: XSLTJaxbProvider.java.patch > > > XSLTJaxbProvider configures > factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE); > We need option to disable this feature in some projects, e.g. to call xslt > extension. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CXF-6750) HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set
[ https://issues.apache.org/jira/browse/CXF-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131026#comment-15131026 ] Matko Šuflaj commented on CXF-6750: --- Forgot to close this, some misconfiguration in client creation was at hand which I didn't have time to look into since i find a solution that worked.There was an issue with wiring the SSL interceptor which, despited the fact that it seemed initialized when set on the client stub, ended up as null in PhaseInterceptorChain. I have reconfigured from programatic to xml ()configuration and injected the client thus inside the component where I needed it and it worked. > HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault > code, not set > -- > > Key: CXF-6750 > URL: https://issues.apache.org/jira/browse/CXF-6750 > Project: CXF > Issue Type: Bug > Components: WS-* Components >Affects Versions: 2.7.11 >Reporter: Matko Šuflaj > > Hi, > > I am having an issue when trying to create a client that communicates with > the service over https, following is the exception: > > javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, > not set > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157) > ~[cxf-rt-frontend-jaxws-2.7.11.jar:2.7.11] > at com.sun.proxy.$Proxy232.invoke(Unknown Source) ~[na:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.invokeService(RtdDaoImpl.java:227) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.callNavigationService(RtdDaoImpl.java:378) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) ~[na:1.6.0_45] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at java.lang.reflect.Method.invoke(Unknown Source) > ~[na:1.6.0_45] > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > hr.pbz.core.logging.interceptor.PerformanceLoggingInterceptor.invoke(PerformanceLoggingInterceptor.java:87) > [pbz-common-utils-9.50.72-SNAPSHOT.jar:na] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at com.sun.proxy.$Proxy233.callNavigationService(Unknown > Source) [na:na] > Caused by: java.lang.NullPointerException: null > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:197) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:186) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:177) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.getChain(PhaseChainCache.java:93) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.get(PhaseChainCache.java:77) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.setupInterceptorChain(ClientImpl.java:1007) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:538) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > ~[cxf-rt-frontend-simple-2.7.11.jar:2.7.11] > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > ~[cxf-rt-f
[jira] [Comment Edited] (CXF-6750) HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set
[ https://issues.apache.org/jira/browse/CXF-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131026#comment-15131026 ] Matko Šuflaj edited comment on CXF-6750 at 2/3/16 8:00 PM: --- Forgot to close this, some misconfiguration in client creation was at hand which I didn't have time to look into thoroughly after I found a solution that worked.There was an issue with wiring the SSL interceptor which, despited the fact that it seemed initialized when set on the client stub, ended up as null in PhaseInterceptorChain. I have reconfigured from programatic to xml ()configuration and injected the client thus inside the component where I needed it and it worked. was (Author: msuflaj): Forgot to close this, some misconfiguration in client creation was at hand which I didn't have time to look into since i find a solution that worked.There was an issue with wiring the SSL interceptor which, despited the fact that it seemed initialized when set on the client stub, ended up as null in PhaseInterceptorChain. I have reconfigured from programatic to xml ()configuration and injected the client thus inside the component where I needed it and it worked. > HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault > code, not set > -- > > Key: CXF-6750 > URL: https://issues.apache.org/jira/browse/CXF-6750 > Project: CXF > Issue Type: Bug > Components: WS-* Components >Affects Versions: 2.7.11 >Reporter: Matko Šuflaj > > Hi, > > I am having an issue when trying to create a client that communicates with > the service over https, following is the exception: > > javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, > not set > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157) > ~[cxf-rt-frontend-jaxws-2.7.11.jar:2.7.11] > at com.sun.proxy.$Proxy232.invoke(Unknown Source) ~[na:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.invokeService(RtdDaoImpl.java:227) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.callNavigationService(RtdDaoImpl.java:378) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) ~[na:1.6.0_45] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at java.lang.reflect.Method.invoke(Unknown Source) > ~[na:1.6.0_45] > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > hr.pbz.core.logging.interceptor.PerformanceLoggingInterceptor.invoke(PerformanceLoggingInterceptor.java:87) > [pbz-common-utils-9.50.72-SNAPSHOT.jar:na] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at com.sun.proxy.$Proxy233.callNavigationService(Unknown > Source) [na:na] > Caused by: java.lang.NullPointerException: null > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:197) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:186) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:177) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.getChain(PhaseChainCache.java:93) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.get(PhaseChainCache.java:77) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.setupInterceptorChain(ClientImpl.java:1007) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:538) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint
[jira] [Closed] (CXF-6750) HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set
[ https://issues.apache.org/jira/browse/CXF-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matko Šuflaj closed CXF-6750. - > HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault > code, not set > -- > > Key: CXF-6750 > URL: https://issues.apache.org/jira/browse/CXF-6750 > Project: CXF > Issue Type: Bug > Components: WS-* Components >Affects Versions: 2.7.11 >Reporter: Matko Šuflaj > > Hi, > > I am having an issue when trying to create a client that communicates with > the service over https, following is the exception: > > javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, > not set > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157) > ~[cxf-rt-frontend-jaxws-2.7.11.jar:2.7.11] > at com.sun.proxy.$Proxy232.invoke(Unknown Source) ~[na:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.invokeService(RtdDaoImpl.java:227) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.callNavigationService(RtdDaoImpl.java:378) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) ~[na:1.6.0_45] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at java.lang.reflect.Method.invoke(Unknown Source) > ~[na:1.6.0_45] > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > hr.pbz.core.logging.interceptor.PerformanceLoggingInterceptor.invoke(PerformanceLoggingInterceptor.java:87) > [pbz-common-utils-9.50.72-SNAPSHOT.jar:na] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at com.sun.proxy.$Proxy233.callNavigationService(Unknown > Source) [na:na] > Caused by: java.lang.NullPointerException: null > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:197) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:186) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:177) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.getChain(PhaseChainCache.java:93) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.get(PhaseChainCache.java:77) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.setupInterceptorChain(ClientImpl.java:1007) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:538) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > ~[cxf-rt-frontend-simple-2.7.11.jar:2.7.11] > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > ~[cxf-rt-frontend-jaxws-2.7.11.jar:2.7.11] > > Codebase for client: > > private SDClientPortType getWebServiceClient() { > > final JaxWsProxyFactoryBean factory = new > JaxWsProxyFactoryBean(); > > factory.setServiceClass(SDClientPortType.class); > factory.setAddress(getRtdWebServiceUrl()); > factory.getInInterceptors().add(new > LoggingInInterceptor()); > factory.getOutInterceptors().add(new > LoggingOutInterceptor()); >
[jira] [Resolved] (CXF-6750) HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set
[ https://issues.apache.org/jira/browse/CXF-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matko Šuflaj resolved CXF-6750. --- Resolution: Not A Problem Misconfiguration in injecting the interceptor properties, after switching to XML configuration the thing worked, probably would have with programmatic too with a bit more research. > HTTPS javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault > code, not set > -- > > Key: CXF-6750 > URL: https://issues.apache.org/jira/browse/CXF-6750 > Project: CXF > Issue Type: Bug > Components: WS-* Components >Affects Versions: 2.7.11 >Reporter: Matko Šuflaj > > Hi, > > I am having an issue when trying to create a client that communicates with > the service over https, following is the exception: > > javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, > not set > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157) > ~[cxf-rt-frontend-jaxws-2.7.11.jar:2.7.11] > at com.sun.proxy.$Proxy232.invoke(Unknown Source) ~[na:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.invokeService(RtdDaoImpl.java:227) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at > hr.pbz.core.dao.impl.RtdDaoImpl.callNavigationService(RtdDaoImpl.java:378) > [pbz-retail-dao-9.50.72-SNAPSHOT.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) ~[na:1.6.0_45] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) ~[na:1.6.0_45] > at java.lang.reflect.Method.invoke(Unknown Source) > ~[na:1.6.0_45] > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > hr.pbz.core.logging.interceptor.PerformanceLoggingInterceptor.invoke(PerformanceLoggingInterceptor.java:87) > [pbz-common-utils-9.50.72-SNAPSHOT.jar:na] > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > [spring-aop-3.1.0.RELEASE.jar:3.1.0.RELEASE] > at com.sun.proxy.$Proxy233.callNavigationService(Unknown > Source) [na:na] > Caused by: java.lang.NullPointerException: null > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:197) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:186) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseInterceptorChain.add(PhaseInterceptorChain.java:177) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.getChain(PhaseChainCache.java:93) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.phase.PhaseChainCache.get(PhaseChainCache.java:77) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.setupInterceptorChain(ClientImpl.java:1007) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:538) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335) > ~[cxf-api-2.7.11.jar:2.7.11] > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > ~[cxf-rt-frontend-simple-2.7.11.jar:2.7.11] > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > ~[cxf-rt-frontend-jaxws-2.7.11.jar:2.7.11] > > Codebase for client: > > private SDClientPortType getWebServiceClient() { > > final JaxWsProxyFactoryBean factory = new > JaxWsProxyFactoryBean(); > > factory.setServiceClass(SDClientPortType.class); > factory.