Powered By Blogger
Showing posts with label OSB Kernel:398139. Show all posts
Showing posts with label OSB Kernel:398139. Show all posts

Tuesday, May 14, 2013

[OSB Kernel:398139] The binding type of service is based on wsdl, the service should have ws-policy configuration

If anybody has encountered below error message when importing OSB projects into sbconsole, then no need to panic we have a solution to correct that

Error
OSB Kernel:398139]The binding type of service is based on wsdl, the service should have ws-policy configuration

Cause
This happens when we have OSB service already existing with different security policy setup than importing one.

I would like to discuss one of possible causes here

Lets say if we have existing service in the server is(policies are being referred from WSDL)










and importing one with below security policy configuration(policies are being referred from OWSM store)




This will conflict

Solutions


  1. A simple solution would be remove existing service and import new one
  2. Import new OSB code with WSDL chosen (if WSDL has already reference policy)
  3. Change existing service in OSB to to refer policies from OWSM

Hope this would help