[
https://issues.jboss.org/browse/GTNWSRP-170?page=com.atlassian.jira.plugi...
]
Chris Laprun commented on GTNWSRP-170:
--------------------------------------
More precisely, from NetUnity:
The problem with registration properties is the following:
In WSRP 1, the property is identified by a simple name:
<attribute name="name" type="xsd:string"
use="required"/>
Whereas in WSRP 2, the property is identified by a QName:
<attribute name="name" type="xsd:QName"
use="required"/>
In our framework, if you want properties to work in WSRP 1 and WSRP 2, you
must set the namespace part of the QName to "" which is not the case in the
WSRP 2 interop producer we have exposed hence it only works in WSRP 2. I'll
see about modifying it to work in WSRP 1 as well.
To further complicate things, WSRP 2 did a poor job of switching the
identification of properties to QNames because the getting of portlet
properties uses:
<complexType name="getPortletProperties">
<sequence>
....
<element name="names" type="xsd:string"
nillable="true"
maxOccurs="unbounded"/>
</sequence>
</complexType>
Which only specifies an array of simple string-based names. I brought this
up multiple times with the committee. I think the resolution was to ignore
the namespace part on returning the property values. We left it up to the
developer: if they want WSRP 1 and WSRP 2 property support, then they need
to use the empty namespace. At any rate, that is definitely not a problem
on your end.
NetUnity Registration State portlet doesn't show properties when
using wsrp v1
------------------------------------------------------------------------------
Key: GTNWSRP-170
URL:
https://issues.jboss.org/browse/GTNWSRP-170
Project: GateIn WSRP
Issue Type: Bug
Components: Interop
Affects Versions: 2.0.0-CR03
Reporter: Matt Wringe
Assignee: Chris Laprun
Fix For: 2.0.0-GA
When using the v1 NetUnity producer
(
http://www.netunitysoftware.com/wsrp2interop/wsrpproducer.asmx?Operation=...)
and we add the Registration State portlet to a page, the RegistrationProperties will
appear empty.
Steps to reproduce:
1) register the wsrp v1 NetUnity producer
2) add values for the registration properties
3) add the Registration State portlet to a page
4) notice that the property values are null
This works fine with wsrp v2.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira