diff options
| author | joonhoekim <26rote@gmail.com> | 2025-08-06 08:45:25 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-08-06 08:45:25 +0000 |
| commit | a5cecbef039e29beaa616e3a36e7f15b8b35623c (patch) | |
| tree | ee1ac9a5d3d2cd7d2101e52ad1820929ef8ce955 /public/wsdl/IF_ECC_EVCP_REJECT_FOR_REVISED_PR.wsdl | |
| parent | d89d5daf4533397d6c1761777ad4cfa6892bbeea (diff) | |
(김준회) PO(Purchase Order), PCR(Purchase Change Request) 및 PCR 승인 거부 SOAP 인터페이스를 위한 WSDL 작성
Diffstat (limited to 'public/wsdl/IF_ECC_EVCP_REJECT_FOR_REVISED_PR.wsdl')
| -rw-r--r-- | public/wsdl/IF_ECC_EVCP_REJECT_FOR_REVISED_PR.wsdl | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/public/wsdl/IF_ECC_EVCP_REJECT_FOR_REVISED_PR.wsdl b/public/wsdl/IF_ECC_EVCP_REJECT_FOR_REVISED_PR.wsdl new file mode 100644 index 00000000..07d60fc8 --- /dev/null +++ b/public/wsdl/IF_ECC_EVCP_REJECT_FOR_REVISED_PR.wsdl @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- WSDL: eVCP 개발서버(60.101.108.100) <> S-ERP ECC PR 반려 인터페이스 --> +<!-- Program ID: IF_ECC_EVCP_REJECT_FOR_REVISED_PR --> +<wsdl:definitions name="IF_ECC_EVCP_REJECT_FOR_REVISED_PR" targetNamespace="http://60.101.108.100/" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:tns="http://60.101.108.100/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <!-- 1) 데이터 타입(XSD) 정의 --> + <wsdl:types> + <xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" + targetNamespace="http://60.101.108.100/" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://60.101.108.100/"> + + <!-- 1.1) 최상위 Request 복합타입 --> + <xs:complexType name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRReq"> + <xs:sequence> + <!-- 메타데이터 레코드 집합 --> + <xs:element name="METADATA" type="tns:METADATA" maxOccurs="unbounded" minOccurs="0"/> + <!-- T_CHANGE_PR 레코드 집합 --> + <xs:element name="T_CHANGE_PR" type="tns:T_CHANGE_PR" maxOccurs="unbounded" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <!-- 1.2) METADATA 테이블 구조 --> + <xs:complexType name="METADATA"> + <xs:sequence> + <!-- SEQ:1, Table:메타데이터(저장하지 않음), Field:IV_ERDAT, M/O:M, Type:DATS, Size:8, Description:Reject Date --> + <xs:element name="IV_ERDAT" type="xs:string"/> + <!-- SEQ:2, Table:메타데이터(저장하지 않음), Field:IV_ERZET, M/O:M, Type:TIMS, Size:6, Description:Reject Time --> + <xs:element name="IV_ERZET" type="xs:string"/> + </xs:sequence> + </xs:complexType> + + <!-- 1.3) T_CHANGE_PR 테이블 구조 --> + <xs:complexType name="T_CHANGE_PR"> + <xs:sequence> + <!-- SEQ:3, Table:T_CHANGE_PR, Field:BANFN, M/O:M, Type:CHAR, Size:10, Description:Purchase Requisition Number --> + <xs:element name="BANFN" type="xs:string"/> + <!-- SEQ:4, Table:T_CHANGE_PR, Field:BANPO, M/O:M, Type:NUMC, Size:5, Description:Item Number of Purchase Requisition --> + <xs:element name="BANPO" type="xs:integer"/> + <!-- SEQ:5, Table:T_CHANGE_PR, Field:ZCHG_NO, M/O:M, Type:CHAR, Size:10, Description:Change Number --> + <xs:element name="ZCHG_NO" type="xs:string"/> + <!-- SEQ:6, Table:T_CHANGE_PR, Field:ZACC_IND, M/O:, Type:CHAR, Size:1, Description:P/R Accept Indicator --> + <xs:element name="ZACC_IND" type="xs:string" minOccurs="0"/> + <!-- SEQ:7, Table:T_CHANGE_PR, Field:PCR_REQ, M/O:, Type:CHAR, Size:10, Description:PCR Request No. --> + <xs:element name="PCR_REQ" type="xs:string" minOccurs="0"/> + <!-- SEQ:8, Table:T_CHANGE_PR, Field:PCR_REQ_SEQ, M/O:, Type:NUMC, Size:5, Description:PCR Request Sequence No. --> + <xs:element name="PCR_REQ_SEQ" type="xs:integer" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <!-- 1.4) 수신측 응답 구조 --> + <xs:complexType name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRRes"> + <xs:sequence> + <!-- SEQ:9, Table:수신측 응답, Field:EV_TYPE, M/O:, Type:CHAR, Size:1, Description:Message Type --> + <xs:element name="EV_TYPE" type="xs:string" minOccurs="0"/> + <!-- SEQ:10, Table:수신측 응답, Field:EV_MESSAGE, M/O:, Type:CHAR, Size:100, Description:Message Text --> + <xs:element name="EV_MESSAGE" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <!-- 1.5) Element 래퍼 --> + <xs:element name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRReq" type="tns:IF_ECC_EVCP_REJECT_FOR_REVISED_PRReq"/> + <xs:element name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRRes" type="tns:IF_ECC_EVCP_REJECT_FOR_REVISED_PRRes"/> + </xsd:schema> + </wsdl:types> + + <!-- 2) 메시지 정의: SOAP 요청/응답에서 사용되는 래퍼(Message)로, XSD에서 정의한 Element를 연결 --> + <wsdl:message name="process"> + <wsdl:part name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRReq" element="tns:IF_ECC_EVCP_REJECT_FOR_REVISED_PRReq"/> + </wsdl:message> + + <wsdl:message name="processResponse"> + <wsdl:part name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRRes" element="tns:IF_ECC_EVCP_REJECT_FOR_REVISED_PRRes"/> + </wsdl:message> + + <!-- 3) 포트타입 정의: 실제 Operation(메서드) 집합을 선언하고, 각 Operation별로 사용될 메시지를 매핑 --> + <wsdl:portType name="IF_ECC_EVCP_REJECT_FOR_REVISED_PR"> + <wsdl:operation name="process"> + <wsdl:input name="process" message="tns:process"/> + <wsdl:output name="processResponse" message="tns:processResponse"/> + </wsdl:operation> + </wsdl:portType> + + <!-- 4) 바인딩 정의 (SOAP Document/Literal): 포트타입을 HTTP+SOAP 프로토콜에 연결하고, 메시지 인코딩 방식을 명시 --> + <wsdl:binding name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRServiceSoapBinding" type="tns:IF_ECC_EVCP_REJECT_FOR_REVISED_PR"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="process"> + <soap:operation soapAction="" style="document"/> + <wsdl:input name="process"> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output name="processResponse"> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + + <!-- 5) 실제 서비스 엔드포인트 정의: 물리적인 URL 주소(soap:address)를 포함해 클라이언트가 호출할 대상 포트를 지정 --> + <wsdl:service name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRService"> + <wsdl:port name="IF_ECC_EVCP_REJECT_FOR_REVISED_PRPort" binding="tns:IF_ECC_EVCP_REJECT_FOR_REVISED_PRServiceSoapBinding"> + <soap:address location="http://60.101.108.100/api/IF_ECC_EVCP_REJECT_FOR_REVISED_PR"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> |
