messagenotificationserviceskeleton.java

来自「电信sms接口源代码」· Java 代码 · 共 37 行

JAVA
37
字号
/**
 * MessageNotificationServiceSkeleton.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47 LKT)
 */
package cn.com.chinatelecom.www.wsdl.ctcc.wap_push.notification.v1_0.service;

import cn.com.chinatelecom.www.schema.ctcc.wap_push.notification.v1_0.local.NotifyMessageDeliveryReceiptResponse;
import cn.com.chinatelecom.www.schema.ctcc.wap_push.notification.v1_0.local.NotifyMessageDeliveryReceiptResponse4;

/**
 *  MessageNotificationServiceSkeleton java skeleton for the axisService
 */
public class MessageNotificationServiceSkeleton {
    /**
     * Auto generated method signature
     * @param notifyMessageDeliveryReceipt
     */
    public cn.com.chinatelecom.www.schema.ctcc.wap_push.notification.v1_0.local.NotifyMessageDeliveryReceiptResponse4 notifyMessageDeliveryReceipt(
        cn.com.chinatelecom.www.schema.ctcc.wap_push.notification.v1_0.local.NotifyMessageDeliveryReceipt5 notifyMessageDeliveryReceipt) {
        //TODO : fill this with the necessary business logic

        //打印消息
        System.out.println("Get notifyMessageDeliveryReceipt message :");
        System.out.println("    Correlator = " + notifyMessageDeliveryReceipt.getNotifyMessageDeliveryReceipt().getCorrelator());
        System.out.println("       Address = " + notifyMessageDeliveryReceipt.getNotifyMessageDeliveryReceipt().getDeliveryStatus().getAddress());
        System.out.println("DeliveryStatus = " + notifyMessageDeliveryReceipt.getNotifyMessageDeliveryReceipt().getDeliveryStatus().getStatus().getValue());

        NotifyMessageDeliveryReceiptResponse4 response = new NotifyMessageDeliveryReceiptResponse4();
        NotifyMessageDeliveryReceiptResponse param = new NotifyMessageDeliveryReceiptResponse();
        response.setNotifyMessageDeliveryReceiptResponse(param);
        
        return response;
    }
}

⌨️ 快捷键说明

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