Can anyone help me how to insert a XML file to tamino via mediator thru’ servlet
thanks
Hi,
Using Mediator it should be possible to use the SagHttpGateway component. With Mediator v721 there is a the ServletPortal. From the client perspective you post the XML to this servlet and tell it which sequence file to use. This sequence file can have a step which utilizes the SagHttpGateway component. You specify to use HTTP PUT to put the XML into a specific url which specifies the database and collection name, e.g.
With HTTP PUT, Tamino won’t provide any response document nor Tamino responses but the HTTP response will be appropiate, and the SagHttpGateway will react accordingly.
Hope this helps.
Stuart Fyffe-Collins
Software AG (UK) Ltd.