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 6611425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:58:03+00:00 2026-05-25T19:58:03+00:00

I am trying to get SOAP to return a message, at the moment it

  • 0

I am trying to get SOAP to return a message, at the moment it just returns hello world.

package RAM;
sub ram {
#!/usr/bin/perl
use Sys::MemInfo qw(totalmem freemem totalswap);

return SOAP::Data->name('result')->type('string')->value("hello world");
}
1;

I am trying to get SOAP to return:

print "free memory:  ".(&freemem / 1024)."\n";

instead of “hello world”

Any help would be appreciated 🙂

  • 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-05-25T19:58:04+00:00Added an answer on May 25, 2026 at 7:58 pm

    How about….

      my $string_to_return = "free memory: ".(&freemem / 1024)."\n";
      return SOAP::Data->name('result')->type('string')->value($string_to_return);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this message when trying to communicate with software that communicates with SOAP?
I have a SOAP client in Ruby that I'm trying to get working with
I'm trying to modify SOAP body for an outbound ws client SOAP message, from
It took me a while to get soap configured in php. Now I'm just
I'm trying to make a little Hello World webservice with Django following a few
i am trying to return just one piece of data from amazon by connecting
I am trying to call the Magento SOAP API and get a list of
hi i'm trying to make a soap request but i don't get any response.
So I'm having some problems adding a wsse header to my SOAP request. #!/usr/bin/perl
I'm trying to write a program in Scala, that will accept SOAP-requests, get the

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.