Class MarshallingWebServiceInboundGateway

  • Constructor Details

    • MarshallingWebServiceInboundGateway

      public MarshallingWebServiceInboundGateway()
      Creates a new MarshallingWebServiceInboundGateway. The Marshaller and Unmarshaller must be injected using properties.
    • MarshallingWebServiceInboundGateway

      public MarshallingWebServiceInboundGateway(Marshaller marshaller)
      Creates a new MarshallingWebServiceInboundGateway with the given marshaller. The Marshaller must also implement Unmarshaller, since it is used for both marshalling and unmarshalling.

      Note that all Marshaller implementations in Spring-OXM also implement the Unmarshaller interface, so you can safely use this constructor for any of those implementations.

      Parameters:
      marshaller - object used as marshaller and unmarshaller
      Throws:
      IllegalArgumentException - when marshaller does not implement Unmarshaller
      See Also:
    • MarshallingWebServiceInboundGateway

      public MarshallingWebServiceInboundGateway(Marshaller marshaller, Unmarshaller unmarshaller)
      Creates a new MarshallingWebServiceInboundGateway with the given marshaller and unmarshaller.
      Parameters:
      marshaller - The marshaller.
      unmarshaller - The unmarshaller.
  • Method Details