[jira] [Resolved] (CXF-7891) OpenApiAutoConfiguration doesn't work with classes-scan-packages

2018-11-06 Thread Dennis Kieselhorst (JIRA)


 [ 
https://issues.apache.org/jira/browse/CXF-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Kieselhorst resolved CXF-7891.
-
Resolution: Fixed

> OpenApiAutoConfiguration doesn't work with classes-scan-packages
> 
>
> Key: CXF-7891
> URL: https://issues.apache.org/jira/browse/CXF-7891
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.2.7
>Reporter: Dennis Kieselhorst
>Assignee: Dennis Kieselhorst
>Priority: Major
> Fix For: 3.3.0, 3.2.8
>
>
> I just noticed that the OpenApiAutoConfiguration introduced in CXF-7853 
> doesn't work if {{classes-scan-packages: org.apache.cxf.jaxrs.openapi}} is 
> used. In this case OpenApiFeature is added as a Provider by 
> AbstractSpringComponentScanServer and OpenApiAutoConfiguration doesn't hook 
> in.
> Sample:
> {code}
> git clone https://github.com/deki/swagger-samples/ --branch 
> java-cxf-spring-boot-minimal
> cd java/java-cxf-spring-boot-minimal
> mvn spring-boot:run
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (CXF-7892) Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/

2018-11-06 Thread dev.cxf (JIRA)
dev.cxf created CXF-7892:


 Summary:  Could not resolve a binding for 
http://schemas.xmlsoap.org/wsdl/soap/
 Key: CXF-7892
 URL: https://issues.apache.org/jira/browse/CXF-7892
 Project: CXF
  Issue Type: Bug
  Components: Soap Binding
Affects Versions: 3.1.3
Reporter: dev.cxf
 Attachments: applicationContext.xml, pom.xml, server.log

Hello,

I am working on a CXF migration project from version 2.7 to version 3.1.3.

When I start my server, I have an error (server.log)
I also attach the  xml  files (applicationContext and pom)

Thanks for your help.

P.S: I work on the security of the web service and I will be forced to swish to 
version 3



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (CXF-7889) ensure all samples from CXF kit can work with JDK11 OOTB

2018-11-06 Thread Andriy Redko (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16675014#comment-16675014
 ] 

Andriy Redko edited comment on CXF-7889 at 11/7/18 2:29 AM:


for jax_rs part, so far:
{code:java}
jax_rs/basic - OK
jax_rs/basic_https - fixed
jax_rs/basic_oidc - fixed
jax_rs/big_query - fixed
jax_rs/content_negotiation - OK
jax_rs/description_openapi_v3 - OK
jax_rs/description_openapi_v3_web - fixed
jax_rs/description_swagger2 - OK
jax_rs/description_swagger2_spring - OK
jax_rs/description_swagger2_web - fixed
jax_rs/odata - OK

Not checked:
jax_rs/description_openapi_v3_osgi
jax_rs/description_swagger2_osgi
jax_rs/minimal_osgi{code}


was (Author: reta):
for jax_rs part, so far:
{code:java}
jax_rs/basic - OK
jax_rs/basic_https - fixed
jax_rs/basic_oidc - fixed
jax_rs/big_query - fixed{code}

> ensure all samples from CXF kit can work with JDK11 OOTB
> 
>
> Key: CXF-7889
> URL: https://issues.apache.org/jira/browse/CXF-7889
> Project: CXF
>  Issue Type: Task
>Reporter: Freeman Fang
>Assignee: Freeman Fang
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (CXF-7892) Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/

2018-11-06 Thread Freeman Fang (JIRA)


 [ 
https://issues.apache.org/jira/browse/CXF-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang closed CXF-7892.
-
Resolution: Invalid

>  Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/
> --
>
> Key: CXF-7892
> URL: https://issues.apache.org/jira/browse/CXF-7892
> Project: CXF
>  Issue Type: Bug
>  Components: Soap Binding
>Affects Versions: 3.1.3
>Reporter: dev.cxf
>Priority: Major
> Attachments: applicationContext.xml, pom.xml, server.log
>
>
> Hello,
> I am working on a CXF migration project from version 2.7 to version 3.1.3.
> When I start my server, I have an error (server.log)
> I also attach the  xml  files (applicationContext and pom)
> Thanks for your help.
> P.S: I work on the security of the web service and I will be forced to swish 
> to version 3



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CXF-7892) Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/

2018-11-06 Thread Freeman Fang (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677658#comment-16677658
 ] 

Freeman Fang commented on CXF-7892:
---

Hi,

Could you please check if the war you build contains necessary 
cxf-rt-bindings-soap.jar?

Anyway, such question should be posted to cxf dev mailing list but not to jira, 
jira tickets normally are used for bug/enhancement/new features but not for 
question discussion.

I will close this issue for now.

Freeman

>  Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/
> --
>
> Key: CXF-7892
> URL: https://issues.apache.org/jira/browse/CXF-7892
> Project: CXF
>  Issue Type: Bug
>  Components: Soap Binding
>Affects Versions: 3.1.3
>Reporter: dev.cxf
>Priority: Major
> Attachments: applicationContext.xml, pom.xml, server.log
>
>
> Hello,
> I am working on a CXF migration project from version 2.7 to version 3.1.3.
> When I start my server, I have an error (server.log)
> I also attach the  xml  files (applicationContext and pom)
> Thanks for your help.
> P.S: I work on the security of the web service and I will be forced to swish 
> to version 3



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (CXF-7889) ensure all samples from CXF kit can work with JDK11 OOTB

2018-11-06 Thread Freeman Fang (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674934#comment-16674934
 ] 

Freeman Fang edited comment on CXF-7889 at 11/7/18 5:17 AM:


so far checked and good
{code}
aegis
aegis_standalone
callback
configuration_interceptor
groovy_spring_support
in_jvm_transport
java_first_jaxws
java_first_jaxws_factory_bean
java_first_jaxws
java_first_jms
java_first_pojo
java_first_spring_support
jax_server_aegis_client
jaxws_async
jaxws_dispatch_provider
jaxws_handlers
jaxws_spring_boot
jms_pubsub
jms_queue
jms_spring_config

mtom
restful_dispatch
soap_header
sts
throttling
ws_addressing
ws_discovery
ws_notification
ws_policy
ws_rm
ws_security/sign_enc
ws_security/sign_enc_policy
ws_security/ut
wsdl_first
wsdl_first_dynamic_client
wsdl_first_https
wsdl_first_pure_xml
wsdl_first_rpclit
wsdl_first_soap12
wsdl_first_xml_wrapped

js_provider
js_client
{code}

broken
{code}
antbuild
ws_security/ut_policy(known jks file problem, fixed)
{code}

not check
{code}
clustering
jaxws_tracing_brave_osgi
oauth
corba(Don't think we will still support it with JDK11)
{code}

failed on both JDK8 and JDK11
{code}
ruby_spring_support
js_browser*
ws_eventing(incomplete as a sample,no README)
{code}


was (Author: ffang):
so far checked and good
{code}
aegis
aegis_standalone
callback
configuration_interceptor
groovy_spring_support
in_jvm_transport
java_first_jaxws
java_first_jaxws_factory_bean
java_first_jaxws
java_first_jms
java_first_pojo
java_first_spring_support
jax_server_aegis_client
jaxws_async
jaxws_dispatch_provider
jaxws_handlers
jaxws_spring_boot
jms_pubsub
jms_queue
jms_spring_config

mtom
restful_dispatch
soap_header
sts
throttling
ws_addressing
ws_discovery
ws_notification
ws_policy
ws_rm
ws_security/sign_enc
ws_security/sign_enc_policy
ws_security/ut
wsdl_first
wsdl_first_dynamic_client
wsdl_first_https
wsdl_first_pure_xml
wsdl_first_rpclit
wsdl_first_soap12
wsdl_first_xml_wrapped

js_provider
js_client
{code}

broken
{code}
antbuild
ws_security/ut_policy(known jks file problem, fixed)
{code}

not check
{code}
clustering
jaxws_tracing_brave_osgi
oauth
ws_eventing(incomplete as a sample,no README)
corba(Don't think we will still support it with JDK11)
{code}

failed on both JDK8 and JDK11
{code}
ruby_spring_support
js_browser*
{code}

> ensure all samples from CXF kit can work with JDK11 OOTB
> 
>
> Key: CXF-7889
> URL: https://issues.apache.org/jira/browse/CXF-7889
> Project: CXF
>  Issue Type: Task
>Reporter: Freeman Fang
>Assignee: Freeman Fang
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (CXF-7889) ensure all samples from CXF kit can work with JDK11 OOTB

2018-11-06 Thread Freeman Fang (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674934#comment-16674934
 ] 

Freeman Fang edited comment on CXF-7889 at 11/7/18 5:17 AM:


so far checked and good
{code}
aegis
aegis_standalone
callback
configuration_interceptor
groovy_spring_support
in_jvm_transport
java_first_jaxws
java_first_jaxws_factory_bean
java_first_jaxws
java_first_jms
java_first_pojo
java_first_spring_support
jax_server_aegis_client
jaxws_async
jaxws_dispatch_provider
jaxws_handlers
jaxws_spring_boot
jms_pubsub
jms_queue
jms_spring_config

mtom
restful_dispatch
soap_header
sts
throttling
ws_addressing
ws_discovery
ws_notification
ws_policy
ws_rm
ws_security/sign_enc
ws_security/sign_enc_policy
ws_security/ut
wsdl_first
wsdl_first_dynamic_client
wsdl_first_https
wsdl_first_pure_xml
wsdl_first_rpclit
wsdl_first_soap12
wsdl_first_xml_wrapped

js_provider
js_client
{code}

broken
{code}
antbuild
ws_security/ut_policy(known jks file problem, fixed)
{code}

not check
{code}
clustering
jaxws_tracing_brave_osgi
oauth
ws_eventing(incomplete as a sample,no README)
corba(Don't think we will still support it with JDK11)
{code}

failed on both JDK8 and JDK11
{code}
ruby_spring_support
js_browser*
{code}


was (Author: ffang):
so far checked and good
{code}
aegis
aegis_standalone
callback
configuration_interceptor
groovy_spring_support
in_jvm_transport
java_first_jaxws
java_first_jaxws_factory_bean
java_first_jaxws
java_first_jms
java_first_pojo
java_first_spring_support
jax_server_aegis_client
jaxws_async
jaxws_dispatch_provider
jaxws_handlers
jaxws_spring_boot
jms_pubsub
jms_queue
jms_spring_config

mtom
restful_dispatch
soap_header
sts
throttling
ws_addressing
ws_discovery
ws_notification
ws_policy
ws_rm
ws_security/sign_enc
ws_security/sign_enc_policy
ws_security/ut
wsdl_first
wsdl_first_dynamic_client
wsdl_first_https
wsdl_first_pure_xml
wsdl_first_rpclit
wsdl_first_soap12
wsdl_first_xml_wrapped

js_provider
js_client
{code}

broken
{code}
antbuild
ws_security/ut_policy(known jks file problem, fixed)
{code}

not check
{code}
clustering
jaxws_tracing_brave_osgi
oauth
ws_eventing(incomplete as a sample,no README)
corba(Don't think we will still support it with JDK11)
{code}

failed on both JDK8 and JDK11
{code}
restful_dispatch
js_browser*
{code}

> ensure all samples from CXF kit can work with JDK11 OOTB
> 
>
> Key: CXF-7889
> URL: https://issues.apache.org/jira/browse/CXF-7889
> Project: CXF
>  Issue Type: Task
>Reporter: Freeman Fang
>Assignee: Freeman Fang
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (CXF-7889) ensure all samples from CXF kit can work with JDK11 OOTB

2018-11-06 Thread Freeman Fang (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674934#comment-16674934
 ] 

Freeman Fang edited comment on CXF-7889 at 11/7/18 5:06 AM:


so far checked and good
{code}
aegis
aegis_standalone
callback
configuration_interceptor
groovy_spring_support
in_jvm_transport
java_first_jaxws
java_first_jaxws_factory_bean
java_first_jaxws
java_first_jms
java_first_pojo
java_first_spring_support
jax_server_aegis_client
jaxws_async
jaxws_dispatch_provider
jaxws_handlers
jaxws_spring_boot
jms_pubsub
jms_queue
jms_spring_config

mtom
restful_dispatch
soap_header
sts
throttling
ws_addressing
ws_discovery
ws_notification
ws_policy
ws_rm
ws_security/sign_enc
ws_security/sign_enc_policy
ws_security/ut
wsdl_first
wsdl_first_dynamic_client
wsdl_first_https
wsdl_first_pure_xml
wsdl_first_rpclit
wsdl_first_soap12
wsdl_first_xml_wrapped

js_provider
js_client
{code}

broken
{code}
antbuild
ws_security/ut_policy(known jks file problem, fixed)
{code}

not check
{code}
clustering
jaxws_tracing_brave_osgi
oauth
ws_eventing(incomplete as a sample,no README)
corba(Don't think we will still support it with JDK11)
{code}

failed on both JDK8 and JDK11
{code}
restful_dispatch
js_browser*
{code}


was (Author: ffang):
so far checked and good
{code}
aegis
aegis_standalone
callback
configuration_interceptor
groovy_spring_support
in_jvm_transport
java_first_jaxws
java_first_jaxws_factory_bean
java_first_jaxws
java_first_jms
java_first_pojo
java_first_spring_support
jax_server_aegis_client
jaxws_async
jaxws_dispatch_provider
jaxws_handlers
jaxws_spring_boot
jms_pubsub
jms_queue
jms_spring_config

mtom
restful_dispatch
soap_header
sts
throttling
ws_addressing
ws_discovery
ws_notification
ws_policy
ws_rm
ws_security/sign_enc
ws_security/sign_enc_policy
ws_security/ut
wsdl_first
wsdl_first_dynamic_client
wsdl_first_https
wsdl_first_pure_xml
wsdl_first_rpclit
wsdl_first_soap12
wsdl_first_xml_wrapped
{code}

broken
{code}
antbuild
ws_security/ut_policy(known jks file problem, fixed)
{code}

not check
{code}
clustering
jaxws_tracing_brave_osgi
oauth
ws_eventing(incomplete as a sample,no README)
corba(Don't think we will still support it with JDK11)
{code}

failed on both JDK8 and JDK11
{code}
restful_dispatch
js_*
{code}

> ensure all samples from CXF kit can work with JDK11 OOTB
> 
>
> Key: CXF-7889
> URL: https://issues.apache.org/jira/browse/CXF-7889
> Project: CXF
>  Issue Type: Task
>Reporter: Freeman Fang
>Assignee: Freeman Fang
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CXF-7891) OpenApiAutoConfiguration doesn't work with classes-scan-packages

2018-11-06 Thread Dennis Kieselhorst (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16676684#comment-16676684
 ] 

Dennis Kieselhorst commented on CXF-7891:
-

[~reta] 
I'll suggest to change {{@ConditionalOnBean(OpenApiFeature.class)}} to 
{{@ConditionalOnClass(OpenApiFeature.class)}}. Any objections?

> OpenApiAutoConfiguration doesn't work with classes-scan-packages
> 
>
> Key: CXF-7891
> URL: https://issues.apache.org/jira/browse/CXF-7891
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.2.7
>Reporter: Dennis Kieselhorst
>Assignee: Dennis Kieselhorst
>Priority: Major
> Fix For: 3.3.0, 3.2.8
>
>
> I just noticed that the OpenApiAutoConfiguration introduced in CXF-7853 
> doesn't work if {{classes-scan-packages: org.apache.cxf.jaxrs.openapi}} is 
> used. In this case OpenApiFeature is added as a Provider by 
> AbstractSpringComponentScanServer and OpenApiAutoConfiguration doesn't hook 
> in.
> Sample:
> {code}
> git clone https://github.com/deki/swagger-samples/ --branch 
> java-cxf-spring-boot-minimal
> cd java/java-cxf-spring-boot-minimal
> mvn spring-boot:run
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CXF-7891) OpenApiAutoConfiguration doesn't work with classes-scan-packages

2018-11-06 Thread Dennis Kieselhorst (JIRA)


 [ 
https://issues.apache.org/jira/browse/CXF-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Kieselhorst updated CXF-7891:

Affects Version/s: 3.2.7

> OpenApiAutoConfiguration doesn't work with classes-scan-packages
> 
>
> Key: CXF-7891
> URL: https://issues.apache.org/jira/browse/CXF-7891
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.2.7
>Reporter: Dennis Kieselhorst
>Assignee: Dennis Kieselhorst
>Priority: Major
> Fix For: 3.3.0, 3.2.8
>
>
> I just noticed that the OpenApiAutoConfiguration introduced in CXF-7853 
> doesn't work if {{classes-scan-packages: org.apache.cxf.jaxrs.openapi}} is 
> used. In this case OpenApiFeature is added as a Provider by 
> AbstractSpringComponentScanServer and OpenApiAutoConfiguration doesn't hook 
> in.
> Sample:
> {code}
> git clone https://github.com/deki/swagger-samples/ --branch 
> java-cxf-spring-boot-minimal
> cd java/java-cxf-spring-boot-minimal
> mvn spring-boot:run
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (CXF-7891) OpenApiAutoConfiguration doesn't work with classes-scan-packages

2018-11-06 Thread Dennis Kieselhorst (JIRA)
Dennis Kieselhorst created CXF-7891:
---

 Summary: OpenApiAutoConfiguration doesn't work with 
classes-scan-packages
 Key: CXF-7891
 URL: https://issues.apache.org/jira/browse/CXF-7891
 Project: CXF
  Issue Type: Bug
Reporter: Dennis Kieselhorst
Assignee: Dennis Kieselhorst
 Fix For: 3.3.0, 3.2.8


I just noticed that the OpenApiAutoConfiguration introduced in CXF-7853 doesn't 
work if {{classes-scan-packages: org.apache.cxf.jaxrs.openapi}} is used. In 
this case OpenApiFeature is added as a Provider by 
AbstractSpringComponentScanServer and OpenApiAutoConfiguration doesn't hook in.

Sample:
{code}
git clone https://github.com/deki/swagger-samples/ --branch 
java-cxf-spring-boot-minimal
cd java/java-cxf-spring-boot-minimal
mvn spring-boot:run
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CXF-7891) OpenApiAutoConfiguration doesn't work with classes-scan-packages

2018-11-06 Thread Andriy Redko (JIRA)


[ 
https://issues.apache.org/jira/browse/CXF-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16676858#comment-16676858
 ] 

Andriy Redko commented on CXF-7891:
---

Hi [~deki],

Thanks a lot for finding that. Yes, I think 
@ConditionalOnClass(OpenApiFeature.class) it the safe change, the 
post-processor would be able to properly assign the customizer instance to the 
beans. Thanks!

Best Regards,
    Andriy Redko

> OpenApiAutoConfiguration doesn't work with classes-scan-packages
> 
>
> Key: CXF-7891
> URL: https://issues.apache.org/jira/browse/CXF-7891
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.2.7
>Reporter: Dennis Kieselhorst
>Assignee: Dennis Kieselhorst
>Priority: Major
> Fix For: 3.3.0, 3.2.8
>
>
> I just noticed that the OpenApiAutoConfiguration introduced in CXF-7853 
> doesn't work if {{classes-scan-packages: org.apache.cxf.jaxrs.openapi}} is 
> used. In this case OpenApiFeature is added as a Provider by 
> AbstractSpringComponentScanServer and OpenApiAutoConfiguration doesn't hook 
> in.
> Sample:
> {code}
> git clone https://github.com/deki/swagger-samples/ --branch 
> java-cxf-spring-boot-minimal
> cd java/java-cxf-spring-boot-minimal
> mvn spring-boot:run
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)