OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [wsrp-interop] new tests


Title: [wsrp-interop] new tests

I modified our original test portlet with some of the ToDo test functionality:


0. portlet's wsdl http://andrek.dyndns.org/NETlets/services/andrek.wsdl handle uri:Main:portlet:Main
(look for "Citrix: Interop ExamplePortlet" as description)

1. I now insist on a "password" registration property for this producer (note different producer urls in above wsdl). Property qname is http://www.w3c.org/2001/XMLSchema:string and you must supply value "interop" to register successfully.

2. I exposed 2 portlet properties on get/set factor. You can get/set these. For the markup interface, they have the following meaning:

        string perf1 - a counter that gets converted to an int and incremented on actions
        string test1 - remembers the uploadContext.mimeType of the last upload context

3. The portlet has one file input field (see 2) to help test uploads

4. The porlet has a "wsrp.net" resource link to a html file that requires re-writing. It echos the wsrp_rewrite_ token and includes a resource link to a .ppt (this has rewrite false).

5. releaseSessions() is avail for consumers to try (but I've not fully verified sessions get cleared as our consumer also tosses the session on releaseSession())


And here are my results testing, where possible, with the Oracle consumer (item numbers from above):

1. I see several registration properties but their name and description are blank in the UI. However, if I enter "interop" for all properties then I am able to register & access the portlet (so the password reg property must be being set). status: inconclusive.

3. Uploads seem to work and the "test1" property records a "multipart/form-data" mime type [which I just pass up to the portlet]. status: ok [and this will get tested by others I suspect]

4. the html file seems to get truncated. I think the first token is re-written but the <a> tag is incomplete. The html wsrp-url is http://andrek.dyndns.org/NETlets/resources/resourceWSRP.NET.html (but properly url encoded).

[ak:source of rewritten html]
<head>
<title>WSRP.Net (NETlets)</title>
</head>
<body>
<h1>WSRP.NET (NETlets)</h1>
<p>This is a html resource to rewrite [namespace __ns34_35399_34_31863_31875_]</p>
<br><a href=""http://portalstandards.oracle.com/portal/page?_pageid=34,31863,34_31875&_dad=wsrp&_schema=WSRP&_rtarget=34_35399_34_31863_31875&_piref34_35399_34_31863_

[ak:trucated before end of resource link]
status: broken

Others in progress:

6. Method GET - I can parse the BEA method="GET" form but am waiting to see the submit work to declare this tested.

7. session based optimization: I confirmed that I'm storing templates and profile in the session and a simple test would be to check that a consumer is not asked for these again. Full testing will be difficult.

regards,
Andre




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]