Thanks Robert. This makes a lot of sense.
 
Regards,
Tony.

ROBERT SJODIN <[EMAIL PROTECTED]> wrote:
First of all, the client doesn't listen to port 1234, rather, it posts HTTP
requests there (because that's where you have TCPMon listening). Your
client needs to designate the TCPMon IP address and port in the URL it uses.
So, your client code needs to do something like:

call.setOperationName(new javax.xml.namespace.QName
("http://localhost:1234/axis/services/PublicService4",
"getSeveralBusinessLocation"));

The above statement will post an HTTP request to port 1234 (where your
TCPMon is listening) and then TCPMon will forward it to the targeted
host/port it's configured with; in your case: 127.0.0.1:8080. Also, the
above URL presumes that you've done a custom deployment in Axis, and not a
JWS deployment.

Hope that helps.


>From: Tony Blair <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: TCPMon
>Date: Tue, 10 Feb 2004 19:24:00 -0800 (PST)
>
>There are plenty of post in the archives regarding the TCPMon which none I
>could find my answer that I was looking for. Here is my situation.
>
>I have an axis client written in java. I have attached this client to this
>email for your viewing. I did not use java2WSDL ant task to create this
>client. I start the TCPMon in window 2000 with the listen port=1234, target
>host= 127.0.0.1 and the target port to 8080. When I run my client I don't
>see anything in the TCPMon applet under "port 1234" tab. How do I make my
>java axis client to listen on port 1234?
>
>Thanks a lot,
>Tony.
>
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Finance: Get your refund fast by filing online
><< Client.java >>

_________________________________________________________________
Choose now from 4 levels of MSN Hotmail Extra Storage - no more account
overload! http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

Reply via email to