You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Vishwas Babu <vi...@gmail.com> on 2008/11/28 13:16:59 UTC
Facing Issues in performing multiple posts over a secure(HTTPS) connection
Hi,
I am trying to make multiple posts over a https channel (basically fill out
an interview process).The first post works fine and the desired response is
obtained from the server, however the second post is causing an internal
Error on the remote server, assuming that the post data and headers are set
correctly is there anything missing in the code (I have used this earlier on
a http connection and it worked fine, so I am wondering if some extra
configuration is required for Https connection)??
Code-------
*import* java.io.IOException;
*import* java.util.ArrayList;
*import* java.util.List;
*import* org.apache.http.NameValuePair;
*import* org.apache.http.client.ResponseHandler;
*import* org.apache.http.client.entity.UrlEncodedFormEntity;
*import* org.apache.http.client.methods.HttpPost;
*import* org.apache.http.cookie.Cookie;
*import* org.apache.http.impl.client.BasicResponseHandler;
*import* org.apache.http.impl.client.DefaultHttpClient;
*import* org.apache.http.message.BasicNameValuePair;
*import* org.apache.http.protocol.HTTP;
*import* org.apache.log4j.BasicConfigurator;
*import* org.apache.log4j.Logger;
*public* *class* DirectPost {
*protected* *final* Logger logger = Logger.*getLogger*(DirectPost.*
class*);
*public* *static* *void* main(String args[]) {
DirectPost postToRemoteServer = *new* DirectPost();
postToRemoteServer.postData();
}
*public* *void* postData() {
String uri;
DefaultHttpClient client;
HttpPost postMethod = *null*;
String sessionCookie = *null*;
*try* {
BasicConfigurator.*configure*();
// The first URI to connect to
uri = "First url goes here";
// Instantiate HttpClient
client = *new* DefaultHttpClient();
// Instantiate the post method
postMethod = *new* HttpPost(uri);
ResponseHandler<String> responseHandler =
*new*BasicResponseHandler();
// Set up all the required request headers
initializeConnectionHeaders(postMethod);
// Execute the first post
String firstResponse = client.execute(postMethod,
responseHandler);
logger.info(firstResponse);
// Second post
HttpPost httpost = *new* HttpPost(
"second url goes here");
List<NameValuePair> nvps = *new*ArrayList<NameValuePair>();
nvps.add(*new* BasicNameValuePair("acceptButton", "I
Agree"));
httpost.setEntity(*new* UrlEncodedFormEntity(nvps, HTTP.*
UTF_8*));
httpost.setHeader("Referer",
"Referer url goes here");
initializeConnectionHeaders(httpost);
firstResponse = client.execute(httpost, responseHandler);
logger.info(firstResponse);
//This response indicates an error at the remote server
} *catch* (IOException e) {
logger.error("Post to remote server Failed caused by" +
e);
}
}
/**
* This method sets up all the required request headers
*
* *@param* method
*/
*private* *void* initializeConnectionHeaders(HttpPost method) {
method.setHeader("Content-Type",
"application/x-www-form-urlencoded");
method
.setHeader(
"User-Agent",
"Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3");
method.setHeader("Connection", "keep-alive");
method.setHeader("Keep-Alive", "300");
method
.setHeader("Accept",
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
method.setHeader("Accept-Language", "en-us,en;q=0.5");
method.setHeader("Accept-Encoding", "gzip,deflate");
method.setHeader("Accept-Charset",
"ISO-8859-1,utf-8;q=0.7,*;q=0.7");
}
}
With warm regards,
Vishwas
Re: Facing Issues in performing multiple posts over a secure(HTTPS) connection
Posted by Vishwas Babu <vi...@gmail.com>.
>
> Hi sebb / Oleg,
>
Thanks for the help and suggestions,
The actual issue was with the second URL itself -
1) I was obtaining the URL for the second POST by parsing the response
for the first GET , here the '&' symbol in the URL was being encoded to
'&' ,hence the second POST was made to the wrong URL ('&' in place of
'&').
I am really enjoying using HttpClient, much simpler and elegant vis-à-vis
java.net packages
Thanks again for all the help,
Vishwas
Re: Facing Issues in performing multiple posts over a secure(HTTPS) connection
Posted by sebb <se...@gmail.com>.
On 01/12/2008, Vishwas Babu <vi...@gmail.com> wrote:
> Hi sebb,
>
> Thanks for the reply. I am facing the same issue after manually handling the
> redirect on the second post.
You have not sent the POST parameter.
> Also,I am getting the following message in the log before following the
> redirect on the second post.
>
> // Log extract
>
> 6469 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
>
> connection for route HttpRoute[{s}->https://sw.wilytech.com]
>
>
> 6469 [main] WARN org.apache.http.impl.conn.SingleClientConnManager - Invalid
> use of SingleClientConnManager: connection still allocated.
>
> Make sure to release the connection before allocating another one.
See below.
> 6469 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection -
> Connection shut down
> Thanks,
>
> Vishwas
>
> PS: I have attached the modified lines of code and the log.
>
>
> //Code change for the second post
>
> HttpClientParams.*setRedirecting*(httpParams,
> *false*);
>
> client.setParams(httpParams);
>
> HttpResponse httpResponse = client.execute(httpost);
>
> Header locationHeader = httpResponse.getHeaders("location")[0];
You need to finish the response. Try using the ResponseHandler as you
did in the other requests.
> // Manually follow the redirect and do a post to the location URL
>
> HttpPost httpost1 =
> *new* HttpPost(locationHeader.getValue());
>
> httpost1.setHeader(
> "Referer",
>
> "https://sw.wilytech.com/ProductRegistration/registration;?path=0") ;
>
> initializeConnectionHeaders(httpost1);
>
Where is the parameter set?
> firstResponse = client.execute(httpost1, responseHandler);
>
>
>
If you have any further issues, I suggest you compare what a browser
sends with what your program is sending. Some browsers have addons
that allow you to record the HTTP(S) traffic.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Facing Issues in performing multiple posts over a secure(HTTPS) connection
Posted by Vishwas Babu <vi...@gmail.com>.
Hi sebb,
Thanks for the reply. I am facing the same issue after manually handling the
redirect on the second post.
Also,I am getting the following message in the log before following the
redirect on the second post.
// Log extract
6469 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
connection for route HttpRoute[{s}->https://sw.wilytech.com]
6469 [main] WARN org.apache.http.impl.conn.SingleClientConnManager - Invalid
use of SingleClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
6469 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection -
Connection shut down
Thanks,
Vishwas
PS: I have attached the modified lines of code and the log.
//Code change for the second post
HttpClientParams.*setRedirecting*(httpParams,
*false*);
client.setParams(httpParams);
HttpResponse httpResponse = client.execute(httpost);
Header locationHeader = httpResponse.getHeaders("location")[0];
// Manually follow the redirect and do a post to the location URL
HttpPost httpost1 =
*new* HttpPost(locationHeader.getValue());
httpost1.setHeader(
"Referer",
"https://sw.wilytech.com/ProductRegistration/registration;?path=0") ;
initializeConnectionHeaders(httpost1);
firstResponse = client.execute(httpost1, responseHandler);
//Log
0 [main] INFO DirectPost - ---------------------------No cookies
Present----------------
500 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.max-redirects': null
500 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
500 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
500 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
515 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.conn-manager.timeout': null
515 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
connection for route HttpRoute[{s}->https://sw.wilytech.com]
531 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.stalecheck': null
531 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector - Stale
connection check
531 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector - Stale
connection detected
531 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection -
Connection closed
1219 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.timeout': null
1219 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.timeout': null
3281 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.tcp.nodelay': null
3281 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.timeout': null
3281 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.linger': null
3281 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.buffer-size': null
3281 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.element-charset': null
3281 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-line-length': null
3297 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.element-charset': null
3312 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-header-count': null
3312 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-line-length': null
3312 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-status-line-garbage': null
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3328 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
3328 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
3344 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
3344 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
3375 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3375 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 1 to execute request
3375 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3375 [main] DEBUG org.apache.http.wire - >> "POST
/ProductRegistration/registration HTTP/1.1[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Content-Length: 0[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
3375 [main] DEBUG org.apache.http.wire - >> "[EOL]"
3375 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3375 [main] DEBUG org.apache.http.headers - >> POST
/ProductRegistration/registration HTTP/1.1
3375 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
3375 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
3375 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
3375 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
3375 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3375 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
3375 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
3375 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
3375 [main] DEBUG org.apache.http.headers - >> Content-Length: 0
3375 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
3375 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4422 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 302 Moved
Temporarily[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Date: Mon, 01 Dec 2008
08:31:53 GMT[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Set-Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067; Path=/ProductRegistration;
Secure[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Location:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0[EOL]
"
4422 [main] DEBUG org.apache.http.wire - << "Content-Length: 0[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=100[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
4422 [main] DEBUG org.apache.http.wire - << "Content-Type: text/plain;
charset=ISO-8859-1[EOL]"
4437 [main] DEBUG org.apache.http.headers - << HTTP/1.1 302 Moved
Temporarily
4437 [main] DEBUG org.apache.http.headers - << Date: Mon, 01 Dec 2008
08:31:53 GMT
4437 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
4437 [main] DEBUG org.apache.http.headers - << Set-Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067; Path=/ProductRegistration;
Secure
4437 [main] DEBUG org.apache.http.headers - << Location:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0
4437 [main] DEBUG org.apache.http.headers - << Content-Length: 0
4437 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=100
4437 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
4437 [main] DEBUG org.apache.http.headers - << Content-Type: text/plain;
charset=ISO-8859-1
4437 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4453 [main] DEBUG org.apache.http.client.protocol.ResponseProcessCookies -
Cookie accepted: "[version: 0][name: JSESSIONID][value:
4D3D9075C4053A6BC7461DEE5242F067][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null]".
4453 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': null
4453 [main] DEBUG org.apache.http.impl.client.DefaultRedirectHandler -
Redirect requested to location '
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0
'
4453 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.allow-circular-redirects': null
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
4469 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Redirecting to '
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0'
via HttpRoute[{s}->https://sw.wilytech.com]
4469 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Connection kept alive
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
4469 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
4469 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
Cookie [version: 0][name: JSESSIONID][value:
4D3D9075C4053A6BC7461DEE5242F067][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null] match [(secure)
sw.wilytech.com:443/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067
]
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 2 to execute request
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.wire - >> "GET
/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0
HTTP/1.1[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "Cookie2: $Version=1[EOL]"
4469 [main] DEBUG org.apache.http.wire - >> "[EOL]"
4469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4469 [main] DEBUG org.apache.http.headers - >> GET
/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0
HTTP/1.1
4469 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
4469 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
4469 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
4469 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
4469 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
4469 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
4469 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
4469 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
4469 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
4469 [main] DEBUG org.apache.http.headers - >> Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067
4469 [main] DEBUG org.apache.http.headers - >> Cookie2: $Version=1
5250 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Date: Mon, 01 Dec 2008
08:31:54 GMT[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Content-Language: en-US[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=99[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Transfer-Encoding:
chunked[EOL]"
5250 [main] DEBUG org.apache.http.wire - << "Content-Type:
text/html;charset=UTF-8[EOL]"
5250 [main] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
5250 [main] DEBUG org.apache.http.headers - << Date: Mon, 01 Dec 2008
08:31:54 GMT
5250 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
5250 [main] DEBUG org.apache.http.headers - << Content-Language: en-US
5250 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=99
5250 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
5250 [main] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
5250 [main] DEBUG org.apache.http.headers - << Content-Type:
text/html;charset=UTF-8
5250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': null
5250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-authentication': null
5265 [main] DEBUG org.apache.http.wire - << "1ff8[EOL]"
5625 [main] DEBUG org.apache.http.wire - << "<html>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<span> [\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<head>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<title>CA | Wily Product
Registration</title>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<meta http-equiv="Pragma"
content="no-cache">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<meta name="robots"
content="noindex,nofollow">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<meta
http-equiv="Window-target" content="_top">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<meta name="language"
content="en-us">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<link rel="stylesheet"
href="css/bizapps.css">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<link rel="icon"
href="favicon.ico"/>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<script
src="scripts/bizapps.js" language="JavaScript"></script>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<script language="JavaScript"
type="text/javascript">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " setFocus();[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "</script>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "</head>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<body marginheight="0"
leftmargin="0" onLoad="setFocus()" topmargin="0" marginwidth="0"
rightmargin="0" bottommargin="0" bgcolor="#EBEBEB">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << "<table width="748" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td colspan="2"><img
src="images/_.gif" width="10" height="10"></td>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td><a href="
http://www.wilytech.com/"><img src="images/logo.gif" alt="wily | ca"
width="195" height="66" border="0" ></a></td>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td align="right"
valign="top">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <!-- insert menu
-->[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <table width="448"
border="0" cellpadding="0" cellspacing="0">[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a href="http://community.wilytech.com/"><img
src="images/icon-comm-t.gif" alt="Community" width=14 height=13 border=0
align="left">Community</a></p></td>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a href="http://www.wilytech.com/partneraccess/"><img
src="images/icon-part-t.gif" alt="Partner Access" width=16 height=13
border=0 align="left">Partner Access</a></p></td>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a href="http://www.wilytech.com/sitemap.html"><img
src="images/icon-site-t.gif" alt="Site Map" width=16 height=13 border=0
align="left">Site Map</a></p></td>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a href="http://www.wilytech.com/company/contact.html"><img
src="images/icon-cont-t.gif" alt="Contact" width=14 height=13 border=0
align="left">Contact</a></p></td>[\r][\n]"
5625 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a href="http://www.wilytech.co.jp/"
onMouseOver="japantext.src='images/icon-Japan-text-t2.gif';"
onMouseOut="japantext.src='images/icon-Japan-text-t.gif';"><img
src="images/icon-Japan-text-t.gif" alt="Japanese Site" name="japantext"
width=32 height=13 hspace="2" border=0 id="japantext"></a></p></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <!-- End -->[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9]</td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "<script
src="scripts/WilyFlat.js" language="JavaScript"></script>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "<table width="748" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td valign="top"><table
width="700" border="0" cellspacing="0" cellpadding="0">[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td
background="images/nav-bg.gif"><img src="images/nav-bg.gif" width="50"
height="40"></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/WilySoftwareRegistration.gif" width=480 height=30 alt="WILY
TECHNOLOGY SOFTWARE REGISTRATION"><img src="images/e-company.gif" width=220
height=30></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td
valign="top"><table width="700" border="0" cellspacing="0"
cellpadding="0">[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="12" height="12"></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="468" height="12"></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="12" height="12"></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="208" height="12"></td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td width="12"
valign="top"> </td>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td width="468"
valign="top">[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <table width="468"
border="0" cellspacing="0" cellpadding="0">[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <td
valign="top" >[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9] <!--
main body content -->[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9]
[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9][\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " <span>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "<span> [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<h1> Wily Product
Registration Usage Agreement</h1>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [0x9][0x9][\r][\n]"
5640 [main] DEBUG org.apache.http.wire - <<
"[0x9][0x9]<p> </p>[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "
[0x9][0x9][0x9][\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [0x9][0x9][\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << "[0x9]<form id="agreementForm"
action="/ProductRegistration/registration?path=0:border:agreementPanel:border:agreementForm&interface=IFormSubmitListener"
method="post">[\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [0x9][0x9][\r][\n]"
5640 [main] DEBUG org.apache.http.wire - << " [0x9]<textarea
cols="50" name="agreementTextArea" readonly="true" rows="16">CA, INC.[\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\n]"
5640 [main] DEBUG org.apache.http.wire - << "PRODUCT REGISTRATION SITE
TERMS OF SERVICE (TOS)[\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\n]"
5640 [main] DEBUG org.apache.http.wire - << "This site is for use solely by
customers of CA Inc. to facilitate registration of licensed products. Site
usage is monitored.[\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\n]"
5640 [main] DEBUG org.apache.http.wire - << "By clicking on [I Agree] below
you represent that you are an employee of an authorized CA customer and that
you have rightfully received authorization for access.[\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\n]"
5640 [main] DEBUG org.apache.http.wire - << "All information on this site
is CA Confidential Information. Access to this site may be suspended at any
time, without notice, if CA has reason to believe that any unauthorized
usage has occurred.[\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\n]"
5640 [main] DEBUG org.apache.http.wire - << "CA is committed to protecting
your privacy. The personal information we collect on this registration page
will be used worldwide by CA and any entity within the CA group of companies
and its subcontractors and partners and in countries that may have weaker
data privacy laws than your country. [\n]"
5640 [main] DEBUG org.apache.http.wire - << "[\n]"
5656 [main] DEBUG org.apache.http.wire - << "The data collected on this
form will be used to process your license registration and send you a valid
license file. [\n]"
5656 [main] DEBUG org.apache.http.wire - << "[\n]"
5656 [main] DEBUG org.apache.http.wire - << "By clicking on the [I Agree]
button, you are confirming you have read the privacy policy (
http://ca.com/us/privacy) and are giving your consent to this use of your
personal information. [\n]"
5656 [main] DEBUG org.apache.http.wire - << "</textarea>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " [0x9]<br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<p/>[0x9][\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<input
name="acceptButton" value="I Agree" type="submit"/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - <<
"[0x9][0x9] [\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<input
onClick="return disagree();" name="declineButton" value="Decline"
type="submit"/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9]</form>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </span> [\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "</span>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9] [0x9] <!-- end
main body content -->[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - <<
"[0x9][0x9][0x9][0x9][0x9]</td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "
</table></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "
<td> </td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td width="208"
valign="top">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <table
width="208" border="0" cellspacing="0" cellpadding="0">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td
bgcolor="#FFFFFF"><img src="images/introscope.gif" width="202" height="45"
hspace="0" vspace="6" align="right"> </td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </table>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <table width="208"
border="0" cellspacing="0" cellpadding="0">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td
bgcolor="#FFFFFF">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <h2>Wily
Support</h2>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <!-- Support
contact -->[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <p>1 888 GET
WILY ext. 1 < U.S. toll free > <br>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " +1 630
505 6966 < U.S. ><br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][0x9]+44
(0)870 351 6752 < Europe ><br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][0x9]+81 3
6868 2300 < Asia-Pacific ><br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][0x9]0120
974 580 < Japan toll free ><br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <a href="
http://www.wilytech.com/support/index.html">Website Support</a>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "
<br/>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "
</p>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <!-- End
support contact -->[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9]
</td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "
</table></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td
colspan="4"><img src="images/_.gif" width="12" height="12"></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </table></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <!-- Include footer
-->[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "<table width="700" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "<tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td width="10"
align="right" bgcolor="#FFFFFF"><img src="images/_.gif" width="12"
height="12" /></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td width="558"
bgcolor="#FFFFFF">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << "[0x9]<table width="558"
border="0" cellspacing="0" cellpadding="0">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a
href="http://www.wilytech.com/solutions/index.html">Solutions</a>
.. <a href="http://www.wilytech.com/solutions/products/index.html">Products</a>
.. <a href="http://www.wilytech.com/services/index.html">Services</a>
.. <a href="http://www.wilytech.com/support/index.html">Support</a>
.. <a href="http://www.wilytech.com/news/index.html">News &
Events</a> .. <a href="
http://www.wilytech.com/company/index.html
">About Wily</a></p></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td><table
width="440" border="0" cellpadding="0" cellspacing="0">[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a href="http://community.wilytech.com/"><img
src="images/icon-comm-b.gif" alt="Community" width=10 height=13 border=0
align="left">Community</a></p></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a href="h"
5656 [main] DEBUG org.apache.http.wire - << "[\r]"
5656 [main] DEBUG org.apache.http.wire - << "[\n]"
5656 [main] DEBUG org.apache.http.wire - << "834[EOL]"
5656 [main] DEBUG org.apache.http.wire - << "ttp://
www.wilytech.com/partneraccess/"><img src="images/icon-part-b.gif"
alt="Partner Access" width=16 height=13 border=0
align="left">Partner Access</a></td>[\r][\n]"
5656 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a href="http://www.wilytech.com/sitemap.html"><img
src="images/icon-site-b.gif" alt="Site Map" width=15 height=13 border=0
align="left">Site Map</a></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "<p class="foot"><a href="
http://www.wilytech.com/company/contact.html"><img
src="images/icon-cont-b.gif" alt="Contact" width=12 height=13 border=0
align="left">Contact</a></p></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "<a href="
http://www.wilytech.co.jp/"
onMouseOver="japantext2.src='images/icon-Japan-text-b2.gif';"
onMouseOut="japantext2.src='images/icon-Japan-text-b.gif';"><img
src="images/icon-Japan-text-b.gif" alt="Japanese Site" name="japantext2"
width=28 height=13 hspace="2" border=0 id="japantext2"></a></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </table>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "[0x9] </td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td
width="558">[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "<p class="foot"><a href="
http://www.wilytech.com/">© 2008 CA.</a> .. <a href="
http://www.wilytech.com/legalNotice.html">Legal Notices</a> ..
<a href="http://www.wilytech.com/privacy.html
">PRIVACY</a></p></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </table></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td width="130"
align="right" bgcolor="#FFFFFF"><a href="http://ca.com/"><img
src="images/ca.gif" alt="ca" width="61" height="38" hspace="8" border="0"
/></a></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td width="700"
colspan="3"><img src="images/_.gif" width="12" height="12"></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </table> [\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <!-- End footer
-->[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </table></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td width="48"
valign="top"><img src="images/enterpriseApplicationManage.gif" width=48
height=395 border=0 alt="Enterprise Application Management"></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "<table width="100%" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " <td width="360"
background="images/bottombar.gif"><img src="images/bottombar.gif" width=50
height=7></td>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "</body>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "</span> [\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "</html>[\r][\n]"
5672 [main] DEBUG org.apache.http.wire - << "[\r]"
5672 [main] DEBUG org.apache.http.wire - << "[\n]"
5672 [main] DEBUG org.apache.http.wire - << "0[EOL]"
5672 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager -
Releasing connection
org.apache.http.impl.conn.SingleClientConnManager$ConnAdapter@185572a
5687 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.max-redirects': null
5687 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
5687 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
5687 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
5687 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.conn-manager.timeout': null
5687 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
connection for route HttpRoute[{s}->https://sw.wilytech.com]
5703 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.stalecheck': null
5703 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Stale connection check
5703 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
5703 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5703 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
5703 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.expect-continue': true
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
5719 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
5719 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
Cookie [version: 0][name: JSESSIONID][value:
4D3D9075C4053A6BC7461DEE5242F067][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null] match [(secure)
sw.wilytech.com:443/ProductRegistration/registration]
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 1 to execute request
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.wire - >> "POST
/ProductRegistration/registration?path=0:border:agreementPanel:border:agreementForm&interface=IFormSubmitListener
HTTP/1.1[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0[EOL]
"
5719 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Content-Length: 1250[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Expect: 100-Continue[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "Cookie2: $Version=1[EOL]"
5719 [main] DEBUG org.apache.http.wire - >> "[EOL]"
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.headers - >> POST
/ProductRegistration/registration?path=0:border:agreementPanel:border:agreementForm&interface=IFormSubmitListener
HTTP/1.1
5719 [main] DEBUG org.apache.http.headers - >> Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0
5719 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
5719 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
5719 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
5719 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
5719 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
5719 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
5719 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
5719 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
5719 [main] DEBUG org.apache.http.headers - >> Content-Length: 1250
5719 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
5719 [main] DEBUG org.apache.http.headers - >> Expect: 100-Continue
5719 [main] DEBUG org.apache.http.headers - >> Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067
5719 [main] DEBUG org.apache.http.headers - >> Cookie2: $Version=1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
5719 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.wait-for-continue': null
6078 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 100 Continue[EOL]"
6078 [main] DEBUG org.apache.http.headers - << HTTP/1.1 100 Continue
6078 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
6094 [main] DEBUG org.apache.http.wire - >>
"agreementTextArea=CA%2C+INC.%0A%0APRODUCT+REGISTRATION+SITE+TERMS+OF+SERVICE+%28TOS%29%0A%0AThis+site+is+for+use+solely+by+customers+of+CA+Inc.+to+facilitate+registration+of+licensed+products.+Site+usage+is+monitored.%0A%0ABy+clicking+on+%5BI+Agree%5D+below+you+represent+that+you+are+an+employee+of+an+authorized+CA+customer+and+that+you+have+rightfully+received+authorization+for+access.%0A%0AAll+information+on+this+site+is+CA+Confidential+Information.+Access+to+this+site+may+be+suspended+at+any+time%2C+without+notice%2C+if+CA+has+reason+to+believe+that+any+unauthorized+usage+has+occurred.%0A%0ACA+is+committed+to+protecting+your+privacy.+The+personal+information+we+collect+on+this+registration+page+will+be+used+worldwide+by+CA+and+any+entity+within+the+CA+group+of+companies+and+its+subcontractors+and+partners+and+in+countries+that+may+have+weaker+data+privacy+laws+than+your+country.+%0A%0AThe+data+collected+on+this+form+will+be+used+to+process+your+license+registration+and+send+you+a+valid+license+file.+%0A%0ABy+clicking+on+the+%5BI+Agree%5D+button%2C+you+are+confirming+you+have+read+the+privacy+policy+%28http%3A%2F%2Fca.com%2Fus%2Fprivacy%29+and+are+giving+your+consent+to+this+use+of+your+personal+information.&acceptButton=I+Agree"
6469 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 302 Moved
Temporarily[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Date: Mon, 01 Dec 2008
08:31:55 GMT[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Location:
https://sw.wilytech.com/ProductRegistration/registration?path=1[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Content-Length: 0[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=98[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
6469 [main] DEBUG org.apache.http.wire - << "Content-Type: text/plain;
charset=ISO-8859-1[EOL]"
6469 [main] DEBUG org.apache.http.headers - << HTTP/1.1 302 Moved
Temporarily
6469 [main] DEBUG org.apache.http.headers - << Date: Mon, 01 Dec 2008
08:31:55 GMT
6469 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
6469 [main] DEBUG org.apache.http.headers - << Location:
https://sw.wilytech.com/ProductRegistration/registration?path=1
6469 [main] DEBUG org.apache.http.headers - << Content-Length: 0
6469 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=98
6469 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
6469 [main] DEBUG org.apache.http.headers - << Content-Type: text/plain;
charset=ISO-8859-1
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': false
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-authentication': null
6469 [main] INFO DirectPost - The response obtained from the second post is
-------->HTTP/1.1 302 Moved Temporarily
6469 [main] INFO DirectPost - ---------------------------------------The
cookies after second post
6469 [main] INFO DirectPost - -[version: 0][name: JSESSIONID][value:
4D3D9075C4053A6BC7461DEE5242F067][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null]
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.max-redirects': null
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.conn-manager.timeout': null
6469 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
connection for route HttpRoute[{s}->https://sw.wilytech.com]
6469 [main] WARN org.apache.http.impl.conn.SingleClientConnManager -
Invalid use of SingleClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
6469 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection -
Connection shut down
6469 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.stalecheck': null
6469 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Stale connection check
6484 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Stale connection detected
6484 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection -
Connection closed
6484 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.timeout': null
6484 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.timeout': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.tcp.nodelay': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.timeout': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.linger': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.buffer-size': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.element-charset': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-line-length': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.element-charset': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-header-count': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-line-length': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-status-line-garbage': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7234 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
7250 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
7250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
7250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
7250 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
Cookie [version: 0][name: JSESSIONID][value:
4D3D9075C4053A6BC7461DEE5242F067][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null] match [(secure)
sw.wilytech.com:443/ProductRegistration/registration]
7250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7250 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 1 to execute request
7250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7250 [main] DEBUG org.apache.http.wire - >> "POST
/ProductRegistration/registration?path=1 HTTP/1.1[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0[EOL]
"
7250 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Content-Length: 0[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "Cookie2: $Version=1[EOL]"
7250 [main] DEBUG org.apache.http.wire - >> "[EOL]"
7250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7250 [main] DEBUG org.apache.http.headers - >> POST
/ProductRegistration/registration?path=1 HTTP/1.1
7250 [main] DEBUG org.apache.http.headers - >> Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=4D3D9075C4053A6BC7461DEE5242F067?path=0
7250 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
7250 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
7250 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
7250 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
7250 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
7250 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
7250 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
7250 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
7250 [main] DEBUG org.apache.http.headers - >> Content-Length: 0
7250 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
7250 [main] DEBUG org.apache.http.headers - >> Cookie:
JSESSIONID=4D3D9075C4053A6BC7461DEE5242F067
7250 [main] DEBUG org.apache.http.headers - >> Cookie2: $Version=1
7250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7640 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[EOL]"
7640 [main] DEBUG org.apache.http.wire - << "Date: Mon, 01 Dec 2008
08:31:56 GMT[EOL]"
7640 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
7640 [main] DEBUG org.apache.http.wire - << "Content-Length: 678[EOL]"
7640 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=100[EOL]"
7640 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
7640 [main] DEBUG org.apache.http.wire - << "Content-Type:
text/html;charset=UTF-8[EOL]"
7640 [main] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
7640 [main] DEBUG org.apache.http.headers - << Date: Mon, 01 Dec 2008
08:31:56 GMT
7640 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
7640 [main] DEBUG org.apache.http.headers - << Content-Length: 678
7640 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=100
7640 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
7640 [main] DEBUG org.apache.http.headers - << Content-Type:
text/html;charset=UTF-8
7640 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
7640 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': false
7640 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-authentication': null
7640 [main] DEBUG org.apache.http.wire - << "<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"[\n]"
7640 [main] DEBUG org.apache.http.wire - << " "
http://www.w3.org/TR/html4/loose.dtd">[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<html>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<head>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<title>Internal
Error</title>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<style type="text/css">[\n]"
7640 [main] DEBUG org.apache.http.wire - << "body {margin-left :
2em;font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 'sans';font-size:
9pt;line-height: 1.8em;}[\n]"
7640 [main] DEBUG org.apache.http.wire - << "h1,h2,h3,h4,h5,h6,h7,h8
{color: #E9601A;}[\n]"
7640 [main] DEBUG org.apache.http.wire - << "h1 {font-size : 1.5em;}[\n]"
7640 [main] DEBUG org.apache.http.wire - << "pre, table, td { font-family :
'MS Trebuchet', 'Verdana', Arial, Helvetica; font-size : 10pt;
line-height:1.2em;}[\n]"
7640 [main] DEBUG org.apache.http.wire - << "</style>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "</head>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<body>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<h1>Internal error</h1>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<p>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "<a
href="/ProductRegistration/registration?bookmarkablePage=com.wily.bizapps.registration.HomePage">Return
to home page</a>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "</p>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "</body>[\n]"
7640 [main] DEBUG org.apache.http.wire - << "</html>[\n]"
7640 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager -
Releasing connection
org.apache.http.impl.conn.SingleClientConnManager$ConnAdapter@1b32627
Re: Facing Issues in performing multiple posts over a secure(HTTPS) connection
Posted by sebb <se...@gmail.com>.
On 30/11/2008, Vishwas Babu <vi...@gmail.com> wrote:
> Hi Oleg,
>
> Thanks for the reply, please find the log below
>
> Thanks and Regards,
> Vishwas
>
>
I could be wrong, but it looks to me as though the redirect for the
second POST is causing the problem.
The sequence is:
>> POST /ProductRegistration/registration?path=0:...
<< Location: https://sw.wilytech.com/ProductRegistration/registration?path=1
>> GET /ProductRegistration/registration?path=1
The GET is generated automatically by HttpClient when it sees the redirect.
[It is not allowed to resend the POST without user interaction]
It is likely that the server is only expecting a POST, and does not
react well to the GET.
You may be able to avoid the redirect by using ?path=1 in the POST.
If not, you will need to handle the redirect yourself, e.g. by
switching off automatic redirect handling.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Facing Issues in performing multiple posts over a secure(HTTPS) connection
Posted by Vishwas Babu <vi...@gmail.com>.
Hi Oleg,
Thanks for the reply, please find the log below
Thanks and Regards,
Vishwas
0 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.max-redirects': null
0 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
0 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
0 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
16 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.conn-manager.timeout': null
16 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
connection for route HttpRoute[{s}->https://sw.wilytech.com]
16 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.stalecheck': null
16 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector - Stale
connection check
16 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector - Stale
connection detected
16 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection -
Connection closed
407 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.timeout': null
407 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.timeout': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.tcp.nodelay': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.timeout': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.linger': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.socket.buffer-size': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.element-charset': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-line-length': null
1641 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.element-charset': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-header-count': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-line-length': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.max-status-line-garbage': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
1672 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
1672 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
1704 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1704 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 1 to execute request
1704 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1704 [main] DEBUG org.apache.http.wire - >> "POST
/ProductRegistration/registration[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Content-Length: 0[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
1704 [main] DEBUG org.apache.http.wire - >> "[EOL]"
1704 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
1704 [main] DEBUG org.apache.http.headers - >> POST
/ProductRegistration/registration HTTP/1.1
1704 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
1704 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
1704 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
1704 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
1704 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
1704 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
1704 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
1704 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
1704 [main] DEBUG org.apache.http.headers - >> Content-Length: 0
1704 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
1704 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2250 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 302 Moved
Temporarily[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Date: Sun, 30 Nov 2008
17:15:34 GMT[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Set-Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A; Path=/ProductRegistration;
Secure[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Location:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0[EOL
]"
2266 [main] DEBUG org.apache.http.wire - << "Content-Length: 0[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=100[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
2266 [main] DEBUG org.apache.http.wire - << "Content-Type: text/plain;
charset=ISO-8859-1[EOL]"
2266 [main] DEBUG org.apache.http.headers - << HTTP/1.1 302 Moved
Temporarily
2266 [main] DEBUG org.apache.http.headers - << Date: Sun, 30 Nov 2008
17:15:34 GMT
2266 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
2266 [main] DEBUG org.apache.http.headers - << Set-Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A; Path=/ProductRegistration;
Secure
2266 [main] DEBUG org.apache.http.headers - << Location:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0
2266 [main] DEBUG org.apache.http.headers - << Content-Length: 0
2266 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=100
2266 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
2266 [main] DEBUG org.apache.http.headers - << Content-Type: text/plain;
charset=ISO-8859-1
2266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2266 [main] DEBUG org.apache.http.client.protocol.ResponseProcessCookies -
Cookie accepted: "[version: 0][name: JSESSIONID][value:
383ACAD8A390FDC33C4E827F2AA2C04A][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null]".
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': null
2282 [main] DEBUG org.apache.http.impl.client.DefaultRedirectHandler -
Redirect requested to location '
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0
'
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.allow-circular-redirects': null
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
2282 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Redirecting to '
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0'
via HttpRoute[{s}->https://sw.wilytech.com]
2282 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Connection kept alive
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
2282 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
2282 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
Cookie [version: 0][name: JSESSIONID][value:
383ACAD8A390FDC33C4E827F2AA2C04A][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null] match [(secure)
sw.wilytech.com:443/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A
]
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 2 to execute request
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.wire - >> "GET
/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0
HTTP/1.1[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "Cookie2: $Version=1[EOL]"
2282 [main] DEBUG org.apache.http.wire - >> "[EOL]"
2282 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2282 [main] DEBUG org.apache.http.headers - >> GET
/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0
HTTP/1.1
2282 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
2282 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
2282 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
2282 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
2282 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
2282 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
2282 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
2282 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
2282 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
2282 [main] DEBUG org.apache.http.headers - >> Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A
2282 [main] DEBUG org.apache.http.headers - >> Cookie2: $Version=1
2922 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Date: Sun, 30 Nov 2008
17:15:35 GMT[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Content-Language: en-US[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=99[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Transfer-Encoding:
chunked[EOL]"
2922 [main] DEBUG org.apache.http.wire - << "Content-Type:
text/html;charset=UTF-8[EOL]"
2938 [main] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
2938 [main] DEBUG org.apache.http.headers - << Date: Sun, 30 Nov 2008
17:15:35 GMT
2938 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
2938 [main] DEBUG org.apache.http.headers - << Content-Language: en-US
2954 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=99
2954 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
2954 [main] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
2954 [main] DEBUG org.apache.http.headers - << Content-Type:
text/html;charset=UTF-8
2954 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
2954 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': null
2954 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-authentication': null
2954 [main] DEBUG org.apache.http.wire - << "1ff8[EOL]"
3219 [main] DEBUG org.apache.http.wire - << "<html>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<span> [\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<head>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<title>CA | Wily Product
Registration</title>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<meta http-equiv="Pragma"
content="no-cache">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<meta name="robots"
content="noindex,nofollow">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<meta
http-equiv="Window-target" content="_top">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<meta name="language"
content="en-us">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<link rel="stylesheet"
href="css/bizapps.css">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<link rel="icon"
href="favicon.ico"/>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<script
src="scripts/bizapps.js" language="JavaScript"></script>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<script language="JavaScript"
type="text/javascript">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " setFocus();[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "</script>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "</head>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<body marginheight="0"
leftmargin="0" onLoad="setFocus()" topmargin="0" marginwidth="0"
rightmargin="0" bottommargin="0" bgcolor="#EBEBEB">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<table width="748" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td colspan="2"><img
src="images/_.gif" width="10" height="10"></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td><a href="
http://www.wilytech.com/"><img
<http://www.wilytech.com/%22%3E%3Cimg>src="images/logo.gif" alt="wily
| ca" width="195" height="66" border="0"
></a></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td align="right"
valign="top">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <!-- insert menu
-->[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <table width="448"
border="0" cellpadding="0" cellspacing="0">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a
href="http://community.wilytech.com/"><img<http://community.wilytech.com/%22%3E%3Cimg>src="images/icon-comm-t.gif"
alt="Community" width=14 height=13 border=0
align="left">Community</a></p></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a
href="http://www.wilytech.com/partneraccess/"><img<http://www.wilytech.com/partneraccess/%22%3E%3Cimg>src="images/icon-part-t.gif"
alt="Partner Access" width=16 height=13
border=0 align="left">Partner Access</a></p></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a
href="http://www.wilytech.com/sitemap.html"><img<http://www.wilytech.com/sitemap.html%22%3E%3Cimg>src="images/icon-site-t.gif"
alt="Site Map" width=16 height=13 border=0
align="left">Site Map</a></p></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a
href="http://www.wilytech.com/company/contact.html"><img<http://www.wilytech.com/company/contact.html%22%3E%3Cimg>src="images/icon-cont-t.gif"
alt="Contact" width=14 height=13 border=0
align="left">Contact</a></p></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td><p
class="head"><a href="http://www.wilytech.co.jp/"
onMouseOver="japantext.src='images/icon-Japan-text-t2.gif';"
onMouseOut="japantext.src='images/icon-Japan-text-t.gif';"><img
src="images/icon-Japan-text-t.gif" alt="Japanese Site" name="japantext"
width=32 height=13 hspace="2" border=0 id="japantext"></a></p></td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <!-- End -->[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "[0x9]</td>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<script
src="scripts/WilyFlat.js" language="JavaScript"></script>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << "<table width="748" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td valign="top"><table
width="700" border="0" cellspacing="0" cellpadding="0">[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3219 [main] DEBUG org.apache.http.wire - << " <td
background="images/nav-bg.gif"><img src="images/nav-bg.gif" width="50"
height="40"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/WilySoftwareRegistration.gif" width=480 height=30 alt="WILY
TECHNOLOGY SOFTWARE REGISTRATION"><img src="images/e-company.gif" width=220
height=30></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td
valign="top"><table width="700" border="0" cellspacing="0"
cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="12" height="12"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="468" height="12"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="12" height="12"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><img
src="images/_.gif" width="208" height="12"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="12"
valign="top"> </td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="468"
valign="top">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <table width="468"
border="0" cellspacing="0" cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td
valign="top" >[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9] <!--
main body content -->[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9]
[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <span>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<span> [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<h1> Wily Product
Registration Usage Agreement</h1>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [0x9][0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - <<
"[0x9][0x9]<p> </p>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "
[0x9][0x9][0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [0x9][0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9]<form id="agreementForm"
action="/ProductRegistration/registration?path=0:border:agreementPanel:border:agreementForm&interface=IFormSubmitListener"
method="post">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [0x9][0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [0x9]<textarea
cols="50" name="agreementTextArea" readonly="true" rows="16">CA, INC.[\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "PRODUCT REGISTRATION SITE
TERMS OF SERVICE (TOS)[\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "This site is for use solely by
customers of CA Inc. to facilitate registration of licensed products. Site
usage is monitored.[\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "By clicking on [I Agree] below
you represent that you are an employee of an authorized CA customer and that
you have rightfully received authorization for access.[\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "All information on this site
is CA Confidential Information. Access to this site may be suspended at any
time, without notice, if CA has reason to believe that any unauthorized
usage has occurred.[\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "CA is committed to protecting
your privacy. The personal information we collect on this registration page
will be used worldwide by CA and any entity within the CA group of companies
and its subcontractors and partners and in countries that may have weaker
data privacy laws than your country. [\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "The data collected on this
form will be used to process your license registration and send you a valid
license file. [\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "By clicking on the [I Agree]
button, you are confirming you have read the privacy policy (
http://ca.com/us/privacy) and are giving your consent to this use of your
personal information. [\n]"
3235 [main] DEBUG org.apache.http.wire - << "</textarea>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [0x9]<br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<p/>[0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<input
name="acceptButton" value="I Agree" type="submit"/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - <<
"[0x9][0x9] [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9]<input
onClick="return disagree();" name="declineButton" value="Decline"
type="submit"/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9]</form>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </span> [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "</span>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9] [0x9] <!-- end
main body content -->[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - <<
"[0x9][0x9][0x9][0x9][0x9]</td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "
</table></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "
<td> </td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="208"
valign="top">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <table
width="208" border="0" cellspacing="0" cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td
bgcolor="#FFFFFF"><img src="images/introscope.gif" width="202" height="45"
hspace="0" vspace="6" align="right"> </td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </table>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <table width="208"
border="0" cellspacing="0" cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td
bgcolor="#FFFFFF">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <h2>Wily
Support</h2>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <!-- Support
contact -->[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <p>1 888 GET
WILY ext. 1 < U.S. toll free > <br>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " +1 630
505 6966 < U.S. ><br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][0x9]+44
(0)870 351 6752 < Europe ><br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][0x9]+81 3
6868 2300 < Asia-Pacific ><br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9][0x9]0120
974 580 < Japan toll free ><br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <a href="
http://www.wilytech.com/support/index.html">Website<http://www.wilytech.com/support/index.html%22%3EWebsite>Support</a>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "
<br/>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "
</p>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <!-- End
support contact -->[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9][0x9][0x9][0x9]
</td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "
</table></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td
colspan="4"><img src="images/_.gif" width="12" height="12"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </table></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <!-- Include footer
-->[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<table width="700" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="10"
align="right" bgcolor="#FFFFFF"><img src="images/_.gif" width="12"
height="12" /></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="558"
bgcolor="#FFFFFF">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9]<table width="558"
border="0" cellspacing="0" cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a href="
http://www.wilytech.com/solutions/index.html">Solutions</a> <http://www.wilytech.com/solutions/index.html%22%3ESolutions%3C/a%3E >;
.. <a href="
http://www.wilytech.com/solutions/products/index.html">Products</a> <http://www.wilytech.com/solutions/products/index.html%22%3EProducts%3C/a%3E >;
.. <a href="
http://www.wilytech.com/services/index.html">Services</a> <http://www.wilytech.com/services/index.html%22%3EServices%3C/a%3E >;
.. <a href="
http://www.wilytech.com/support/index.html">Support</a> <http://www.wilytech.com/support/index.html%22%3ESupport%3C/a%3E >;
.. <a href="http://www.wilytech.com/news/index.html">News<http://www.wilytech.com/news/index.html%22%3ENews>&
Events</a> .. <a href="
http://www.wilytech.com/company/index.html">About Wily</a></p></td>[\r][\n<http://www.wilytech.com/company/index.html%22%3EAbout Wily%3C/a%3E%3C/p%3E%3C/td%3E[/r][/n>
]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><table
width="440" border="0" cellpadding="0" cellspacing="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a
href="http://community.wilytech.com/"><img<http://community.wilytech.com/%22%3E%3Cimg>src="images/icon-comm-b.gif"
alt="Community" width=10 height=13 border=0
align="left">Community</a></p></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a href="h"
3235 [main] DEBUG org.apache.http.wire - << "[\r]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "834[EOL]"
3235 [main] DEBUG org.apache.http.wire - << "ttp://
www.wilytech.com/partneraccess/"><img src="images/icon-part-b.gif"
alt="Partner Access" width=16 height=13 border=0
align="left">Partner Access</a></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td><p
class="foot"><a
href="http://www.wilytech.com/sitemap.html"><img<http://www.wilytech.com/sitemap.html%22%3E%3Cimg>src="images/icon-site-b.gif"
alt="Site Map" width=15 height=13 border=0
align="left">Site Map</a></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<p class="foot"><a href="
http://www.wilytech.com/company/contact.html"><img<http://www.wilytech.com/company/contact.html%22%3E%3Cimg>src="images/icon-cont-b.gif"
alt="Contact" width=12 height=13 border=0
align="left">Contact</a></p></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<a href="
http://www.wilytech.co.jp/"
onMouseOver="japantext2.src='images/icon-Japan-text-b2.gif';"
onMouseOut="japantext2.src='images/icon-Japan-text-b.gif';"><img
src="images/icon-Japan-text-b.gif" alt="Japanese Site" name="japantext2"
width=28 height=13 hspace="2" border=0 id="japantext2"></a></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </table>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[0x9] </td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td
width="558">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<p class="foot"><a href="
http://www.wilytech.com/">© <http://www.wilytech.com/%22%3E©>; 2008
CA.</a> .. <a href="
http://www.wilytech.com/legalNotice.html">Legal Notices</a> <http://www.wilytech.com/legalNotice.html%22%3ELegal Notices%3C/a%3E >;
.. <a href="
http://www.wilytech.com/privacy.html">PRIVACY</a></p></td>[\r][\n<http://www.wilytech.com/privacy.html%22%3EPRIVACY%3C/a%3E%3C/p%3E%3C/td%3E[/r][/n>
]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </table></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="130"
align="right" bgcolor="#FFFFFF"><a
href="http://ca.com/"><img<http://ca.com/%22%3E%3Cimg>src="images/ca.gif"
alt="ca" width="61" height="38" hspace="8" border="0"
/></a></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="700"
colspan="3"><img src="images/_.gif" width="12" height="12"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </table> [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <!-- End footer
-->[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </table></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="48"
valign="top"><img src="images/enterpriseApplicationManage.gif" width=48
height=395 border=0 alt="Enterprise Application Management"></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "<table width="100%" border="0"
cellspacing="0" cellpadding="0">[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " <td width="360"
background="images/bottombar.gif"><img src="images/bottombar.gif" width=50
height=7></td>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << " </tr>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "</table>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "</body>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "</span> [\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "</html>[\r][\n]"
3235 [main] DEBUG org.apache.http.wire - << "[\r]"
3235 [main] DEBUG org.apache.http.wire - << "[\n]"
3235 [main] DEBUG org.apache.http.wire - << "0[EOL]"
3235 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager -
Releasing connection
org.apache.http.impl.conn.SingleClientConnManager$ConnAdapter@1ff7a1e
3235 [main] INFO DirectPost -
---------------------------------[version: 0][name: JSESSIONID][value:
383ACAD8A390FDC33C4E827F2AA2C04A][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null]
3250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.max-redirects': null
3250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
3250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
3250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
3250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.conn-manager.timeout': null
3250 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get
connection for route HttpRoute[{s}->https://sw.wilytech.com]
3250 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.connection.stalecheck': null
3250 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Stale connection check
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.expect-continue': true
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
3266 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
3266 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
Cookie [version: 0][name: JSESSIONID][value:
383ACAD8A390FDC33C4E827F2AA2C04A][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null] match [(secure)
sw.wilytech.com:443/ProductRegistration/registration]
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 1 to execute request
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.wire - >> "POST
/ProductRegistration/registration?path=0:border:agreementPanel:border:agreementForm&interface=IFormSubmitListener
HTTP/1.1[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0[EOL
]"
3266 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Content-Length: 20[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Expect: 100-Continue[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "Cookie2: $Version=1[EOL]"
3266 [main] DEBUG org.apache.http.wire - >> "[EOL]"
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.headers - >> POST
/ProductRegistration/registration?path=0:border:agreementPanel:border:agreementForm&interface=IFormSubmitListener
HTTP/1.1
3266 [main] DEBUG org.apache.http.headers - >> Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0
3266 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
3266 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
3266 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
3266 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
3266 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3266 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
3266 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
3266 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
3266 [main] DEBUG org.apache.http.headers - >> Content-Length: 20
3266 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
3266 [main] DEBUG org.apache.http.headers - >> Expect: 100-Continue
3266 [main] DEBUG org.apache.http.headers - >> Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A
3266 [main] DEBUG org.apache.http.headers - >> Cookie2: $Version=1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3266 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.wait-for-continue': null
3579 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 100 Continue[EOL]"
3579 [main] DEBUG org.apache.http.headers - << HTTP/1.1 100 Continue
3579 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3579 [main] DEBUG org.apache.http.wire - >> "acceptButton=I+Agree"
3860 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 302 Moved
Temporarily[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Date: Sun, 30 Nov 2008
17:15:36 GMT[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Location:
https://sw.wilytech.com/ProductRegistration/registration?path=1[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Content-Length: 0[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=98[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
3860 [main] DEBUG org.apache.http.wire - << "Content-Type: text/plain;
charset=ISO-8859-1[EOL]"
3860 [main] DEBUG org.apache.http.headers - << HTTP/1.1 302 Moved
Temporarily
3860 [main] DEBUG org.apache.http.headers - << Date: Sun, 30 Nov 2008
17:15:36 GMT
3860 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
3860 [main] DEBUG org.apache.http.headers - << Location:
https://sw.wilytech.com/ProductRegistration/registration?path=1
3860 [main] DEBUG org.apache.http.headers - << Content-Length: 0
3860 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=98
3860 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
3860 [main] DEBUG org.apache.http.headers - << Content-Type: text/plain;
charset=ISO-8859-1
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': null
3860 [main] DEBUG org.apache.http.impl.client.DefaultRedirectHandler -
Redirect requested to location '
https://sw.wilytech.com/ProductRegistration/registration?path=1'
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.allow-circular-redirects': null
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.forced-route': null
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.local-address': null
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.route.default-proxy': null
3860 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Redirecting to '
https://sw.wilytech.com/ProductRegistration/registration?path=1' via
HttpRoute[{s}->https://sw.wilytech.com]
3860 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Connection kept alive
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.virtual-host': null
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.default-headers': null
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-policy': null
3860 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
CookieSpec selected: best-match
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.cookie-datepatterns': null
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.single-cookie-header': null
3860 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies -
Cookie [version: 0][name: JSESSIONID][value:
383ACAD8A390FDC33C4E827F2AA2C04A][domain: sw.wilytech.com][path:
/ProductRegistration][expiry: null] match [(secure)
sw.wilytech.com:443/ProductRegistration/registration]
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector -
Attempt 2 to execute request
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.wire - >> "GET
/ProductRegistration/registration?path=1 HTTP/1.1[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0[EOL
]"
3860 [main] DEBUG org.apache.http.wire - >> "Content-Type:
application/x-www-form-urlencoded[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Connection: keep-alive[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Keep-Alive: 300[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Accept-Language:
en-us,en;q=0.5[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding:
gzip,deflate[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Host: sw.wilytech.com[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "Cookie2: $Version=1[EOL]"
3860 [main] DEBUG org.apache.http.wire - >> "[EOL]"
3860 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
3860 [main] DEBUG org.apache.http.headers - >> GET
/ProductRegistration/registration?path=1 HTTP/1.1
3860 [main] DEBUG org.apache.http.headers - >> Referer:
https://sw.wilytech.com/ProductRegistration/registration;jsessionid=383ACAD8A390FDC33C4E827F2AA2C04A?path=0
3860 [main] DEBUG org.apache.http.headers - >> Content-Type:
application/x-www-form-urlencoded
3860 [main] DEBUG org.apache.http.headers - >> User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
Firefox/3.0.3
3860 [main] DEBUG org.apache.http.headers - >> Connection: keep-alive
3860 [main] DEBUG org.apache.http.headers - >> Keep-Alive: 300
3860 [main] DEBUG org.apache.http.headers - >> Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3860 [main] DEBUG org.apache.http.headers - >> Accept-Language:
en-us,en;q=0.5
3860 [main] DEBUG org.apache.http.headers - >> Accept-Encoding:
gzip,deflate
3860 [main] DEBUG org.apache.http.headers - >> Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7
3860 [main] DEBUG org.apache.http.headers - >> Host: sw.wilytech.com
3860 [main] DEBUG org.apache.http.headers - >> Cookie:
JSESSIONID=383ACAD8A390FDC33C4E827F2AA2C04A
3860 [main] DEBUG org.apache.http.headers - >> Cookie2: $Version=1
4172 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[EOL]"
4172 [main] DEBUG org.apache.http.wire - << "Date: Sun, 30 Nov 2008
17:15:37 GMT[EOL]"
4172 [main] DEBUG org.apache.http.wire - << "Server: Apache/2.0.59
(Linux/SuSE)[EOL]"
4172 [main] DEBUG org.apache.http.wire - << "Content-Length: 678[EOL]"
4172 [main] DEBUG org.apache.http.wire - << "Keep-Alive: timeout=15,
max=97[EOL]"
4172 [main] DEBUG org.apache.http.wire - << "Connection: Keep-Alive[EOL]"
4172 [main] DEBUG org.apache.http.wire - << "Content-Type:
text/html;charset=UTF-8[EOL]"
4172 [main] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
4188 [main] DEBUG org.apache.http.headers - << Date: Sun, 30 Nov 2008
17:15:37 GMT
4188 [main] DEBUG org.apache.http.headers - << Server: Apache/2.0.59
(Linux/SuSE)
4188 [main] DEBUG org.apache.http.headers - << Content-Length: 678
4188 [main] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15,
max=97
4188 [main] DEBUG org.apache.http.headers - << Connection: Keep-Alive
4188 [main] DEBUG org.apache.http.headers - << Content-Type:
text/html;charset=UTF-8
4188 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.version': HTTP/1.1
4204 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-redirects': null
4204 [main] DEBUG org.apache.http.impl.client.ClientParamsStack -
'http.protocol.handle-authentication': null
4204 [main] DEBUG org.apache.http.wire - << "<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"[\n]"
4204 [main] DEBUG org.apache.http.wire - << " "
http://www.w3.org/TR/html4/loose.dtd">[\n<http://www.w3.org/TR/html4/loose.dtd%22%3E[/n>
]"
4204 [main] DEBUG org.apache.http.wire - << "<html>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<head>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<title>Internal
Error</title>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<style type="text/css">[\n]"
4204 [main] DEBUG org.apache.http.wire - << "body {margin-left :
2em;font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 'sans';font-size:
9pt;line-height: 1.8em;}[\n]"
4204 [main] DEBUG org.apache.http.wire - << "h1,h2,h3,h4,h5,h6,h7,h8
{color: #E9601A;}[\n]"
4204 [main] DEBUG org.apache.http.wire - << "h1 {font-size : 1.5em;}[\n]"
4204 [main] DEBUG org.apache.http.wire - << "pre, table, td { font-family :
'MS Trebuchet', 'Verdana', Arial, Helvetica; font-size : 10pt;
line-height:1.2em;}[\n]"
4204 [main] DEBUG org.apache.http.wire - << "</style>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "</head>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<body>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<h1>Internal error</h1>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<p>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "<a
href="/ProductRegistration/registration?bookmarkablePage=com.wily.bizapps.registration.HomePage">Return
to home page</a>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "</p>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "</body>[\n]"
4204 [main] DEBUG org.apache.http.wire - << "</html>[\n]"
4204 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager -
Releasing connection
org.apache.http.impl.conn.SingleClientConnManager$ConnAdapter@1995d80
Re: Facing Issues in performing multiple posts over a secure(HTTPS)
connection
Posted by Oleg Kalnichevski <ol...@apache.org>.
Vishwas Babu wrote:
> Hi,
>
>
>
> I am trying to make multiple posts over a https channel (basically fill out
> an interview process).The first post works fine and the desired response is
> obtained from the server, however the second post is causing an internal
> Error on the remote server, assuming that the post data and headers are set
> correctly is there anything missing in the code (I have used this earlier on
> a http connection and it worked fine, so I am wondering if some extra
> configuration is required for Https connection)??
>
No special configuration is required.
Please activate the debug logging by setting org.apache.http category to
DEBUG and post the log to this list.
Oleg
>
>
> Code-------
>
>
>
> *import* java.io.IOException;
>
> *import* java.util.ArrayList;
>
> *import* java.util.List;
>
>
>
> *import* org.apache.http.NameValuePair;
>
> *import* org.apache.http.client.ResponseHandler;
>
> *import* org.apache.http.client.entity.UrlEncodedFormEntity;
>
> *import* org.apache.http.client.methods.HttpPost;
>
> *import* org.apache.http.cookie.Cookie;
>
> *import* org.apache.http.impl.client.BasicResponseHandler;
>
> *import* org.apache.http.impl.client.DefaultHttpClient;
>
> *import* org.apache.http.message.BasicNameValuePair;
>
> *import* org.apache.http.protocol.HTTP;
>
> *import* org.apache.log4j.BasicConfigurator;
>
> *import* org.apache.log4j.Logger;
>
>
>
> *public* *class* DirectPost {
>
> *protected* *final* Logger logger = Logger.*getLogger*(DirectPost.*
> class*);
>
>
>
> *public* *static* *void* main(String args[]) {
>
> DirectPost postToRemoteServer = *new* DirectPost();
>
> postToRemoteServer.postData();
>
> }
>
>
>
>
>
> *public* *void* postData() {
>
> String uri;
>
> DefaultHttpClient client;
>
> HttpPost postMethod = *null*;
>
> String sessionCookie = *null*;
>
> *try* {
>
> BasicConfigurator.*configure*();
>
> // The first URI to connect to
>
> uri = "First url goes here";
>
> // Instantiate HttpClient
>
> client = *new* DefaultHttpClient();
>
>
>
> // Instantiate the post method
>
> postMethod = *new* HttpPost(uri);
>
> ResponseHandler<String> responseHandler =
> *new*BasicResponseHandler();
>
>
>
> // Set up all the required request headers
>
> initializeConnectionHeaders(postMethod);
>
> // Execute the first post
>
> String firstResponse = client.execute(postMethod,
> responseHandler);
>
> logger.info(firstResponse);
>
>
>
> // Second post
>
> HttpPost httpost = *new* HttpPost(
>
> "second url goes here");
>
> List<NameValuePair> nvps = *new*ArrayList<NameValuePair>();
>
> nvps.add(*new* BasicNameValuePair("acceptButton", "I
> Agree"));
>
> httpost.setEntity(*new* UrlEncodedFormEntity(nvps, HTTP.*
> UTF_8*));
>
> httpost.setHeader("Referer",
>
> "Referer url goes here");
>
> initializeConnectionHeaders(httpost);
>
> firstResponse = client.execute(httpost, responseHandler);
>
> logger.info(firstResponse);
>
> //This response indicates an error at the remote server
>
>
>
>
>
> } *catch* (IOException e) {
>
> logger.error("Post to remote server Failed caused by" +
> e);
>
> }
>
> }
>
>
>
> /**
>
> * This method sets up all the required request headers
>
> *
>
> * *@param* method
>
> */
>
> *private* *void* initializeConnectionHeaders(HttpPost method) {
>
> method.setHeader("Content-Type",
> "application/x-www-form-urlencoded");
>
> method
>
> .setHeader(
>
> "User-Agent",
>
> "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-US; rv:1.9.0.3) Gecko/2008092417
> Firefox/3.0.3");
>
> method.setHeader("Connection", "keep-alive");
>
> method.setHeader("Keep-Alive", "300");
>
> method
>
> .setHeader("Accept",
>
>
> "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
>
> method.setHeader("Accept-Language", "en-us,en;q=0.5");
>
> method.setHeader("Accept-Encoding", "gzip,deflate");
>
> method.setHeader("Accept-Charset",
> "ISO-8859-1,utf-8;q=0.7,*;q=0.7");
>
> }
>
> }
>
>
>
>
>
> With warm regards,
>
> Vishwas
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org