org.jboss.ws.WSException: Cannot deploy null policy!

sql.ru | 9 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

    How to resolve org.jboss.ws.WSException: Policy not supported in JBoss AS 4.2.?

    Stack Overflow | 4 years ago | Inael Rodrigues
    org.jboss.ws.WSException: Policy not supported! #WSHttpBinding_IDadosBiometricos_policy

    Root Cause Analysis

    1. org.jboss.ws.WSException

      Cannot deploy null policy!

      at org.jboss.ws.extensions.policy.deployer.PolicyDeployer.deployClientSide()
    2. org.jboss.ws
      ProviderImpl.createServiceDelegate
      1. org.jboss.ws.extensions.policy.deployer.PolicyDeployer.deployClientSide(PolicyDeployer.java:153)
      2. org.jboss.ws.extensions.policy.metadata.PolicyMetaDataBuilder.deployPolicyClientSide(PolicyMetaDataBuilder.java:307)
      3. org.jboss.ws.extensions.policy.metadata.PolicyMetaDataBuilder.deployPolicy(PolicyMetaDataBuilder.java:274)
      4. org.jboss.ws.extensions.policy.metadata.PolicyMetaDataBuilder.processPolicies(PolicyMetaDataBuilder.java:233)
      5. org.jboss.ws.extensions.policy.metadata.PolicyMetaDataBuilder.processPolicyExtensions(PolicyMetaDataBuilder.java:190)
      6. org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:92)
      7. org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:138)
      8. org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:63)
      8 frames
    3. Java RT
      Service.<init>
      1. javax.xml.ws.Service.<init>(Service.java:79)
      1 frame