Welcome Guest, Not a member yet? Register   Sign In
How we can use SOAP with codeigniter ?
#4

[eluser]Unknown[/eluser]
It's actually quite straightforward if you are using php 5 and have the soap library enabled.

Since I spent some time trying to get started myself, here is a "hello world" example using the built in soap classes, adapted from a post I found elsewhere on here.

Put the hello.wsdl file in the folder that corresponds to base_url() of your codeigniter app, and add the two controllers to your codeigniter controllers folder. Obviously in real life the client and server would be in two different places but this will give you the idea.

Invoke the client like so:

http://localhost/index.php/helloclient


Messages In This Thread
How we can use SOAP with codeigniter ? - by El Forum - 12-07-2010, 03:29 AM
How we can use SOAP with codeigniter ? - by El Forum - 12-07-2010, 05:18 AM
How we can use SOAP with codeigniter ? - by El Forum - 12-07-2010, 06:23 AM
How we can use SOAP with codeigniter ? - by El Forum - 12-07-2010, 02:09 PM
How we can use SOAP with codeigniter ? - by El Forum - 12-07-2010, 11:33 PM
How we can use SOAP with codeigniter ? - by El Forum - 12-08-2010, 12:10 AM
How we can use SOAP with codeigniter ? - by El Forum - 12-08-2010, 12:39 AM
How we can use SOAP with codeigniter ? - by El Forum - 12-08-2010, 06:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB