> Is coldfusion unable resolve my webservice call from a remote 
> location because I do not have my DNS server setup?

Yes, I think so. In the meantime, don't forget that you can put temporary
entries in the hosts file of the resolving machine.

Thanks, Dave for your insight to this problem. I am grateful for any further help you 
or anyone else can give me. 

Currently I do not have a DNS server running. I also do not have temporary entries in 
the hosts file of the resloving machine. Do you have any ideas as to why coldfusion is 
able to processes every other template and component on my server with no problems? (I 
can access all my pages like: http://myIP/myCFpage.cfm) I can even consume my 
handcoded webservices (w/ http://myIP/whatever.cfc?WSDL) on this server....as long as 
the consuming page is also located on this same server. The problem occurs when I try 
to consume that webservice from a template that is on a different coldfusion server. 
That is when I get the axis error / hostname of the server is not being resolved. 

Dave, I am confused as to what all this has to do with DNS or my DNS server rather? If 
DNS is simply a pointer to an IP address, then doesn't that mean a call to my 
'readable domain name' (eg http://www.mysite.com) resolves to my private IP? For 
example, when I browse http://www.mysite.com the request goes out and in the end pulls 
the information from http://myIP/index.cfm ?

I have been under the impression that one can get a 'private' server up and running 
and work out all the kinks before 'turning on' DNS to make it all go 'public.' Am I 
mistaken in the case of coldfusion and remote webservices? In my case at the present 
state, coldfusion seems to perform perfectly with no DNS integration...I do everything 
by IP and it all seems to work. Templates work, CFCs work, custom tags work, and CFCs 
implemented as webservices work.....when they are invoked by a template on the same 
machine. So it seems unusual to me that the problem lies in DNS when Im invoking the 
webservice in its IP form? Is it not essentially the same thing calling 
http://www.mysite.com/webservice.cfc?WSDL and http://myIP/webservice.cfc?WSDL ? 

To put it a different way, if this code (that is copied below) is in a template 
residing on the same computer as the webservice, the webservice is able to be invoked 
and I get no problems. I get a string returned that says, "Hello there, Jonathan"

<cfinvoke webservice="http://myIP/webservice?wsdl"; 
method="sayHello" 
aName="Jonathan" 
returnVariable="THE_RESPONSE"> 

However, when I copy this above code and put it on another coldfusion server (ie 
http://myIP2 that is located on different computer than the webservice) I produce the 
error.

I am still confused as to why this is happening, ie why can I consume webservices via 
IP address sometimes but not others. I guess my question now is, why does everything 
else on the cf server work without DNS...except this one thing? This leads me to think 
that the solution may not involve the setting up of a DNS server. 

Hey Im all for setting up DNS on my server if that means remote webservice calls will 
fall into place. Im willing to try anything to get these servers up...but just from my 
limited knowledge I am not 100% sure that when DNS is up and working, the problem will 
be solved. Can anyone give me any additional reassurance or helpful hints? The fact is 
Im going to implement DNS sooner or later...but I would like to wait and get things 
operational without going public on my domain name. I should also mention that other 
applications (such as a small .NET desktop and website app) are also unable to consume 
my webservices....its not just the pages on my 'other' coldfusion server that are 
having the trouble.

Im just trying to brainstorm any ideas for why this error is occuring and what I can 
do to fix it. Thanks for any help from anyone. 

Jonathan


                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=38

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3702
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to