Getting NuSoap working with CI without Querystrings |
[eluser]Nathan Pitman (Nine Four)[/eluser]
So I've installed the NuSoap Library from the Wiki (http://codeigniter.com/wiki/CI_Nusoap_Library/) and it seems to work (kinda) but perhaps becuase I'm using segments and not querystrings for my app I've run into problems. If I query the web services page to display the wsdl it returns a 404, I guess becuase of the '?' in the URL. I've tried adding a rule to routes.php to overcome this but no luck... Code: $route['web_services/:any'] = "web_services"; Any ideas? It's so close to working yet so far! I've included my controller code below: Code: <?php
[eluser]jeffpeck[/eluser]
You could try: $_SERVER['QUERY_STRING'] = "wsdl"; to force it to think that it's a always a request....
[eluser]Nathan Pitman (Nine Four)[/eluser]
Thanks for the tip, I might give that a shot next time. I ended up using the 'ActiveRecordFactory' library, an extracted version of the CI AR library in the end. It meant I had to re-write a bunch of code but it worked! http://ellislab.com/forums/viewthread/72375/ |
Welcome Guest, Not a member yet? Register Sign In |