I need help to extract a following SOAP-ENV:Header XML message from the log.
XML message need to be extracted:
***************************
<SOAP-ENV:Header>
<ServiceGatewayHeader>
<SourceApplicationId>OXL</SourceApplicationId>
<Version>1.0</Version>
<UserId>TEST</UserId>
<DatetimeStamp>20-09-06 12:00:00</DatetimeStamp>
<Severity>NONE</Severity>
</ServiceGatewayHeader>
</SOAP-ENV:Header>
Log:
INFO 2008-07-04 10:39:35 @main [46] com.sigma.jea.call.CallFactory> search node ./condition under /#document/jea/taskTypes/taskType/function_body/assign
INFO 2008-07-04 10:39:35 @main [46] com.sigma.jea.call.CallFactory> add stmt:complete_envelope = join('<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelop
e/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:m0="java:
com.sprint.webservice.voiceoverip.helpers" xmlns:m1="java:com.sprint.webservice.voiceoverip.common" xmlns:m2="Bing">
DEBUG 2008-07-04 10:39:35 @main [36] com.sigma.jea.call.CallFunc> type of header in sprint_voip_query_csr=string
<SOAP-ENV:Header>
<ServiceGatewayHeader>
<SourceApplicationId>OXL</SourceApplicationId>
<Version>1.0</Version>
<UserId>TEST</UserId>
<DatetimeStamp>20-09-06 12:00:00</DatetimeStamp>
<Severity>NONE</Severity>
</ServiceGatewayHeader>
</SOAP-ENV:Header>
INFO 2008-07-04 10:39:35 @main [46] com.sigma.jea.call.CallFactory> search node ./condition under /#document/jea/taskTypes/taskType/function_body/assign
DEBUG 2008-07-04 10:39:35 @main [36] com.sigma.jea.call.CallFunc> type of header in sprint_voip_query_csr=string
INFO 2008-07-04 10:39:35 @main [46] com.sigma.jea.call.CallFactory> add stmt:complete_envelope = join('<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelop
e/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:m0="java:
com.sprint.webservice.voiceoverip.helpers" xmlns:m1="java:com.sprint.webservice.voiceoverip.common" xmlns:m2="Bing">