What do you mean with the "currentURL"? If you want to call a webservice, then you must know the address of the webservice beforehand. Just like you have to know somebody's phone number if you want to call them. Didn't the provider of the webservice tell you what the address of it is?
Or do you mean something else? In that case please explain in more detail what you're looking for.