About Question enthuware.ocejws.v6.2.84 :
Posted: Thu May 08, 2014 1:25 pm
I think that in option 1 there should be
instead of
or
instead of
Otherwise the explanation of why this is not correct answer should be expanded about the information that the code will not compile because there is no dispatcher declared.
Code: Select all
SOAPMessage response = dispatch.invoke(createSOAPmessage());
Code: Select all
SOAPMessage response = dispatcher.invoke(createSOAPmessage());
Code: Select all
Dispatch<SOAPMessage> dispatcher = service.createDispatcher(portName, SOAPMessage.class, Service.Mode.MESSAGE);
Code: Select all
Dispatch<SOAPMessage> dispatch = service.createDispatcher(portName, SOAPMessage.class, Service.Mode.MESSAGE);