📄 networkenhancedcallbindingimpl.java
字号:
/**
* NetworkEnhancedCallBindingImpl.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.wsdl.ctcc.enhanced_call.networkcall.v2_1.service;
import org.apache.axis.MessageContext;
import cn.com.chinatelecom.www.schema.ctcc.common.v2_1.*;
import org.apache.axis.types.URI;
import cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.*;
import javax.xml.soap.SOAPElement;
import org.apache.axis.message.SOAPHeaderElement;
import org.apache.axis.message.PrefixedQName;
import org.apache.axis.message.*;
import org.apache.axis.*;
import org.apache.axis.transport.http.HTTPConstants;
import javax.servlet.http.HttpServletRequest;
import java.util.Iterator;
import test.*;
public class NetworkEnhancedCallBindingImpl implements cn.com.chinatelecom.www.wsdl.ctcc.enhanced_call.networkcall.v2_1._interface.NetworkEnhancedCall{
public cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.PowerAction
enhandleACall(java.lang.String callIdentifier,
org.apache.axis.types.URI callingParty,
org.apache.axis.types.URI calledParty,
cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.
RequestCause requestCause) throws java.rmi.RemoteException,
cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceException {
System.out.println("==enhandleCallEvent is called!==");
System.out.println("callIdentifier:" + callIdentifier);
System.out.println("callingParty:" + callingParty.getSchemeSpecificPart());
System.out.println("calledParty:" + calledParty.getSchemeSpecificPart());
System.out.println("requestCause:" + requestCause.getValue());
PowerAction powerAction = new PowerAction();
powerAction.setActionToPerform(PowerActionValues.EndCall);
org.apache.axis.MessageContext msgContext = org.apache.axis.MessageContext.getCurrentContext();
org.apache.axis.Message msg = msgContext.getResponseMessage();
org.apache.axis.message.SOAPEnvelope responseEnvelope = msg.getSOAPEnvelope();
//设置soap头
RouteSoapHeader soap = new RouteSoapHeader("G:\\SP所有资料\\电信cpSp\\downsoap.properties");
soap.setSoapHeader(responseEnvelope);
return powerAction;
}
public cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.PowerAction
enhandleCallEvent(java.lang.String callIdentifier,
org.apache.axis.types.URI callingParty,
org.apache.axis.types.URI calledParty,
cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.
CallResult callResult) throws java.rmi.RemoteException,
cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceException {
return null;
}
public cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.PowerAction
enhandleUIEvent(java.lang.String callIdentifier,
org.apache.axis.types.URI callingParty,
cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.
UIValue uiValue) throws java.rmi.RemoteException,
cn.com.chinatelecom.www.schema.ctcc.common.v2_1.PolicyException,
cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceException {
return null;
}
public void enNotifyEvent(java.lang.String callIdentifier,
org.apache.axis.types.URI callingParty,
org.apache.axis.types.URI calledParty,
cn.com.chinatelecom.www.schema.ctcc.enhanced_call.
v2_1.NotifyEventValues notifyEvent) throws java.rmi.
RemoteException,
cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceException {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -