About Question enthuware.ocejws.v6.2.84 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
mstrzyz
Posts: 1
Joined: Sat Apr 05, 2014 1:35 am
Contact:

About Question enthuware.ocejws.v6.2.84 :

Post by mstrzyz »

I think that in option 1 there should be

Code: Select all

SOAPMessage response = dispatch.invoke(createSOAPmessage());
instead of

Code: Select all

SOAPMessage response = dispatcher.invoke(createSOAPmessage());
or

Code: Select all

Dispatch<SOAPMessage> dispatcher = service.createDispatcher(portName, SOAPMessage.class, Service.Mode.MESSAGE);
instead of

Code: Select all

Dispatch<SOAPMessage> dispatch = service.createDispatcher(portName, SOAPMessage.class, Service.Mode.MESSAGE);
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.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.84 :

Post by fjwalraven »

Hi,

You are right, I will fix that.

Thanks for your feedback!

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 65 guests