Hi all,
  I just checked the log files of the web service..
  if i deployed the webservice to the local server, it works well... but when i 
deploy the web service to another server which is a cluster server behind a 
proxyserver bugs come out....
   
  after i compared the log file between 2 server...
   
   
  The log file of the local server
   
  DEBUG (WSS4JOutHandler.java:171) - WSDoAllSender: exit invoke()
DEBUG (HandlerPipeline.java:115) - Invoking phase transport
DEBUG (HandlerPipeline.java:129) - Invoking handler 
org.codehaus.xfire.soap.handler.SoapActionOutHandler in phase transport
DEBUG (HandlerPipeline.java:115) - Invoking phase send
DEBUG (HandlerPipeline.java:129) - Invoking handler 
org.codehaus.xfire.handler.OutMessageSender in phase send
DEBUG (DefaultEndpoint.java:36) - Received message to 
/signaturews/services/SecureSignatureService
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
parse
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
pre-invoke
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
service
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
service
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
parse
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
parse
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase user

   
  Log file from clustered server behind proxyserver
   
  DEBUG (WSS4JOutHandler.java:171) - WSDoAllSender: exit invoke()
DEBUG (HandlerPipeline.java:115) - Invoking phase transport
DEBUG (HandlerPipeline.java:129) - Invoking handler 
org.codehaus.xfire.soap.handler.SoapActionOutHandler in phase transport
DEBUG (HandlerPipeline.java:115) - Invoking phase send
DEBUG (HandlerPipeline.java:129) - Invoking handler 
org.codehaus.xfire.handler.OutMessageSender in phase send
DEBUG (Client.java:354) - Received message to 
http://hkxd0102:7523/signaturews/services/SecureSignatureService
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
pre-dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
parse
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
parse
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
parse
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
pre-invoke
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:64) - adding handler [EMAIL PROTECTED] to phase 
dispatch
DEBUG (HandlerPipeline.java:115) - Invoking phase transport
DEBUG (HandlerPipeline.java:115) - Invoking phase parse
DEBUG (HandlerPipeline.java:129) - Invoking handler 
org.codehaus.xfire.util.dom.DOMInHandler in phase parse
DEBUG (HandlerPipeline.java:129) - Invoking handler 
org.codehaus.xfire.security.wss4j.WSS4JInHandler in phase parse
   
   
  The main difference of the log segment is from the point where the web 
service server received the request... their handler is different... As you can 
see from the log file, the local server called DefaultEndpoint.java:36 after 
the debug message : Invoking handler 
org.codehaus.xfire.handler.OutMessageSender in phase send
  however clustered server called Client.java:354
   
  can anyone give me a suggestion? this is very urgent... thanks alot
   
  Regards,
  Jacky
  
Jacky Shih <[EMAIL PROTECTED]> 說:
    Hi all,
  My webservice suddenly throw the following exceptions
   
   INFO (DefaultFaultHandler.java:39) - Fault occurred!
org.codehaus.xfire.fault.XFireFault: Invalid operation: 
{http://www.w3.org/2001/04/xmlenc#}EncryptedData
        at 
org.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:41)
        at 
org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
        at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at 
org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
        at 
org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
        at 
org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:301)
        at 
org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:130)
        at 
org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
        at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
   
  Can anyone suggest how can i fix it? Thanks!
   
  Regards
   
  Jacky
  _______________________________________
YM - 離線訊息
就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
http://messenger.yahoo.com.hk


 _______________________________________
 YM - 離線訊息
 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
 http://messenger.yahoo.com.hk

Reply via email to