I have two Java web services deployed on Glassfish server using Netbeans 7.2.1, both services are inside the same web application. I am trying to invoke webservice2 from webservice1 and this is the code:
ebank.Customer_Service service = new ebank.Customer_Service();
ebank.Customer port = service.getCustomerPort();
port.getData();
However I get error saying:
cannot find symbol
symbol: class Customer
location: package ebank
Thanks.
Solution is to just call web service as normal Java class.