[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security

alessio.soldano@jboss.com do-not-reply at jboss.com
Thu Nov 29 10:14:17 EST 2007


"method_ben" wrote : 
  | server.log (jboss_folder/server/default/log):
  | 
  | 2007-11-29 09:20:58,342 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test
  | 2007-11-29 09:20:58,342 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1
  | 2007-11-29 09:20:58,451 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test
  | 2007-11-29 09:20:58,451 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1
  | 2007-11-29 09:20:58,545 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test
  | 2007-11-29 09:20:58,545 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1
  | 

You're supposed to find an exception in your log, since the code you're running is something like

  |      try {
  |           //some stuff generating the exception
  |       }
  |       catch (WSSecurityException e)
  |       {
  |          if (e.isInternalError())
  |             log.error("Internal error occured handling outbound message:", e); //this is the interesting log we need
  |          else if(log.isDebugEnabled()) log.debug("Returning error to sender: " + e.getMessage());
  | 
  |          throw convertToFault(e); //this creates the message you get on the client
  |       }
  | 


Please use the preview button before submitting messages on the forum; also wrap code snippets into [ code ] [ /code ] tags.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108924#4108924

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108924



More information about the jboss-user mailing list