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 Steve Bucknam <St...@chordiant.com> on 2008/09/16 18:27:33 UTC
WSDL Port
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/...
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: WSDL Port
Posted by Amila Suriarachchi <am...@gmail.com>.
try with the full http address
<parameter name="hostname">http://localhost:8092</parameter>
thanks,
Amila.
On Tue, Sep 16, 2008 at 9:57 PM, Steve Bucknam
<St...@chordiant.com>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/...
>
> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/
RE: WSDL Port
Posted by Ilyas Karukappadath <il...@hotmail.com>.
Can you please remove me from the distribution list?
Thanks,
Ilyas
Date: Wed, 17 Sep 2008 00:46:54 +0530From: keithgchapman@gmail.comTo: axis-dev@ws.apache.orgSubject: 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 <St...@chordiant.com> wrote:
I have an server with axis2 sitting behind a proxy. The proxy has adifferent port number than the axis server. I am using the hostnameparameter 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/...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?SteveThe 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: axis-dev-unsubscribe@ws.apache.orgFor additional commands, e-mail: axis-dev-help@ws.apache.org-- Keith ChapmanSenior Software EngineerWSO2 Inc.Oxygenating the Web Service Platform.http://wso2.org/blog: http://www.keith-chapman.org
RE: WSDL Port
Posted by Steve Bucknam <St...@chordiant.com>.
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:amilasuriarachchi@gmail.com]
Sent: Wednesday, September 17, 2008 2:54 AM
To: axis-dev@ws.apache.org
Subject: Re: WSDL Port
try with the full http address
<parameter name="hostname">http://localhost:8092</parameter>
thanks,
Amila.
From: Saminda Abeyruwan [mailto:samindaa@gmail.com]
Sent: Tuesday, September 16, 2008 5:14 PM
To: axis-dev@ws.apache.org
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
<St...@chordiant.com> 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:keithgchapman@gmail.com]
Sent: Tuesday, September 16, 2008 3:17 PM
To: axis-dev@ws.apache.org
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
<St...@chordiant.com> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
--
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.
Re: WSDL Port
Posted by Saminda Abeyruwan <sa...@gmail.com>.
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
<St...@chordiant.com>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:keithgchapman@gmail.com]
> *Sent:* Tuesday, September 16, 2008 3:17 PM
> *To:* axis-dev@ws.apache.org
> *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 <
> Steve.Bucknam@chordiant.com> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
>
>
> --
> 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.
>
RE: WSDL Port
Posted by Steve Bucknam <St...@chordiant.com>.
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:keithgchapman@gmail.com]
Sent: Tuesday, September 16, 2008 3:17 PM
To: axis-dev@ws.apache.org
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
<St...@chordiant.com> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
--
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.
Re: WSDL Port
Posted by keith chapman <ke...@gmail.com>.
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
<St...@chordiant.com>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/...
>
> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org