> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apigene.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Wsdl List Ports

> List SOAP ports in a WSDL without installing it, so the caller can ask which port to use. Send JSON { url } or multipart form data with file and/or url.



## OpenAPI

````yaml post /api/wsdl_ports/
openapi: 3.1.0
info:
  title: Apigene
  description: Apigene API
  version: 1.0.0
  contact:
    name: Apigene Support
    url: https://app.apigene.ai
    email: support@apigene.ai
servers:
  - url: https://app.apigene.ai
security:
  - BearerAuth: []
paths:
  /api/wsdl_ports/:
    post:
      tags:
        - Spec
      summary: Wsdl List Ports
      description: >-
        List SOAP ports in a WSDL without installing it, so the caller can ask
        which port to use. Send JSON { url } or multipart form data with file
        and/or url.
      operationId: wsdl_list_ports
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WsdlPortsRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_wsdl_list_ports'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WsdlPortsResponse'
        '400':
          description: >-
            The WSDL could not be read, or it has no SOAP 1.1 or 1.2
            document/literal ports.
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    WsdlPortsRequest:
      properties:
        url:
          type: string
          title: Url
      type: object
      title: WsdlPortsRequest
    Body_wsdl_list_ports:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
        url:
          type: string
          title: Url
      type: object
      title: Body_wsdl_list_ports
    WsdlPortsResponse:
      properties:
        ports:
          type: array
          items:
            $ref: '#/components/schemas/WsdlPort'
          title: Ports
      type: object
      required:
        - ports
      title: WsdlPortsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WsdlPort:
      properties:
        service:
          type: string
          title: Service
        port:
          type: string
          title: Port
        id:
          type: string
          title: Id
          description: service/port
        address:
          type: string
          title: Address
        version:
          type: string
          title: Version
          description: 1.1 or 1.2
        operations:
          type: array
          items:
            type: string
          title: Operations
      type: object
      required:
        - service
        - port
        - id
        - address
        - version
        - operations
      title: WsdlPort
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        'Authorization: Bearer {token}'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.