Hi Bob -
The first thing to do is to leave the java applet out of the equation. Just access your callback URL in a browser. Hit http://example.com/my/path/to/callback. Do you get a 404? Then your module is not properly implementing that path or you've failed to rebuild the menu router after changing the code. First, get the URL to respond to you (by either rebuilding the menu router/clearing all caches, or by fixing your code) and then try it out with your java applet.
Good luck,
-Randy
I am upgrading a module from D6 to D7 and have stumbled over a problem with
uploading files.
I am using a java applet to collect the filenames and upload them. The applet
requires a full URL (eg http://example.com/my/path/to/callback) as it is
running on its own so it cannot *know* what FQDN to prepend to a relative
path. The apache logs show a 404 file not found error and watchdog also logs
the error like so: http://example.com/http://example.com/my/path/to/callback
All this works well in D6 and I have been very careful in the upgrade. The
callback never arrives. It looks like D7 assumes or even requires a relative
path and is prepending http://example.com/ automatically.
Any pointers would be much appreciated ;-)
TIA
--
-----------------
Bob Hutchinson
Midwales dot com
-----------------