【发布时间】:2018-07-31 21:28:48
【问题描述】:
我通过简单地创建具有以下内容的“web-services.xml”(当然我创建了“com.example.WorkFlowEntry”处理程序类)来实现这个guide 中描述的webservice:
<web-services>
<handler-chains>
<handler-chain name="enterWorkflowChain">
<handler class-name="com.example.WorkFlowEntry">
<init-params>
<init-param name="workflow-eng-jndi-name"
value="workflow.entry" />
</init-params>
</handler>
</handler-chain>
</handler-chains>
<web-service targetNamespace="http://example.com"
name="myworkflow" uri="myWorkflowService">
<operations xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<operation name="enterWorkflow"
handler-chain="enterWorkflowChain"
invocation-style="one-way" />
</operations>
</web-service>
我的问题是,当我在 weblogic 11g 中部署 EAR 文件时,'' webservice 已成功部署,我可以访问 webservice 的 WSDL。当我在 weblogic 12c 中部署相同的 EAR 时,它已成功部署,但 WSDL 无法访问,我得到 404!
【问题讨论】:
-
你检查你的耳朵是在你的 12c 域中启动的吗?使用管理控制台并转到部署选项进行检查。
-
是 .. 已启动并处于活动状态,没有错误或警告。
-
对我来说也一样。一切似乎都很好,但得到 404