Page 1 of 1

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

Posted: Sun Nov 08, 2015 9:02 am
by ramy6_1
Hello ,

You mentioned "There is no getPort()method without parameters."
But this is not correct , I have running code on netbeans with getPort without parameters.

Kindly explain.

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

Posted: Mon Nov 09, 2015 12:14 am
by fjwalraven
I have running code on netbeans with getPort without parameters.
I wonder how that is possible. The specs clearly mention a getPort with a minimum of one parameter:

Code: Select all

T getPort(Class<T> sei)
T getPort(QName port, Class<T> sei)
T getPort(Class<T> sei, WebServiceFeature... features)
T getPort(QName port, Class<T> sei, WebServiceFeature... features)
T getPort(EndpointReference epr, Class<T> sei, WebServiceFeature... features)
Regards,
Frits

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

Posted: Mon Nov 09, 2015 2:56 am
by ramy6_1
Hello ,

You are right , the function I have is get****port();

Sorry for any inconvenience.

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

Posted: Wed Apr 06, 2016 4:56 pm
by vikyocajp71
Hello,
I think there's an error on the QName of the correct answer. A missing slash '/' at the end of the URI prevents the client from working correctly.
Please correct me if I am wrong. I did try of course.

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

Posted: Thu Apr 07, 2016 1:28 pm
by fjwalraven
Hi !
think there's an error on the QName of the correct answer. A missing slash '/' at the end of the URI prevents the client from working correctly.
Good catch! I have fixed it.

Thanks for your feedback!

Regards,
Frits

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

Posted: Sat Nov 05, 2016 2:31 pm
by johnlong
You cannot create (or add) a port with name "MathTableImplPort" because it already exists.
Was MathTableImplPort created by this line of code?

Code: Select all

QName portName = new QName("http://math.wsl/", "MathTableImplPort");     service.addPort(portName, 

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

Posted: Thu Nov 10, 2016 10:40 pm
by johnlong
? ? ? ? ?

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

Posted: Fri Nov 11, 2016 1:22 pm
by fjwalraven
Sorry, it seems I didn't get an e-mail when you replied to this question.
Was MathTableImplPort created by this line of code?
No, it was created by wsimport

Regards,
Frits

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

Posted: Mon Nov 14, 2016 1:24 am
by johnlong
How do you know that it was created by wsimport?

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

Posted: Mon Nov 14, 2016 2:55 am
by fjwalraven
How do you know that it was created by wsimport?
The problem statement mentioned it "Assume that the artifacts are generated by wsimport." When you generate these artifacts you can see that the port is there (because that is what wsimport does for you)

Have you tried it yourself and verified the generated code?

Regards,
Frits