Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Invoke cxf service from Java Web Start (JNLP)

$
0
0
Hi,

My service client jar is downloaded to the client machine through Java Web
Start. The service client invokes the service as below. But it just stops
(no response) at Line 5.

Line 1: URL wsdlURL = new
URL("http://services.xxx.com:8090/datastorage/services/publicdatastorage?wsdl");

Line 2: QName SERVICE_NAME = new QName("http://xxx.com/service/DataStorage",
"DataStoragePublicService");

Line 3: sbiService = Service.create(wsdlURL, SERVICE_NAME);

Line 4: QName PORT_NAME = new QName("http://xxx.com/service/DataStorage",
"DataStoragePublicPort");

Line 5: port = sbiService.getPort(PORT_NAME,
DataStoragePublicPortType.class);

This code works well from local service jar, not through Java Web Start.
Any suggestions please?

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images