java.lang.IllegalArgumentException: A document URI is required for a search criterion.

ateam-oracle.com | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Integrating with Sales Cloud using SOAP web services and REST APIs

    ateam-oracle.com | 2 months ago
    java.lang.IllegalArgumentException: A document URI is required for a search criterion.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      A document URI is required for a search criterion.

      at oracle.wsm.search.SearchCriterion.normalizeDocumentURI()
    2. oracle.wsm.search
      SearchFactory.getPolicy
      1. oracle.wsm.search.SearchCriterion.normalizeDocumentURI(SearchCriterion.java:864)
      2. oracle.wsm.search.SearchCriterion.<init>(SearchCriterion.java:1394)
      3. oracle.wsm.search.SearchFactory.getPolicy(SearchFactory.java:569)
      3 frames
    3. oracle.wsm.policymanager
      PolicySetBuilder.<init>
      1. oracle.wsm.policymanager.bean.util.PolicySetBuilder.retrieveDocuments(PolicySetBuilder.java:2106)
      2. oracle.wsm.policymanager.bean.util.PolicySetBuilder.<init>(PolicySetBuilder.java:784)
      2 frames
    4. oracle.wsm.policyaccess
      PolicyAccessPoint.registerListener
      1. oracle.wsm.policyaccess.PolicyAccessPoint.buildRuntimePolicySet(PolicyAccessPoint.java:629)
      2. oracle.wsm.policyaccess.PolicyAccessPoint.registerListener(PolicyAccessPoint.java:934)
      2 frames
    5. com.oracle.webservices
      WSMPolicyHelperImpl$2.run
      1. com.oracle.webservices.impl.wsm.WSMPolicyHelperImpl$2.run(WSMPolicyHelperImpl.java:238)
      2. com.oracle.webservices.impl.wsm.WSMPolicyHelperImpl$2.run(WSMPolicyHelperImpl.java:236)
      2 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. com.oracle.webservices
      SecurityAgentTubeFactoryImpl.createWSMSecurityAgentTube
      1. com.oracle.webservices.impl.wsm.WSMPolicyHelperImpl.retrievePolicySet(WSMPolicyHelperImpl.java:236)
      2. com.oracle.webservices.impl.wsm.SecurityAgentTubeFactoryImpl.checkWsmSecurityEnabled(SecurityAgentTubeFactoryImpl.java:256)
      3. com.oracle.webservices.impl.wsm.SecurityAgentTubeFactoryImpl.createWSMSecurityAgentTube(SecurityAgentTubeFactoryImpl.java:134)
      3 frames
    8. weblogic.wsee.jaxws
      StandardTubelineDeploymentListener$10.createClient
      1. weblogic.wsee.jaxws.tubeline.standard.StandardTubelineDeploymentListener$10.createClient(StandardTubelineDeploymentListener.java:143)
      1 frame
    9. com.oracle.webservices
      TubelineAssemblerImpl.createClient
      1. com.oracle.webservices.impl.tube.TubelineAssemblerImpl.createClient(TubelineAssemblerImpl.java:104)
      1 frame
    10. weblogic.wsee.jaxws
      WLSTubelineAssemblerFactory$WLSTubelineAssemblerImpl.createClient
      1. weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$WLSTubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:508)
      1 frame
    11. com.oracle.webservices
      TubelineAssemblerImpl.createClient
      1. com.oracle.webservices.impl.tube.TubelineAssemblerImpl.createClient(TubelineAssemblerImpl.java:152)
      1 frame
    12. weblogic.wsee.jaxws
      WLSTubelineAssemblerFactory$WLSTubelineAssemblerImpl.createClient
      1. weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$WLSTubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:157)
      1 frame
    13. JAX-WS RI Runtime Bundle
      WSServiceDelegate.getPort
      1. com.sun.xml.ws.client.Stub.createPipeline(Stub.java:343)
      2. com.sun.xml.ws.client.Stub.<init>(Stub.java:310)
      3. com.sun.xml.ws.client.Stub.<init>(Stub.java:243)
      4. com.sun.xml.ws.client.Stub.<init>(Stub.java:258)
      5. com.sun.xml.ws.client.sei.SEIStub.<init>(SEIStub.java:98)
      6. com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:829)
      7. com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:818)
      8. com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:451)
      8 frames
    14. weblogic.wsee.jaxws
      WLSProvider$ServiceDelegateImpl.getPort
      1. weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.internalGetPort(WLSProvider.java:1557)
      2. weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl$PortClientInstanceFactory.createClientInstance(WLSProvider.java:1628)
      3. weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:388)
      4. weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:243)
      5. weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.getPort(WLSProvider.java:1445)
      5 frames
    15. JAX-WS RI Runtime Bundle
      WSServiceDelegate.getPort
      1. com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:419)
      1 frame
    16. weblogic.wsee.jaxws
      WLSProvider$ServiceDelegateImpl.getPort
      1. weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.getPort(WLSProvider.java:1379)
      1 frame
    17. Java RT
      Service.getPort
      1. javax.xml.ws.Service.getPort(Service.java:175)
      1 frame
    18. com.dubaiairports.letters
      UserDetailsServiceClient.getSelfUserDetails
      1. com.dubaiairports.letters.services.proxy.UserDetailsService_Service.getUserDetailsServiceSoapHttpPort(UserDetailsService_Service.java:88)
      2. com.dubaiairports.letters.services.client.UserDetailsServiceClient.getSelfUserDetails(UserDetailsServiceClient.java:49)
      2 frames