Page 1 of 1

Question about Mock test 4 question 37

Posted: Tue Jul 28, 2015 4:59 pm
by resolve123
We are creating a dispatch client against the following Web Service implementation. The Web Service's endpoint is published at the address "http://localhost:9999/math". Assume that the namespace string is correctly escaped in the client code. What is the correct client code?
package ws.math;
@WebService public interface MathTableService {    public SimpleMathTable getTable(Integer number);
}

package ws.math; @WebService (endpointInterface = "MathTableService") public class MathTableImpl {    public SimpleMathTable getTable(Integer number) {       return new SimpleMathTable(number);    } }


How come we use the dispatcher for Jax ws webservice . We use Invoke method at client side but at service side we do not have any Invoke method as it do not implement provide interface. So it confuse me how it will call the getTable method through Dispatcher.

Re: Question about Mock test 4 question 37

Posted: Wed Jul 29, 2015 10:42 am
by fjwalraven
Hi,

I can't find the exact question you are referring to. Did you update the question bank? We had a major update recently.

A dispatch client works differently from a proxy client. What book are you using?

Regards,
Frits

Re: Question about Mock test 4 question 37

Posted: Wed Jul 29, 2015 5:44 pm
by resolve123
How can I update my question bank

Re: Question about Mock test 4 question 37

Posted: Wed Jul 29, 2015 11:18 pm
by fjwalraven
From the tools menu. "Check for question bank update".

Regards,
Frits