Registration Of WSRP v1 Producer Fails With Error Unable to access or transform markup from the WSDL URL (Doc ID 1531828.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

When registering the WSRP v1 Sample WSRP producer in WebCenter Spaces, an error is reported and, consequently, registration fails:

wls:/wc_domain/domainRuntime> wls:/wc_domain/domainRuntime> registerWSRPProducer(appName='webcenter',name='WSRPSamplesv1',url='http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL')

javax.management.RuntimeMBeanException: Unable to access or transform markup from the WSDL URL: http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL
Error retrieving WSDL at URL "http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL".

 More information about the error condition is written to the the WC_Spaces.log (<MW_HOME>/user_projects/domains/<WebCenter Domain>/server/WC_Spaces/logs):

####<Feb 25, 2013 6:01:47 AM GMT-00:00> <Warning> <RMI> <fmw11g.vm.oracle.com> <WC_Spaces> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0ec4520e5fc6c5d1:-464520e:13cdedf5761:-8000-00000000000097e4> <1361772107296> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;Ljava.rmi.MarshalledObject;[Ljava.lang.String;Ljavax.security.auth.Subject;)
 javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: Unable to access or transform markup from the WSDL URL: http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL.
javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: Unable to access or transform markup from the WSDL URL: http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:838)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        ...
Caused By: javax.management.RuntimeMBeanException: Unable to access or transform markup from the WSDL URL: http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL
        at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:1020)
        at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
        ...
Caused By: java.lang.IllegalArgumentException: Unable to access or transform markup from the WSDL URL: http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL
        at oracle.portlet.client.mbean.ProducerUtils.getWsdlModel(ProducerUtils.java:842)
        at oracle.portlet.client.mbean.ProducerMXBeanImpl.getWsdlModel(ProducerMXBeanImpl.java:237)
        at oracle.portlet.client.mbean.ProducerMXBeanImpl.getWsdlModel(ProducerMXBeanImpl.java:231)
        ...
Caused By: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of http://myServer.us.oracle.com/samplewsrpportlets/portlets?WSDL: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl", caused by: java.net.NoRouteToHostException.    : java.net.NoRouteToHostException: No route to host
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:966)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:820)
        ...
Caused By: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl", caused by: java.net.NoRouteToHostException.    : java.net.NoRouteToHostException: No route to host
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:382)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:937)
        ....
Caused By: java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)

Changes

 Registering a Sample WSRP Producer downloaded from Oracle Technology Network.

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