]
Chris Laprun resolved JBPORTAL-821.
-----------------------------------
Resolution: Partially Completed
This is fixed when using JBoss WS bundled with 4.0.5. Question is what do we do for
4.0.4?
Find out to properly bind property descriptions to schemas
----------------------------------------------------------
Key: JBPORTAL-821
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-821
Project: JBoss Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Portal WSRP
Affects Versions: 2.6 Final
Reporter: Chris Laprun
Assigned To: Chris Laprun
Priority: Minor
Fix For: 2.6.Alpha1
Original Estimate: 2 days
Remaining Estimate: 2 days
In RegistrationTestCase:
PropertyDescription regProp = new PropertyDescription("regProp", new
QName("ns1:LocalizedString"),
new LocalizedString("en", null, "Registration Property"),
null, null);
The second parameter of the PropertyDescription constructor is a QName indicating the XSD
type of the property. However, the namespace prefix must be bound to a URN somehow. Right
now, we're using a hack: ns1:LocalizedString is used since it is a WSRP-defined type.
We also use ns1 as the namespace prefix since this is the prefix assigned to the WSRP type
namespace which allows the WS stack to find the type. However, this is obvious that this
is not the correct way to do it and this will have to be addressed for 2.6.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: