Code:
public class LogServiceImpl {
Code should maybe be written as:
public class LogServiceImpl implements LogService{
			
			
									
									
						enthuware.ocejws.v6.2.30 Error?
Moderators: Site Manager, fjwalraven
- 
				JanOhrstrom
 - Posts: 9
 - Joined: Sun Aug 25, 2013 8:40 am
 - Contact:
 
- 
				fjwalraven
 - Posts: 429
 - Joined: Tue Jul 24, 2012 2:43 am
 - Contact:
 
Re: enthuware.ocejws.v6.2.30 Error?
Hi Jan,
That is indeed best practice however not necessary. The endpointInterface attribute is used by JAX-WS.
Regards,
Frits
			
			
									
									
						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?
Hi Frits,
This was news to me...
Thanks for correcting me.
Regards, Jan
			
			
									
									
						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?
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
			
			
									
									
						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?
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
			
			
									
									
						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
Who is online
Users browsing this forum: Bing [Bot] and 10 guests