2010-01-12 4 views
0

Glassfish에 배포 된 Java ws와 glassfish에 배포 된 다른 Java ws (둘 다 Java EE 5이며 둘 다 netbeans 6.7.1에서 개발 중입니다)가 있습니다. 그래서이 WS의도는 SSL을 사용하지만, 주요 WS 다른를 호출 할 때 우리는이 오류가 점점 :2 시스템에서 2 개의 웹 서비스 간의 통신

WSTX-COORDINATOR-3005: registerResponse sent to EPR '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>https://trinity2.its.local:8181/__wstx-services/wscoor/coordinator/registerResponse</Address><ReferenceParameters><jaxws:objectId xmlns:jaxws="http://jax-ws.dev.java.net/xml/ns/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">4e470037-57c9-4903-9b32-fafc6da84ec7</jaxws:objectId></ReferenceParameters></EndpointReference>' failed. activityId 'uuid:WSCOOR-SUN-2ade62a8-d476-474b-9b9d-a0c1fdeb069f' and msg 'uuid:41c6e179-af20-47da-bbfd-e73519000765'. Nested exception: 'HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target' 
HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:134) 

우리가 어떻게 SSL을 통해 서로 얘기하려고에서 글래스 피쉬를 유지할 수 있습니까? 우리가 2 WS에 클라이언트로 작동하는 일반 자바 애플 리케이션을 할 때 그것은 잘 동작합니다. 그래서 글래스 피시가하는 것처럼 보입니다.

답변

0

좋아요, 제 질문에 부분적으로 대답했습니다. 그래서 netbeans에서 나는 클라이언트 프로젝트에서 서버의 wsdl을 열고 모든 정책 정보를 삭제했습니다.

그래서이되었다

<operation name="jobNote"> 
<ns216:PolicyReference xmlns:ns216="http://www.w3.org/ns/ws-policy" URI="#MetaPortBinding_jobNote_WSAT_Policy"></ns216:PolicyReference> 
<soap:operation soapAction=""></soap:operation> 

:

을 그리고 그것은 괜찮 았는데 ... 내가 자동으로이 정책 정보를 제거하기 위해 할 수 있나요, 나는 빌드를 통해 추측 무엇입니까?

관련 문제