Getting NuSoap working with CI without Querystrings - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting NuSoap working with CI without Querystrings (/showthread.php?tid=6101) |
Getting NuSoap working with CI without Querystrings - El Forum - 02-14-2008 [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 Getting NuSoap working with CI without Querystrings - El Forum - 02-29-2008 [eluser]jeffpeck[/eluser] You could try: $_SERVER['QUERY_STRING'] = "wsdl"; to force it to think that it's a always a request.... Getting NuSoap working with CI without Querystrings - El Forum - 03-01-2008 [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/ |