enthuware.ocejws.v6.2.30 Error?

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
JanOhrstrom
Posts: 9
Joined: Sun Aug 25, 2013 8:40 am
Contact:

enthuware.ocejws.v6.2.30 Error?

Post by JanOhrstrom »

Code:
public class LogServiceImpl {
Code should maybe be written as:
public class LogServiceImpl implements LogService{

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

Re: enthuware.ocejws.v6.2.30 Error?

Post by fjwalraven »

Hi Jan,

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

Regards,
Frits

JanOhrstrom
Posts: 9
Joined: Sun Aug 25, 2013 8:40 am
Contact:

Re: enthuware.ocejws.v6.2.30 Error?

Post by JanOhrstrom »

Hi Frits,

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

Regards, Jan

mcoria
Posts: 2
Joined: Thu Sep 08, 2016 1:57 pm
Contact:

Re: enthuware.ocejws.v6.2.30 Error?

Post 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

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

Re: enthuware.ocejws.v6.2.30 Error?

Post 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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 30 guests