Export WSDL from OSB Console Fails when OWSM Policy is Attached (Doc ID 2225499.1)

Last updated on JANUARY 20, 2017

Applies to:

Oracle Service Bus - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

From OSB Console, when trying to export the WSDL of a proxy that has a custom OWSM policy attached, the following error is seen in the logs, and the exported WSDL is 0 bytes:

java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor77114.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.__invoke(ConsoleSideMBeanInvocationHandler.java:113)
  at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.invoke(ConsoleSideMBeanInvocationHandler.java:71)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: This reference is not mapped to a specific file:
  at com.bea.wli.sb.resources.schema.SchemaEntryHelper.rewriteUrls(SchemaEntryHelper.java:1095)
  at com.bea.wli.sb.resources.schema.SchemaEntryHelper.rewriteUrls(SchemaEntryHelper.java:1047)
  at com.bea.wli.sb.service.ServiceManagerResourceHelper.generateSchemaDocument(ServiceManagerResourceHelper.java:1774)
  at com.bea.wli.sb.service.ServiceManagerResourceHelper._getJarredWsdlResources(ServiceManagerResourceHelper.java:814)
  at com.bea.wli.sb.service.ServiceManagerResourceHelper.getJarredServiceResources(ServiceManagerResourceHelper.java:482)
  Truncated. see log file for complete stacktrace
Caused By: java.net.URISyntaxException: This reference is not mapped to a specific file:
  at com.bea.wli.sb.resources.url.JarUriRewriter.getUri(JarUriRewriter.java:28)
  at com.bea.wli.sb.resources.schema.SchemaEntryHelper.rewriteUrls(SchemaEntryHelper.java:1089)
  at com.bea.wli.sb.resources.schema.SchemaEntryHelper.rewriteUrls(SchemaEntryHelper.java:1047)
  at com.bea.wli.sb.service.ServiceManagerResourceHelper.generateSchemaDocument(ServiceManagerResourceHelper.java:1774)
  at com.bea.wli.sb.service.ServiceManagerResourceHelper._getJarredWsdlResources(ServiceManagerResourceHelper.java:814)
  Truncated. see log file for complete stacktrace

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms