Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367994 - JAX-WS: WS publishing problem
Summary: JAX-WS: WS publishing problem
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Daniel Wiehl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 18:16 EST by Daniel Wiehl CLA
Modified: 2021-08-19 11:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)