DirectPost
Àüü ÀÛ¾÷ ¸ñ·ÏÀ» º¸·Á¸é ¿©±â¸¦ Ŭ¸¯ÇϽʽÿÀ.
GetPostByDongToByte
Á¾·ù : Áö¹øÁÖ¼Ò
¼³¸í : µ¿À» ÀÔ·Â ¹Þ¾Æ ÇØ´çÇÏ´Â ¸ðµç ¿ìÆí¹øÈ£(6ÀÚ¸®)¿Í ÁÖ¼Ò¸¦ ksc5601·Î ÀÎÄÚµù µÈ ½ºÆ®¸µ ¹è¿·Î ¹ÝȯÇÕ´Ï´Ù.
¹ÝȯµÇ´Â ½ºÆ®¸µÀÇ ¿ìÆí¹øÈ£¿Í ÁÖ¼Ò´Â ÅÇÀ¸·Î ±¸ºÐµË´Ï´Ù.
php ÆäÀÌÁö¿¡¼ »ç¿ëÇϱâ À§ÇÑ ¸Þ¼ÒµåÀÔ´Ï´Ù.
¼±¾ð¹® : string[] GetPostByDongToByte(string Dong)
Å×½ºÆ®
HTTP POST ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇÏ¿© ÀÛ¾÷À» Å×½ºÆ®ÇÏ·Á¸é [È£Ãâ] ´ÜÃ߸¦ Ŭ¸¯ÇϽʽÿÀ.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/GetPostByDongToByte" <?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> <GetPostByDongToByte xmlns="http://webservice.direct.co.kr/post1.x/"> <Dong>string</Dong> </GetPostByDongToByte> </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> <GetPostByDongToByteResponse xmlns="http://webservice.direct.co.kr/post1.x/"> <GetPostByDongToByteResult> <string>string</string> <string>string</string> </GetPostByDongToByteResult> </GetPostByDongToByteResponse> </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> <GetPostByDongToByte xmlns="http://webservice.direct.co.kr/post1.x/"> <Dong>string</Dong> </GetPostByDongToByte> </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> <GetPostByDongToByteResponse xmlns="http://webservice.direct.co.kr/post1.x/"> <GetPostByDongToByteResult> <string>string</string> <string>string</string> </GetPostByDongToByteResult> </GetPostByDongToByteResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
´ÙÀ½Àº »ùÇà HTTP GET ¿äû ¹× ÀÀ´äÀÔ´Ï´Ù. Ç¥½ÃµÈ placeholders¸¦ ½ÇÁ¦ °ªÀ¸·Î ¹Ù²Ù¾î¾ß ÇÕ´Ï´Ù.
GET /Post1.x/Post.asmx/GetPostByDongToByte?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/GetPostByDongToByte 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>