DirectPost


전체 작업 목록을 보려면 여기를 클릭하십시오.

GetGuGun

종류 : 지번주소
설명 : 특정 시/도를 입력 받아 해당하는 모든 구/군을 스트링 배열로 반환합니다.
선언문 : string[] GetGugun(string Sido)

테스트

HTTP POST 프로토콜을 사용하여 작업을 테스트하려면 [호출] 단추를 클릭하십시오.
매개 변수
Sido:

SOAP 1.1

다음은 샘플 SOAP 1.1 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.

POST /Post1.x/Post.asmx HTTP/1.1
Host: webservice.direct.co.kr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservice.direct.co.kr/post1.x/GetGuGun"

<?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>
    <GetGuGun xmlns="http://webservice.direct.co.kr/post1.x/">
      <Sido>string</Sido>
    </GetGuGun>
  </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>
    <GetGuGunResponse xmlns="http://webservice.direct.co.kr/post1.x/">
      <GetGuGunResult>
        <string>string</string>
        <string>string</string>
      </GetGuGunResult>
    </GetGuGunResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

다음은 샘플 SOAP 1.2 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.

POST /Post1.x/Post.asmx HTTP/1.1
Host: webservice.direct.co.kr
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>
    <GetGuGun xmlns="http://webservice.direct.co.kr/post1.x/">
      <Sido>string</Sido>
    </GetGuGun>
  </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>
    <GetGuGunResponse xmlns="http://webservice.direct.co.kr/post1.x/">
      <GetGuGunResult>
        <string>string</string>
        <string>string</string>
      </GetGuGunResult>
    </GetGuGunResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

다음은 샘플 HTTP GET 요청 및 응답입니다. 표시된 placeholders를 실제 값으로 바꾸어야 합니다.

GET /Post1.x/Post.asmx/GetGuGun?Sido=string HTTP/1.1
Host: webservice.direct.co.kr
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="http://webservice.direct.co.kr/post1.x/">
  <string>string</string>
  <string>string</string>
</ArrayOfString>

HTTP POST

다음은 샘플 HTTP POST 요청 및 응답입니다. 표시된 placeholders를 실제 값으로 바꾸어야 합니다.

POST /Post1.x/Post.asmx/GetGuGun HTTP/1.1
Host: webservice.direct.co.kr
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Sido=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="http://webservice.direct.co.kr/post1.x/">
  <string>string</string>
  <string>string</string>
</ArrayOfString>