1. Websocket, Socket.IO & more
Pet Store
  • Store API
    • Start your Apidog journey
    • Pet
      • List Pets
      • Create Pet
      • Get Pet
      • Update Pet
      • Delete Pet
      • Upload Pet Image
    • Chat
      • Pet Care AI Consultation
    • Store
      • Get Store Inventory
      • List all inventories
      • Create Order
      • Get Order
      • Cancel Order
      • Callback Example
    • Payments
      • Pay Order
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
        DEMO
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
        POST
      • SSE example
        POST
      • SOAP example
        POST
    • Schemas
      • Pet
      • User
      • PetCollection
      • OrderPayment
      • Bank Card
      • Order
      • Bank Account
      • ApiResponse
      • Error
  • Admin API
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
      • Force Cancel Order
    • Audit Logs
      • Get Audit Log Details
    • Schemas
      • AuditLog
  1. Websocket, Socket.IO & more

SOAP example

POST
http://www.dneonline.com/calculator.asmx
Add two integers from the request and return the result in the response.
The service is provided by DneOnline.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
OAuth 2.0
Authorization Code
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Authorize URL: https://auth.petstoreapi.com/authorize
Token URL: https://auth.petstoreapi.com/token
Refresh URL: https://auth.petstoreapi.com/refresh
or
Header Params

Body Params application/xml

Examples

Responses

🟢200OK
application/xml
Bodyapplication/xml

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://www.dneonline.com/calculator.asmx' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/xml' \
--data '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <Add xmlns="http://tempuri.org/">
            <intA>5</intA>
            <intB>7</intB>
        </Add>
    </soap:Body>
</soap:Envelope>'
Response Response Example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <AddResponse xmlns="http://tempuri.org/">
            <AddResult>12</AddResult>
        </AddResponse>
    </soap:Body>
</soap:Envelope>
Modified at 2026-05-13 03:16:01
Previous
SSE example
Next
Pet
Built with