Hi @DavidSeager, @nsrao, @HermannSW
I created 2 service versioning in WSRR one provider service version and one consumer service versioning. I defined a SLA between consumer and provider , I have attached WS-mediation policy with condition if messagecount>5 reject message to SLD of Provider application.
In Datapower I created 2 WSP's one for consumer and one for provider, I have added WSRR subscription through ServiceVersioning and I synchronised as well, I also checked WSRR subscription in XML Management Interface of default domain. But I could not see any SLA , SLD or poilcy reflecting in SLA Policy tab. In Logs the error is like this "The WSDL file '32166d32-01a7-47ac.9fa6.8de9878da609' could not be parsed or failed validation." The base uri specified in logs is not of WSDL but it is the base uri of service version.
Even I tried to subscribe to WSDL also , but even then i was not able to see SLA, SLA policy in SLA Policy tab.
Can I subscribe to ServiceVersioning through MPGW? I tried creating MPGW with WSRR subscription to serviceVersioning and clicked on attach, but even there i could not see any SLA , SLD applied.
Can any one help me. Thanks and Regards, Lavanya B
Answer by Dougdrak (1) | Sep 12, 2015 at 10:03 AM
Ok assuming your build trees are correct built, (1st)SV -> SLA to the (2ndSV) -> SLD. You can use the Name Query SLAEndpointLookup passing in the consumer ID in the 1st SV and context ID in the SLA will drive you into
to test from web browser where consumer id is 123456789 and context id is abcdef in the Staging environment i.e. https://srr-stage.fs.corpintra.net/WSRR/8.0/Metadata/XML/Query/SLAEndpointLookup?p1=123456789&p2=abcdef&p3=http://www.ibm.com/xmlns/prod/serviceregistry/6/1/GovernanceProfileTaxonomy%23Staging
replace # with %23 for the environment.
To cache this information in DP do it in the XML manager set up caching for that https call. The information needs to be cached, thus after the initial read is done, the cache is used until refreshed. Here a web resource to tell you how to set that up http://www.redbooks.ibm.com/redpapers/pdfs/redp4559.pdf search for Cache..