0

i have simple JAXWS client with dynamic url. i want to add timeout . but all the eamples i found here , dosn't look like my client. here is my code :

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



        NPACK nPACK = port.sendMessage(nPMESSAGE);

how do i implement this or this in my client ?

Community
  • 1
  • 1
user63898
  • 29,839
  • 85
  • 272
  • 514

1 Answers1

1
((BindingProvider)port).getRequestContext()...
jtahlborn
  • 52,909
  • 5
  • 76
  • 118