.NET

Silverlight 2.0 Calculator Example Application

Submitted by Amir Shevat on Thu, 08/28/2008 - 07:53


Some of the functionality still does not work, but the test in general works!

PHP calling .NET - PHP to WCF calls with parameters

Submitted by Amir Shevat on Wed, 07/30/2008 - 14:58

In my last post I provided an example of PHP calling a .NET windows communication foundation web service. The PHP invoked the .NET service with no parameters, getting the time on server.

Sometime (well, most of the times) you need to pass parameters to the .NET web service. for example you might want to pass a client ID and get back its account balance.

 

Here is what you do:

PHP calling .NET - PHP to WCF communication

Submitted by Amir Shevat on Tue, 07/29/2008 - 13:38

I am done doing my first PHP to .NET interoperability example. In this example a PHP page calls a windows communication foundation (WCF) service in .NET

Here is what we want to create:

php-wcf 

PHP calling .NET - Running WCF service with basicHttpBinding

Submitted by Amir Shevat on Wed, 07/23/2008 - 11:30

I am Writing a PHP application that needs to run a back end .NET application. When creating a running the WCF web service out of the box, the PHP could not connect to the web service.

The problem:

The PHP returns "Caught exception: Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'."

 

The reason:

WCF is running a new version of web services than expected by the PHP.

 

The solution:

Change the binding type of the WCF service from binding="wsHttpBinding" to binding="basicHttpBinding".

This insures that your .NET web service would support clients and other services that conform to the WS-I standards.

 

Tip: Visual Studio 2008 fails to debug WCF web service

Submitted by Amir Shevat on Tue, 07/22/2008 - 09:37

When trying to debug a WCF ( windows communication foundation) .NET 3.5 framework library, you might encounter a problem where Visual Studio (VS 2008) refuses to run or debug the WCF web service.

 

the problem:

The error you get from the WCF test client when trying to debug the WCF service is this - "WCF Test Client: Unrecognized option 'targetclientversion' specified"

Still waiting for true .NET - JAVA interoperability

Submitted by Amir Shevat on Fri, 07/18/2008 - 15:01

Still waiting for true interoperability -

One of the big things presented in JavaOne was .NET-Java interoperability. The notion of language interoperability can be understood and implemented in several different ways.

Powered by Drupal, an open source content management system
Syndicate content