I looked at the proxy guide that Saminda suggested.  That requires
setting up WSO2 WSAS.  I would rather avoid installing any more layers
if I don't have to.  If there is a way to set the hostname using a
parameter, there should also be a way to set the port.  Is WSAS intended
to be installed with all instances of axis2?

 

I also tried Amila's suggesting of including the entire URL.  This had
no effect at all.  The URL in the generated WSDL is generated as if that
parameter is not set.  I am running on axis 1.4.0.  I didn't see
anything in the release notes for 1.4.1 that would address this issue.
Did I miss something?

 

Thanks,

 

Steve

 

From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 17, 2008 2:54 AM
To: [email protected]
Subject: Re: WSDL Port

 

try with the full http address 
<parameter name="hostname">http://localhost:8092</parameter>

thanks,
Amila.

 

 

From: Saminda Abeyruwan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2008 5:14 PM
To: [email protected]
Subject: Re: WSDL Port

 

The scenario you are referring is very much par with the situation that
Axis2 running behind an HTTPD instance. 

You will able to obtain much information from 

http://wso2.org/project/wsas/java/2.3/docs/proxy_guide.html

Saminda

On Tue, Sep 16, 2008 at 3:35 PM, Steve Bucknam
<[EMAIL PROTECTED]> wrote:

Keith,

 

I tried this and it did not help.  I thought the proxyPort and proxyHost
were for client requests that originate from the local server and have
to go through a proxy.   Setting the "hostname" parameter worked as I
had hoped, but I didn't find a corresponding parameter for "port".  The
only thing this parameter should be used for is generation of the WSDL.

 

Thanks,

 

Steve

 

From: keith chapman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2008 3:17 PM
To: [email protected]
Subject: Re: WSDL Port

 

Try adding this parameter to the http transport receiver.

<parameter name="proxyPort">8080</parameter>

Thanks,
Keith.

On Tue, Sep 16, 2008 at 9:57 PM, Steve Bucknam
<[EMAIL PROTECTED]> wrote:

I have an server with axis2 sitting behind a proxy.  The proxy has a
different port number than the axis server.   I am using the hostname
parameter to set the hostname in the wsdl to the proxy servers name:

       <parameter name="hostname" locked="true">1.2.3.4</parameter>

There doesn't seem to be a corresponding parameter for the port number.
I always get:

       http://1.2.3.4:80/. <http://1.2.3.4:80/> ..

When I want:

       http://1.2.3.4:8080/

When I set the hostname to:

       <parameter name="hostname"
locked="true">1.2.3.4:8080</parameter>

I get:

       http://1.2.3.4:8080:80/

Is there a way to do what I want?

Steve
The information transmitted herewith is sensitive      information of
Chordiant Software or its customers and is intended only for use to the
individual or entity to which it is addressed. If the reader of this
message is not the intended recipient, you are hereby notified that any
review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon, this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

The information transmitted herewith is sensitive information of
Chordiant Software or its customers and is intended only for use to the
individual or entity to which it is addressed. If the reader of this
message is not the intended recipient, you are hereby notified that any
review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon, this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

 

The information transmitted herewith is sensitive      information of Chordiant 
Software or its customers and is intended only for use to the individual or 
entity to which it is addressed. If the reader of this message is not the 
intended recipient, you are hereby notified that any review, retransmission, 
dissemination, distribution, copying or other use of, or taking of any action 
in reliance upon, this information is strictly prohibited. If you have received 
this communication in error, please contact the sender and delete the material 
from your computer.

Reply via email to