Powered By Blogger

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

7 comments:

  1. Had the same issue - removing and activating prior to importing solved it, thank you!

    ReplyDelete
  2. Had the same issue and your post was a great help.

    ReplyDelete
  3. Great! This has helped me. Thank you.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Great help, thank you!

    4 Solution:
    not check the "Preserve Security and Policy Configuration" option when importing OSB projects into sbconsole.

    ReplyDelete
  6. The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.
    Security Solution

    ReplyDelete
  7. Security Cameras, Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.

    ReplyDelete