Bug 1007484

Summary: CLI - undefine operation on wsdl-host attribute of webservices subsystem results in reload required but affects existing deployments immediately
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Sakař <psakar>
Component: Web ServicesAssignee: Alessio Soldano <asoldano>
Status: CLOSED CURRENTRELEASE QA Contact: Rostislav Svoboda <rsvoboda>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: nobody
Target Milestone: ER6   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1031590 (view as bug list) Environment:
Last Closed: 2013-12-15 16:20:47 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:    
Bug Blocks: 1031590    
Attachments:
Description Flags
deployed war with webservice none

Description Petr Sakař 2013-09-12 14:55:59 UTC
Created attachment 796907 [details]
deployed war with webservice

Description of problem:
CLI - undefine operation on wsdl-host attribute of webservices subsystem results in reload required but affects existing deployments immediately

Version-Release number of selected component (if applicable):
6.2.0.ER1

How reproducible:
always

Steps to Reproduce:
1. start AS
   ./jboss-eap-6.1/bin/standalone.sh
2. modify wsdl host to use other value then default
   ./jboss-eap-6.1/bin/jboss-cli.sh -c "/subsystem=webservices/:write-attribute(name=wsdl-host,value=test.domain.com"
3. reload server as required by previous operation
   ./jboss-eap-6.1/bin/jboss-cli.sh -c "reload"
4. deploy war with web service
   ./jboss-eap-6.1/bin/jboss-cli.sh -c "deploy /tmp/CLIWebservicesWsdlPortTestCase.war"
5. undefine wsdl host 
   ./jboss-eap-6.1/bin/jboss-cli.sh -c "/subsystem=webservices/:undefine-attribute(name=wsdl-host)"

Actual results:
 Result {"outcome" => "success","response-headers" => {"operation-requires-reload" => true,"process-state" => "reload-required"}}
 soapAddress in generated wsdl 
     <soap:address location="http://localhost:8080/CLIWebservicesWsdlPortTestCase/AnnotatedSecurityService"/>,

Expected results:
     <soap:address location="http://test.domain.com:8080/CLIWebservicesWsdlPortTestCase/AnnotatedSecurityService"/>

Comment 5 Petr Sakař 2013-10-17 07:29:13 UTC
verified with procedure described in description that wsdl retrived from http://localhost:8080/CLIWebservicesWsdlPortTestCase/AnnotatedSecurityService?wsdl
contains expected <soap:address location="http://test.domain.com:8080/CLIWebservicesWsdlPortTestCase/AnnotatedSecurityService"/>