[
https://issues.jboss.org/browse/GTNWSRP-271?page=com.atlassian.jira.plugi...
]
Chris Laprun resolved GTNWSRP-271.
----------------------------------
Resolution: Rejected
The issue is a Liferay issue. The relevant part of the service description returned by
GateIn's producer when you require a registration property named "test"
(without namespace) is:
{code}
<registrationPropertyDescription><ns3:propertyDescriptions
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns3="urn:oasis:names:tc:wsrp:v2:types" xmlns=""
type="xs:string" name="test"/></registrationPropertyDescription
{code}
When Liferay's consumer attempts to register, it provides a value for a property
named: {urn:oasis:names:tc:wsrp:v2:types}test (note the arbitrary use of the WSRP types
namespace).
This is in contradiction with
http://docs.oasis-open.org/wsrp/v2/wsrp-2.0-spec-os-01.html#_Registration..., which
specifies explicitely that "the names of these properties SHOULD be from the set
declared in the registrationPropertyDescription from the Producer's
ServiceDescription".
Depending on need, I could work around this issue by providing an explicit namespace for
registration properties on the producer when none are provided but Liferay needs to fix
their consumer as it's not spec conformant.
Must pass a non null RegistrationPropertyDescription when GateIn as
producer with registration property and LR as consumer
--------------------------------------------------------------------------------------------------------------------------
Key: GTNWSRP-271
URL:
https://issues.jboss.org/browse/GTNWSRP-271
Project: GateIn WSRP
Issue Type: Bug
Affects Versions: 2.1.0-GA
Environment: EPP5.2.0 CR01
Liferay Portal 6.0.6 (liferay-portal-jboss-6.0.6-20110225.zip)
Reporter: Michal Vanco
Assignee: Chris Laprun
Priority: Minor
Fix For: 2.2.0
Attachments: liferay-regproperty.txt
Env:
- GateIn/EPP as producer - default configuration, only 1 registration property was added
in Producer configuration (+ handlers commented out based on GTNWSRP-243)
- Liferay as consumer - default configuration
There is an error thrown in GateIn log when saving registration of LR consumer (see
attached log).
Is that problem on GateIn/LR side?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira