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 » Tue Jul 28, 2015 4:59 pm

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 » Wed Jul 29, 2015 10:42 am

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 » Wed Jul 29, 2015 5:44 pm

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 » Wed Jul 29, 2015 11:18 pm

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

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests