This week's book giveaway is in the Spring forum. We're giving away four copies of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 and have Marten Deinum & Iuliana Cosmina on-line! See this thread for details.
Hello, I have created war file for the project and it has been deployed on another server. i want to access it using the proxy settings like proxy url,name,port number, username, password . which i have stored in the proxy.properties file.
Even i have written a servlet that wil load a properties file in memory on start up. can anyone help me to how to create a some class that wil use the proxy settings and call the webservices on server on which it has been deployed ???
i have created a webservice client and i am calling the stub i have generated using the WSDL. But the webservices are located on some other server say internet. To access it i need to pass through the proxy authentications.
11:44:16,688 INFO [STDOUT] 2008-10-30 11:44:16,688 ERROR [HttpMethodDirector-authenticate-235]-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.UsernamePasswordCredentials
11:44:16,719 INFO [STDOUT] 2008-10-30 11:44:16,719 ERROR [searchTrip_jsp-_jspService-658]-Transport error: 407 Error: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ) org.apache.axis2.AxisFault: Transport error: 407 Error: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
But the problem over here is that i had to use this lines of code everytime i make a call to stub when i am loading the HTTPProxyProperties object in servlet and loading into memory while calling stub. its not taking the proxy settings.