You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Jason Weinstein <Ja...@Sun.COM> on 2008/10/15 08:20:47 UTC

How to turn on debug for this class?

Just noticed this
    protected void debugLogDocument(String description, Document doc)

How to turn on debug for this class?
        log = 
LogFactory.getLog(org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.class);



I started with this silly piece of code which may be interesting to 
some. It works too.


public aspect AxisAspect {
    public pointcut withinEmitter() :
        within(org.apache.axis2.wsdl.codegen.emitter.*); // 
AxisServiceBasedMultiLanguageEmitter

    public pointcut createJoinPoint(
        Emitter emitter) :

        withinEmitter() &&       
        execution(protected Document create*())
        && this(emitter);


    Document around(Emitter emitter) :
        createJoinPoint(emitter) {
        System.out.println("create emitter: " + emitter);
        logJoinPoint(thisJoinPoint);
        Document doc = (Document) proceed(emitter);
        logDocument(doc);
        return doc;
    }
...
}

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


use of @ResponseWrapper in JAXWS

Posted by "Hu, Lan " <la...@citi.com>.
Hi all,

Does there detail doc about how to use the @ResponseWrapper in JAXWS? Does it provide marshall/unmarshall mechanism?

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org