1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
<?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>
<!-- 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"/>
<!-- T_CHANGE_PR 레코드 집합 -->
<xs:element name="T_CHANGE_PR" type="tns:T_CHANGE_PR" maxOccurs="unbounded" minOccurs="0"/>
</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:string"/>
<!-- 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:string" 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>
|