Bug 987898
Summary: | Write to wsdl-url attribute for WS endpoint ends with 'Unknown attribute wsdl-url' instead of 'Attribute wsdl-url is not writable' | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Rostislav Svoboda <rsvoboda> | ||||
Component: | Domain Management, Web Services | Assignee: | Rebecca Searls <rsearls> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | unspecified | Docs Contact: | Lucas Costi <lcosti> | ||||
Priority: | unspecified | ||||||
Version: | 6.1.1 | CC: | asoldano, brian.stansberry, kkhan, lcosti, nobody, rsearls | ||||
Target Milestone: | DR0 | Keywords: | Reopened | ||||
Target Release: | EAP 6.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Five attributes of deployed SOAP Web Services endpoints (name, context, class, type, and wsdl-url) were not accessible in the management tools. This was because they were not exposed to the management model by the Web Services subsystem. This issue has been fixed in this release, and the attributes can now be configured under the `webservices` subsystem using the Management CLI.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-06-28 15:25:17 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: | |||||||
Attachments: |
|
Description
Rostislav Svoboda
2013-07-24 11:43:23 UTC
The problem is WSExtension is not registering attribute metadata for the stuff included in org.jboss.as.webservices.dmr.ModelDeploymentAspect. It registers the metrics, but not these fixed values. CLI commands: deploy /tmp/CLIWebservicesWsdlPortIT.war /deployment=CLIWebservicesWsdlPortIT.war/subsystem=webservices/endpoint=CLIWebservicesWsdlPortIT%3Aorg.jboss.qa.management.ws.cli.AnnotatedServiceImpl/:write-attribute(name=wsdl-url,value=test) Result: /deployment=CLIWebservicesWsdlPortIT.war/subsystem=webservices/endpoint=CLIWebservicesWsdlPortIT%3Aorg.jboss.qa.management.ws.cli.AnnotatedServiceImpl/:write-attribute(name=wsdl-url,value=test) { "outcome" => "failed", "failure-description" => "JBAS014639: Attribute wsdl-url is not writable", "rolled-back" => true } Result is correct, but CLI GUI still offers write and undefine operations on this attribute, which is wrong Created attachment 864066 [details]
deployment (war with webservice)
I consulted with Brian Stansberry and Stan Silvert on this change.
Brian speculated this might be a general problem that occurs with any
read-only attribute. Stan confirmed it.
-- Stan wrote ...
> I implemented the fix but I don't like the way it turned out from a
> usability standpoint.
>
> If it is a read-only attribute then there will be no operations menu
> when you right-click the node. That's very confusing because some nodes
> will have a menu and others will not.
>
> The alternative to displaying nothing is to display some sort of error
> or warning like "This attribute is read only". IMO, that's more
> annoying than just letting the user execute the command.
>
> Furthermore, the regular CLI does not do this check either. It happily
> performs tab completion and lets you execute.
>
> So I think it's best if we just leave it alone and tell the customer it
> is working as designed.
So in summary, this behavior is common to all read-only attributes. There is
no satisfactory way to change the CLI to provide the behavior you've requested.
The CLI team considers this working as designed and not a bug.
Verified as per comment 11. New BZ 1083877 created for issue that CLI GUI offers write and undefine operations on read-only attribute |