http://www.webxml.com.cn/webservices/ChinaTVprogramWebService.asmx?op=getTVstationString
SOAP 1.1
以下は、リクエストとレスポンスSOAP 1.1の例です。示すプレースホルダは、実際の値に置き換えられる必要があります
POST /webservices/ChinaTVprogramWebService.asmx HTTP / 1.1 ホスト:www.webxml.com.cn のContent-Type:text / xmlで、文字セット= UTF-8 のContent-Length:長さ のSOAPAction: "http://WebXml.com.cn/getTVstationString" <?XMLバージョン= "1.0"エンコード= "UTF-8" ?> < 石鹸:封筒のxmlns:XSI = "http://www.w3.org/2001/XMLSchema-instance" のxmlns:XSD = "のhttp:// WWW .w3.org / 2001 / XMLスキーマ" のxmlns:石鹸= "http://schemas.xmlsoap.org/soap/envelope/" > < ソープ:ボディ> < getTVstationString のxmlns =" http://WebXml.com.cn/ " > <</ theAreaID > </ getTVstationString > </ ソープ:ボディ> </ 石鹸:封筒>
SOAP 1.2
以下は、リクエストとレスポンスSOAP 1.2の例です。示すプレースホルダは、実際の値に置き換えられる必要があります
POST /webservices/ChinaTVprogramWebService.asmx HTTP / 1.1 ホスト:www.webxml.com.cn のContent-Type:アプリケーション/石鹸+ xmlの; 文字セット= UTF-8 のContent-Length:長さ <?XMLバージョン= "1.0"エンコード= "UTF-8" ?> < SOAP12:封筒のxmlns:XSI = "http://www.w3.org/2001/XMLSchema-instance" のxmlns:XSD = "のhttp:// WWW .w3.org / 2001 / XMLスキーマ" のxmlns:SOAP12 = "http://www.w3.org/2003/05/soap-envelope" > < SOAP12:ボディ> < getTVstationString のxmlns =" http://WebXml.com .CN /」> < theAreaID > </ getTVstationString > </ SOAP12:ボディ> </ SOAP12:封筒> HTTP / 1.1 200 OK のContent-Type:アプリケーション/石鹸+ xmlの; 文字セット= UTF-8 のContent-Length:長さ <?XMLバージョン= "1.0"エンコード= "UTF-8" ?> < SOAP12:封筒のxmlns:XSI = "http://www.w3.org/2001/XMLSchema-instance" のxmlns:XSD = "のhttp:// WWW .w3.org / 2001 / XMLスキーマ" のxmlns:SOAP12 = "http://www.w3.org/2003/05/soap-envelope" > < SOAP12:ボディ> < getTVstationStringResponse のxmlns ="のhttp: getTVstationStringResult > < 文字列>文字列</ 文字列> < 文字列>文字列</ 文字列> </ getTVstationStringResult > </ getTVstationStringResponse > </ SOAP12:ボディ> </ SOAP12:封筒>