0 Replies Latest reply on Jun 17, 2007 10:06 AM by blahblahunit

    simple php proxy for wsdl

      I have to say I am impressed with flex. I whipped up a very useful application that connects to a web service wsdl with eclipse.
      It works great locally, but while I deploy to my server I can't connect.

      I don't have access to add a crossdomain to the webservice.

      After all the initial success I am feeling retarded. Google has let me down. Has no one done a simple proxy with the flex web service integration?

      Give that I could install anything on php server it seems like all I should be doing is saying proxy=yes and setting the location of a php proxy file.

      or setting a prepend string to all outgoing webservice requests

      or ...

      Somebody help me out. All I need is a super simple example wsdl php proxy with a flex webservice.


      For demonstrations purposes...

      Here is a wsdl file:

      And Here is a straight xml proxy to it via php:
      http://www.rateladder.com/xml_proxy.php?url=http://services.prosper.com/ProsperAPI/Prosper API.asmx?WSDL

      For my latest attempt. I even downloaded the wsdl file and modified to so that all references to the original domain were prepended with http://www.rateladder.com/xml_proxy.php?url=

      Which gets closer (I think), but now I am getting a a soap fault:

      SOAPFault (soap:Client): Unable to handle request without a valid action parameter. Please supply a valid soap action. null

      Why am I retarded... please someone show me the light... this should be EASY! Everything else in Flex has been.