3
스프링 4 응용 프로그램에 간단한 jaxws 구성 파일을 추가했습니다.XML 스키마 네임 스페이스 용 Spring NamespaceHandler를 찾을 수 없습니다. [http://cxf.apache.org/jaxws] - cxf-rt-frontend-jaxrs 포함 -
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<version>3.1.4</version>
</dependency>
:
이
Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxws]
내가 찾을 수있는 정보의 모든 이미 수행 한 의존성을 포함 말한다 :
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
<jaxws:client name="https://testecommerce.credibanco.com/vpos2/services/VPOSWS20SOAP/authorize" createdFromAPI="true">
<!-- Uncomment if using WS-SecPolicy method -->
<jaxws:properties>
<entry key="ws-security.username" value="myuser"/>
<entry key="ws-security.callback-handler" value-ref="mypassword"/>
</jaxws:properties>
</jaxws:client>
<bean id="myPasswordCallback" class="com..core.ws.security.PWHandler"/>
</beans>
그리고이 오류가 무엇입니까 6,
나는 이러한 CXF 항아리뿐만 아니라 포함되어 있습니다 : 나는 보스 EAP 7을 사용하고
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-hc</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-bindings-soap</artifactId>
<version>${cxf.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-security</artifactId>
<version>${cxf.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.wss4j</groupId>
<artifactId>wss4j-ws-security-common</artifactId>
<version>2.1.5</version>
</dependency>
나는 또한 제이보스 EAP 6.4에서 응용 프로그램을 실행 시도하고 같은 문제를 얻었다. 나는 또한 jboss-deployment-structure에서 웹 서비스 모듈을 제외하려고했지만 다른 오류가 발생했습니다.
필요한 병이 배포 된 응용 프로그램의 WEB-INF/lib 폴더에 직접 있는지 확인 했습니까? – Frank