Well now it doesn't matter. I got it running through a php proxy. Here is
what I ended up with. Hope this saves somebody else 3 days.
?
$soapRequest = file_get_contents(php://input);
$soapAction = $_SERVER['HTTP_SOAPACTION'];
$url = 'https://secure.thedomain.com/ws/theservice.asmx?wsdl';
I'm still running naked, but am getting a better grip on this stuff.
But here was my break, NOT!!
The company was nice enough to put me on their crossdomain file. So, I'm
thinking good, but I was wrong. I still get a security violation
FaultEvent fault=[RPC Fault
I think you may be over thinking this.
I have the same situation as you - a local PHP server and a remote Web Service.
I tried for a long time to get it working by proxying through PHP like what you
are trying. I could never get it to work.
Instead, I created a SOAP Client in PHP that could
Thanks for the advice Steve. So to do that I'm gonna need to 'hand-code' all
the calls from Flex to php and then do the same with php, creating all the
methods by hand from the wsdl? Isn't there a simpler way to do it using the
Flex wsdl wizard and a php proxy that just passes through the
I would love to know too but after running around naked and sacrificing some
chickens I could not get it to work.
All I know is that you will actually save time by doing the hand coding. Maybe
some day we'll have an answer but that day is not today.
HTH.
Steve
--- In
Some more info...
I'm running everything over https
When I create the wsdl code from flex builder wizard, I have to select an
alternative port to connect with the soap1.1 version (on the same screen where
you specify the services you want to connect to). Is it possible that when I
run the
I just don't get the overall picture here with this wsdl stuff with flex, so
I've got some more questions and more info. Firstly, I don't have a
services-config.xml file... Do I need one? If so how, where do I create it.
I've seen a bunch of partial info on the subject but nothing really
When instantiating webservice (implements webservice) with this line (no
proxy/destination url, but rootUrl)
this.myService = new ModpayWeb(null,
https://www.mydomain.com/amfphp/services/mpNd.php?url=https%3A%2F%2Fsecure.modpay.com%2Fws%2Fmodpay.asmx%3Fwsdl;);
I get a soap envelop of
8 matches
Mail list logo