讨论区 » AAS-V10企业版 »
V10部署文件夹报java.lang.IllegalArgumentException: Illeagal combination - Mode.PAYLOAD and Provider<javax.xml.soap.SOAPMessage>
由 吕 鹏钦 在 大约 3 年 之前添加
问题描述:报错如下
Caused by: java.lang.IllegalArgumentException: Illeagal combination - Mode.PAYLOAD and Provider<javax.xml.soap.SOAPMessage>
at com.sun.xml.ws.server.provider.ProviderEndpointModel.<init>(ProviderEndpointModel.java:87)
at com.sun.xml.ws.server.provider.ProviderInvokerTube.create(ProviderInvokerTube.java:41)
at com.sun.xml.ws.server.EndpointFactory.createProviderInvokerTube(EndpointFactory.java:321)
at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:267)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:134)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:548)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:530)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:609)
at com.apusic.aas.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:244)
at com.apusic.aas.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:81)
... 91 more
]]
解决方法:在应用的web.xml的web-app内容中加入metadata-complete="true"即可解决