Websphere 8.5..5中的HIERARCHY_REQUEST_ERR

时间:2015-04-27 13:07:17

标签: java xml web-services jax-ws websphere-8

在profile2中的WAS 8.5.5中配置我的应用程序期间,我遇到了他的错误。期待跟踪此错误的线索。奇怪的是,我在profile1中具有相同的配置和应用程序正在按预期工作。在profile2中执行相同操作无效并抛出以下错误。对此有什么猜测吗?

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
  <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
     <faultcode xmlns:ns5="http://idm.vignette.com/">ns5:Server</faultcode>
     <faultstring>org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.</faultstring>
     <detail>
        <ns2:exception class="javax.xml.ws.soap.SOAPFaultException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" xmlns:ns2="http://jax-ws.dev.java.net/">
           <message>org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.</message>
           <ns2:stackTrace>
              <ns2:frame class="com.abc.edf.server.common.MyHandler" file="IDMHandler.java" line="209" method="handleException"/>
              <ns2:frame class="com.abc.edf.server.common.MyHandler" file="IDMHandler.java" line="104" method="handleMessage"/>
              <ns2:frame class="com.abc.edf.server.common.MyHandler" file="IDMHandler.java" line="41" method="handleMessage"/>
              <ns2:frame class="com.sun.xml.ws.handler.HandlerProcessor" file="HandlerProcessor.java" line="336" method="callHandleMessageReverse"/>
              <ns2:frame class="com.sun.xml.ws.handler.HandlerProcessor" file="HandlerProcessor.java" line="207" method="callHandlersResponse"/>
              <ns2:frame class="com.sun.xml.ws.handler.ServerSOAPHandlerTube" file="ServerSOAPHandlerTube.java" line="161" method="callHandlersOnResponse"/>
              <ns2:frame class="com.sun.xml.ws.handler.HandlerTube" file="HandlerTube.java" line="160" method="processResponse"/>
              <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="639" method="__doRun"/>
              <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="588" method="_doRun"/>
              <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="573" method="doRun"/>
              <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="470" method="runSync"/>
              <ns2:frame class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="295" method="process"/>
              <ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="515" method="handle"/>
              <ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="285" method="handle"/>
              <ns2:frame class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="143" method="handle"/>
              <ns2:frame class="com.sun.xml.ws.transport.http.servlet.WSServletDelegate" file="WSServletDelegate.java" line="155" method="doGet"/>
              <ns2:frame class="com.sun.xml.ws.transport.http.servlet.WSServletDelegate" file="WSServletDelegate.java" line="189" method="doPost"/>
              <ns2:frame class="com.sun.xml.ws.transport.http.servlet.WSServlet" file="WSServlet.java" line="76" method="doPost"/>
              <ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="754" method="service"/>
              <ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="847" method="service"/>
              <ns2:frame class="com.ibm.ws.webcontainer.servlet.ServletWrapper" file="ServletWrapper.java" line="1230" method="service"/>
              <ns2:frame class="com.ibm.ws.webcontainer.servlet.ServletWrapper" file="ServletWrapper.java" line="779" method="handleRequest"/>
              <ns2:frame class="com.ibm.ws.webcontainer.servlet.ServletWrapper" file="ServletWrapper.java" line="478" method="handleRequest"/>
              <ns2:frame class="com.ibm.ws.webcontainer.servlet.ServletWrapperImpl" file="ServletWrapperImpl.java" line="178" method="handleRequest"/>
              <ns2:frame class="com.ibm.ws.webcontainer.filter.WebAppFilterManager" file="WebAppFilterManager.java" line="1071" method="invokeFilters"/>
              <ns2:frame class="com.ibm.ws.webcontainer.servlet.CacheServletWrapper" file="CacheServletWrapper.java" line="87" method="handleRequest"/>
              <ns2:frame class="com.ibm.ws.webcontainer.WebContainer" file="WebContainer.java" line="914" method="handleRequest"/>
              <ns2:frame class="com.ibm.ws.webcontainer.WSWebContainer" file="WSWebContainer.java" line="1662" method="handleRequest"/>
              <ns2:frame class="com.ibm.ws.webcontainer.channel.WCChannelLink" file="WCChannelLink.java" line="200" method="ready"/>
              <ns2:frame class="com.ibm.ws.http.channel.inbound.impl.HttpInboundLink" file="HttpInboundLink.java" line="459" method="handleDiscrimination"/>
              <ns2:frame class="com.ibm.ws.http.channel.inbound.impl.HttpInboundLink" file="HttpInboundLink.java" line="526" method="handleNewRequest"/>
              <ns2:frame class="com.ibm.ws.http.channel.inbound.impl.HttpInboundLink" file="HttpInboundLink.java" line="312" method="processRequest"/>
              <ns2:frame class="com.ibm.ws.http.channel.inbound.impl.HttpInboundLink" file="HttpInboundLink.java" line="283" method="ready"/>
              <ns2:frame class="com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback" file="NewConnectionInitialReadCallback.java" line="214" method="sendToDiscriminators"/>
              <ns2:frame class="com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback" file="NewConnectionInitialReadCallback.java" line="113" method="complete"/>
              <ns2:frame class="com.ibm.ws.tcp.channel.impl.AioReadCompletionListener" file="AioReadCompletionListener.java" line="175" method="futureCompleted"/>
              <ns2:frame class="com.ibm.io.async.AbstractAsyncFuture" file="AbstractAsyncFuture.java" line="217" method="invokeCallback"/>
              <ns2:frame class="com.ibm.io.async.AsyncChannelFuture" file="AsyncChannelFuture.java" line="161" method="fireCompletionActions"/>
              <ns2:frame class="com.ibm.io.async.AsyncFuture" file="AsyncFuture.java" line="138" method="completed"/>
              <ns2:frame class="com.ibm.io.async.ResultHandler" file="ResultHandler.java" line="204" method="complete"/>
              <ns2:frame class="com.ibm.io.async.ResultHandler" file="ResultHandler.java" line="775" method="runEventProcessingLoop"/>
              <ns2:frame class="com.ibm.io.async.ResultHandler$2" file="ResultHandler.java" line="905" method="run"/>
              <ns2:frame class="com.ibm.ws.util.ThreadPool$Worker" file="ThreadPool.java" line="1864" method="run"/>
           </ns2:stackTrace>
        </ns2:exception>
     </detail>
  </S:Fault>

1 个答案:

答案 0 :(得分:-1)

wsdl文件定义中的

删除wsam标签 寻址

位于WEB-INF文件夹中

example image