user987013
user987013

Reputation: 243

which soap method should i use to link php and wsdl?

im so new to this and been trying to understand the way to link this whole thing together..my ultimate target is to apply a c program on a hard coded webpage. e.g. i hard code a variable to "age", once i load php it suppose to print out "30", if i put it to "name", it prints "jack"

first step should be generate soap files and wsdl file right? so i use gsoap to compile and i have got the wsdl file which it has this location " ".....and the function name "getAnswer" is also in there

now how should i call this function and print the answer out...what should be the next step i should do? its been confusing me a lot

Upvotes: 0

Views: 462

Answers (1)

ghbarratt
ghbarratt

Reputation: 11711

I see you are using the built-in SoapClient Class.

There are several resources / how-tos / guides on-line. Here are a few:

Coding Friends - PHP - Soap Client calling .NET Web service

Patrick's Playground - Simple PHP SOAP example

php.net - SoapClient Class

Upvotes: 1

Related Questions