Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache AXIS2 habdler例外_Apache_Axis2 - Fatal编程技术网

Apache AXIS2 habdler例外

Apache AXIS2 habdler例外,apache,axis2,Apache,Axis2,我创建axis2处理程序“SimpleHandler”,并使用以下命令在OutFlow中注册它: <phaseOrder type="OutFlow"> <!-- user can add his own phases to this area --> <phase name="soapmonitorPhase"/> <phase name="OperationOutPhase"/> <!--system

我创建axis2处理程序“SimpleHandler”,并使用以下命令在OutFlow中注册它:

 <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>
org.apache.axis2.AxisFault:系统无法从URL推断传输信息。 位于org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:81) 位于org.apache.axis2.client.OperationClient.prepareMessageContext(OperationClient.java:304) 在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.modify(SPMLHlrSubscriber45ServiceStub.java:806)
在test.test.main(test.java:53)

中,流出中没有预分配或调度阶段,因为这是响应路径。因此,您的hanlder应该如下所示

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

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