Hi Matt,
So I have Apache22 using the Proxypass directive to connect to Tomcat6
with the following:
Apache (httpd-vhosts.conf):
<VirtualHost *:80>
ServerName www.daylocker.com
ServerAlias daylocker.com
ProxyPass / http://local.daylocker.com:8080/
ProxyPassreverse / http://local.daylocker.com:8080/
HostnameLookups Off
</VirtualHost>
Then over on the Tomcat side (server.xml):
<Host name="local.daylocker.com">
<Context path="" docBase="/usr/local/www/apache22/data/
daylocker.com/www.daylocker.com/" />
</Host>
local.daylocker.com is defined in /etc/hosts with the local ip
address.
It seems like openbd is not aware that the public interface to the web
services is not "local.daylocker.com:8080"
so it is reporting what it believes to be the public interface.
If you look at http://www.daylocker.com/ws/daylocker.cfc?wsdl you can
see that accessing the wsdl is through:
http://www.daylocker.com:80
but the wsdl itself reports local.daylocker.com:8080 as its address.
Seems like there should be a way to define the web services' public
interface.
Maybe there is a way to do this I am unaware of?
Thanks,
Moss
On Sep 28, 9:17 pm, Matthew Woodward <[email protected]> wrote:
> On Sun, Sep 26, 2010 at 7:24 AM, Moss <[email protected]> wrote:
> > The WSDL shows <wsdlsoap:address location="http://
> > local.daylocker.com:8080/ws/daylocker.cfc" />
>
> > which apparently is being used when Visual Studio tries to connect to
> > the web service--it says it can't connect.
> > (Visual Studio adds the web reference fine, but a runtime exception is
> > thrown)
>
> Sorry, catching up on a few back messages--did you get this resolved?
>
> I just did a quick test and I don't see this behavior. Is it possible you
> hit the web service, thereby generating the WSDL, before you set up the
> proxying (i.e. you hit it using the port number)? If so, it may be that it
> just never generated a new WSDL after you set up the proxying.
>
> There may be other ways to do this, but one way of forcing the WSDL to
> regenerate is to call your web service using cfinvoke and use the
> refreshwsdl attribute (set to true obviously).
>
> --
> Matthew Woodward
> [email protected]http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en