Build a simple function in Java that implements a SOAP Client that sends 1 parameter to a server, using Negotiate,NTLM authentication. Parse returned xml file into variables. No GUI needed: simply take the 1 input parameter as an argument to the function, and print the variables in the returned message. Function should return 0 if successful and 1 in there was a fault detected.
I will provide link to the WSDL file as well as username and password.