Browse Source

危急值开发

hurugang 5 years ago
parent
commit
841574dc28

+ 21 - 4
src/main/java/cn/hnthyy/thmz/ThmzApplication.java

@@ -1,6 +1,7 @@
 package cn.hnthyy.thmz;
 
-import cn.hnthyy.thmz.webservice.service.impl.CriticalWebServiceImpl;
+import cn.hnthyy.thmz.webservice.impl.CriticalWebServiceImpl;
+import cn.hnthyy.thmz.webservice.lis.CriticalMessageServiceSoapImpl;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -18,18 +19,34 @@ public class ThmzApplication extends SpringBootServletInitializer {
         log.info("服务启动成功");
         SpringApplication.run(ThmzApplication.class, args);
 
-        //发布webservice服务
+//        //发布webservice服务
+//        try {
+//            InetAddress ia=InetAddress.getLocalHost();
+//            String localip=ia.getHostAddress();
+//            String address = "http://"+localip+":8611/webService/criticalWebService";
+//            //发布WebService,WebServiceImpl类是WebServie接口的具体实现类
+//            Endpoint.publish(address, new CriticalWebServiceImpl());
+//            System.out.println("使用WebServicePublishListener发布webservice成功!");
+//        } catch (Exception e) {
+//            // TODO Auto-generated catch block
+//            e.printStackTrace();
+//        }
+
+
+
+                //发布webservice服务
         try {
             InetAddress ia=InetAddress.getLocalHost();
             String localip=ia.getHostAddress();
-            String address = "http://"+localip+":7611/webService/criticalWebService";
+            String address = "http://"+localip+":7611/CriticalMessageService";
             //发布WebService,WebServiceImpl类是WebServie接口的具体实现类
-            Endpoint.publish(address, new CriticalWebServiceImpl());
+            Endpoint.publish(address, new CriticalMessageServiceSoapImpl());
             System.out.println("使用WebServicePublishListener发布webservice成功!");
         } catch (Exception e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         }
+
     }
 
     @Override//为了打包springboot项目

+ 5 - 5
src/main/java/cn/hnthyy/thmz/controller/api/MedicalViewApiController.java

@@ -1342,11 +1342,11 @@ public class MedicalViewApiController {
             results.put("resultMessage", "支付机构流水号不能为空");
             return results;
         }
-        if (haiciCharge.getPayTime() == null) {
-            results.put("resultCode", -1);
-            results.put("resultMessage", "支付时间不能为空");
-            return results;
-        }
+//        if (haiciCharge.getPayTime() == null) {
+//            results.put("resultCode", -1);
+//            results.put("resultMessage", "支付时间不能为空");
+//            return results;
+//        }
         try {
             MzyReqrec mzyReqrec = mzyReqrecService.queryMzyReqrecByAgtordnum(haiciCharge.getPsOrdNum(), haiciCharge.getAgtOrdNum());
             if (mzyReqrec != null) {

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/MzyRequestMapper.java

@@ -213,7 +213,7 @@ public interface MzyRequestMapper {
      * @param unitCode
      * @return
      */
-    @Select("select CONVERT (varchar (100), request_day, 23) scheduleDate,sum(left_num) leftNum,sum(total_num) totalNum from mzy_request_new where unit_code =#{unitCode} and request_day >=#{beginDate,jdbcType=TIMESTAMP} and request_day <=#{endDate,jdbcType=TIMESTAMP}  group by request_day")
+    @Select("select CONVERT (varchar (100), request_day, 23) scheduleDate,sum(left_num) leftNum,sum(total_num) totalNum from mzy_request_new where unit_code =#{unitCode} and request_day >=#{beginDate,jdbcType=TIMESTAMP} and request_day <=#{endDate,jdbcType=TIMESTAMP} and isnull(doctor_code,'')<>''  group by request_day")
     List<Map<String,Object>> selectNumByDateAndDept(@Param("beginDate") Date beginDate, @Param("endDate") Date endDate, @Param("unitCode") String unitCode);
 
 

+ 1 - 1
src/main/java/cn/hnthyy/thmz/webservice/service/CriticalWebService.java → src/main/java/cn/hnthyy/thmz/webservice/CriticalWebService.java

@@ -1,4 +1,4 @@
-package cn.hnthyy.thmz.webservice.service;
+package cn.hnthyy.thmz.webservice;
 
 import javax.jws.WebMethod;
 import javax.jws.WebService;

+ 5 - 4
src/main/java/cn/hnthyy/thmz/webservice/service/impl/CriticalWebServiceImpl.java → src/main/java/cn/hnthyy/thmz/webservice/impl/CriticalWebServiceImpl.java

@@ -1,4 +1,4 @@
-package cn.hnthyy.thmz.webservice.service.impl;
+package cn.hnthyy.thmz.webservice.impl;
 
 
 import cn.hnthyy.thmz.Utils.SpringBeanUtils;
@@ -7,18 +7,19 @@ import cn.hnthyy.thmz.service.his.EmployeeService;
 import cn.hnthyy.thmz.service.impl.his.EmployeeServiceImpl;
 import cn.hnthyy.thmz.service.impl.thmz.MessageServiceImpl;
 import cn.hnthyy.thmz.service.thmz.MessageService;
-import cn.hnthyy.thmz.webservice.service.CriticalWebService;
+import cn.hnthyy.thmz.webservice.CriticalWebService;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.json.JSONObject;
+import org.springframework.stereotype.Service;
 
-import javax.jws.WebService;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 @Slf4j
-@WebService
+//@WebService
+@Service
 public class CriticalWebServiceImpl implements CriticalWebService {
     private String token = "oI9#ur02cbBHdop87e6Y728Ax30IIlgd";
     MessageService messageService =(MessageServiceImpl)SpringBeanUtils.getBean(MessageServiceImpl.class);

+ 111 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/CriticalMessageService.java

@@ -0,0 +1,111 @@
+package cn.hnthyy.thmz.webservice.lis;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceFeature;
+import javax.xml.ws.Service;
+
+/**
+ * This class was generated by Apache CXF 3.3.6
+ * 2020-05-25T16:35:58.619+08:00
+ * Generated source version: 3.3.6
+ *
+ */
+@WebServiceClient(name = "CriticalMessageService",
+                  wsdlLocation = "wsdl/CriticalMessageService.wsdl",
+                  targetNamespace = "http://www.hnthyy.cn")
+public class CriticalMessageService extends Service {
+
+    public final static URL WSDL_LOCATION;
+
+    public final static QName SERVICE = new QName("http://www.hnthyy.cn", "CriticalMessageService");
+    public final static QName CriticalMessageServiceSoap12 = new QName("http://www.hnthyy.cn", "CriticalMessageServiceSoap12");
+    public final static QName CriticalMessageServiceSoap = new QName("http://www.hnthyy.cn", "CriticalMessageServiceSoap");
+    static {
+        URL url = null;
+        try {
+            url = new URL("wsdl/CriticalMessageService.wsdl");
+        } catch (MalformedURLException e) {
+            java.util.logging.Logger.getLogger(CriticalMessageService.class.getName())
+                .log(java.util.logging.Level.INFO,
+                     "Can not initialize the default wsdl from {0}", "wsdl/CriticalMessageService.wsdl");
+        }
+        WSDL_LOCATION = url;
+    }
+
+    public CriticalMessageService(URL wsdlLocation) {
+        super(wsdlLocation, SERVICE);
+    }
+
+    public CriticalMessageService(URL wsdlLocation, QName serviceName) {
+        super(wsdlLocation, serviceName);
+    }
+
+    public CriticalMessageService() {
+        super(WSDL_LOCATION, SERVICE);
+    }
+
+    public CriticalMessageService(WebServiceFeature ... features) {
+        super(WSDL_LOCATION, SERVICE, features);
+    }
+
+    public CriticalMessageService(URL wsdlLocation, WebServiceFeature ... features) {
+        super(wsdlLocation, SERVICE, features);
+    }
+
+    public CriticalMessageService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
+        super(wsdlLocation, serviceName, features);
+    }
+
+
+
+
+    /**
+     *
+     * @return
+     *     returns CriticalMessageServiceSoap
+     */
+    @WebEndpoint(name = "CriticalMessageServiceSoap12")
+    public CriticalMessageServiceSoap getCriticalMessageServiceSoap12() {
+        return super.getPort(CriticalMessageServiceSoap12, CriticalMessageServiceSoap.class);
+    }
+
+    /**
+     *
+     * @param features
+     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
+     * @return
+     *     returns CriticalMessageServiceSoap
+     */
+    @WebEndpoint(name = "CriticalMessageServiceSoap12")
+    public CriticalMessageServiceSoap getCriticalMessageServiceSoap12(WebServiceFeature... features) {
+        return super.getPort(CriticalMessageServiceSoap12, CriticalMessageServiceSoap.class, features);
+    }
+
+
+    /**
+     *
+     * @return
+     *     returns CriticalMessageServiceSoap
+     */
+    @WebEndpoint(name = "CriticalMessageServiceSoap")
+    public CriticalMessageServiceSoap getCriticalMessageServiceSoap() {
+        return super.getPort(CriticalMessageServiceSoap, CriticalMessageServiceSoap.class);
+    }
+
+    /**
+     *
+     * @param features
+     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
+     * @return
+     *     returns CriticalMessageServiceSoap
+     */
+    @WebEndpoint(name = "CriticalMessageServiceSoap")
+    public CriticalMessageServiceSoap getCriticalMessageServiceSoap(WebServiceFeature... features) {
+        return super.getPort(CriticalMessageServiceSoap, CriticalMessageServiceSoap.class, features);
+    }
+
+}

+ 35 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/CriticalMessageServiceSoap.java

@@ -0,0 +1,35 @@
+package cn.hnthyy.thmz.webservice.lis;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by Apache CXF 3.3.6
+ * 2020-05-25T16:35:58.611+08:00
+ * Generated source version: 3.3.6
+ *
+ */
+@WebService(targetNamespace = "http://www.hnthyy.cn", name = "CriticalMessageServiceSoap")
+@XmlSeeAlso({ObjectFactory.class})
+public interface CriticalMessageServiceSoap {
+
+    /**
+     * 消息接收服务
+     */
+    @WebMethod(operationName = "ReceiveMessage", action = "http://www.hnthyy.cn/ReceiveMessage")
+    @RequestWrapper(localName = "ReceiveMessage", targetNamespace = "http://www.hnthyy.cn", className = "cn.hnthyy.ReceiveMessage")
+    @ResponseWrapper(localName = "ReceiveMessageResponse", targetNamespace = "http://www.hnthyy.cn", className = "cn.hnthyy.ReceiveMessageResponse")
+    @WebResult(name = "return", targetNamespace = "http://www.hnthyy.cn")
+    public java.lang.String receiveMessage(
+
+        @WebParam(name = "accessToken", targetNamespace = "http://www.hnthyy.cn")
+        java.lang.String accessToken,
+        @WebParam(name = "msg", targetNamespace = "http://www.hnthyy.cn")
+        java.lang.String msg
+    );
+}

+ 52 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/CriticalMessageServiceSoap12Impl.java

@@ -0,0 +1,52 @@
+
+/**
+ * Please modify this class to meet your needs
+ * This class is not complete
+ */
+
+package cn.hnthyy.thmz.webservice.lis;
+
+import java.util.logging.Logger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by Apache CXF 3.3.6
+ * 2020-05-25T16:35:58.557+08:00
+ * Generated source version: 3.3.6
+ *
+ */
+
+@javax.jws.WebService(
+                      serviceName = "CriticalMessageService",
+                      portName = "CriticalMessageServiceSoap12",
+                      targetNamespace = "http://www.hnthyy.cn",
+                      wsdlLocation = "wsdl/CriticalMessageService.wsdl",
+                      endpointInterface = "cn.hnthyy.thmz.webservice.lis.CriticalMessageServiceSoap")
+
+public class CriticalMessageServiceSoap12Impl implements CriticalMessageServiceSoap {
+
+    private static final Logger LOG = Logger.getLogger(CriticalMessageServiceSoap12Impl.class.getName());
+
+    /* (non-Javadoc)
+     * @see cn.hnthyy.CriticalMessageServiceSoap#receiveMessage(java.lang.String accessToken, java.lang.String msg)*
+     */
+    public java.lang.String receiveMessage(java.lang.String accessToken, java.lang.String msg) {
+        LOG.info("Executing operation receiveMessage");
+        System.out.println(accessToken);
+        System.out.println(msg);
+        try {
+            java.lang.String _return = "";
+            return _return;
+        } catch (java.lang.Exception ex) {
+            ex.printStackTrace();
+            throw new RuntimeException(ex);
+        }
+    }
+
+}

+ 48 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/CriticalMessageServiceSoapImpl.java

@@ -0,0 +1,48 @@
+
+/**
+ * Please modify this class to meet your needs
+ * This class is not complete
+ */
+
+package cn.hnthyy.thmz.webservice.lis;
+
+import cn.hnthyy.thmz.Utils.SpringBeanUtils;
+import cn.hnthyy.thmz.webservice.CriticalWebService;
+import cn.hnthyy.thmz.webservice.impl.CriticalWebServiceImpl;
+
+import java.util.logging.Logger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by Apache CXF 3.3.6
+ * 2020-05-25T16:35:58.599+08:00
+ * Generated source version: 3.3.6
+ *
+ */
+
+@javax.jws.WebService(
+                      serviceName = "CriticalMessageService",
+                      portName = "CriticalMessageServiceSoap",
+                      targetNamespace = "http://www.hnthyy.cn",
+                      wsdlLocation = "wsdl/CriticalMessageService.wsdl",
+                      endpointInterface = "cn.hnthyy.thmz.webservice.lis.CriticalMessageServiceSoap")
+
+public class CriticalMessageServiceSoapImpl implements CriticalMessageServiceSoap {
+    CriticalWebService criticalWebService =(CriticalWebServiceImpl)SpringBeanUtils.getBean(CriticalWebServiceImpl.class);
+    private static final Logger LOG = Logger.getLogger(CriticalMessageServiceSoapImpl.class.getName());
+
+    /* (non-Javadoc)
+     * @see cn.hnthyy.CriticalMessageServiceSoap#receiveMessage(java.lang.String accessToken, java.lang.String msg)*
+     */
+    public java.lang.String receiveMessage(java.lang.String accessToken, java.lang.String msg) {
+        LOG.info("Executing operation receiveMessage");
+       return criticalWebService.criticalAccept(accessToken,msg);
+    }
+
+}

+ 48 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/ObjectFactory.java

@@ -0,0 +1,48 @@
+
+package cn.hnthyy.thmz.webservice.lis;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the cn.hnthyy package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: cn.hnthyy
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link ReceiveMessage }
+     * 
+     */
+    public ReceiveMessage createReceiveMessage() {
+        return new ReceiveMessage();
+    }
+
+    /**
+     * Create an instance of {@link ReceiveMessageResponse }
+     * 
+     */
+    public ReceiveMessageResponse createReceiveMessageResponse() {
+        return new ReceiveMessageResponse();
+    }
+
+}

+ 89 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/ReceiveMessage.java

@@ -0,0 +1,89 @@
+
+package cn.hnthyy.thmz.webservice.lis;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>anonymous complex type�� Java �ࡣ
+ * 
+ * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
+ * 
+ * <pre>
+ * &lt;complexType&gt;
+ *   &lt;complexContent&gt;
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
+ *       &lt;sequence&gt;
+ *         &lt;element name="accessToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
+ *         &lt;element name="msg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
+ *       &lt;/sequence&gt;
+ *     &lt;/restriction&gt;
+ *   &lt;/complexContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "accessToken",
+    "msg"
+})
+@XmlRootElement(name = "ReceiveMessage")
+public class ReceiveMessage {
+
+    protected String accessToken;
+    protected String msg;
+
+    /**
+     * ��ȡaccessToken���Ե�ֵ��
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getAccessToken() {
+        return accessToken;
+    }
+
+    /**
+     * ����accessToken���Ե�ֵ��
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setAccessToken(String value) {
+        this.accessToken = value;
+    }
+
+    /**
+     * ��ȡmsg���Ե�ֵ��
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getMsg() {
+        return msg;
+    }
+
+    /**
+     * ����msg���Ե�ֵ��
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setMsg(String value) {
+        this.msg = value;
+    }
+
+}

+ 64 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/ReceiveMessageResponse.java

@@ -0,0 +1,64 @@
+
+package cn.hnthyy.thmz.webservice.lis;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>anonymous complex type�� Java �ࡣ
+ * 
+ * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
+ * 
+ * <pre>
+ * &lt;complexType&gt;
+ *   &lt;complexContent&gt;
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
+ *       &lt;sequence&gt;
+ *         &lt;element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
+ *       &lt;/sequence&gt;
+ *     &lt;/restriction&gt;
+ *   &lt;/complexContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "_return"
+})
+@XmlRootElement(name = "ReceiveMessageResponse")
+public class ReceiveMessageResponse {
+
+    @XmlElement(name = "return")
+    protected String _return;
+
+    /**
+     * ��ȡreturn���Ե�ֵ��
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getReturn() {
+        return _return;
+    }
+
+    /**
+     * ����return���Ե�ֵ��
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setReturn(String value) {
+        this._return = value;
+    }
+
+}

+ 2 - 0
src/main/java/cn/hnthyy/thmz/webservice/lis/package-info.java

@@ -0,0 +1,2 @@
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.hnthyy.cn", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package cn.hnthyy.thmz.webservice.lis;

+ 67 - 0
src/main/resources/wsdl/CriticalMessageService.wsdl

@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.hnthyy.cn" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.hnthyy.cn" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+  <wsdl:types>
+    <s:schema elementFormDefault="qualified" targetNamespace="http://www.hnthyy.cn">
+      <s:element name="ReceiveMessage">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="accessToken" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="msg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="ReceiveMessageResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="return" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+    </s:schema>
+  </wsdl:types>
+  <wsdl:message name="ReceiveMessageSoapIn">
+    <wsdl:part name="parameters" element="tns:ReceiveMessage" />
+  </wsdl:message>
+  <wsdl:message name="ReceiveMessageSoapOut">
+    <wsdl:part name="parameters" element="tns:ReceiveMessageResponse" />
+  </wsdl:message>
+  <wsdl:portType name="CriticalMessageServiceSoap">
+    <wsdl:operation name="ReceiveMessage">
+      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">消息接收服务</wsdl:documentation>
+      <wsdl:input message="tns:ReceiveMessageSoapIn" />
+      <wsdl:output message="tns:ReceiveMessageSoapOut" />
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="CriticalMessageServiceSoap" type="tns:CriticalMessageServiceSoap">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="ReceiveMessage">
+      <soap:operation soapAction="http://www.hnthyy.cn/ReceiveMessage" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="CriticalMessageServiceSoap12" type="tns:CriticalMessageServiceSoap">
+    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="ReceiveMessage">
+      <soap12:operation soapAction="http://www.hnthyy.cn/ReceiveMessage" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="CriticalMessageService">
+    <wsdl:port name="CriticalMessageServiceSoap" binding="tns:CriticalMessageServiceSoap">
+      <soap:address location="http://localhost:10789/CriticalMessageService.asmx" />
+    </wsdl:port>
+    <wsdl:port name="CriticalMessageServiceSoap12" binding="tns:CriticalMessageServiceSoap12">
+      <soap12:address location="http://localhost:10789/CriticalMessageService.asmx" />
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>