Does this imply, as it seems to, that you can't use webservices on shared hosting accounts? I haven't gotten into them yet, but our next project will probably rely on them.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roland Collins Sent: Monday, April 11, 2005 7:31 PM To: [email protected] Subject: RE: [CFCDev] Error trying to access webservice wsdl The cfc must be in a subdirectory of the root website! You can't put the CFC in the root of your website (or at least I've never been able to). I think it is because of the way MM dynamically generates namespaces - you can see this in that the namespaces in the WSDL are generated based on the subdirectory name. Create a subdirectory in your site root and move the cfc there then try it again. \InetPub\wwwroot\MyWebService\MyService.cfc Http://mysite.com/MyWebService/MyService.cfc?WSDL It should work without a cf mapping and without an IIS virtual dir. Roland -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kola Oyedeji Sent: Monday, April 11, 2005 11:36 AM To: [email protected] Subject: Re: [CFCDev] Error trying to access webservice wsdl yes you can reach .cfm files in the same directory .. mydomain.com/somepage.cfm - works fine mydomain.com/somecfc.cfc?wsdl gives me the same error ... By adding a mapping *and* a virtual directory I can reach my cfc via: mydomain.com/somemapping/somecfc.cfc?wsdl Where somemapping is both a cf mapping and a virtual directory. Although that now works there appears to still be a problem - my cfc references other cfcs using qualifed names and i get the same eror trying to create an instance. I have the same package on a number of other servers right under the webroot and it works fine without any mappings etc. so I'm more than slightly bemused - at the moment i'm just comparing configurations, updaters etc. On Apr 11, 2005 4:23 PM, Roland Collins <[EMAIL PROTECTED]> wrote: > Is your service exposed at least one level deep relative to the site root? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Kola Oyedeji > Sent: Monday, April 11, 2005 7:58 AM > To: [email protected] > Subject: Re: [CFCDev] Error trying to access webservice wsdl > > Just an update on this - made a bit of progres, it works if i define > both an virtual directory *and* a cfc mapping but not if I define > either one AFAIK this shouldn't be needed in order to make a publicly > accessible webservice? > > On Apr 8, 2005 11:40 AM, Kola Oyedeji <[EMAIL PROTECTED]> wrote: > > Nando > > > > Thanks for the suggestion I'll look into it. > > > > On Apr 8, 2005 11:09 AM, Nando <[EMAIL PROTECTED]> wrote: > > > Deeper stab in the dark ... don't know if you've got sandbox security > > > enabled on the production server, but if you do, you could try turning > it > > > off completely for this site and see what happens. I just ran into some > > > pretty strange behavior the other day with it (NOT related to > webservices, > > > but in any case, completely unexpected) and now i've got a bright yellow > > > sticky note tattooed into the depth of my mind about it. > > > > > > "Strange behavior accessing something -> try disabling sandbox security > and > > > work backwards to resolve" > > > > > > I had that on a CFMX 7 server, by the way, and it was in regard to > > > datasources. It was - at least it certainly seemed to be set up > correctly, > > > but just refused to work. Still don't know why, i just had to work > around it > > > and move on. > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Behalf Of Kola Oyedeji > > > Sent: Friday, April 08, 2005 11:02 AM > > > To: [email protected] > > > Subject: Re: [CFCDev] Error trying to access webservice wsdl > > > > > > Yup - I checked mapping and security settings but I will double check > > > again - I've never come across this before and never had/seen this > > > problem - google turns up Zilch as does MM forums/HOF etc. > > > > > > On Apr 7, 2005 8:54 PM, Bill Rawlinson <[EMAIL PROTECTED]> wrote: > > > > scratch my request for code. you said it worked find on your dev and > > > > staging servers I think - just not on the production server. > > > > > > > > have you confirmed the following: > > > > any mappings > > > > security settings > > > > > > > > sorry, i'm just kind of guessing at things to check as I have not > > > > encountered this kind of problem before. > > > > > > > > Bill > > > > > > > > > > > > > > > > > > > > -- > > > > [EMAIL PROTECTED] > > > > http://blog.rawlinson.us > > > > > > > > I have 47! gmail invites,want one? > > > > ---------------------------------------------------------- > > > > You are subscribed to cfcdev. To unsubscribe, send an email to > > > > [email protected] with the words 'unsubscribe cfcdev' as the subject > of > > > the > > > > email. > > > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > > > > (www.cfxhosting.com). > > > > > > > > An archive of the CFCDev list is available at > > > > www.mail-archive.com/[email protected] > > > > > > -- > > > KOla > > > BLOG:http://coolskool.blog-city.com/ > > > > > > ---------------------------------------------------------- > > > You are subscribed to cfcdev. To unsubscribe, send an email to > > > [email protected] with the words 'unsubscribe cfcdev' as the subject of > the > > > email. > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > > > (www.cfxhosting.com). > > > > > > An archive of the CFCDev list is available at > > > www.mail-archive.com/[email protected] > > > > > > ---------------------------------------------------------- > > > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject of the > email. > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > > > > > An archive of the CFCDev list is available at > > > www.mail-archive.com/[email protected] > > > > > > > > > > -- > > KOla > > BLOG:http://coolskool.blog-city.com/ > > > > -- > KOla > BLOG:http://coolskool.blog-city.com/ > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject of the > email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > > -- KOla BLOG:http://coolskool.blog-city.com/ ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
