Java/Tomcat의 SSL 구성은 그대로이며, SSL을 처리하는 nginx 역 프록시에서 요청을 가져 오기 위해 tomcat6 인스턴스를 구성하여 localhost : 8080에 프록시 연결을 지정합니다. X-Forwarded-For
과 같은 헤더를 추가하면 엔드 포인트가 올바른 주소로 표시되지만 올바른 프로토콜에서는 표시되지 않습니다. (내 경우 파이썬 - 비눗물에) 클라이언트는 SOAP 포트에 대해 다음 위치를 잘 WSDL을 가져옵니다 만 찾습니다잘못된 위치를 생성하는 역 프록시 뒤에 axis2 webapp가 있음
<wsdl:service name="WebService">
<wsdl:port name="WebServiceHttpSoap11Endpoint" binding="ns:WebServiceSoap11Binding">
<soap:address location="http://10.10.3.96/axis2/services/WebService.WebServiceHttpSoap11Endpoint/"/>
</wsdl:port>
<wsdl:port name="WebServiceHttpSoap12Endpoint" binding="ns:WebServiceSoap12Binding">
<soap12:address location="http://10.10.3.96/axis2/services/WebService.WebServiceHttpSoap12Endpoint/"/>
</wsdl:port>
<wsdl:port name="WebServiceHttpEndpoint" binding="ns:WebServiceHttpBinding">
<http:address location="http://10.10.3.96/axis2/services/WebService.WebServiceHttpEndpoint/"/>
</wsdl:port>
</wsdl:service>
내가 의심의이이 결과 사용하려고, 그것은을 던져 http://
바람둥이의 로그에 오류 및 다음과 같은 메시지 :이 작업을하려면이 옵션을 구성하는 (축 2 또는의 nginx에)있는 방법
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /axis2/services/WebService.WebServiceHttpSoap11Endpoint/ and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.
있습니까? 나는 축 2가 https://
을 포함하는 끝점의 위치를 생성하도록 설득하는 방법을 찾지 못하는 것 같습니다.
에서 그 동안 :'X-Forwarded-Proto : https'는 해결책이 아닙니다 (Axis2에서는 무시되는 것 같습니다). – akaIDIOT