InferenceService
单击此处,获取完整的操作列表。
DoInference
测试
测试窗体只能用于来自本地计算机的请求。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /InferenceService.asmx HTTP/1.1
Host: cdssai.headachedoctor.cn
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/DoInference"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DoInference xmlns="http://tempuri.org/">
<InputDataValue>
<m_nHeadache_Duration_PerTime>float</m_nHeadache_Duration_PerTime>
<m_nHeadache_Duration_PerTime_Unit>string</m_nHeadache_Duration_PerTime_Unit>
<m_strHeadacheType>string</m_strHeadacheType>
<m_nHeadache_TotalNumber>int</m_nHeadache_TotalNumber>
<m_nHeadache_Duration>int</m_nHeadache_Duration>
<m_nHeadache_Monthly_Duration>int</m_nHeadache_Monthly_Duration>
<m_nTriptan_Total_Drugin_Duration>int</m_nTriptan_Total_Drugin_Duration>
<m_nTriptan_Drugin_Monthly>int</m_nTriptan_Drugin_Monthly>
<m_nNon_Triptan_Total_Drugin_Duration>int</m_nNon_Triptan_Total_Drugin_Duration>
<m_nNon_Triptan_Drugin_Monthly>int</m_nNon_Triptan_Drugin_Monthly>
<m_HeadacheAssociatedSymptonList>
<HeadacheAssociatedSymptoms>Nausea or Vomit or Fair_Of_Sound or Fire_Of_Light or Ipsilateral_Heyelids_Swelling or Miosis_or_Blepharoptosis or Conjunctival_congestion_or_Tears or Frontal_facial_Sweating or Blocked_or_Watery_Nose or Dysphoria</HeadacheAssociatedSymptoms>
<HeadacheAssociatedSymptoms>Nausea or Vomit or Fair_Of_Sound or Fire_Of_Light or Ipsilateral_Heyelids_Swelling or Miosis_or_Blepharoptosis or Conjunctival_congestion_or_Tears or Frontal_facial_Sweating or Blocked_or_Watery_Nose or Dysphoria</HeadacheAssociatedSymptoms>
</m_HeadacheAssociatedSymptonList>
<m_HeadacheAuraList>
<HeadacheAura>Hemi_Visual_Aura or Bilateral_Visual_Aura or Feeling_Aura or Allolalia or Dyscinesia</HeadacheAura>
<HeadacheAura>Hemi_Visual_Aura or Bilateral_Visual_Aura or Feeling_Aura or Allolalia or Dyscinesia</HeadacheAura>
</m_HeadacheAuraList>
<m_HeadacheLocation>Uni_Pain or Bi_Pain</m_HeadacheLocation>
<m_bPeriodism>boolean</m_bPeriodism>
<m_bWorsen_By_Physicial_Activity>boolean</m_bWorsen_By_Physicial_Activity>
<m_nHeadacheDegree>Mild or Middle or Heavy</m_nHeadacheDegree>
<m_nHeadahceProperty>Pulse_Pain or Pressure_Pain or Electric_Shock_Like_Pain or Other</m_nHeadahceProperty>
<m_bDaily_Headache>boolean</m_bDaily_Headache>
<m_bPersistHeadache>boolean</m_bPersistHeadache>
</InputDataValue>
<strResult>string</strResult>
</DoInference>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DoInferenceResponse xmlns="http://tempuri.org/">
<DoInferenceResult>boolean</DoInferenceResult>
<strResult>string</strResult>
</DoInferenceResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /InferenceService.asmx HTTP/1.1
Host: cdssai.headachedoctor.cn
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<DoInference xmlns="http://tempuri.org/">
<InputDataValue>
<m_nHeadache_Duration_PerTime>float</m_nHeadache_Duration_PerTime>
<m_nHeadache_Duration_PerTime_Unit>string</m_nHeadache_Duration_PerTime_Unit>
<m_strHeadacheType>string</m_strHeadacheType>
<m_nHeadache_TotalNumber>int</m_nHeadache_TotalNumber>
<m_nHeadache_Duration>int</m_nHeadache_Duration>
<m_nHeadache_Monthly_Duration>int</m_nHeadache_Monthly_Duration>
<m_nTriptan_Total_Drugin_Duration>int</m_nTriptan_Total_Drugin_Duration>
<m_nTriptan_Drugin_Monthly>int</m_nTriptan_Drugin_Monthly>
<m_nNon_Triptan_Total_Drugin_Duration>int</m_nNon_Triptan_Total_Drugin_Duration>
<m_nNon_Triptan_Drugin_Monthly>int</m_nNon_Triptan_Drugin_Monthly>
<m_HeadacheAssociatedSymptonList>
<HeadacheAssociatedSymptoms>Nausea or Vomit or Fair_Of_Sound or Fire_Of_Light or Ipsilateral_Heyelids_Swelling or Miosis_or_Blepharoptosis or Conjunctival_congestion_or_Tears or Frontal_facial_Sweating or Blocked_or_Watery_Nose or Dysphoria</HeadacheAssociatedSymptoms>
<HeadacheAssociatedSymptoms>Nausea or Vomit or Fair_Of_Sound or Fire_Of_Light or Ipsilateral_Heyelids_Swelling or Miosis_or_Blepharoptosis or Conjunctival_congestion_or_Tears or Frontal_facial_Sweating or Blocked_or_Watery_Nose or Dysphoria</HeadacheAssociatedSymptoms>
</m_HeadacheAssociatedSymptonList>
<m_HeadacheAuraList>
<HeadacheAura>Hemi_Visual_Aura or Bilateral_Visual_Aura or Feeling_Aura or Allolalia or Dyscinesia</HeadacheAura>
<HeadacheAura>Hemi_Visual_Aura or Bilateral_Visual_Aura or Feeling_Aura or Allolalia or Dyscinesia</HeadacheAura>
</m_HeadacheAuraList>
<m_HeadacheLocation>Uni_Pain or Bi_Pain</m_HeadacheLocation>
<m_bPeriodism>boolean</m_bPeriodism>
<m_bWorsen_By_Physicial_Activity>boolean</m_bWorsen_By_Physicial_Activity>
<m_nHeadacheDegree>Mild or Middle or Heavy</m_nHeadacheDegree>
<m_nHeadahceProperty>Pulse_Pain or Pressure_Pain or Electric_Shock_Like_Pain or Other</m_nHeadahceProperty>
<m_bDaily_Headache>boolean</m_bDaily_Headache>
<m_bPersistHeadache>boolean</m_bPersistHeadache>
</InputDataValue>
<strResult>string</strResult>
</DoInference>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<DoInferenceResponse xmlns="http://tempuri.org/">
<DoInferenceResult>boolean</DoInferenceResult>
<strResult>string</strResult>
</DoInferenceResponse>
</soap12:Body>
</soap12:Envelope>