Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367994

Summary: JAX-WS: WS publishing problem
Product: z_Archived Reporter: Daniel Wiehl <daniel.wiehl>
Component: ScoutAssignee: Daniel Wiehl <daniel.wiehl>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Daniel Wiehl CLA 2012-01-05 18:16:28 EST
- The WSDL file of webservice providers whose WSDL file is located in a sub-folder of '/WEB-INF/wsdl' is dynamically generated at JAX-WS bootstrap instead of the existing WSDL file to be published.
- Webservice consumer specific WSDL files might interfere with provider specific WSDL files, e.g. if defining same services or ports. In consequence, all webservice providers of that plugin are not published. 
- redundant WSDL file in webservice stub JAR-file.
Comment 1 Daniel Wiehl CLA 2012-01-05 20:41:36 EST
06.01.2012 dwi
Problem:
a) The WSDL file of webservice providers whose WSDL file is located in a sub-folder of '/WEB-INF/wsdl' is dynamically generated at JAX-WS bootstrap instead of the existing WSDL file to be published.
b) Webservice consumer specific WSDL files might interfere with provider specific WSDL files, e.g. if defining same services or ports. In consequence, all webservice providers of that plugin are not published. 
c) redundant WSDL file in webservice stub JAR-file.
Solution:
a) changed JAX-WS resource loading to also look in subfolders for existing resources
b) WS provider specific WSDL files should be located in the folder '/WEB-INF/wsdl/provider' whereas consumer specific WSDL files in '/WEB-INF/wsdl/consumer'. In turn, JAX-WS is instrumented to ignore all the files in the (sub-)folder '/WEB-INF/wsdl/consumer' when publishing the endpoints.
c) WSDL file is not put into the JAR archive anymore when building the webservice stub.
Comment 2 Matthias Zimmermann CLA 2012-03-01 10:40:17 EST
ticket will be closed after it's shipped with juno
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:49:23 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)