⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 audiocallbindingimpl.java

📁 电信ISAG的服务连接和服务
💻 JAVA
字号:
/**
 * AudioCallBindingImpl.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package cn.com.chinatelecom.www.wsdl.ctcc.audio_call.v2_1.service;
import org.apache.axis.MessageContext;
import cn.com.chinatelecom.www.schema.ctcc.common.v2_1.*;
import org.apache.axis.attachments.*;
import test.*;

public class AudioCallBindingImpl
    implements cn.com.chinatelecom.www.wsdl.ctcc.audio_call.v2_1._interface.
    AudioCall {
  public java.lang.String playTextMessage(org.apache.axis.types.URI address,
                                          java.lang.String text,
                                          java.lang.String language,
                                          cn.com.chinatelecom.www.schema.ctcc.
                                          common.v2_1.ChargingInformation
                                          charging) throws java.rmi.
      RemoteException,
      cn.com.chinatelecom.www.schema.ctcc.common.v2_1.PolicyException,
      cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceException {
    MessageContext context = MessageContext.getCurrentContext();
    DecodeSoapHeader soapHeader = new DecodeSoapHeader(context);
    RequestSOAPHeader header = soapHeader.DecodeDownSoapHeader();

    System.out.println("header.getSpId():" + header.getSpId());

    //保存附件到本地wp ok!!!
    AttachmentPart[] attachments = tools.getMessageAttachments(context);
    tools.saveAttachments(attachments, "E:\\temp\\receive", "tt");
    System.out.println("receive attachments sucess!");

    return "ok!";
  }

  public java.lang.String playAudioMessage(org.apache.axis.types.URI address,
                                           org.apache.axis.types.URI audioUrl,
                                           cn.com.chinatelecom.www.schema.ctcc.
                                           common.v2_1.ChargingInformation
                                           charging) 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 "1234";
  }

  public java.lang.String playVoiceXmlMessage(org.apache.axis.types.URI address,
                                              org.apache.axis.types.URI
                                              voiceXmlUrl,
                                              cn.com.chinatelecom.www.schema.
                                              ctcc.common.v2_1.
                                              ChargingInformation charging) 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 cn.com.chinatelecom.www.schema.ctcc.audio_call.v2_1.MessageStatus
      getMessageStatus(java.lang.String correlator) 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 cn.com.chinatelecom.www.schema.ctcc.audio_call.v2_1.MessageStatus
      endMessage(java.lang.String correlator) 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;
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -