Skip to content

How to handle multiple namespaces in wash_out gem #252

Description

@niteshguptaoyo

I have following request to be created in my SOAP API:

<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:Header>
    <OGHeader xmlns="http://www.abc.com">
    </OGHeader>
  </soap:Header>
  <soap:Body>
    <BookingRequest xmlns="http://www.ghj.com/Booking.wsdl">
      <Reservation Action="CREATE">
        <UniqueIDList xmlns="http://www.wer.com/Unique/">
          <UniqueID type="FAR" xmlns="www.uio.com/Common/">201801111429</UniqueID>
        </UniqueIDList>
      </Reservation>
    </BookingRequest >
  </soap:Body>
</soap:Envelope>

How to use wash_out to create such request with particular namespace defined in each xmlns?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions