Saturday Jan 25, 2014

SOA Suite 11g: Consuming web service which enforce security policies on their WSDL files by esentri

Concrete WSDL VersionThe basic principle behind a Service Oriented Architecture is to orchestrate functional building blocks, primarily web services, in order to achieve a solution which fulfills the given requirements. In order to create a robust solution using Oracle SOA Suite several best practices emerged, one being decoupling web services in order to overcome dependencies during server/composite startup. A general approach for achieving this best practice is to use abstract and concrete WSDLs in combination.

An example for a working reference definition within the composite could look like follows:

<reference name="FooBarService" ui:wsdlLocation="oramds:/apps/com/foo/v1/bar.wsdl">

  <interface.wsdl interface="http://foo.com/BarService#wsdl.interface(BarService)"/>

  <binding.ws port="http://foo.com/BarService#wsdl.endpoint(BarService/FooBarEndpoint)"

    soapVersion="1.1"

    location="http://foo.com:7001/soa-infra/services/foo/bar/FooBarEndpoint?WSDL">

  </binding.ws>

</reference>

On a recent project we ran into some problems while implementing this best practice as some web services we had to consume not only protected their operations but also their WSDLs using basic authentication web security. Although we were able to access the operations by providing the security credentials within WebLogic Server using the Credential Store Framework (CSF), the solution never managed to successfully access the secured WSDL files.

After trying several approaches to overcome this problem, we implemented a workaround by storing an abstract WSDL within the shared MDS project as well as a concrete WSDL within the composite project in order to access the affected web services. We stored the concrete WSDLs within a wsdl folder in the project. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki Mix Forum

About





Search

Archives
« January 2014 »
SunMonTueWedThuFriSat
   
1
2
4
5
14
 
       
Today