Their are many times when we notice that when we call any ws from OSB web service, we find UN-necessary information in proxy WS header response.
As this header data is available in time of WS response, so does not bind the end client to send those headers in the WS request, But here question is how we can manage these headers to end user will not receives these headers in his final response of OSB proxy WS.
As in OSB their are many context variables available, which can help us to remove these headers from the proxy WS response.
Predefined Context Variables:
- header
- body
- attachments
- inbound
- outbound
- etc...
by using the header context variable we can remove those extra headers from WS response.
Example Scenario: In this example scenario, we are calling a simple BPEL WS using BPEL DIRECT-BINDING with OSB Business soa-direct.
1.Create a business service




<Header>
<wsa:ReplyTo xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
<wsa:ReferenceParameters>
<instra:tracking.ecid xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">4d7f5aac5fbbb28b:653f1acf:14d7a6669ef:-8000-000000000000005f</instra:tracking.ecid>
</wsa:ReferenceParameters>
</wsa:ReplyTo>
</Header>
<wsa:ReplyTo xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
<wsa:ReferenceParameters>
<instra:tracking.ecid xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">4d7f5aac5fbbb28b:653f1acf:14d7a6669ef:-8000-000000000000005f</instra:tracking.ecid>
</wsa:ReferenceParameters>
</wsa:ReplyTo>
</Header>
this information is generated from OSB proxy layer, which is not required for end client, here ques is how we will remove this headers,
Here OSB tricks come and we will change the proxy WS layer.


You did it !!!!!
Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles.Oracle OSB Online Training
ReplyDeleteThank You For Sharing This OSB Online Training Hyderabad
ReplyDeletenice
ReplyDeleteSap ABAP On Hana training
SAP Grc training
SAP Secrity training
oracle sql plsql training
go langaunage training
azure training