# Username passworf for webservices

**URL:** https://forum.kirupa.com/t/username-passworf-for-webservices/275812
**Category:** Uncategorized
**Created:** [November 18, 2008, 10:35pm UTC](https://forum.kirupa.com/t/username-passworf-for-webservices/275812 "2008-11-18T22:35:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thesaint2](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@thesaint2](https://forum.kirupa.com/u/thesaint2)
#### Post date: [November 18, 2008, 10:35pm UTC](https://forum.kirupa.com/t/username-passworf-for-webservices/275812/1 "2008-11-18T22:35:44Z")

</div>

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](http://my.yourdomain.com/mysite/src/myService.asmx?WSDL)”);

username: user pass: pass

thanks in advance.

:pleased:
