Hey James,
Sorry you couldn't get it to work. I believe someone did write a
Wordpress service class for swx, you could hunt it down.
Which version of wordpress are you using anyway? I don't see a wp-
headers.php on the latest ones..
if you're talking about wp-blog-headers.php this won't work. Afaik the
wp() function inside it will cause the response to be tagged as 404
because wordpress doesn't understand where the page fits in. This
might be enough to throw swx off, maybe amf is a bit tolerant with the
response code as long as the body contains a valid response (You can
check these with an Http proxy like Fiddler or Charles).
To access the wordpress functionalities outside of the wordpress
structures, I found that the following code was enough to bootstrap it
and have access to the main things like wpdb. I've successfully used
it to write json services to access wordpress elements:
<?php
require_once('./wp-load.php');
/** do you things here */
?>
Maybe you can tweak the swx.php gateway and add something similar to
it to enable access the wordpress api ? obviously the path to wp-load
might be a bit different, not sure if that would work...
Hope this helps
Cheers
Ben