In migrating from CF8 to CF10 I have come across and issue with the ?wsdl
generation... I generally put components into a /cfc directory immediatley
below the webroot for each site but I have found that with CF10 the ?wsdl
query is failing. This doesn't really matter much at the moment as the
services are all being consumed from the client side using javascript and
jQuery but I am concerned that this could soon be an issue as we start to
expand our use of services.

As an example I have created a very simple Hello World cfc and when I put
the file into the webroot everything works fine:

http://cftest.yoursite.net.au/hello1.cfc?wsdl and

http://cftest.yoursite.net.au/hello1.cfc?method=helloWorld works fine

However if I move the cfc into a directory below the webroot things get
confused...

http://cftest.yoursite.net.au/cfc/hello2.cfc?wsdl - given an AXIS error, but

http://cftest.yoursite.net.au/cfc/hello2.cfc?method=helloWorld still gives
the expected result

I wondered if there was a chance that the name of the directory could be an
issue so I tried an alternative but there was no difference...

http://cftest.yoursite.net.au/cfxx/hello3.cfc?wsdl still give en error, and

http://cftest.yoursite.net.au/cfxx/hello3.cfc?method=helloWorld still works
as expected

I've read quite a few posts about mappings and cfcs but con't find anything
definitive. This is a multihomed server running Apache2.2 so I'm not sure
how a mapping would help - unless there is something that CF needs mapped
but I can't find a hint for that anywhere.

One other thing to note... I did edit the neo_xmlrpc.xml file to version 1
but the only effect appears to be that the error message says "AXIS error"
for a version value 1 and "HTTP Status 500" for a version value of 2.

So, am I just missing a mapping? I even tried mapping "/" to the CF10
webroot but that had no effect.

Many thanks!

Brett

B)

ps. apologies for the cross posting for anyone following the Adobe CF
forums..

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to