Page 1 of 1

enthuware.ocejws.v6.2.30 Error?

Posted: Mon Jul 13, 2015 4:36 am
by JanOhrstrom
Code:
public class LogServiceImpl {
Code should maybe be written as:
public class LogServiceImpl implements LogService{

Re: enthuware.ocejws.v6.2.30 Error?

Posted: Mon Jul 13, 2015 6:59 am
by fjwalraven
Hi Jan,

That is indeed best practice however not necessary. The endpointInterface attribute is used by JAX-WS.

Regards,
Frits

Re: enthuware.ocejws.v6.2.30 Error?

Posted: Mon Jul 13, 2015 7:26 am
by JanOhrstrom
Hi Frits,

This was news to me...
Thanks for correcting me.

Regards, Jan

Re: enthuware.ocejws.v6.2.30 Error?

Posted: Thu Sep 08, 2016 2:56 pm
by mcoria
Hi all,

I think the explanation for this question partially explains the correct answer,

'JSR-109.Implementing Enterprise Web Services 1.3' complements the provided explanation.

5.3.2.1 javax.jws.WebService annotation
....
- serviceName attribute of javax.jws.WebService annotation prefixed with "/" maps to <url-pattern>
element in web.xml. If the serviceName attribute in javax.jws.WebService annotation is not
specified, then the default value as specified in JSR-181 specification is used.
.....

Please let me know your thoughts.

Thanks,
Mauricio

Re: enthuware.ocejws.v6.2.30 Error?

Posted: Fri Sep 09, 2016 12:17 pm
by fjwalraven
Hi,

Yes, the default URL can be overwritten by the web.xml.

There is a good example here:
http://www.ibm.com/support/knowledgecen ... ebxml.html.

I will add a line or two to the explanation.

Thanks for your feedback!
Frits