[JBoss JIRA] Updated: (JBPORTAL-821) Find out to properly bind property descriptions to schemas
by Julien Viet (JIRA)
[ http://jira.jboss.com/jira/browse/JBPORTAL-821?page=all ]
Julien Viet updated JBPORTAL-821:
---------------------------------
Fix Version/s: 2.6.Alpha1
(was: 2.6 Final)
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months