You can create this encoded string with the command line call to openssl e.g. The _auth variable has to be generated by base64-encoding the string of username:password.
Lets start i important step here,We need generate proxy class to access Web service method from using WSDl file, then only you access the web service method in your client application.