Username passworf for webservices

Hi Guys,

Can anyone help on how to add a username/password for an existing web services URL which we have succefully connected when it was public, but iam dont know the syntax to add a username and password…

//Connect to the service by downloading the WSDL

ws.connect(“http://my.yourdomain.com/mysite/src/myService.asmx?WSDL”);

username: user pass: pass

thanks in advance.

:pleased: