밑에서 위로 읽으면 쉬움
1.1.2 message #
예)
<message name="LottoIF_getLottoNumbers"> <part name="int_1" type="xsd:int"/> <part name="int_2" type="xsd:int"/> <part name="int_3" type="xsd:int"/> <part name="int_4" type="xsd:int"/> </message> <message name="LottoIF_getLottoNumbersResponse"> <part name="result" type="xsd:string"/> </message>
1.1.3 portType #
어떤 메소드가 제공되는지 그리고 몇개의 메소드의 인자값이 사용되는지 표현됨, 그리고 인자와 변환값의 형식을 알 수 있음, 그리고 실제 형식은 위의 <message>에서 기술
ex)
<portType name="LottoIF"> <operation name="getLottoNumbers" parameterOrder="int_1 int_2 int_3 int_4"> <input message="tns:LottoIF_getLottoNumbers"/> <output message="tns:LottoIF_getLottoNumbersResponse"/> </operation> </portType>
1.2.1 binding #
원격 프로시저에 해당하는 전송 프로토콜과 데이터 인코딩 명세 바인딩 정의
ex)
<binding name="LottoIFBinding" type="tns:LottoIF"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/> <operation name="getLottoNumbers"> <soap:operation soapAction=""/> <input> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://localhost:8080/lottows/webservice/wsdl/webservice"/> </input> <output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://localhost:8080/lottows/webservice/wsdl/webservice"/> </output> </operation> </binding>