Skip to Content
0
Former Member
Jul 29, 2009 at 12:14 AM

unable to call new instead of been injected

58 Views

Iu2019m calling Java WS proxy , and my first step is to create service object:

1. RequestITServiceMaintainService service = new RequestITServiceMaintainService();

2. RequestITServiceMaintain port = service.getRequestITServiceMaintainPort();

On line 1 Iu2019ve got an exception:

detailMessage= "JAX-WS deployable proxy is instantiated with 'new' instead of been injected. Cannot find WSDL URL for service [class com.valero.ps.project.hpservicemanager.RequestITServiceMaintainService] "

Can somebody suggest how to call service object to get Port information?

Appreciate your help

Thanks

Costa