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 Aaoz Gul <aa...@northbaysolutions.net> on 2011/09/29 14:29:49 UTC

display soap message with my client

Hi,

  I want add print Soap message which sent by Client instead of Server. and
i don't want any changes in at server Side. I make a .jar file of Client
stub and use it with other project and called its API to send message.

Question:

1.    There are any Monitor with display soap message with my client send
 2.    How can  i add logger into my Client. So i can print Soap messages
into logger
Note: I generate java classed from wsdl file

Any help will be appriciated

regards
aaoz

Re: display soap message with my client

Posted by Shameera Rathnayaka <sh...@gmail.com>.
On Fri, Sep 30, 2011 at 10:15 AM, Aaoz Gul
<aa...@northbaysolutions.net>wrote:

> Deepal thanks for your help. I need TCPmon to monitor Soap messages from
> Client Side. I found lot of example but it is only for windows not for
> Linux. I couldn't find and example for Linux. Can u help me out how  can i
> set tcpmon in Linux.


You can download tcpmon binary zip format
here<http://ws.apache.org/commons/tcpmon/download.cgi> .After
that extract it using "$ unzip tcpmon-1.0-bin.zip"
Now go to the extracted folder and in there you will see a directory call
"build" go to that directory and run "$ sh tcpmon.sh"
That's all you will get the tcpmon GUI. i think you have use tcpmon so i
don't explain how to monitor requests and response from tcpmon. .

>
> Thanx
> aaoz
>
>
> On Fri, Sep 30, 2011 at 2:47 AM, Deepal jayasinghe <de...@gmail.com>wrote:
>
>>  On 9/29/2011 4:40 PM, Aaoz Gul wrote:
>>
>> thanx for ur reply. I deployed my Client outside the Axis2 and in tomcate
>> webapp.I've 2 questions
>> 1.   How can i engange Soap Monitor with my client.
>>
>> I am not 100% sure whether you can get what you want directly from SOAP
>> monitor, you probably need to do some changes. Because it prints both
>> request and response. Anyway you can download both binaries and source code
>> here:  http://axis.apache.org/axis2/java/core/modules/index.html
>>
>>
>>  2.   Can i use tcpMon for it. I'm using Linux to deploy my client. but i
>> couldn't find tcp tutorial for linux.
>>
>> Not sure whether you can use TCPMon, because it simply to act as a proxy.
>> You can use it at the client side not at the server side. If you are using
>> it is at the server side client has to send the message to the port that TCP
>> monitor is using, not the one server is running.
>>
>> Deepal
>>
>>
>>  regards
>> Aaoz
>>  On Thu, Sep 29, 2011 at 5:59 AM, Deepal jayasinghe <de...@gmail.com>wrote:
>>
>>> You can engage modules to the client side as you do to the server side.
>>> So, what you need to do is either to use the SOAP monitor module comes
>>> with Axis2 or create your own handler to print the SOAP message. Engage
>>> it to the client, remember to add the .mar file into the classpath.
>>>
>>> Deepal
>>>  > Hi,
>>> >
>>> >   I want add print Soap message which sent by Client instead of
>>> > Server. and i don't want any changes in at server Side. I make a .jar
>>> > file of Client stub and use it with other project and called its API
>>> > to send message.
>>> >
>>> > Question:
>>> >
>>> > 1.    There are any Monitor with display soap message with my client
>>> send
>>> >  2.    How can  i add logger into my Client. So i can print Soap
>>> > messages into logger
>>> > Note: I generate java classed from wsdl file
>>> >
>>> > Any help will be appriciated
>>> >
>>> > regards
>>> > aaoz
>>>
>>>
>>>  ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>
>>>
>>
>>
>


-- 
Shameera Rathnayaka
Undergraduate
Department of Computer Science and Engineering
University of Moratuwa.
Sri Lanka.

Blog : http://shameerarathnayaka.blogspot.com/

Re: display soap message with my client

Posted by Aaoz Gul <aa...@northbaysolutions.net>.
Deepal thanks for your help. I need TCPmon to monitor Soap messages from
Client Side. I found lot of example but it is only for windows not for
Linux. I couldn't find and example for Linux. Can u help me out how  can i
set tcpmon in Linux.

Thanx
aaoz


On Fri, Sep 30, 2011 at 2:47 AM, Deepal jayasinghe <de...@gmail.com>wrote:

>  On 9/29/2011 4:40 PM, Aaoz Gul wrote:
>
> thanx for ur reply. I deployed my Client outside the Axis2 and in tomcate
> webapp.I've 2 questions
> 1.   How can i engange Soap Monitor with my client.
>
> I am not 100% sure whether you can get what you want directly from SOAP
> monitor, you probably need to do some changes. Because it prints both
> request and response. Anyway you can download both binaries and source code
> here:  http://axis.apache.org/axis2/java/core/modules/index.html
>
>
>  2.   Can i use tcpMon for it. I'm using Linux to deploy my client. but i
> couldn't find tcp tutorial for linux.
>
> Not sure whether you can use TCPMon, because it simply to act as a proxy.
> You can use it at the client side not at the server side. If you are using
> it is at the server side client has to send the message to the port that TCP
> monitor is using, not the one server is running.
>
> Deepal
>
>
>  regards
> Aaoz
>  On Thu, Sep 29, 2011 at 5:59 AM, Deepal jayasinghe <de...@gmail.com>wrote:
>
>> You can engage modules to the client side as you do to the server side.
>> So, what you need to do is either to use the SOAP monitor module comes
>> with Axis2 or create your own handler to print the SOAP message. Engage
>> it to the client, remember to add the .mar file into the classpath.
>>
>> Deepal
>>  > Hi,
>> >
>> >   I want add print Soap message which sent by Client instead of
>> > Server. and i don't want any changes in at server Side. I make a .jar
>> > file of Client stub and use it with other project and called its API
>> > to send message.
>> >
>> > Question:
>> >
>> > 1.    There are any Monitor with display soap message with my client
>> send
>> >  2.    How can  i add logger into my Client. So i can print Soap
>> > messages into logger
>> > Note: I generate java classed from wsdl file
>> >
>> > Any help will be appriciated
>> >
>> > regards
>> > aaoz
>>
>>
>>  ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>

Re: display soap message with my client

Posted by Deepal jayasinghe <de...@gmail.com>.
On 9/29/2011 4:40 PM, Aaoz Gul wrote:
> thanx for ur reply. I deployed my Client outside the Axis2 and in
> tomcate webapp.I've 2 questions
> 1.   How can i engange Soap Monitor with my client.
I am not 100% sure whether you can get what you want directly from SOAP
monitor, you probably need to do some changes. Because it prints both
request and response. Anyway you can download both binaries and source
code here:  http://axis.apache.org/axis2/java/core/modules/index.html

> 2.   Can i use tcpMon for it. I'm using Linux to deploy my client. but
> i couldn't find tcp tutorial for linux.
Not sure whether you can use TCPMon, because it simply to act as a
proxy. You can use it at the client side not at the server side. If you
are using it is at the server side client has to send the message to the
port that TCP monitor is using, not the one server is running.

Deepal


> regards
> Aaoz
> On Thu, Sep 29, 2011 at 5:59 AM, Deepal jayasinghe <deepalk@gmail.com
> <ma...@gmail.com>> wrote:
>
>     You can engage modules to the client side as you do to the server
>     side.
>     So, what you need to do is either to use the SOAP monitor module comes
>     with Axis2 or create your own handler to print the SOAP message.
>     Engage
>     it to the client, remember to add the .mar file into the classpath.
>
>     Deepal
>     > Hi,
>     >
>     >   I want add print Soap message which sent by Client instead of
>     > Server. and i don't want any changes in at server Side. I make a
>     .jar
>     > file of Client stub and use it with other project and called its API
>     > to send message.
>     >
>     > Question:
>     >
>     > 1.    There are any Monitor with display soap message with my
>     client send
>     >  2.    How can  i add logger into my Client. So i can print Soap
>     > messages into logger
>     > Note: I generate java classed from wsdl file
>     >
>     > Any help will be appriciated
>     >
>     > regards
>     > aaoz
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>


Re: display soap message with my client

Posted by Aaoz Gul <aa...@northbaysolutions.net>.
thanx for ur reply. I deployed my Client outside the Axis2 and in tomcate
webapp.I've 2 questions
1.   How can i engange Soap Monitor with my client.
2.   Can i use tcpMon for it. I'm using Linux to deploy my client. but i
couldn't find tcp tutorial for linux.
regards
Aaoz
On Thu, Sep 29, 2011 at 5:59 AM, Deepal jayasinghe <de...@gmail.com>wrote:

> You can engage modules to the client side as you do to the server side.
> So, what you need to do is either to use the SOAP monitor module comes
> with Axis2 or create your own handler to print the SOAP message. Engage
> it to the client, remember to add the .mar file into the classpath.
>
> Deepal
>  > Hi,
> >
> >   I want add print Soap message which sent by Client instead of
> > Server. and i don't want any changes in at server Side. I make a .jar
> > file of Client stub and use it with other project and called its API
> > to send message.
> >
> > Question:
> >
> > 1.    There are any Monitor with display soap message with my client send
> >  2.    How can  i add logger into my Client. So i can print Soap
> > messages into logger
> > Note: I generate java classed from wsdl file
> >
> > Any help will be appriciated
> >
> > regards
> > aaoz
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

Re: display soap message with my client

Posted by Deepal jayasinghe <de...@gmail.com>.
You can engage modules to the client side as you do to the server side.
So, what you need to do is either to use the SOAP monitor module comes
with Axis2 or create your own handler to print the SOAP message. Engage
it to the client, remember to add the .mar file into the classpath.

Deepal
> Hi,
>
>   I want add print Soap message which sent by Client instead of
> Server. and i don't want any changes in at server Side. I make a .jar
> file of Client stub and use it with other project and called its API
> to send message.
>
> Question:
>
> 1.    There are any Monitor with display soap message with my client send
>  2.    How can  i add logger into my Client. So i can print Soap
> messages into logger
> Note: I generate java classed from wsdl file
>
> Any help will be appriciated
>
> regards
> aaoz


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