DirectPost


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

GetPostBunjiByDongInKorNEng

종류 : 지번주소
설명 : 동을 입력 받아 해당하는 모든 우편번호(6자리), 주소, 번지를 스트링 배열로 반환합니다.
          반환되는 스트링의 우편번호와 주소는 탭으로 구분됩니다.
선언문 : string[] GetPostBunjiByDongInKorNEng(string Dong)

테스트

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

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/GetPostBunjiByDongInKorNEng"

<?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>
    <GetPostBunjiByDongInKorNEng xmlns="http://webservice.direct.co.kr/post1.x/">
      <Dong>string</Dong>
    </GetPostBunjiByDongInKorNEng>
  </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>
    <GetPostBunjiByDongInKorNEngResponse xmlns="http://webservice.direct.co.kr/post1.x/">
      <GetPostBunjiByDongInKorNEngResult>
        <string>string</string>
        <string>string</string>
      </GetPostBunjiByDongInKorNEngResult>
    </GetPostBunjiByDongInKorNEngResponse>
  </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>
    <GetPostBunjiByDongInKorNEng xmlns="http://webservice.direct.co.kr/post1.x/">
      <Dong>string</Dong>
    </GetPostBunjiByDongInKorNEng>
  </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>
    <GetPostBunjiByDongInKorNEngResponse xmlns="http://webservice.direct.co.kr/post1.x/">
      <GetPostBunjiByDongInKorNEngResult>
        <string>string</string>
        <string>string</string>
      </GetPostBunjiByDongInKorNEngResult>
    </GetPostBunjiByDongInKorNEngResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /Post1.x/Post.asmx/GetPostBunjiByDongInKorNEng?Dong=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/GetPostBunjiByDongInKorNEng HTTP/1.1
Host: webservice.direct.co.kr
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Dong=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>