0

I have a C#.Net Web Service and php client to invoke the web service.

Web Service Methods takes C# objects as parameters and returns C# objects as follows

Site getSite(siteID){ return Site.load(siteID) } 

or

void newSite(Site site){ site.save(); } 

I know that WSDL tool generates c# classes and java has code generator for web services.

  • How can I invoke this services with Php?
  • Is there any utilities, libraries, such as Pear, or any framework, like Zend, generates code for Php ?
  • If I make the Objects in Php, and initialize them, then can i pass them to service calls and would that work?
  • Should they be serialized ?
1
  • 1
    I dont know, that s why i asked Commented Oct 17, 2009 at 1:49

2 Answers 2

2

Here is a previous question on SO: How to easily consume a web service from PHP

You can get to the wsdl of the .NET webservice by going to a url formed like the following:

http://url/service.asmx?wsdl http://url/service.svc?wsdl 
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks. Didnt see the previous questions
1

Please see: Consuming Web services in PHP

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.