WebService
  1. WebService API
WebService
  • WebService API
    • WebService Example
      POST
    • SOAP Example
      POST
    • SOAP/WSDL Example
      POST
  1. WebService API

WebService Example

Developing
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
https://www.dataaccess.com/webservicesserver/NumberConversion.wso
WebService Usage Tips
INFO
Apidog needs to be upgraded to version 2.1.31 or higher.
1.
Manually set the Header Content-Type value to text/xml; charset=utf-8 or application/soap+xml (depending on the actual situation).
2.
Set the Body format to xml.
3.
The format of the returned response content is XML.

Request

Header Params
Content-Type
string 
optional
Example:
text/xml; charset=utf-8
Body Params application/xml
soap:Body
object 
required
NumberToWords
object 
required
Example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/">
            <ubiNum>500</ubiNum>
        </NumberToWords>
    </soap:Body>
</soap:Envelope>

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.dataaccess.com/webservicesserver/NumberConversion.wso' \
--header 'Content-Type: text/xml; charset=utf-8' \
--data-raw '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/">
            <ubiNum>500</ubiNum>
        </NumberToWords>
    </soap:Body>
</soap:Envelope>'

Responses

🟢200Success
application/xml
Body
soap:Body
object 
required
m:NumberToWordsResponse
object 
required
Example
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope>
  <soap:Body>
    <m:NumberToWordsResponse>
      <m:NumberToWordsResult>string</m:NumberToWordsResult>
    </m:NumberToWordsResponse>
  </soap:Body>
</soap:Envelope>
Modified at 2024-09-15 01:34:55
Next
SOAP Example
Built with