SOAP 본문에 pos:searchText
과 같은 로컬 이름이 있는지 확인하고 싶습니다. 내가 EndpointInterceptorAdapter
을 사용하고 있기 때문에 MessageContext
을 사용해야합니다.Spring에서 SOAP의 모든 로컬 이름을 본문에 가져옵니다.
내 SOAP 요청은 다음과 같습니다.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<pos:getSearchRequest>
<pos:searchText>some Text</pos:searchText>
<pos:anotherField>example</pos:anotherField>
</pos:getSearchRequest>
</soapenv:Body>
</soapenv:Envelope>
모든 요청을 인터셉트하고 이에 대한 모델이 없기 때문에 비 정렬 화가 작동하지 않습니다.
pos:searchText
과 같은 모든 로컬 이름을 얻으려면 어떻게해야합니까?