OSB-A (Only Proxy Service) --> OSB-B (Both Proxy and Business service present) --> PIMWS --> PLSQL
In OSB-A i have a service account, which iam getting it in a variable using assign activity and trying to populate that in header variable using replace activity then calling OSB-B but iam getting the following exception..
When i check in the flow.. $header is not replaced with the actual WSSE: tags and credentials. How to make it to work ?
<proc:OutputParameters xmlns:proc="http://xmlns.oracle.com/apps/ap/soaprovider/plsql/xx_i024_suppliers_pkg/process_suppliers/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<proc:X_RETURN_STATUS>Missing <wsse:Security> in SOAP Header</proc:X_RETURN_STATUS>
Edited by: veejai24 on 16-Apr-2012 09:01
There is correction in my approach.
In one of the post i saw that we should have a replace or assign infront of the route which is calling the business service.
So as per the new approach the flow will be like the below
OSB-A --> PIM WS --> PLS/QL
In OSB-A we have Proxy Service which calls the Business service using Routing Options, before that i have a assign, which will assign the below xml to $Header variable.
Then i have a replace which will replace the $header with $Header.
still iam getting the Missing "<wsse:Security> in SOAP Header"
Edited by: veejai24 on 17-Apr-2012 05:49
I am able to use Service Account in my OSB. The following are the steps i did.
I have created a service account and kept my username and password there in a common OSB Project.
Then in my proxy service i have an assign which is having the wsse header tags, which retrieves the username and password from service account.
I replace the header with the above information and calling the business service using routing options.
In business service, in http transport page i have used Authentication type as basic and kept the service account by browsing from my common OSB Project.
If i fire a request iam getting the response back as expected.
My question is why should i do 2 times the same thing, when i try to remove the configuration from business service iam getting exception saying "WSSE credentials are missing"
When i put it back its started working.
This is final.
Keep the configuration in proxy sevice. Remove the service account configuration in Business service keep the radio button for none selected, in http transport configuration under authentication section.