[jira] Closed: (AXIS2-4322) Cannot connect via NTLM proxy on Mac machine.
[ https://issues.apache.org/jira/browse/AXIS2-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Cote closed AXIS2-4322. Resolution: Invalid This is actually due to either a bug in the Apple JVM or my own ignorance about how to properly use the keychain in a Java application running on a Mac. Currently working with Apple... Cannot connect via NTLM proxy on Mac machine. - Key: AXIS2-4322 URL: https://issues.apache.org/jira/browse/AXIS2-4322 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: transports Affects Versions: 1.4.1, 1.4 Environment: Apple Mac OS X 10.5, Axis2 1.4 Reporter: Sean Cote We have a web-service client application and we allow the user to connect via an authenticating proxy server. It works for basic, digest, and NTLM authentication on all platforms, except for one case: It does not work for NTLM authentication on Mac OS X 10.5. We get the following error: [ERROR] HttpMethodDirector - Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentialsorg.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:332) at org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:320) at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:491) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:391) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) Why does it work for Windows and Linux, but not Macs? Please let me know if I can help in any way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (AXIS2-4322) Cannot connect via NTLM proxy on Mac machine.
Cannot connect via NTLM proxy on Mac machine. - Key: AXIS2-4322 URL: https://issues.apache.org/jira/browse/AXIS2-4322 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: transports Affects Versions: 1.4, 1.4.1 Environment: Apple Mac OS X 10.5, Axis2 1.4 Reporter: Sean Cote We have a web-service client application and we allow the user to connect via an authenticating proxy server. It works for basic, digest, and NTLM authentication on all platforms, except for one case: It does not work for NTLM authentication on Mac OS X 10.5. We get the following error: [ERROR] HttpMethodDirector - Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentialsorg.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:332) at org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:320) at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:491) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:391) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) Why does it work for Windows and Linux, but not Macs? Please let me know if I can help in any way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (AXIS2-4010) Attachment content-type header not set properly for bmp files.
Attachment content-type header not set properly for bmp files. -- Key: AXIS2-4010 URL: https://issues.apache.org/jira/browse/AXIS2-4010 Project: Axis 2.0 (Axis2) Issue Type: Bug Affects Versions: 1.4 Environment: Any OS/platform. Reporter: Sean Cote I am adding an attachment to a SOAP request, like so: _serviceClient.getOptions().setProperty(Constants.Configuration.ENABLE_SWA, Constants.VALUE_TRUE); if (attachment != null) { FileDataSource communityFile = new FileDataSource(attachment); DataHandler communityDH = new DataHandler(communityFile); _messageContext.addAttachment(communityDH); } I am looking at the request in TCPMon and I see an issue. If the attachment is a jpg file, the Content-Type is automatically set to image/jpeg. If the attachment is a gif file, the Content-Type is automatically set to image/gif. However, if the attachment is a bmp file, the Content-Type is application/octet-stream. I believe it should be set to image/bmp, just like the other image file-types. To work around this, I'm going to have to modify the generated stubs to set the Content-Type manually. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (AXIS2-4003) Axis2 does not handle http.proxyUser and http.proxyPassword.
Axis2 does not handle http.proxyUser and http.proxyPassword. Key: AXIS2-4003 URL: https://issues.apache.org/jira/browse/AXIS2-4003 Project: Axis 2.0 (Axis2) Issue Type: Bug Affects Versions: 1.4 Environment: Any platform Reporter: Sean Cote Axis2 pays attention to http.proxyHost and http.proxyPort, but as soon as I tried to use a proxy-server with authentication, this stopped working. I got around this by creating a ProxyProperties Object, but all of the standard Java networking properties should work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]