Archive for January, 2010

Oracle Service Bus, file transport, get filename from url

In Oracle Service Bus it's relative easy to get the filename which has been processed by the proxy service. On the $inbound context variable we can use the next xpath expression to get file uri [sourcecode language="xml"] $inbound/ctx:transport/ctx:request/tp:headers/file:fileName [/sourcecode] this will give us : [sourcecode language="xml"] c:\temp\testfile\1263968456285_test.xml [/sourcecode] Now i was struckling a bit on how to get just the filename from this url. Since i...