I've run the tcpmon tool shipped with Axis to try and trace the comms a little more.
One 'odd' behaviour is that if I directly hit the site, I always get the spinning cursor (as previously stated). If I add tcpmon into the mix, the flex clients fault handler is fired: "A fault occurred: Could not retrieve" Anyway, as requested, this is the comms trace from tcpmon. Again, the only differences from the (working) Tomcat deployment is the fact that the server using the Header 'Transfer-encoding: chunked', whereas tomcat is explicitly stating the 'Content-Length'. REQUEST BLOCK - start =================================================================== GET /mtx-claimx/GetData.do?id=userinfo&userName=asimmons HTTP/1.1 Host: 10.1.2.107:8088 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=90AD50658DDABC21CB7AEB8E1F23FABE GET /mtx-claimx/FormData.do?TYPE=GetCurrency&TargetName=GET_CURRENCY HTTP/1.1 Host: walsun2.centervilletech.com:8088 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=90AD50658DDABC21CB7AEB8E1F23FABE GET /crossdomain.xml HTTP/1.1 Host: walsun2.centervilletech.com:8088 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive =================================================================== REQUEST BLOCK - end RESPONSE BLOCK - start =================================================================== HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Thu, 21 Jul 2005 15:33:01 GMT Content-type: text/xml; charset=UTF-8 Transfer-encoding: chunked 0083 <?xml version="1.0" encoding="UTF-8"?> <objects><object uri="ldap:///asimmons"><username>asimmons</username></object></objects> 0 HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Thu, 21 Jul 2005 15:33:01 GMT Content-type: text/xml; charset=UTF-8 Transfer-encoding: chunked 06b8 <?xml version="1.0" encoding="UTF-8"?> <CurrencyList><Currency><CurrencyCode>USD</CurrencyCode><ExchangeRate>1</ExchangeRate><Location>United States</Location></Currency><Currency><CurrencyCode>AUD</CurrencyCode><ExchangeRate>1.2</ExchangeRate><Location>Australia</Location></Currency><Currency><CurrencyCode>BEF</CurrencyCode><ExchangeRate>31.1678</ExchangeRate><Location>Belgium</Location></Currency><Currency><CurrencyCode>CAD</CurrencyCode><ExchangeRate>1.2166</ExchangeRate><Location>Canada</Location></Currency><Currency><CurrencyCode>DKK</CurrencyCode><ExchangeRate>5.7641</ExchangeRate><Location>Denmark</Location></Currency><Currency><CurrencyCode>EUR</CurrencyCode><ExchangeRate>0.7726</ExchangeRate><Location>European Union</Location></Currency><Currency><CurrencyCode>FIM</CurrencyCode><ExchangeRate>4.5938</ExchangeRate><Location>Finland</Location></Currency><Currency><CurrencyCode>DEM</CurrencyCode><ExchangeRate>1.5111</ExchangeRate><Location>Germany</Location></Currency><Currency><CurrencyCode>HKD</CurrencyCode><ExchangeRate>7.7998</ExchangeRate><Location>Hong Kong</Location></Currency><Currency><CurrencyCode>JPY</CurrencyCode><ExchangeRate>107.3486</ExchangeRate><Location>Japan</Location></Currency><Currency><CurrencyCode>MXN</CurrencyCode><ExchangeRate>11.2334</ExchangeRate><Location>Mexico</Location></Currency><Currency><CurrencyCode>RUB</CurrencyCode><ExchangeRate>27.8521</ExchangeRate><Location>Russia</Location></Currency><Currency><CurrencyCode>GBP</CurrencyCode><ExchangeRate>0.5317</ExchangeRate><Location>United Kingdom</Location></Currency><Currency><CurrencyCode>ATS</CurrencyCode><ExchangeRate>10.6316</ExchangeRate><Location>Austria</Location></Currency></CurrencyList> 0 HTTP/1.1 404 Not found Server: Sun-ONE-Web-Server/6.1 Date: Thu, 21 Jul 2005 15:33:01 GMT Content-length: 292 Content-type: text/html <HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1"><TITLE>Not Found</TITLE></HEAD> <H1>Not Found</H1> The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it. =================================================================== RESPONSE BLOCK - end --- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote: > Can you try running a sniffer between your client and the proxy? Looks > like you're seeing what the proxy sees, better see what the client is > actually seeing too. > > > > Sniffer.exe might come if you do the integrated install, otherwise you > can find it from Axis and some other locations (or use a real packet > sniffer like Ethereal). > > > > Matt > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of colinblackmore > Sent: Wednesday, July 20, 2005 11:07 AM > To: [email protected] > Subject: [flexcoders] Problem calling HTTPService under Sun One > WebServer > > > > I am trying to deploy a flex client on Sun's WebServer 6.1 (I know > this is not a supported configuration, but this is the requirement). > > The pages compile and display correctly, but whenever an HTTPService > is called, the client waits indefinitely with the wait cursor on the > screen without calling the result handler. > > The HTTPService is fine, and can be called directly from the browser. > > When tracing the <http-service-proxy-debug> debug logs, one possible > problem is the headers in the response from the service call. The > 'Transfer-encoding: chunked' is not present in the (operational) > Tomcat deployment of the same client. > > Sun WebServer 6.1 (broken) > INFO -- Cookie in response: domain = 'walsun2.centervilletech.com', > path = '/', client name = 'JSESSIONID', endpoint name = 'JSESSIONID', > value = 'A8F7BD1317EB255D3E24C2FD42C70F7F > INFO -- Header in response: Server : Sun-ONE-Web-Server/6.1 > INFO -- Header in response: Date : Wed, 20 Jul 2005 17:28:29 GMT > INFO -- Header in response: Content-type : text/xml; charset=UTF-8 > INFO -- Header in response: Transfer-encoding : chunked > INFO -- Begin GET response -- > INFO <?xml version="1.0" encoding="UTF-8"?> > ... > > Tomcat 5.5 (works) > INFO -- Cookie in response: domain = 'localhost', path = '/', client > name = 'JSESSIONID', endpoint name = 'JSESSIONID', value = > '12494FCC43F01E9ECE2AFD27A6F2066F > INFO -- Header in response: Server : Apache-Coyote/1.1 > INFO -- Header in response: Pragma : No-cache > INFO -- Header in response: Cache-Control : no-cache > INFO -- Header in response: Expires : Wed, 31 Dec 1969 19:00:00 EST > INFO -- Header in response: Content-Type : text/xml;charset=UTF-8 > INFO -- Header in response: Date : Wed, 20 Jul 2005 17:41:09 GMT > INFO -- Begin GET response -- > INFO <?xml version="1.0" encoding="UTF-8"?> > ... > > Has anyone deployed under Sun Webserver 6.1? Is the Transfer-encoding > at fault? Is there a work-around? > > Thanks, in advance. > > ...Col > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > ________________________________ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > ________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

