[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wsrp-interop] Citrix Producer testing
Hi, now I can reproduce the behaviour described in my first email. It seems we have two problems here: 1. when we start with a valid registration it seems to work right. We get the "perGroup" CookieProtocol and call initCookie() before getMarkup(). 2. when we start with a null registration we register(), getServiceDescription() and then don't call initCookie() because we do not see the "perGroup" setting in the Description. Here it seems to be a weird deserializer problem? I have to investigate further here. We don't see this behaviour when we connect to our producer or to Oracle's producer... The second problem is that our Consumer doesn't seem to deserialize the InvalidCookie fault correctly which would force it to call initCookie(). Here I need to do some more investigation also. So it would be definitly good for me if we had your producer available on friday. Mit freundlichen Gruessen / best regards, Richard Jacob ______________________________________________________ IBM Lab Boeblingen, Germany Dept.8288, WebSphere Portal Server Development Phone: ++49 7031 16-3469 - Fax: ++49 7031 16-4888 Email: mailto:richard.jacob@de.ibm.com |---------+----------------------------> | | Andre Kramer | | | <andre.kramer@eu.| | | citrix.com> | | | | | | 07/09/2003 04:25 | | | PM | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: Richard Jacob/Germany/IBM@IBMDE, Andre Kramer <andre.kramer@eu.citrix.com> | | cc: wsrp-interop@lists.oasis-open.org | | Subject: RE: [wsrp-interop] Citrix Producer testing | >--------------------------------------------------------------------------------------------------------------------------------------------------| I'll make sure it is up all day Friday (and evenings). The gif was a Citrix Logo so your mind must have blanked it out! (but please look out for it, as the Oracle consumer rendered an [X]). I will ask for templates but should be ok if none are sent. regards, Andre -----Original Message----- From: Richard Jacob [mailto:richard.jacob@de.ibm.com] Sent: 09 July 2003 14:58 To: Andre Kramer Cc: wsrp-interop@lists.oasis-open.org Subject: RE: [wsrp-interop] Citrix Producer testing the templates were sent because I first used our test consumer and incidently forgot to switch that off. Unfortunalty I cannot remember if I saw the gif - it was late at night, was it a bright one? :-) But I'll try to check tonight... (if my wife doesn't kill me before that). btw. would it be possible for you to bring your producer up in the afternoon on friday? I could be able to retest on friday starting say 2pm CET (GMT+1 :-) ). Also tonight at 6pm CET would be great, but 7 is still fine. It seems that we didn't recognize the initCookie fault, have to check that. Maybe it's because we changed the faults. But from my memory we use the java class fault to detect the fault, and this one has not changed... Mit freundlichen Gruessen / best regards, Richard Jacob ______________________________________________________ IBM Lab Boeblingen, Germany Dept.8288, WebSphere Portal Server Development Phone: ++49 7031 16-3469 - Fax: ++49 7031 16-4888 Email: mailto:richard.jacob@de.ibm.com |---------+----------------------------> | | Andre Kramer | | | <andre.kramer@eu.| | | citrix.com> | | | | | | 07/09/2003 12:50 | | | PM | |---------+----------------------------> > --------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: wsrp-interop@lists.oasis-open.org | | cc: | | Subject: RE: [wsrp-interop] Citrix Producer testing | > --------------------------------------------------------------------------------------------------------------------------------------------------| Thanks Richard, The nill userContext in (3) would have caused our test portlet problems. I've fixed its bug. This raises a more general question: will producers allow a clone, via cloneOnWrite, if no user context is supplied? I'd certainly like to have a userContextKey to associate with a clone. Also, the template struct you supplied contains no data which is not what I would expect for doesUrlTemplateProcessing, but our producer should have coped with this one. No idea why initCookie is skipped (not clear from you email if the initCookie fault was recognized by your consumer). For (1), could you see the gif and get the resource (html page link)? Could you test again tonight (or later this week)? I'll also check the debug port (maybe something is blocking non-http ports). regards, Andre -----Original Message----- From: Richard Jacob [mailto:richard.jacob@de.ibm.com] Sent: 08 July 2003 21:03 To: wsrp-interop@lists.oasis-open.org Subject: [wsrp-interop] Citrix Producer testing Hi Andre, I tested with your producer. First some good news: I was able to view your portlet and interact with it (action/render links, mode/window state changes). But then I had some trouble with cookies, I'm currently not really able to reproduce it so here is a short description of what happened: 1. my first try worked like a charm called getServiceDescription, register, getServiceDescription, initCookie, getMarkup..., performBlockingInteraction... 2. my second try (after restarting our consumer, i.e. restarting the java VM) called getServiceDescription (with your regHandle from 1.), got description called getMarkup, received InvalidCookie fault. Here our Consumer didn't called initCookie although you set it in your serviceDescription. This seems a little bit weird as we call it whenever you have set it in the SD and we don't have a session associated so far. Also we call it whenever a invalidCookie is thrown (at least we intend :-) ). This worked well in the first try and still works with our producer (and worked with the oracle producer). However I would of course suspect a bug on our side, but unfortunatly I can't reproduce it any more. 3. my third try ends up with a fault on your side after some time I retried your producer again. This time we call getServiceDescription (with reghandle) and receive the SD. Then we call initCookie! (now it works, don't know why, no code change, only new network connection to my ISP and again a JVM restart on the consumer side) which return successfully, the HTTP header contains the set-cookie header. Now we call getMarkup and receive soap fault (the heade contains the cookie). I'll append the message sequence below. So I need to investigate further here, and try to find an explanation. I also tried to go through your monitoring port, but it seemed to be down. Here are the messages of interest for 3.: POST /NETlets/NETlet_Markup.asmx HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.1 Host: localhost:8083 Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:oasis:names:tc:wsrp:v1:initCookie" Content-Length: 497 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <initCookie xmlns="urn:oasis:names:tc:wsrp:v1:types"> <registrationContext> <registrationHandle>uri:NETlet:WSRP4J Swing Consumer.Qpv+PZ2DqWo+ohz_Ixqkbm2McWI=</registrationHandle> </registrationContext> </initCookie> </soapenv:Body> </soapenv:Envelope> ==== Response ==== HTTP/1.0 200 OK Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE), 1.1 JACOBTP. Server: Microsoft-IIS/5.1 Date: Tue, 08 Jul 2003 19:22:21 GMT X-Powered-By: ASP.NET X-AspNet-Version: 1.1.4322 Set-Cookie: ASP.NET_SessionId=ldyu2rrjau5teiefyt0xwy3f; path=/ Cache-Control: private, max-age=0 Content-Type: text/xml; charset=utf-8 Content-Length: 519 <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd ="http://www.w3.org/2001/XMLSchema"> <soap:Header> <wsu:Timestamp xmlns:wsu ="http://schemas.xmlsoap.org/ws/2002/07/utility"> <wsu:Created>2003-07-08T19:22:21Z</wsu:Created> <wsu:Expires>2003-07-08T19:27:21Z</wsu:Expires> </wsu:Timestamp> </soap:Header> <soap:Body> <initCookieResponse xmlns="urn:oasis:names:tc:wsrp:v1:types" /> </soap:Body> </soap:Envelope> ==== Request ==== POST /NETlets/NETlet_Markup.asmx HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.1 Host: localhost:8083 Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup" Content-Length: 1700 Cookie: ASP.NET_SessionId=ldyu2rrjau5teiefyt0xwy3f <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <getMarkup xmlns="urn:oasis:names:tc:wsrp:v1:types"> <registrationContext> <registrationHandle>uri:NETlet:WSRP4J Swing Consumer.Qpv+PZ2DqWo+ohz_Ixqkbm2McWI=</registrationHandle> </registrationContext> <portletContext> <portletHandle>uri:NETlet:portlet:Main</portletHandle> </portletContext> <runtimeContext> <userAuthentication>wsrp:none</userAuthentication> <portletInstanceKey>Citrix_row_col1_p0</portletInstanceKey> <namespacePrefix>Pluto_Citrix_row_col1_p0_</namespacePrefix> <templates> <defaultTemplate xsi:nil="true"/> <secureDefaultTemplate xsi:nil="true"/> </templates> </runtimeContext> <userContext xsi:nil="true"/> <markupParams> <secureClientCommunication>false</secureClientCommunication> <locales>en</locales> <locales>de</locales> <mimeTypes>text/html</mimeTypes> <mode>wsrp:view</mode> <windowState>wsrp:normal</windowState> <clientData> <userAgent>WSRP4J Swing Consumer V. 0.3</userAgent> </clientData> <markupCharacterSets>UTF-8</markupCharacterSets> <validNewModes>wsrp:view</validNewModes> <validNewModes>wsrp:help</validNewModes> <validNewModes>wsrp:edit</validNewModes> <validNewWindowStates>wsrp:normal</validNewWindowStates> <validNewWindowStates>wsrp:maximized</validNewWindowStates> <validNewWindowStates>wsrp:minimized</validNewWindowStates> </markupParams> </getMarkup> </soapenv:Body> </soapenv:Envelope> ==== Response ==== HTTP/1.0 500 Internal Server Error. Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE), 1.1 JACOBTP. Server: Microsoft-IIS/5.1 Date: Tue, 08 Jul 2003 19:22:21 GMT X-Powered-By: ASP.NET X-AspNet-Version: 1.1.4322 Cache-Control: private Content-Type: text/xml; charset=utf-8 Content-Length: 488 <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd ="http://www.w3.org/2001/XMLSchema"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Server was unable to process request. --> Object reference not set to an instance of an object.</faultstring> <detail /> </soap:Fault> </soap:Body> </soap:Envelope> Mit freundlichen Gruessen / best regards, Richard Jacob ______________________________________________________ IBM Lab Boeblingen, Germany Dept.8288, WebSphere Portal Server Development Phone: ++49 7031 16-3469 - Fax: ++49 7031 16-4888 Email: mailto:richard.jacob@de.ibm.com You may leave a Technical Committee at any time by visiting http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]