0

我有以下请求要在我的 SOAP API 中创建并使用此 gem https://github.com/inossidabile/wash_out/

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

如何使用wash_out 创建具有在每个xmlns 中定义的特定命名空间的此类请求?

4

0 回答 0