How to do Service Mapping with an ESB as part of the Service

DuaneNMore
Kilo Guru

We have an application architecture in use whereby an Enterprise Service Bus (in particular DataPower SOA appliance) is used as an intermediary to webservice calls. It performs some security functions, validations and then basically proxies the Web Service call. The Service Mapping process identifies the connection to the ESB appliance but then gets stuck.

What approaches might one use to overcome this, including manual connections if necessary.

3 REPLIES 3

sarahbr
Tera Guru

Hi Duane!



Definitely debug this one with the Service Mapping Debugger.   You want to make sure that you are actually finding the outbound web service calls in the connectivity section to create the downstream connections.   You can also manually add a connection by right clicking the datapower icon.



Out of the box there are 2 connectivity patterns, so follow the errors you see in the map, and debug the pattern to ensure it is following the correct path, and finding the expected results from the appliance for the outbound web service calls.



Sarah


saadit
Kilo Expert

You can create a custom pattern to retrieve all the .xml files used by SOA and parse the files for the SOA endpoints.



I had to dig through my notes on this one but I've done the below quoted example in the past. Just have a pattern step to run the find command, parse it for "env:value" (usually the endpoints are stored between the <env:value> tags) and then I've stored the output into a .txt file on the server. Afterwards you can just add another step in the pattern to parse that .txt file for all the connections and store it into a temp table in service mapping.


sudo find /orclapps/oracle/middleware/user_projects/domains/SOADomain/osb/config/ -type f -name "*.xml" | xargs sudo grep "env:value" 1>/tmp/find.txt 2>/dev/null; sed -n 's/.*<env:value>\(http.*\)<.*/\1/p' find.txt


 


Hope this helps.



Thanks,Saadi


munwong
Mega Expert

Any other comments on how to map an application with ESB to SAP components?