Compatilibity issues with the NetUnity Resource Download Portlet
----------------------------------------------------------------
Key: GTNWSRP-150
URL:
https://jira.jboss.org/browse/GTNWSRP-150
Project: GateIn WSRP
Issue Type: Bug
Reporter: Matt Wringe
Assignee: Chris Laprun
With the Resource Download portlet from the NetUnity public producer
(
http://www.netunitysoftware.com/wsrp2interop/wsrpproducer.asmx?Operation=...)
we can experience some issues with respect to url encoding.
Steps to reproduce issue:
1) consume the netunity public producer
2) add the resource download portlet to a page
3) select a resource-id from the list (for example:
http://www.netunitysoftware.com/wsrp2interop/images/netUnity.gif)
4) click on 'create hyperlink'
5) click on 'Click Me to test WSRP Resource URL'
When clicking on the 'create hyperlink', this will call a
PerformBlockingInteraction call. Analysing the soap messages through wireshark we can see
that we are sending in fact sending the resource-id as
"http://www.netunitysoftware.com/wsrp2interop/images/netUnity.gif" as a form
parameter.
After the PerformBlockingInteraction call, a GetMarkup call is invoked. During this call
the value returned for the url is
"wsrp_rewrite?wsrp-urlType=resource&wsrp-resourceID=http%3a%2f%2fwww.netunitysoftware.com%2fwsrp2interop%2fimages%2fnetUnity.gif/wsrp_rewrite"
notice how the resource-id is now
"http%3a%2f%2fwww.netunitysoftware.com%2fwsrp2interop%2fimages%2fnetUnity.gif"
(Note: this is the url created by the NetUnity producer, this is not created using the
GateIn wsrp resource url).
If we click on the link to now get the resource, we will receive an OperationFailed fault
from NetUnity:
"org.oasis.wsrp.v2.OperationFailed: Could not find file
'c:\windows\system32\inetsrv\http%3a%2f%2fwww.netunitysoftware.com%2fwsrp2interop%2fimages%2fnetUnity.gif'"
If we modify the resource-id to be the original value
(
http://www.netunitysoftware.com/wsrp2interop/images/netUnity.gif) then we will get the
correct resource during this call.
--
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