Skip to Main Content

WebLogic 12.2.1.3: Can't deploy JAX-WS app having enableAsyncMapping in WSDL

user11382788Apr 14 2022

Hello,
I have a JAX-WS web service deployed on WebLogic 12.2.1.3. Since this web service is itself a client of an another external one, I need to get asynchrounous it's client part, the one calling the external web service. Hence, I added this in its WSDL:
<jaxws:bindings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
<jaxws:enableAsyncMapping>true</jaxws:enableAsyncMapping>
</jaxws:bindings>
After this modification, the web service doesn't deply anymore, it raises the following exception:
<14 avr. 2022 12 h 18 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.AssertionError
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: java.lang.AssertionError
at com.sun.xml.ws.model.wsdl.WSDLOperationImpl.freeze(WSDLOperationImpl.java:146)
at com.sun.xml.ws.model.wsdl.WSDLPortTypeImpl.freeze(WSDLPortTypeImpl.java:100)
at com.sun.xml.ws.model.wsdl.WSDLBoundPortTypeImpl.freeze(WSDLBoundPortTypeImpl.java:196)
at com.sun.xml.ws.model.wsdl.WSDLModelImpl.freeze(WSDLModelImpl.java:241)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:345)
Truncated. see log file for complete stacktrace
It works as expected on 14c.
Many thanks in advance for your help.

Comments
Post Details
Added on Apr 14 2022
2 comments
12 views