I have a MEDIATOR (SYNCHRONOUS Process) and we will have around 20 or 25 different combinations in SOAP Header and we will filter it and route to desired service WSDL by defining static routing rule.
Is there any way, similar to DYNAMIC partner link, i can assign the WSDLs for Mediator to be provided dynamically.
NOte:- Currently, I see in the mediator routing rule, it does not give a provision to browse the WSDL from the different project in the same SOA Server. Does some help on how to browse some other Service WSDL ?
Hope I understood your requirement correctly. You mentioned the dynamic partner link / endpoint binding. If your services are based on the same wsdl you can set the property "endpointURI" to call a service dynamically. You can do this in your routing rule under "Assign Values". The different endpoints can be extracted from a DVM (for example).
Yet to try this as we got some issue in the Rules Engine implementation, hence struggling with that for the timebeing. The documentation says "endpointURI" is for configuring Faulttolerance services. But I believe we should be able to use it.
I am planning to use,
JDBC connect string is used. Usage: oraext:lookup-table(table as string, inputColumn as string, key as string, outputColumn as string, datasource as string) Example: oraext:lookup-table('employee','id','1234','last_name','jdbc:oracle:thin:scott/tiger@localhost:1521:ORCL) and fetch the WSDL URL.
By the by, in the earlier 10g versions, we had an option to browse the WSDLs from the SOA_SERVER, but in 11g, i could browse only WSDLs available in the current project as that of mediator. I don't know whether I am missing it, but unable to browse other WSDLs deployed in the SOA_Server. Have you tried it before ?
Happy to get your answer marks ;-)
About the MDS: For details / introduction see the MDS-Weblinks on my blog => Inside BPM and SOA: Remove data in Oracle MDS (scroll down to "Some additional information about the MDS")
Is there any way we can store few elements of SOAP Header or Request Schema as a
variable ? Because we have a requirement to respond back with few elements from
SOAP Header and Request Schema to be sent back in the response of the Mediator
Options I could think off,
1) Use Oracle Database to store them and retrieve it back using built-in functions
or write them.
2) Java Callout ( and store them in a variable) and get the values back.
Kindly provide any other if any.