Hi Lahiru, I did follow your instruction, but program remains. For example, i set listen port is 18080, host is http://www.sample.com/serverAdd/service and port at 80.
Everytime i invoke it, it always send to http://www.sample.com/serverAdd/service:18080 but not http://www.sample.com/serverAdd/service:80. Next, i change them both ports to 80 and also modified my source client. Now the problem is UnknowHostException. I am using Axis2 to invoke a .Net service, as SOAP always using port 80 (well, I guess Microsoft follows everybody this time), i guess this is a TCPMon issue but not Axis2's, am i right? Regards -----Original Message----- From: "Lahiru Sandakith" <[EMAIL PROTECTED]> To: [email protected] Date: Fri, 23 Mar 2007 08:16:39 +0530 Subject: Re: [Aixs2]Monitoring SOAP message with TCPMon Hi Jiang, When codegen from a wsdl, the generated stub EPR would be for example http://mydomain.net/some/services/Test When we pipe through TCPMon this needed to be edited as http:// localhost:8080 <http://localhost:18080/>/some/services/Test and then the TCPMon will be listening to localhost with port 8080 and forward that to real service mydomain.net to port 80. Thanks Sandakith On 3/22/07, Jiang Liu <[EMAIL PROTECTED]> wrote: > > Hi Axis2 experts, > > Now I am requested to monitoring ongoing and upcoming SOAP messages when > invoking an 'external' service. > > I am using Axis2 with xmlbeans data binding style to generate client > stubs. In my Client class, instead of given real service EPR, i use " > http://localhost:18080" for the stub's construction. In TCPMon, i set it > to listen to localhost with port 18080 and forward to real service EPR with > default port 80. But this is never success. > > I know TCPMon can be used when monitoring local SOAP messages, but for > monitoring SOAP messages between local client and external services, what > could I do? > > Regards > ======================= > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Regards Lahiru Sandakith ======================= --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
