[gatein-issues] [JBoss JIRA] Created: (GTNWSRP-103) Netunity Producer: invalid URL format, missing wsrp-requiresRewrite

Matt Wringe (JIRA) jira-events at lists.jboss.org
Fri Oct 15 17:35:39 EDT 2010


Netunity Producer: invalid URL format, missing wsrp-requiresRewrite
-------------------------------------------------------------------

                 Key: GTNWSRP-103
                 URL: https://jira.jboss.org/browse/GTNWSRP-103
             Project: GateIn WSRP
          Issue Type: Bug
    Affects Versions: 2.0.0-Beta02
         Environment: Netunity producer: http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL
            Reporter: Matt Wringe
            Assignee: Chris Laprun
             Fix For: 2.0.0-Beta03


If using the Netunity producer http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL and loading the 'Rooted Folder Document Portlet' when changing to the help portlet mode, the following error will occur:

Caused by: java.lang.IllegalArgumentException: The parsed parameters are not valid for a resource url. A resource URL must contain either a wsrp-resourceID or wsrp-url and wsrp-requiresRewrite parameter in wsrp-urlType=resource&wsrp-url=http%3a%2f%2fwsrp.netunitysoftware.com%2fWSRPTestService%2fWSRPTestService.asmx%2fgetResource%3FportletHandle%3DE3C98F07-2C61-473a-B303-663B0D20E1B7%26Function%3DResource%26Type%3DGIF%26Name%3DFile

The issue here is that the wsrp-requiresRewrite (which is required according to the wsrp 1 and 2 specs) is not being set. It appears that the portlet is setting the url string itself, it does not look like its an issue with invalid templates or something being set wrong in the gatein code.

Something like this could be dealt with if the we could specify a strict setting for wsrp consumer, but we only allow that value for producers (in this case if the wsrp-requiresRewrite is not set, we will use the default value of false if we are not setup as being strict).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list