netbeans wsdl client code generation
===

Am trying to use netbeans to build a web service client. 
The remote WSDL has relative paths to the service and the schemaLocation.
Copied the wsdl localy, replaced the relative links and tried using it to generate the client. 

Error: Unknown Host: localhost
URL Resource 
Retrieving Location:      locallink/Service.svc?xsd=xsd4 
	Found in document: remote url link Service.svc?xsd=xsd2

The error repeats for all the schema locations.
