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

  • Home
  • SEARCH
  • 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 7973707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:10:54+00:00 2026-06-04T08:10:54+00:00

I have a Linux server with Perl libraries that I need to expose to

  • 0

I have a Linux server with Perl libraries that I need to expose to a .NET application. Naturally I thought I would build out a platform independent solution, like SOAP, to bridge the gap. I’m finding this is not as easy as I was expecting.

As a mini proof of concept, I am trying to build out a hello world service in Perl. I’ve generated my code based off of this tutorial:

http://guide.soaplite.com/#quick%20start%20guide%20with%20soap%20and%20soap::lite

And peppered in some Pod::SOAP commenting that I found here:
http://www.perlmonks.org/?node_id=632923

And ended up with this service:

#!/usr/bin/perl
use CGI;
use SOAP::Transport::HTTP;

SOAP::Transport::HTTP::CGI->dispatch_to('Demo')-> handle;

package Demo;

=begin WSDL
_RETURN $string
=end WSDL
=cut

sub hi {
    return "hello, world";
}

I generated a WSDL with this script:

#!#!/usr/bin/perl
use Pod::WSDL;

my $pod = new Pod::WSDL(source => '/var/www/html/perl/test.pl', location => 'http://localhost/perl/test.pl', pretty => 1, withDocumentation =>1);

print $pod->WSDL;

Low and behold, when I hit this script, I get a WSDL. I load it in to .NET 4.0 as a ServiceReference and think life is grand. But it’s not.

When I try to envoke the reference like this:

var myWS = new ServiceReference1.DemoHandlerClient(new System.ServiceModel.BasicHttpBinding(), new System.ServiceModel.EndpointAddress(url));
string result = myWS.hi();

I end up getting this error out of the soap request:

SOAPAction shall match ‘uri#method’ if present (got
‘http://localhost/Demo/DemoHandler/hiRequest’, expected
‘http://localhost/Demo#hi’

Clearly I see that .NET is not submitting the expected SOAPAction. What can I do to fix this? I suspect that if I were to use the perl SOAP::Lite library for the client that this would work fine.

Edit: Perhaps weirder yet–If I use Fiddler to capture the XML that .NET is sending over, and then manually send the same XML over using SoapUI I end up getting a valid response.

  • 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-04T08:10:56+00:00Added an answer on June 4, 2026 at 8:10 am

    I used SOAP::Lite in 2006 to build a web service and it was such a bad experience that I’ve avoided ever since like the devil avoids holy water. If you are serious indeed on going the SOAP road, then I would very much suggest getting acquainted with XML::Compile suite of modules for XML Schema, SOAP and WSDL. I found the module much nicer to work with and there is a mailing list and the author is very responsive.

    Take a look at XML::Compile::SOAP::Daemon to learn how to build a server.

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

Sidebar

Related Questions

We have a Linux server application that is comprised of a number of open-source
I have a rails application running on a Linux server. I would like to
Here's my question. Right now I have a Linux server application (written using C++
I have a server that is running Ubuntu Linux Server Edition. I once had
I have a django project that runs on a Linux server, and I've been
I have a Perl script on a Linux (Ubuntu 8.10) machine and I need
We have a C# .Net client application that sends some commands via REST over
I have created a linux server using epoll. And I realized that the clients
have you struggled with Linux deployment before? I need to deploy an application into
I have dozens of perl script on linux server, and I want use some

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.