Altova XMLSpy 2024 Enterprise Edition

Create New SOAP Request

Home Prev Top Next

This command creates a new SOAP request document. It involves the following steps:


1.Enter the WSDL file location and connect to the SOAP server.

2.The server responds with a list of operations. Select the SOAP operation you want.

3.The server responds with a SOAP Request form in XML format. Define the SOAP Request form.


We demonstrate the process below by creating a SOAP request for the US National Digital Forecast Database (NDFD) SOAP Service (


Connecting to the SOAP server

The connection is made via a WSDL file. In our example, the URI of the WSDL file is: To make the connection, click the Create New SOAP Request command, and enter the file URI in the dialog that appears (screenshot below).


Click OK to confirm the selection.


Select the required SOAP operation

The server responds with a list of operation which are displayed in a dialog (screenshot below).


Select an operation and click OK. We selected the NDFDgenByDay operation.


Define the SOAP Request

The server responds by sending an XML file, which is displayed in the Text View of XMLSpy. For the operation we selected, we received the following XML file.


<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:SOAP-ENC="" xmlns:xsi="" xmlns:xsd="" xmlns:m0="">


     <m:NDFDgenByDay xmlns:m=""


        <latitude xsi:type="xsd:decimal">0.0</latitude>

        <longitude xsi:type="xsd:decimal">0.0</longitude>

        <startDate xsi:type="xsd:date">1967-08-13</startDate>

        <numDays xsi:type="xsd:integer">0</numDays>

        <format xsi:type="m0:formatType">String</format>





We filled in the parameters as required by the XML (in bold red below; fill in a start date that is the current date or one within the next week):



  <m:NDFDgenByDay xmlns:m=""


        <latitude xsi:type="xsd:decimal">45</latitude>

        <longitude xsi:type="xsd:decimal">-90</longitude>

        <startDate xsi:type="xsd:date">2019-12-10</startDate>

        <numDays xsi:type="xsd:integer">1</numDays>

        <format xsi:type="m0:formatType">24 hourly</format>




This completes the definition of this SOAP request. In the next step, we shall send the request.


© 2018-2024 Altova GmbH