325.5. Cryostat 및 WS-Addressing 작업 헤더 전송
원격 웹 서비스에 ScanSetting 작업이 필요하거나 WS-Addressing 표준을 사용하는 경우 경로를 다음과 같이 정의합니다.
from("direct:example")
.to("spring-ws:http://foo.com/bar?soapAction=http://foo.com&wsAddressingAction=http://bar.com")
필요한 경우 끝점 옵션을 헤더 값으로 덮어쓸 수 있습니다.
template.requestBodyAndHeader("direct:example",
"<foobar xmlns=\"http://foo.com\"><msg>test message</msg></foobar>",
SpringWebserviceConstants.SPRING_WS_SOAP_ACTION, "http://baz.com");