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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:39:51+00:00 2026-06-08T08:39:51+00:00

So in my company we use SOAP API to get connect to our system,

  • 0

So in my company we use SOAP API to get connect to our system, and I’m pretty well rehearsed in it and can use all the calls.

I just want to know where should I start if I want to build a test landing page that can execute the API queries.

I would prefer to do it with JavaScript if that is possible as we don’t have PHP installed on our servers.

Looking for some direction of where to start – I’m simply going to take a value from a text box and place within the XML request and execute it 🙂

Any pointers 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-06-08T08:39:53+00:00Added an answer on June 8, 2026 at 8:39 am
    <script>
    function fireRequest(){
    
                ..
                //parse your SOAP Request and set the request with 'dataContent'
                ...
    
                var url = //your target gateway here Java/PHP or your web service recpetor
                var postStr =//xml SOAP resquest ;
                makeRequest(url, postStr);
                }
    
        function getXmlHttpRequestObject() {
             if (window.XMLHttpRequest) {
                return new XMLHttpRequest(); //Mozilla, Safari ...
             } else if (window.ActiveXObject) {
                return new ActiveXObject("Microsoft.XMLHTTP"); //IE
             } else {
                alert("Your Browser does not support XMLHTTP");
    
             }
         }
        function makeRequest(url, param) {
        //If our readystate is either not started or finished, initiate a new request
            //clearing all divs
            receiveReq = getXmlHttpRequestObject();
            if (receiveReq.readyState == 4 || receiveReq.readyState == 0) {
    
               //Set up the connection to captcha_test.html. True sets the request to asyncronous(default) 
               receiveReq.open("POST", url, true);
               //Set the function that will be called when the XmlHttpRequest objects state changes
               receiveReq.onreadystatechange = responseHandler; 
    
               //Add HTTP headers to the request
               receiveReq.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
               receiveReq.setRequestHeader("Content-length", param.length);
               receiveReq.setRequestHeader("Connection", "close");
               //Make the request
               receiveReq.send(param);
            }   
        }
        function responseHandler(){
    
            if (receiveReq.readyState == 4) {
    
    
                var response = receiveReq.responseText;
                if(response){
                //do what ever you want with the response XML
    
    
                }   
            }
        }
    </script>
    

    This would be enough for your case. use the methods at your page.

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

Sidebar

Related Questions

Within our company we use a proprietary template engine, which stores its templates in
My company doesn't use Apache, so we've spun up our own socket code. In
My company has a ClickOnce application that has been in use with our customers
Our company produces a number of Java / Scala libraries for use by our
Possible Duplicate: iPhone apps for company-internal use - possible? As a developer, I can
I have a requirement to build an application that a company can use to
I work in a medium size financial company where all our applications talk to
I need to get some information from a delivery company who is using soap
For our company internal use, we would like to create create a website for
I'm working on a small library for our in-company use, and have been heavily

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.