Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8818069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:00:31+00:00 2026-06-14T05:00:31+00:00

I have an application which expose WCF services from distance , here is an

  • 0

I have an application which expose WCF services from distance , here is an example of my services :

 [OperationContract(Name = "AddClient")]

    bool AddClient(Client c);

I tried to consume the WCF service from a Console Application , although the ConsoleAp. doesn’t have any defenition of “Client” class, I can make an instance of “Client” through my ConsoleAp, and it works perfectly fine.

My question is , is it possible to call this function from a php based application, and will it let me insert the “Client” object or defined it in an equivalent way as .NET?

I thought I might jump over my head here, and all i should do is send simple parameters, the thing is that “Client” has 10+ properties/fields, and it doesn’t seem clean/purify enough.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:00:32+00:00Added an answer on June 14, 2026 at 5:00 am

    I tried to consume the WCF service from a Console Application , although the ConsoleAp. doesn’t have any defenition of “Client” class, I can make an instance of “Client” through my ConsoleAp, and it works perfectly fine.

    It does. If you add a service reference, a proxy class is generated that contains the methods and classes defined by the service. You can see this in the file Reference.cs under the service reference, where you’ll go if you click Go To Definition on a Client (or press F12).

    Or, if the Console Application contains an assembly reference to the WCF Service, the ConsoleApp can access the public classes of the WCF project, but that has nothing to do with either WSDL or WCF.

    If you want to generate classes from a WSDL in PHP, you can take a look at wsdl2php or wsdl2php-interpreter (found here) or search for another library or tool that does this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have put together a .net winform application which consumes a wcf service exposed
I have a application which handles picture chosen from gallery. But there is a
I have a VERY complex service host which consists of multiple DUPLEX services here.
I created a simple WCF application which expose one operation. This operation takes a
I have a number of WCF services on my internal network which are hosted
I have an application, which exposes a web serice via wsHttpBinding. From this post
I have a WCF services. Which has two methods, say Get and Save. I
I´m deploying a Silverlight application, which consumes data from a WCF DataService then exposes
I´m deploying a small Silverlight application, which consumes data from a WCF DataService then
I have developed a WCF application which is being consumed by three .NET web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.