Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-913

Stub._setProperty() should allow jboss properties

XMLWordPrintable

      Jason sais:

      The property mechanism was designed to be extendable (detyped), so vender properties are allowed.

      From the spec:

      The _setProperty method sets the value of a property configured on the stub instance.
      This method throws the javax.xml.rpc.JAXRPCException in the following cases:
      ? If an optional standard property name is specified, however this Stub implementation class does not support the configuration of this property.
      ? If an invalid or unsupported property name is specified or if a value of mismatched property type is passed. An example is an illegal property with the standard property name prefix javax.xml.rpc.
      ? If there is any error in the configuration of a valid property.

      The only thing I can see that the CTS tests is bullet 2.

      There are two ways that we can support this and still be CTS compliant:
      1. Register all known properties (standard and proprietary) in a hashset, and throw an exception if a passed property is not present.
      2. Check that the String prefix matches javax.xml.rpc. , and if so verify that a standard property exists.

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: