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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:42:53+00:00 2026-06-03T23:42:53+00:00

My SOAP request format is as follows: <authentication> <LoginID>string</LoginID> <Password>string</Password> </authentication> <Id>int</Id> <Str>string</Str> I

  • 0

My SOAP request format is as follows:

 <authentication>
        <LoginID>string</LoginID>
        <Password>string</Password>
      </authentication>
      <Id>int</Id>
      <Str>string</Str>   

I have to pass the Loginid,pass,id,str as input .So i am setting this through addproperty which is as follows:

     SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);

                PropertyInfo usrid =new PropertyInfo();
            usrid.setName("LoginID");
            usrid.setValue(userid);
            usrid.setType(String.class);
            request.addProperty(usrid);        

//          
            PropertyInfo pass =new PropertyInfo();
            pass.setName("Password");
            pass.setValue(password);
            pass.setType(String.class);
            request.addProperty(pass);

                PropertyInfo rote =new PropertyInfo();
            rote.setName("Id");
            rote.setValue(4114616);
            rote.setType(int.class);
            request.addProperty(rote);
//          
            PropertyInfo dte =new PropertyInfo();
            dte.setName("Str");
            dte.setValue(date);
            dte.setType(String.class);
            request.addProperty(dte);

Is this the correct way i am setting.Because i am receiving the error:

 SoapFault - faultcode: 'soap:Server'
  faultstring: 'System.Web.Services.Protocols.SoapException: Server was unable to
  process request. ---> System.ArgumentNullException: String reference not set to an
  instance of a String.  

Anybody can please help me.

  • 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-03T23:42:56+00:00Added an answer on June 3, 2026 at 11:42 pm

    Try this snippet to create your soap request:

    String YOUR_LOGIN_ID = "Your login id";
    String YOUR_PASSWORD = "Your password";
    int YOUR_ID = 1;
    String YOUR_STR = "Your str value";
    
    SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
    
    SoapObject authentication = new SoapObject(NAMESPACE, "authentication");
    authentication.addProperty("LoginID", YOUR_LOGIN_ID);
    authentication.addProperty("Password", YOUR_PASSWORD);
    
    request.addProperty("authentication", authentication);
    request.addProperty("Id", YOUR_ID);
    request.addProperty("Str", YOUR_STR);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SOAP request of this form: <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:myqname=http://example.com/hello xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance> <soapenv:Header/> <soapenv:Body>
This is my code $c = new soapclient('http://www.redbus.in/WS2/BookingService.asmx?wsdl', array('authentication' => array('LoginID' => 'x','Password'=>'x'))); $timezone
Ok I have to parse out a SOAP request and in the request some
I have a SOAP service, the request and responses work as expected with good
I'm trying to format a SOAP request with PHP. If I put the following
I got this from a Soap client request: Exception: SoapFault exception: [soap:Client] Server was
I have this soap extension in order to trace my webservices: using System; using
I have a SOAP request that is known to work using a tool like,
I do SOAP request to SAP PI web service. This service returns SOAP fault
I have the following Soap Request I receive from the client, where basically I

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.