[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]