CodeIgniter Web Services Client |
[eluser]afirdaus[/eluser]
Im newbie in CI, i want to retrieve xml data from web services weblogic, the server locate to http://services.insw.go.id/web-services/...=getListGA and i wanto to get the XML Response from server, possible do this ?? i make funtion on controllers (resttest.php) Code: public function getRest() sometimes i got error like "array(0) { }" and if i refreshed, i got all HTML view same like i browsed http://services.insw.go.id/web-services/...=getListGA am i wrong or missing some step ? or any suggestion to change this code ?? NB: I used https://github.com/philsturgeon/codeigniter-restclient Thanks In Advance
[eluser]afirdaus[/eluser]
hi i change my code, i used NuSoap, and everything ok but how get result with JSON or XML format or another else with good format ? Code: require_once(APPPATH.'libraries/nusoap/nusoap'.EXT); //includes nusoap i want show the result like this ID : Result1 ID : Result2 ---CUT---- |
Welcome Guest, Not a member yet? Register Sign In |