21

I need to build some integration with a SOAP service based on .NET 2.0. Im using PHP 5 and have never used SOAP. There doesn't appear to be any straight forward tutorials about how to talk to a soap service using PHP.

Does anyone know where to find some good tutorials or docs?

i.am.michiel
  • 10,281
  • 7
  • 50
  • 86
David
  • 4,717
  • 8
  • 35
  • 46
  • Which PHP version are you using? Do you want to make use of the PHP [SOAP extension](http://www.php.net/manual/en/book.soap.php)? – hakre Jul 09 '11 at 10:08

2 Answers2

17

Have you tried SoapClient which is already built into PHP?

There is one tutorial: PHP - Soap Client calling .NET Web service

Here is another one, even though it was created for zend developers it should work fine.

taco
  • 1,367
  • 17
  • 32
WooDzu
  • 4,771
  • 6
  • 31
  • 61
  • And if so, do you have a good tutorial at hand? And mind that OP is looking for a SOAP *client*, not server. – hakre Jul 09 '11 at 10:09
  • ohh, sorry I must have misunderstood the question – WooDzu Jul 09 '11 at 11:01
  • Thanks' for the asnwer, it has really helped, but now I have a different problem :P http://stackoverflow.com/questions/6684772/object-reference-not-set-to-an-instance-of-an-object – David Jul 14 '11 at 21:10