Perl/.NET Interoperability Using Web Services

| by Jonathan Allen Follow 576 Followers on Aug 20, 2007. Estimated reading time: 1 minute |

Web services were supposed to enable cross-application integration regardless of the underlying platform or language. While the promise is still there, today we still need tricks to make it work.

Windows Communication Foundation, or WCF, is an attempt to unify the various communication technologies available to the .NET runtime. Windows Communication Foundation. These include message queues, remote procedure calls, and web services. Web services, which use the SOAP protocol, can be a accessed from Perl using SOAP:Lite. Unfortunately, this library has not been able to keep up with the changing WS specs.

This has been illustrated in the January "State of the SOAP" post by lead developer Byrne Reese.

Most SOAP toolkits as well have stablized along with the protocol. Relative to all those other toolkits, the status of this SOAP toolkit is fair to good. It differentiates itself from other toolkits by still being really easy to use for the majority of use cases. But as more and more people adopt document-literal as their preferred method of encoding, the roots and biases of SOAP::Lite in regards to XML::RPC begin to show and the toolkit is not as resilient.

As a result, SOAP::Lite has a number of known interoperability issues with more modern implementations of SOAP servers and clients.

Last month, Jeff Powers outlined what was necessary to access .NET WCF services from Perl using SOAP:Lite.

Details can be found in his post, How to consume a WCF service from Perl with SOAP::Lite. As this involves making changes to the WCF endpoint on the .NET side, it may introduce compatibility issues for pre-existing clients.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Sometimes there needs to be more to get it working: Flattening WSDL in WCF by Christian Weyer

Consuming .NET SOAP is easy from Perl, it's serving that's hard by gcom nz

Believe me, I've done it. And not for some piddly little service or two, but a full blown dynamic WSDL generating system for old-style less standardized versions of SOAP that MS consumes themselves.

This is generally why dynamically typed languages generally shy away from SOAP, all religiosity aside. (Not attempting to start a flame war, and yes, WS-* is painfully overboard in a lot of areas, but you'll be able to tell a fanatic is present if someone rants against that last statement :-)

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you