Apache AXIS2 habdler例外
我创建axis2处理程序“SimpleHandler”,并使用以下命令在OutFlow中注册它: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
<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>