Automaticaly generated wsdl : schema location problem
I have written a small webservice and deploying onto Sun App Server. I am accessing the wsdl from client and it gives me following error..
[copy] Copying 1 file to F:\HandCoded\
[wsimport] error: http://JVVDelInspriron1300:8080/convertaddressA1/ConvertAddressService/__container$publishing$subctx/WEB-INF/wsdl/ConvertAddressService_schema1.xsd
[wsimport] unknown location
[wsimport] error: java.io.FileNotFoundException: http://JVVDelInspriron1300:8080/convertaddressA1/ConvertAddressService/__container$publishing$subctx/WEB-INF/wsdl/ConvertAddressService
what I notice here if I change my local computer name with my IP address in generated wsdl it could find the schema file
For example, instead of "http://JVVDelInspriron1300:8080/convertaddressA1..."
if I change to "http://22.214.171.124:8080/convertaddressA1..."
then it works. I am deploying webservice on server and it automaticaly generates the wsdl for me. So I have to manually change the wsdl as above.
Any help appreciated.