Bug 976447

Summary: soap:address of generated WSDLs never uses the wsdl-host defined in webservices subsystem
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Kyle Lape <klape>
Component: Web ServicesAssignee: Alessio Soldano <asoldano>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: psakar
Target Milestone: ER1   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:55:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 991240    
Bug Blocks:    

Description Kyle Lape 2013-06-20 15:07:52 UTC
Everything looks fine when the endpoints are contract-first (so the wsdlLocation attribute of @WebService is set), while there seems to be problems when they're code-first and no wsdl is explicitly provided by the user. The issue is then seen when the wsdl-host conf attribute is not set to jbossws.undefined.host value, as that would enable automatic rewrite.

Alessio thinks the problem is due to the CXF WSDLGetUtils.AUTO_REWRITE_ADDRESS prop that is no longer set by the jbossws-cxf integration (CXF default is ON), as the addresses are controlled differently in the contract-first scenario.

Comment 4 Petr Sakař 2013-09-20 13:02:09 UTC
Verified using test JBWS2150TestCaseForked from jbossws cxf testsuite for EAP-6.2.0.ER2. Passed when run against EAP 6.2.0.ER2, failed for EAP 6.1.0.ER8

Comment 5 Petr Sakař 2013-09-20 13:03:32 UTC
Passed for EAP 6.1.1.ER7 (GA) as well