When we generate a stub using WSDL that will have this line below in class.
@WebServiceClient(name = "testService", targetNamespace = "http://test.soap.coh.mycompany.com/", wsdlLocation = "file:/C:/Users/sam/Documents/NetBeansProjects/test/trunk/test-service-co/target/wsdl/co/test/wsdl/testService.wsdl")
This is good when you are deploying the ear in local means same place where you have the source code.
But when we try to develop this ear pacakge created from my desktop in dev server its is giving exception, as the path is not avilabel.
Now my question id how to generate the stub where we do not have the above mentioned issue. Please note we are using maven to generate the stubs.