SOAP 봉투 요소
SOAP 엔벨로프 소자는 SOAP 메시지의 루트 요소의 필수 사용이다.
SOAP 봉투 요소
필요한 SOAP 엔벨로프 소자는 SOAP 메시지의 루트 요소이다. 그것은 SOAP 메시지로서 XML 문서를 정의 할 수있다.
예
<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> ... Message information goes here ... </soap:Envelope>
XMLNS : 비누 네임 스페이스
SOAP 메시지는 네임 스페이스 "http://www.w3.org/2001/12/soap-envelope"그와 관련된 봉투 요소가 있어야합니다.
는 다른 네임 스페이스, 응용 프로그램 오류를 사용하여 메시지를 삭제하는 경우.
인코딩 스타일 속성
이 문서에서 사용되는 데이터 타입에 대한 정의의 SOAP 인코딩 스타일 속성. 이 속성은 SOAP 요소에 나타날 수 있으며 이는 요소의 모든 하위 요소와 요소 콘텐츠에 적용됩니다.
SOAP 메시지가 더 기본 인코딩입니다.
문법
soap:encodingStyle="URI"
예
<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> ... Message information goes here ... </soap:Envelope>