Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Java-SCA-1.6.2
-
None
Description
While investigating TUSCANY-3984, I discovered a syntax error in the definitions.xml files for samples/helloworld-ws-reference-secure and samples/helloworld-ws-service-secure.
In these files, the target namespace for the <sca:definitions> element is http://www.osoa.org/xmlns/sca/1.0 and each <policySet> element has a name attribute value of the form "hw:xxxx" where hw is the prefix for the namespace http://helloworld. This creates a QName with a namespace http://www.osoa.org/xmlns/sca/1.0 and a local part hw:xxxx.
The correct XML syntax is to use http://helloworld as the target namespace and remove the hw: prefix from the <policySet> element's name attribute value.