KB Article #181437

JavaMapBroker: WebService: can't Initialize dynamicConsumer

Problem

-- a runtime error occurs in a Web Services map (consumer mode) after installing a new Service Pack

2021-01-21 14:40:16,654 [main ] ERROR L91 SandeshaModule.init - Could not load module policies. Using default values.

2021-01-21 14:40:16,731 [main ] ERROR L606 WebServicesMapBroker.execute - JavaMapBroker: WebService: can't Initialize dynamicConsumer
java.lang.RuntimeException: Cannot access https:// url while use security flag is OFF. The local/remote policies need to be reviewed and also the policies intersection.
at com.axway.webservices.dynamicconsumer.DynamicConsumer.<init>(DynamicConsumer.java:158)
at com.axway.integrator.webservices.WebServicesMapBroker.execute(WebServicesMapBroker.java:602)
at com.axway.integrator.mapping.JavaMapBrokerAdapter.execute(JavaMapBrokerAdapter.java:127)
2021-01-21 14:40:16,734 [main ] ERROR L131 JavaMapBrokerAdapter.execute - com.axway.integrator.mapping.MapBrokerException: Can't Initialize dynamicConsumer

Resolution

* recreate the WebServices Application (or Partner) and the channel used for the related flow
* redeploy the flow
* it it does not solve the problem, create a support case and provide :

- $CORE_DATA/data/javaMapBroker.log
- $CORE_DATA/log/starter.log
- Integrator trace file
- the export of the Integration Task
- the wsdl used to create the WebServices map (if any)