[ 
https://issues.apache.org/jira/browse/CXF-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-4422.
------------------------------

    Resolution: Cannot Reproduce


Not enough information to reproduce or debug and a request for some sort of 
testcase or similar is unanswered for several months.  Also, with 2.7.0, there 
is an option of using the Apache HTTPComponents client that could potentially 
help as well.
                
> Unable to authenticate to proxy -- Proxy returns "HTTP/1.1 500 Internal 
> Server Error"
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-4422
>                 URL: https://issues.apache.org/jira/browse/CXF-4422
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.6
>         Environment: Red Hat Enterprise Linux - Oracle Java SE JDK 1.6.0_24.
>            Reporter: Nick Parmelee
>              Labels: authentication, https, proxy
>             Fix For: NeedMoreInfo
>
>
> Hi,
> I am attempting to call an external web service via HTTPS through a proxy 
> requiring authentication, from a simple standalone Java program running on a 
> Linux server. Authentication to the proxy fails, with the proxy returning the 
> following error: "Caused by: javax.xml.stream.XMLStreamException: 
> java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 
> 500 Internal Server Error".
> However, if I change the protocol to HTTP, the call succeeds.
> When running the same program on Windows from within Eclipse, the call always 
> succeeds, whether I am using HTTP or HTTPS, even with invalid credentials.
> Please find below the source code for the program:
> {code}
> NEXTGENLiteSoap client;
> try {
>   JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
>   proxyFactory.setServiceClass(NEXTGENLiteSoap.class);
>   
> proxyFactory.setAddress("https://www.nextgen.com/soap/v1.0/service.asmx?WSDL";);
>   client = (NEXTGENLiteSoap) proxyFactory.create();
>   Client endpointClient = ClientProxy.getClient(client);
>   HTTPConduit http = (HTTPConduit) endpointClient.getConduit();
>   HTTPClientPolicy httpClientPolicy = http.getClient();
>   httpClientPolicy.setConnectionTimeout(36000);
>   httpClientPolicy.setAllowChunking(false);
>   httpClientPolicy.setProxyServer("101.213.190.104");
>   httpClientPolicy.setProxyServerPort(8080);
>   httpClientPolicy.setProxyServerType(ProxyServerType.HTTP);
>   httpClientPolicy.setAutoRedirect(false);
>   httpClientPolicy.setConnection(ConnectionType.KEEP_ALIVE);
>   ProxyAuthorizationPolicy proxyAuthPolicy = new ProxyAuthorizationPolicy();
>   proxyAuthPolicy.setUserName("testUser");
>   proxyAuthPolicy.setPassword("testPass");
>   proxyAuthPolicy.setAuthorizationType("Basic");
>   http.setProxyAuthorization(proxyAuthPolicy);
>   http.setClient(httpClientPolicy);
>   DataInput input = new DataInput();
>   input.setUsername("NEXTGEN0941");
>   input.setPassword("M0XLY7VH");
>   input.setVRM("12345678");
>   Object a = client.getNextGenData(input);
> }
> catch (Exception e) {
>   e.printStackTrace();
> }
> {code}
> I implemented a simple HTTP client via the program below to validate the 
> credentials:
> {code}
> HttpHost proxy = new HttpHost("101.213.190.104", 8080, "http");
> // general setup
> SchemeRegistry supportedSchemes = new SchemeRegistry();
> // Register the "http" and "https" protocol schemes, they are
> // required by the default operator to look up socket factories.
> supportedSchemes.register(new Scheme("http", 
> PlainSocketFactory.getSocketFactory(), 80)); 
> supportedSchemes.register(new Scheme("https", 
> SSLSocketFactory.getSocketFactory(), 443)); 
> // prepare parameters 
> HttpParams params = new BasicHttpParams(); 
> HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); 
> HttpProtocolParams.setContentCharset(params, "UTF-8"); 
> HttpProtocolParams.setUseExpectContinue(params, true); 
> ClientConnectionManager ccm = new ThreadSafeClientConnManager(params, 
> supportedSchemes);
> DefaultHttpClient httpclient = new DefaultHttpClient(ccm, params);
> httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
> httpclient.getCredentialsProvider().setCredentials(new 
> AuthScope("101.213.190.104", 8080), new 
> UsernamePasswordCredentials("testUser", "testPass")); 
>         
> HttpGet req = new 
> HttpGet("https://www.nextgen.com/soap/v1.0/service.asmx?WSDL";);
> //System.out.println("executing request to " + target + " via " + proxy); 
> HttpResponse rsp = httpclient.execute(req); 
> HttpEntity entity = rsp.getEntity(); 
> System.out.println("----------------------------------------"); 
> System.out.println(rsp.getStatusLine()); 
> Header[] headers = rsp.getAllHeaders(); 
> for (int i = 0; i<headers.length; i++) { 
>   System.out.println(headers[i]); 
> }
> {code}
> I have also tried setting the proxy parameters via the following system 
> properties: -Dhttps.proxyHost=10.243.190.104 -Dhttps.proxyPort=8080, and 
> authenticating using the following code, with the same result:
> {code}
> NEXTGENLiteSoap client;
> try {
>   Authenticator.setDefault(
>     new Authenticator() {
>       public PasswordAuthentication getPasswordAuthentication() {
>         return new PasswordAuthentication("testUser", 
> "testPass".toCharArray());
>       }
>     }
>   );
>                       
>   JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
>   proxyFactory.setServiceClass(NEXTGENLiteSoap.class);
>   proxyFactory.setAddress("https://www.nextgen.com/soap/v1.0/service.asmx";);
>   client = (NEXTGENLiteSoap) proxyFactory.create();
>   Client endpointClient = ClientProxy.getClient(client);
>   HTTPConduit http = (HTTPConduit) endpointClient.getConduit();
>   HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
>   httpClientPolicy.setConnectionTimeout(36000);
>   httpClientPolicy.setAllowChunking(false);
>   httpClientPolicy.setReceiveTimeout(32000);
>   http.setClient(httpClientPolicy);
>   DataInput input = new DataInput();
>   input.setUsername("NEXTGEN0941");
>   input.setPassword("M0XLY7VH");
>   input.setVRM("12");
>   client.getNextGenData(input);
> }
> catch (Exception e) {
>   e.printStackTrace();
> }
> {code}
> I was able to output the following properties of the outgoing message:
> {code}
> === Accept: ===
> [null]
> === org.apache.cxf.async.post.response.dispatch: ===
> [null]
> === org.apache.cxf.message.Message.ATTACHMENTS: ===
> [null]
> === org.apache.cxf.message.Message.BASE_PATH: ===
> [null]
> === javax.xml.ws.client.connectionTimeout: ===
> [null]
> === Content-Type: ===
> [text/xml]
> === decoupled.channel.message: ===
> [null]
> === org.apache.cxf.partial.response.empty: ===
> [null]
> === org.apache.cxf.message.Message.ENCODING: ===
> [UTF-8]
> === org.apache.cxf.message.Message.ENDPOINT_ADDRESS: ===
> [https://www.nextgen.com/soap/v1.0/service.asmx]
> === exceptionMessageCauseEnabled: ===
> [null]
> === org.apache.cxf.message.Message.FAULT_IN_INTERCEPTORS: ===
> [null]
> === org.apache.cxf.message.Message.FAULT_OUT_INTERCEPTORS: ===
> [null]
> === faultStackTraceEnabled: ===
> [null]
> === org.apache.cxf.message.MessageFIXED_PARAMETER_ORDER: ===
> [null]
> === org.apache.cxf.request.method: ===
> [null]
> === org.apache.cxf.message.Message.IN_INTERCEPTORS: ===
> [null]
> === org.apache.cxf.message.inbound: ===
> [false]
> === org.apache.cxf.message.Message.INTERCEPTOR_PROVIDER: ===
> [null]
> === org.apache.cxf.invocation.context: ===
> [{ResponseContext={}, RequestContext={java.lang.reflect.Method=public 
> abstract com.company.DataType 
> com.company.NEXTGENLiteSoap.getData(com.company.DataType), 
> org.apache.cxf.jaxws.context.WrappedMessageContext.SCOPES={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION},
>  
> org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://www.nextgen.com/soap/v1.0/service.asmx}}]
> === org.apache.cxf.message.Message.MAINTAIN_SESSION: ===
> [null]
> === org.apache.cxf.mime.headers: ===
> [{}]
> === mtom-enabled: ===
> [null]
> === mtom-threshold: ===
> [null]
> === OnewayRequest: ===
> [null]
> === org.apache.cxf.message.Message.OUT_INTERCEPTORS: ===
> [null]
> === org.apache.cxf.partial.response: ===
> [null]
> === org.apache.cxf.message.Message.PATH_INFO: ===
> [null]
> === org.apache.cxf.message.Message.PROPOGATE_EXCEPTION: ===
> [null]
> === org.apache.cxf.message.Message.PROTOCOL_HEADERS: ===
> [{Accept=[*/*], Proxy-Authorization=[Basic WTk1ODU4MjpCbjhCUDY4RGVtNUI3QTg=], 
> SOAPAction=["http://www.nextgen.com/GetData"]}]
> === org.apache.cxf.message.Message.QUERY_STRING: ===
> [null]
> === javax.xml.ws.client.receiveTimeout: ===
> [null]
> === org.apache.cxf.request.uri: ===
> [null]
> === org.apache.cxf.request.url: ===
> [null]
> === org.apache.cxf.client: ===
> [true]
> === org.apache.cxf.message.Message.RESPONSE_CODE: ===
> [null]
> === org.apache.cxf.oneway.robust: ===
> [null]
> === schema-validation-enabled: ===
> [null]
> === org.apache.cxf.transport: ===
> [null]
> === javax.xml.ws.wsdl.description: ===
> [null]
> === javax.xml.ws.wsdl.interface: ===
> [null]
> === javax.xml.ws.wsdl.operation: ===
> [null]
> === javax.xml.ws.wsdl.port: ===
> [null]
> === javax.xml.ws.wsdl.service: ===
> [null]
> === Message: ===
> [[org.apache.cxf.invocation.context={ResponseContext={}, 
> RequestContext={java.lang.reflect.Method=public abstract com.company.DataType 
> com.company.NEXTGENLiteSoap.getData(com.company.DataType), 
> org.apache.cxf.jaxws.context.WrappedMessageContext.SCOPES={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION},
>  
> org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://www.nextgen.com/soap/v1.0/service.asmx}},
>  
> org.apache.cxf.ws.policy.EffectivePolicy=org.apache.cxf.ws.policy.EffectivePolicyImpl@1d4fcd9a,
>  org.apache.cxf.service.model.MessageInfo=[MessageInfo INPUT: 
> {http://www.nextgen.com/}GetData], 
> org.apache.cxf.interceptor.LoggingOutInterceptor.log-setup=true, 
> java.lang.reflect.Method=public abstract com.company.DataType 
> com.company.NEXTGENLiteSoap.getData(com.company.DataType), 
> org.apache.cxf.client=true, 
> org.apache.cxf.message.Message.PROTOCOL_HEADERS={Accept=[*/*], 
> Proxy-Authorization=[Basic WTk1ODU4MjpCbjhCUDY4RGVtNUI3QTg=], 
> SOAPAction=["http://www.nextgen.com/GetData"]}, 
> org.apache.cxf.message.inbound=false, client.holders=[null], 
> org.apache.cxf.message.Message.ENCODING=UTF-8, 
> org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@6243487e,
>  
> org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://www.nextgen.com/soap/v1.0/service.asmx,
>  org.apache.cxf.mime.headers={}, 
> http.connection=sun.net.www.protocol.https.DelegateHttpsURLConnection:https://www.nextgen.com/soap/v1.0/service.asmx,
>  
> org.apache.cxf.jaxws.context.WrappedMessageContext.SCOPES={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION},
>  
> org.apache.cxf.service.model.BindingMessageInfo=org.apache.cxf.service.model.BindingMessageInfo@2f4c7a98,
>  Content-Type=text/xml, org.apache.cxf.headers.Header.list=[], 
> org.apache.cxf.transport.Conduit=conduit: class 
> org.apache.cxf.transport.http.HTTPConduit1174710634target: 
> https://www.nextgen.com/soap/v1.0/service.asmx]]
> === org.apache.cxf.ws.policy.EffectivePolicy: ===
> [null]
> === org.apache.cxf.binding.soap.SoapVersion: ===
> [1.1]
> === org.apache.cxf.service.model.BindingMessageInfo - getName(): ===
> [{http://www.nextgen.com/}GetData]
> === org.apache.cxf.service.model.BindingMessageInfo - getDocumentation(): ===
> [null]
> === org.apache.cxf.service.model.BindingMessageInfo - 
> getMessageDocumentation(): ===
> [null]
> === org.apache.cxf.service.model.BindingMessageInfo - 
> getExtensionAttributes(): ===
> [null]
> === org.apache.cxf.service.model.BindingMessageInfo - getExtensors(): ===
> [null]
> === org.apache.cxf.service.model.BindingMessageInfo - getMessageParts(): ===
> [[[MessagePartInfo name={http://www.nextgen.com/}parameters, 
> ConcreteName={http://www.nextgen.com/}GetData]]
> === org.apache.cxf.service.model.BindingMessageInfo - getMessagePartsMap(): 
> ===
> [{{http://www.nextgen.com/}parameters=[MessagePartInfo 
> name={http://www.nextgen.com/}parameters, 
> ConcreteName={http://www.nextgen.com/}GetData}]
> === org.apache.cxf.service.model.BindingMessageInfo - getOperation(): ===
> [[OperationInfo: {http://www.nextgen.com/}GetData]]
> === org.apache.cxf.service.model.BindingMessageInfo - getOutOfBandParts(): ===
> [[]]
> === org.apache.cxf.service.model.BindingMessageInfo - getProperties(): ===
> [null]
> === org.apache.cxf.service.model.BindingMessageInfo - getType(): ===
> [INPUT]
> === org.apache.cxf.transport.Conduit - getBeanName(): ===
> [{http://www.nextgen.com/}NEXTGENLiteSoapPort.http-conduit]
> === org.apache.cxf.transport.Conduit - getConduitName(): ===
> [{http://www.nextgen.com/}NEXTGENLiteSoapPort.http-conduit]
> === org.apache.cxf.transport.Conduit - getAuthorization().getAuthorization(): 
> ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getAuthorization().getAuthorizationType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getAuthorization().getUserName(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getAuthorization().getPassword(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getAuthSupplier(): ===
> [org.apache.cxf.transport.http.auth.DefaultBasicAuthSupplier@5c0e920f]
> === org.apache.cxf.transport.Conduit - getClient().getAccept(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getAcceptEncoding(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getAcceptLanguage(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getBrowserType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getCacheControl(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getChunkingThreshold(): ===
> [4096]
> === org.apache.cxf.transport.Conduit - getClient().getConnectionTimeout(): ===
> [36000]
> === org.apache.cxf.transport.Conduit - getClient().getContentType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getCookie(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getDecoupledEndpoint(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getHost(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getMaxRetransmits(): ===
> [-1]
> === org.apache.cxf.transport.Conduit - getClient().getNonProxyHosts(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getProxyServer(): ===
> [10.243.190.104]
> === org.apache.cxf.transport.Conduit - getClient().getProxyServerPort(): ===
> [8080]
> === org.apache.cxf.transport.Conduit - getClient().getReceiveTimeout(): ===
> [32000]
> === org.apache.cxf.transport.Conduit - getClient().getReferer(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getConnection(): ===
> [KEEP_ALIVE]
> === org.apache.cxf.transport.Conduit - getClient().getElementType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient().getProxyServerType(): ===
> [HTTP]
> === org.apache.cxf.transport.Conduit - getClient().getRequired(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient(soapMessage).getAccept(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getAcceptEncoding(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getAcceptLanguage(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getBrowserType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getCacheControl(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getChunkingThreshold(): ===
> [4096]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getConnectionTimeout(): ===
> [36000]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getContentType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient(soapMessage).getCookie(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getDecoupledEndpoint(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getClient(soapMessage).getHost(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getMaxRetransmits(): ===
> [-1]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getNonProxyHosts(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getProxyServer(): ===
> [10.243.190.104]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getProxyServerPort(): ===
> [8080]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getReceiveTimeout(): ===
> [32000]
> === org.apache.cxf.transport.Conduit - getClient(soapMessage).getReferer(): 
> ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getConnection(): ===
> [KEEP_ALIVE]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getElementType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getClient(soapMessage).getProxyServerType(): ===
> [HTTP]
> === org.apache.cxf.transport.Conduit - getClient(soapMessage).getRequired(): 
> ===
> [null]
> === org.apache.cxf.transport.Conduit - getCookies(): ===
> [{}]
> === org.apache.cxf.transport.Conduit - 
> getEffectiveAuthPolicy(soapMessage).getAuthorization(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getEffectiveAuthPolicy(soapMessage).getAuthorizationType(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getEffectiveAuthPolicy(soapMessage).getPassword(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getEffectiveAuthPolicy(soapMessage).getUserName(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getMessageObserver(): ===
> [org.apache.cxf.endpoint.ClientImpl@815a3a1]
> === org.apache.cxf.transport.Conduit - 
> getProxyAuthorization().getAuthorization(): ===
> [null]
> === org.apache.cxf.transport.Conduit - 
> getProxyAuthorization().getAuthorizationType(): ===
> [Basic]
> === org.apache.cxf.transport.Conduit - getProxyAuthorization().getPassword(): 
> ===
> [Bn8BP68Dem5B7A8]
> === org.apache.cxf.transport.Conduit - getProxyAuthorization().getUserName(): 
> ===
> [Y958582]
> === org.apache.cxf.transport.Conduit - getProxyAuthSupplier(): ===
> [org.apache.cxf.transport.http.auth.DefaultBasicAuthSupplier@b74cb21]
> === org.apache.cxf.transport.Conduit - getTarget().getAddress().getValue(): 
> ===
> [https://www.nextgen.com/soap/v1.0/service.asmx]
> === org.apache.cxf.transport.Conduit - 
> getTarget().getAddress().getOtherAttributes(): ===
> [{}]
> === org.apache.cxf.transport.Conduit - getTarget().getAny(): ===
> [[]]
> === org.apache.cxf.transport.Conduit - getTarget().getMetadata(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getTarget().getOtherAttributes(): ===
> [{}]
> === org.apache.cxf.transport.Conduit - getTarget().getReferenceParameters(): 
> ===
> [null]
> === org.apache.cxf.transport.Conduit - getTlsClientParameters(): ===
> [null]
> === org.apache.cxf.transport.Conduit - getTrustDecider(): ===
> [null]
> === Message content: ===
> [[com.company.DataType@20c3e967]]
> === Envelope namespace: ===
> [null]
> === Headers: ===
> [[]]
> === SOAP version: ===
> [1.1]
> {code}
> I also put together a program using Axis2 which was able to successfully call 
> the web service (via HTTPS, from the Linux server). Using this program, I was 
> able to output the following properties of the outgoing message:
> {code}
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta 
> Commons-HttpClient/3.1
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = 
> HTTP/1.1
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.connection-manager.class = class 
> org.apache.commons.httpclient.SimpleHttpConnectionManager
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.protocol.cookie-policy = default
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.protocol.element-charset = US-ASCII
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.protocol.content-charset = ISO-8859-1
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.method.retry-handler = 
> org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@39e57e8f
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.dateparser.patterns 
> = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d 
> HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, 
> dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, 
> EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss 
> z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy 
> HH:mm:ss z]
> 2012/07/11 [DEBUG] HttpClient - Java version: 1.6.0_30
> 2012/07/11 [DEBUG] HttpClient - Java vendor: Sun Microsystems Inc.
> 2012/07/11 [DEBUG] HttpClient - Java class path: 
> .:lib/activation-1.1.jar:lib/antlr-2.7.7.jar:lib/apache-mime4j-core-0.7.2.jar:lib/axiom-api-1.2.13.jar:lib/axiom-dom-1.2.13.jar:lib/axiom-impl-1.2.13.jar:lib/axis2-adb-1.6.2.jar:lib/axis2-adb-codegen-1.6.2.jar:lib/axis2-ant-plugin-1.6.2.jar:lib/axis2-clustering-1.6.2.jar:lib/axis2-codegen-1.6.2.jar:lib/axis2-corba-1.6.2.jar:lib/axis2-fastinfoset-1.6.2.jar:lib/axis2-java2wsdl-1.6.2.jar:lib/axis2-jaxbri-1.6.2.jar:lib/axis2-jaxws-1.6.2.jar:lib/axis2-jibx-1.6.2.jar:lib/axis2-json-1.6.2.jar:lib/axis2-kernel-1.6.2.jar:lib/axis2-metadata-1.6.2.jar:lib/axis2-mtompolicy-1.6.2.jar:lib/axis2-saaj-1.6.2.jar:lib/axis2-soapmonitor-servlet-1.6.2.jar:lib/axis2-spring-1.6.2.jar:lib/axis2-transport-http-1.6.2.jar:lib/axis2-transport-local-1.6.2.jar:lib/axis2-xmlbeans-1.6.2.jar:lib/bcel-5.1.jar:lib/commons-cli-1.2.jar:lib/commons-codec-1.3.jar:lib/commons-fileupload-1.2.jar:lib/commons-httpclient-3.1.jar:lib/commons-io-1.4.jar:lib/commons-logging-1.1.1.jar:lib/geronimo-annotation_1.0_spec-1.1.jar:lib/geronimo-jaxws_2.2_spec-1.0.jar:lib/geronimo-jta_1.1_spec-1.1.jar:lib/geronimo-saaj_1.3_spec-1.0.1.jar:lib/geronimo-stax-api_1.0_spec-1.0.1.jar:lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar:lib/httpcore-4.0.jar:lib/jalopy-1.5rc3.jar:lib/jaxb-api-2.1.jar:lib/jaxb-impl-2.1.7.jar:lib/jaxb-xjc-2.1.7.jar:lib/jaxen-1.1.1.jar:lib/jaxws-tools-2.1.3.jar:lib/jettison-1.0-RC2.jar:lib/jibx-bind-1.2.jar:lib/jibx-run-1.2.jar:lib/jsr311-api-1.0.jar:lib/juli-6.0.16.jar:lib/log4j-1.2.15.jar:lib/mail-1.4.jar:lib/mex-1.6.2-impl.jar:lib/neethi-3.0.2.jar:lib/regexp-1.2.jar:lib/tribes-6.0.16.jar:lib/woden-api-1.0M9.jar:lib/woden-impl-commons-1.0M9.jar:lib/woden-impl-dom-1.0M9.jar:lib/wsdl4j-1.6.2.jar:lib/wstx-asl-3.2.9.jar:lib/xalan-2.7.0.jar:lib/xmlbeans-2.3.0.jar:lib/xml-resolver-1.2.jar:lib/XmlSchema-1.4.7.jar
> 2012/07/11 [DEBUG] HttpClient - Operating system name: Linux
> 2012/07/11 [DEBUG] HttpClient - Operating system architecture: amd64
> 2012/07/11 [DEBUG] HttpClient - Operating system version: 2.6.18-238.1.1.el5
> 2012/07/11 [DEBUG] HttpClient - SUN 1.6: SUN (DSA key/parameter generation; 
> DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS 
> keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection 
> CertStores, JavaPolicy Policy; JavaLoginConfig Configuration)
> 2012/07/11 [DEBUG] HttpClient - SunRsaSign 1.5: Sun RSA signature provider
> 2012/07/11 [DEBUG] HttpClient - SunJSSE 1.6: Sun JSSE provider(PKCS12, 
> SunX509 key/trust factories, SSLv3, TLSv1)
> 2012/07/11 [DEBUG] HttpClient - SunJCE 1.6: SunJCE Provider (implements RSA, 
> DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
> 2012/07/11 [DEBUG] HttpClient - SunJGSS 1.0: Sun (Kerberos v5, SPNEGO)
> 2012/07/11 [DEBUG] HttpClient - SunSASL 1.5: Sun SASL provider(implements 
> client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server 
> mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
> 2012/07/11 [DEBUG] HttpClient - XMLDSig 1.0: XMLDSig (DOM 
> XMLSignatureFactory; DOM KeyInfoFactory)
> 2012/07/11 [DEBUG] HttpClient - SunPCSC 1.6: Sun PC/SC provider
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.connection-manager.timeout = 30000
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout 
> = 30000
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.socket.timeout = 
> 30000
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.socket.timeout = 
> 30000
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter 
> http.authentication.preemptive = true
> 2012/07/11 [DEBUG] DefaultHttpParams - Set parameter http.socket.timeout = 
> 30000
> 2012/07/11 [DEBUG] MultiThreadedHttpConnectionManager - 
> HttpConnectionManager.getConnection:  config = 
> HostConfiguration[host=https://www.nextgen.com, 
> proxyHost=http://10.243.190.104:8080], timeout = 30000
> 2012/07/11 [DEBUG] MultiThreadedHttpConnectionManager - Allocating new 
> connection, hostConfig=HostConfiguration[host=https://www.nextgen.com, 
> proxyHost=http://10.243.190.104:8080]
> 2012/07/11 [DEBUG] HttpMethodDirector - Preemptively sending default basic 
> credentials
> 2012/07/11 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any 
> realm>@www.nextgen.com:443
> 2012/07/11 [WARN] HttpMethodDirector - Required credentials not available for 
> BASIC <any realm>@www.nextgen.com:443
> 2012/07/11 [WARN] HttpMethodDirector - Preemptive authentication requested 
> but no default credentials available
> 2012/07/11 [DEBUG] HttpConnection - Open connection to 10.243.190.104:8080
> 2012/07/11 [DEBUG] HttpMethodDirector - Preemptively sending default basic 
> credentials
> 2012/07/11 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any 
> realm>@10.243.190.104:8080
> 2012/07/11 [DEBUG] HttpMethodParams - Credential charset not configured, 
> using HTTP element charset
> 2012/07/11 [DEBUG] header - >> "CONNECT www.nextgen.com:443 HTTP/1.1"
> 2012/07/11 [DEBUG] HttpMethodBase - Adding Host request header
> 2012/07/11 [DEBUG] header - >> "Proxy-Authorization: Basic 
> WTk1ODU4MjpCbjhCUDY4RGVtNUI3QTg=[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "User-Agent: Jakarta 
> Commons-HttpClient/3.1[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "Host: www.nextgen.com[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "Proxy-Connection: Keep-Alive[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "[\r][\n]"
> 2012/07/11 [DEBUG] header - << "HTTP/1.1 200 Connection established[\r][\n]"
> 2012/07/11 [DEBUG] header - << "HTTP/1.1 200 Connection established[\r][\n]"
> 2012/07/11 [DEBUG] header - << "[\r][\n]"
> 2012/07/11 [INFO] HttpMethodBase - Response content length is not known
> 2012/07/11 [DEBUG] HttpMethodBase - Force-close connection: true
> 2012/07/11 [DEBUG] ConnectMethod - CONNECT status code 200
> 2012/07/11 [DEBUG] HttpConnection - Secure tunnel to www.nextgen.com:443
> 2012/07/11 [DEBUG] header - >> "POST /soap/v1.0/service.asmx HTTP/1.1[\r][\n]"
> 2012/07/11 [DEBUG] HttpMethodBase - Adding Host request header
> 2012/07/11 [DEBUG] header - >> "Content-Type: application/soap+xml; 
> charset=UTF-8; action="http://www.nextgen.com/GetData"[\r][\n]";
> 2012/07/11 [DEBUG] header - >> "User-Agent: Axis2[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "Host: www.nextgen.com[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "Transfer-Encoding: chunked[\r][\n]"
> 2012/07/11 [DEBUG] header - >> "[\r][\n]"
> 2012/07/11 [DEBUG] content - >> "5ee[\r][\n]"
> 2012/07/11 [DEBUG] content - >> "<?xml version='1.0' 
> encoding='UTF-8'?><soapenv:Envelope 
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";><soapenv:Body><ns1:GetVehicleData
>  xmlns:ns1="http://www.nextgen.com/";><ns1:VehicleRegInput 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns1:VehicleDataInput"><ns1:IsLive>false</ns1:IsLive><ns1:Username>NEXTGEN0941</ns1:Username><ns1:Password>M0XLY7VH</ns1:Password><ns1:VRM>12</ns1:VRM><ns1:CurrentMileage>0</ns1:CurrentMileage><ns1:CapVehicleValues>false</ns1:CapVehicleValues><ns1:GlassVehicleValues>false</ns1:GlassVehicleValues><ns1:CapCode>false</ns1:CapCode><ns1:GlassModelID>false</ns1:GlassModelID><ns1:CapID>false</ns1:CapID><ns1:MCIData>false</ns1:MCIData><ns1:DVLASMMTDescription>false</ns1:DVLASMMTDescription><ns1:VED>false</ns1:VED><ns1:MileageCheckRequired>false</ns1:MileageCheckRequired><ns1:PreviousSearchRecords>false</ns1:PreviousSearchRecords><ns1:HighRiskRecords>false</ns1:HighRiskRecords><ns1:StolenVehicleRecords>false</ns1:StolenVehicleRecords><ns1:ConditionRecords>false</ns1:ConditionRecords><ns1:PlateChanges>false</ns1:PlateChanges><ns1:FinanceRecords>false</ns1:FinanceRecords><ns1:ColourChanges>false</ns1:ColourChanges><ns1:KeeperChanges>false</ns1:KeeperChanges><ns1:PerformanceAndConsumptionData>false</ns1:PerformanceAndConsumptionData><ns1:EngineAndTechnicalData>false</ns1:EngineAndTechnicalData><ns1:WeightAndDimensionsData>false</ns1:WeightAndDimensionsData></ns1:VehicleRegInput></ns1:GetVehicleData></soapenv:Body></soapenv:Envelope>"
> 2012/07/11 [DEBUG] content - >> "[\r][\n]"
> 2012/07/11 [DEBUG] content - >> "0"
> 2012/07/11 [DEBUG] content - >> "[\r][\n]"
> 2012/07/11 [DEBUG] content - >> "[\r][\n]"
> 2012/07/11 [DEBUG] EntityEnclosingMethod - Request body sent
> 2012/07/11 [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
> 2012/07/11 [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
> 2012/07/11 [DEBUG] header - << "Cache-Control: private, max-age=0[\r][\n]"
> 2012/07/11 [DEBUG] header - << "Content-Length: 4190[\r][\n]"
> 2012/07/11 [DEBUG] header - << "Content-Type: application/soap+xml; 
> charset=utf-8[\r][\n]"
> 2012/07/11 [DEBUG] header - << "Server: Microsoft-IIS/7.5[\r][\n]"
> 2012/07/11 [DEBUG] header - << "X-AspNet-Version: 2.0.50727[\r][\n]"
> 2012/07/11 [DEBUG] header - << "X-Powered-By: ASP.NET[\r][\n]"
> 2012/07/11 [DEBUG] header - << "Date: Wed, 11 Jul 2012 19:53:18 GMT[\r][\n]"
> 2012/07/11 [DEBUG] header - << "[\r][\n]"
> 2012/07/11 [DEBUG] content - << "<?xm"
> 2012/07/11 [DEBUG] content - << "l version="1.0" 
> encoding="utf-8"?><soap:Envelope 
> xmlns:soap="http://www.w3.org/2003/05/soap-envelope"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Body><GetVehicleDataResponse
>  
> xmlns="http://www.nextgen.com/";><GetVehicleDataResult><VehicleRegistration><VRM>12</VRM><VehicleCategory
>  
> /><SeatingCapacity>0</SeatingCapacity><MaxPermissibleMass>0</MaxPermissibleMass><UKDateFirstRegistered>1997-06-04T00:00:00</UKDateFirstRegistered><GBVRM
>  /><NIVRM 
> /><VehicleUsedBeforeFirstRegistration>false</VehicleUsedBeforeFirstRegistration><CO2Emissions
>  
> /><Fuel>PETROL</Fuel><Gears>5</Gears><TransmissionCode>A</TransmissionCode><DTPModelCode>478</DTPModelCode><DTPMakeCode>M2</DTPMakeCode><MVRISModelCode>BBX</MVRISModelCode><ImportNonEU>NotFromOutsideEU</ImportNonEU><MVRISmakeCode>M2</MVRISmakeCode><DoorPlanLiteral>4
>  DOOR SALOON</DoorPlanLiteral><WheelPlan 
> /><GrossWeight>0</GrossWeight><DateExported>0001-01-01T00:00:00</DateExported><DateScrapped>0001-01-01T00:00:00</DateScrapped><VINConfirmationFlag>NoMatch</VINConfirmationFlag><VINSerialNumber>12</VINSerialNumber><ABIBrokerNetCode>32004501</ABIBrokerNetCode><EngineNumber>UNKNOWN</EngineNumber><Transmission>AUTO
>  5 GEARS</Transmission><Colour>UNKNOWN</Colour><Model>E CLASS (210) E320 
> AVANTGARDE V6</Model><MakeModel>MERCEDES E CLASS (210) E320 AVANTGARDE 
> V6</MakeModel><Make>MERCEDES</Make><Imported>NotImported</Imported><Exported>NotExported</Exported><Scrapped>NotScrapped</Scrapped><YearOfManufacture>0</YearOfManufacture><DateFirstRegistered>1997-06-04T00:00:00</DateFirstRegistered><DoorPlan>C</DoorPlan><EngineCapacity>0</EngineCapacity><DateOfTransaction>1997-06-04T00:00:00</DateOfTransaction></VehicleRegistration><Finance><FinanceDataRecords
>  
> /><FinanceDataRecordCount>0</FinanceDataRecordCount></Finance><PlateChangeDetails><PlateChanges
>  
> /><PlateChangeCount>0</PlateChangeCount></PlateChangeDetails><ConditionData><ConditionDetailsItems
>  
> /><ConditionDetailsItemsCount>0</ConditionDetailsItemsCount></ConditionData><MileageDetails><MileageItems
>  
> /><MileageItemsCount>0</MileageItemsCount><InputMileage>0</InputMileage><MileageSequenceFlag>MileageInDateOrder_OR_OnlyOneMileage</MileageSequenceFlag></MileageDetails><StolenVehicleDetails><Creationdate>0001-01-01T00:00:00</Creationdate><DateOfTransaction>0001-01-01T00:00:00</DateOfTransaction></StolenVehicleDetails><HighRiskRecordDetails><HighRiskItems
>  
> /><HighRiskCount>0</HighRiskCount></HighRiskRecordDetails><KeeperChangesDetails><KeeperChanges
>  
> /><KeeperChangesCount>0</KeeperChangesCount></KeeperChangesDetails><ColourChangesDetails><ColourChanges
>  
> /><ColourChangeCount>0</ColourChangeCount></ColourChangesDetails><GlassTradeValuationDetails><InputMileage>0</InputMileage><AverageMileage>0</AverageMileage><ValueBasicTrade>0</ValueBasicTrade><AdjustedValue>0</AdjustedValue><GlassInfoReturnedFlag>0</GlassInfoReturnedFlag></GlassTradeValuationDetails><PreviousSearchesDetails><SearchItems
>  
> /><SearchItemsCount>0</SearchItemsCount></PreviousSearchesDetails><DVLASMMTDetails
>  
> /><CapTradeValuationDetails><InputMileage>0</InputMileage><NearestMileage>0</NearestMileage><ValueClean>0</ValueClean><ValueAvg>0</ValueAvg><ValueBelowAvg>0</ValueBelowAvg><CAPInfoReturnFlag>0</CAPInfoReturnFlag></CapTradeValuationDetails><VehicleRegCertData><VehicleRegCerts
>  
> /><VehicleRegCertCount>0</VehicleRegCertCount></VehicleRegCertData><VehicleIDCheckData><VehicleIDCheck
>  
> /><VICCount>0</VICCount></VehicleIDCheckData><MCIAMotorcycleData><AssignedVIN>0</AssignedVIN><DateOf1stReg>0001-01-01T00:00:00</DateOf1stReg><ColourCode>0</ColourCode><V55FormTypeCode>Unknown</V55FormTypeCode><YearOfManufacture>0</YearOfManufacture><VehicleType>Unknown</VehicleType></MCIAMotorcycleData><VehicleExiseDutyData
>  /><AdditionalSmmtData /><PerformanceAndConsumptionData 
> /><EngineAndTechnicalData /><WeightAndDimensionData 
> /><MessageDetails><MessageList><Message><ID>15</ID><Severity>Unknown</Severity><MsgLine1>!!
>  WARNING !!</MsgLine1><MsgLine2>Phone 0870 9059 "
> 2012/07/11 [DEBUG] content - << "095 now!</MsgLine2><MsgLine3 /><MsgLine4 
> /></Message></MessageList><MessageCount>1</MessageCount></MessageDetails></GetVehicleDataResult></GetVehicleDataResponse></soap:Body></soap:Envelope>"
> 2012/07/11 [DEBUG] HttpMethodBase - Resorting to protocol version default 
> close connection policy
> 2012/07/11 [DEBUG] HttpMethodBase - Should NOT close connection, using 
> HTTP/1.1
> 2012/07/11 [DEBUG] HttpConnection - Releasing connection back to connection 
> manager.
> 2012/07/11 [DEBUG] MultiThreadedHttpConnectionManager - Freeing connection, 
> hostConfig=HostConfiguration[host=https://www.nextgen.com, 
> proxyHost=http://10.243.190.104:8080]
> 2012/07/11 [DEBUG] IdleConnectionHandler - Adding connection at: 1342036442986
> 2012/07/11 [DEBUG] MultiThreadedHttpConnectionManager - Notifying no-one, 
> there are no waiting threads
> {code}
> Any help on this is greatly appreciated.
> Best regards,
> Nick.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to