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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:51:40+00:00 2026-05-28T06:51:40+00:00

I am working in ubuntu server 10.04 I am creating a test.h file which

  • 0

I am working in ubuntu server 10.04

I am creating a test.h file which I want to contain 4 string values.

test.h

int ns__take(string name, string user, string eyes, string result); //the result will be a strcat //of name user and eyes

1.It is ok? Can i have string values in gsoap web service server?

2. In test.cpp can I write inside ns__take method result=strcat(name,user,eyes);?

3.With these string values how can I programatically open a file and write the values in that file?
Each time a client accesses the web service I would like to save the input parameters in a file

4. Can multiple clients access the webservice in the same time? Will this affect in a bad way the file where i want to write the input parameters?

Need some help! THX . I am new to gsoap wsdl web service.

EDIT:

HERE IS MY test.cpp

#include "soapH.h"
#include "tests.nsmap"
#include <math.h>
main()
{
soap_serve(soap_new());
}
int ns__take(struct soap *soap, std::string a, std::string b, std::string &result)
{
result=a+b;
//
..here i want to add the open file and write the values a,b.
do i need a synchronization if multiple clients acces in the same time the method?
how will that be?
//
return SOAP_OK;
}

I am compiling the tests.cgi using:

soapcpp2 test.h

> c++ -o tests.cgi test.cpp soapC.cpp soapServer.cpp -lgsoap++
  • 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-28T06:51:41+00:00Added an answer on May 28, 2026 at 6:51 am
    1. yes
    2. no, you do a result=name+user+eyes or some such, string, these are std::string class object
    3. Just do it
    4. That depends on how you implement the service. And yes, if you handle requests in parallel you’d have to take care of synchronization.
    5. Why don’t you try something before asking?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing some PHP stuff on an Ubuntu server. The path I'm working in
Iam working on Ubuntu.(Linux) I want to redirect from the page one.php to two.php,
I'm working on Ubuntu.(Linux) I want to display all .php pages to .html in
I have one (EC2) Ubuntu server where bluepill is working just fine to start
I have setup an Ubuntu LAMP server, and I have had phpmyadmin working fine
I have a working gitolite server. However, I want to move it to an
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
I have installed LAMP in ubuntu server. and its working good.. i have a
I have recently managed to get Postfix smtp working on my Ubuntu server. The
I just installed Magento 1.4.1.1 on my Ubuntu Apache server and everything is working

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.