Web services cq5中的Web服务问题-[类上不存在Web服务注释]

Web services cq5中的Web服务问题-[类上不存在Web服务注释],web-services,maven,soap,wsdl,aem,Web Services,Maven,Soap,Wsdl,Aem,我正在使用CQ5开发SOAP JAX-WS。我正在尝试链接上提供的示例“_http://cqblog.inside-solutions.ch/2013/11/01/consuming-soap-web-service-with-jax-ws-in-cq5-6-1/". 我使用命令“wsimport-keep-verbose”生成存根。当我在我的WebServiceClient类中调用这一行时,我得到的错误是“类com.mercer.jaxws.TempConvertSoap上不存在WebServ

我正在使用CQ5开发SOAP JAX-WS。我正在尝试链接上提供的示例“_http://cqblog.inside-solutions.ch/2013/11/01/consuming-soap-web-service-with-jax-ws-in-cq5-6-1/". 我使用命令“wsimport-keep-verbose”生成存根。当我在我的WebServiceClient类中调用这一行时,我得到的错误是“类com.mercer.jaxws.TempConvertSoap上不存在WebService注释”。TempConvertSoap是一个代理类

*行:- 返回super.getPort(新的QName(“_http://www.w3schools.com/webservices/“,”TempConvertSoap“),TempConvertSoap.class)

我正在添加以下依赖项以解析maven pom.xml中所需的JAR:-

<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
    <version>1.1.2</version>
</dependency>


<dependency>
    <groupId>javax.xml.ws</groupId>
    <artifactId>jaxws-api</artifactId>
    <version>2.2.8</version>
</dependency>

org.apache.geronimo.specs
geronimo-ws-metadata_2.0_规范
1.1.2
javax.xml.ws
JAXWSAPI
2.2.8
请在同一页上提供指针

谢谢, 尼伯拉基兰酒店