[jboss-user] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs

2007-01-03 Thread joeh
anonymous wrote : The log4j category jbossws.SOAPMessage needs to be set to 
TRACE

This doesn't work for me, or I'm misunderstanding. I've deployed a jsr109 EJB 
endpoint. I would like jboss to log the SOAP request and response. Are you 
saying that just enabling this log4j category should cause that to happen, or 
is there more I need to do (such as installing a handler)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997628#3997628

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3997628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs

2006-12-29 Thread [EMAIL PROTECTED]
The log4j category jbossws.SOAPMessage needs to be set to TRACE

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996899#3996899

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996899
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs

2006-12-26 Thread pshankar
Try deploying the sample web services and run the sample clients. The client 
will print the SOAP request/envelope log. If you use eclipse you can use the 
soap request monitoring feature.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996289#3996289

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996289
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs

2006-12-26 Thread bbredohl
With a MessageHandler you can see the SOAP Message too.
Look here:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/headers-handlers.html

In a JSR-181 endpoint you can user the @HandlerChain annotation


  | @HandlerChain(name = handlerChain, file = 
resource://META-INF/handler.xml)

handler.xml


  | ?xml version=1.0 encoding=UTF-8?
  | handler-config
  |handler-chain
  |   handler-chain-namehandlerChain/handler-chain-name
  |   handler
  |   handler-nameMessageHandler/handler-name
  |   handler-classpackage.MessageHandler/handler-class
  |   /handler
  |/handler-chain
  | /handler-config
  | 

and the  Class:

public class FeatureScanMessageHandler extends GenericHandler{
  | 
  | public FeatureScanMessageHandler(){
  | }
  | 
  | public boolean handleMessage(SOAPMessageContext messageContext) {
  | return true;
  | }
  | 
  | public boolean handleResponse(MessageContext context) {
  | return true;
  | }
  | 
  | public QName[] getHeaders() {
  | return this.getHeaders();
  | }
  |  
  | public boolean handleFault(MessageContext msgContext) {
  | return true;
  | }
  | }

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996293#3996293

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996293
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user