2011-11-08 33 views
0

我有簡單的JAXWS客戶端動態url。 我想添加超時。但我在這裏找到的所有例子都不像我的客戶。 這裏是我的代碼:誰來設置JAXWS 2.2客戶端超時

QName qname = new QName(responseUrl,"sendMessage"); 
     MyApiService myApiService = new myApiService(newEndpoint,qname);   
     myApi port = myApiService.getmyApiPort(); 



     NPACK nPACK = port.sendMessage(nPMESSAGE); 

我如何實現我的客戶thisthis

回答

1
((BindingProvider)port).getRequestContext()...