Hi,
I've developing a web service interface for one of products in my company. The web services contain multiple webService interfaces and multiple webservices implementations.
For example :
One service:
package com.company.ws.product.servicea;
@WebService(targetNamespace =
http://my.company/ws/servicea/WebServiceA, name = "WebServiceA")
@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
public interface WebServiceA extends Remote {
and
@WebService(endpointInterface = "com.company.ws.product.servicea.WebServiceA")
public class WebServiceAImpl implements WebServiceA {
Second service:
package com.company.ws.product.servicea;
@WebService(targetNamespace =
http://my.company/ws/serviceb/WebServiceB, name = "WebServiceB")
@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
public interface WebServiceB extends Remote {
and
@WebService(endpointInterface = "com.company.ws.product.servicea.WebServiceB")
public class WebServiceBImpl implements WebServiceB {
The problem is that when compiling the sources with APT (I am using JAX-WS 2.0.1 M1), it gives me very stange error messages, such as :
D:\dev\Projects\product\src\com.company.ws.product.servicea.WebServiceA.java:24: The endpoint interface com.company.ws.product.serviceb.WebServiceB does not match the interface com.company.ws.product.servicea.WebServiceA .
I am really confused, and do not know how to proceed from this stage.
After some googling I've stumbled upon thread :
http://forums.java.net/jive/thread.jspa?threadID=2252&messageID=136856 , that resembles a problem of mine, but it is talking about two webservices on the same package, while my packages are different.
Can anyone help ????
Thanks in advance.
Regards,
Dima Gutzeit.