Question about Mock test 4 question 37

Moderators: Site Manager, fjwalraven

Post Reply
resolve123
Posts: 6
Joined: Wed Jun 17, 2015 6:45 am
Contact:

Question about Mock test 4 question 37

Post 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.

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

Re: Question about Mock test 4 question 37

Post 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

resolve123
Posts: 6
Joined: Wed Jun 17, 2015 6:45 am
Contact:

Re: Question about Mock test 4 question 37

Post by resolve123 »

How can I update my question bank

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

Re: Question about Mock test 4 question 37

Post by fjwalraven »

From the tools menu. "Check for question bank update".

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests