2013-12-22 4 views
0
난, 축 처리기 "SimpleHandler"를 만들고 사용 유출에 등록

:AXIS2 habdler의 exceptiob

<phaseOrder type="OutFlow"> 
    <!--  user can add his own phases to this area --> 
<phase name="soapmonitorPhase"/> 
    <phase name="OperationOutPhase"/> 
    <!--system predefined phase--> 
    <!--these phase will run irrespective of the service--> 
    <phase name="PolicyDetermination"/> 
    <phase name="MessageOut" > 
      <handler name="digitalSign2"    class="com.asset.vsv.adapters.hlr.integration.SimpleHandler" > <order phase="PreDispatch"/> 
      </handler> 
    </phase> 
    <phase name="Security"/> 
</phaseOrder> 

을하지만 예외

2013-12-22 16:39:22 ERROR ClientUtils:80 - The system cannot infer the transport information from the http://qq.qq.qq.qq:8084/hlr-sim/SPMLHlrSubscriber45Service URL. 

org.apache.axis2.AxisFault 오류 : 시스템 못해 URL http://qq.q.qq.qq:8084/hlr-sim/SPMLHlrSubscriber45Service에서 전송 정보를 추론합니다. at org.apache.axis2.description.ClientUtils.inferOutTransport (ClientUtils.java:81) at org.apache.axis2.client.OperationClient.prepareMessageContext (OperationClient.java:304) at org.apache.axis2.description. OutInAxisOperationClient.executeImpl (OutInAxisOperation.java:180) 에서 org.apache.axis2.client.OperationClient.execute (OperationClient.java:165) 에서 wsdl._5._4.hlr_subscriber.gw.prov.names.siemens.SPMLHlrSubscriber45ServiceStub.at test.Test.main (Test.java:53)

답변

0

응답 경로이므로 OutFlow에는 PreDispatch 또는 Dispatch 단계가 없습니다. 그래서 당신은 아래처럼해야합니다.

<phase name="MessageOut" > 
      <handler name="digitalSign2"    class="com.asset.vsv.adapters.hlr.integration.SimpleHandler" > <order phase="MessageOut"/> 
      </handler>