OSB and Oracle Maps
793484Sep 15 2010 — edited Sep 22 2010I've written an Oracle Maps (the javascript map api) application that, for business reasons, I need all traffic between the client program and the Oracle Mapviewer server to run through an Oracle Service Bus.
It looks as though the OSB needs to be configured as a dumb proxy that just forwards the requests and responses, which seems simple enough. However, Oracle Maps does all requests and responses with HTTP Get, so all parameters are passed in the URL. So the URL needs to be "translated" within the OSB. The client would call the proxy service on the OSB with a http://<osb host>/mapviewer/... and the OSB business service would translate this to http://<mapviewer host>/mapviewer/... where the ... represents the remainder of the parameters in the URL from the Get request. The client program (using Oracle Maps) would essentially have to think the the OSB was the mapviewer server.
Our Oracle contractor support guys on our project aren't sure how to do this. I was told I should write a Java bean from my test Java client program in it and put that bean on the OSB. Oracle Maps is javascript, so I can't write a bean. Does anyone on forums have any experience with the OSB and Oracle Maps? If it can't be done, Oracle has a java api for mapviewer, but it's much more difficult to use and doesn't have anywhere close to the end user experience.
Thanks,