axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Smithian <joe.smith...@gmail.com>
Subject Re: How to monitor SOAP messages in the Client without changing the server?
Date Sun, 19 Apr 2009 21:41:18 GMT
Hi Dennis,

Thanks for your suggestions. I built logging.mar in my
axis2/samples/userguide using 'ant generate.module' then copied it to my
client's lib directory and added it to it's manifest file, recompiled and
ran the client, still gives the error: "Unable to engage module : logging".

Any idea what might be wrong?

Thanks again.

Joe.


On Sat, Apr 18, 2009 at 2:12 AM, Dennis Sosnoski <dms@sosnoski.com> wrote:

> Hi Joe,
>
> Try including the logging.mar in your classpath. You can also use a
> repository structure on the client side, but the classpath approach is
> easier.
>
> Cheers,
>
>  - Dennis
>
> --
> Dennis M. Sosnoski
> SOA and Web Services in Java
> Axis2 Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
>
>
> Joe Smithian wrote:
>
>> Hi Asen,
>>
>> Thanks for your suggestions. My client is based on wsdl2java stub, I tried
>> stub._getServiceClient().engageModule("logging"); as you suggested and I got
>> this error:  Unable to engage module : logging
>> What else I should do to engage logging module? should I download and
>> install logging module?
>> How can I use the logging module to monitor soap messages once it is
>> engaged? Does it log to a file?
>>
>> I'd appreciate it if you can answer my question or refer me to online
>> documents/examples.
>>
>> Thanks
>>
>> Joe
>>
>>
>>
>> On Fri, Apr 17, 2009 at 9:02 AM, Asen <asen.m.asenov@gmail.com <mailto:
>> asen.m.asenov@gmail.com>> wrote:
>>
>>    I agree.
>>    If you use Axis2 client, first build your logging.mar.
>>    If you are using your wsdl2java stubs you can do
>>    stub._getServiceClient().engageModule("logging");
>>
>>
>>    On Thu, Apr 16, 2009 at 11:33 PM, Sukma Agung Verdianto
>>    <save.nx@gmail.com <mailto:save.nx@gmail.com>> wrote:
>>
>>        I think you can engage logging module from your client if
>>        you're using axis as the client.
>>
>>
>>        On Fri, Apr 17, 2009 at 7:59 AM, Joe Smithian
>>        <joe.smithian@gmail.com <mailto:joe.smithian@gmail.com>> wrote:
>>
>>            Hi Robert,
>>
>>            Logging Module is also a server side solution; I need a
>>            solution in the client without any change or installing
>>            anything in the server.
>>
>>            Thanks.
>>
>>            Joe.
>>
>>
>>
>>
>>            On Wed, Apr 15, 2009 at 8:47 AM, robert lazarski
>>            <robertlazarski@gmail.com
>>            <mailto:robertlazarski@gmail.com>> wrote:
>>
>>                On Wed, Apr 15, 2009 at 9:44 AM, robert lazarski
>>                <robertlazarski@gmail.com
>>                <mailto:robertlazarski@gmail.com>> wrote:
>>                > On Tue, Apr 14, 2009 at 11:25 PM, Joe Smithian
>>                <joe.smithian@gmail.com
>>                <mailto:joe.smithian@gmail.com>> wrote:
>>                >> Hi all,
>>                >>
>>                >> Can any one please let me know how can I display
>>                SOAP request and response
>>                >> messages in a SOAP AXIS2 Client GUI application?
>>                >
>>                > Umm, the soap monitor perhaps?
>>                >
>>                > http://ws.apache.org/axis2/1_4_1/soapmonitor-module.html
>>                >
>>                > There's also tcpmon:
>>                >
>>                > https://tcpmon.dev.java.net/
>>                >
>>                > - R
>>                >
>>
>>                Oops, I'm just waking up and I just noticed you can't
>>                use either of
>>                those. Maybe try the Logging Module and get the info
>>                you need from
>>                there.
>>
>>                http://ws.apache.org/axis2/1_4/modules.html
>>
>>                - R
>>
>>
>>
>>
>>
>>
>

Mime
View raw message