[AWS] Reading the body of a POST as a String

Phil Costin philcostin at hotmail.com
Thu Jun 2 18:23:07 CEST 2011


Hi,
First of all thank you for AWS - I have started using it recently for various projects and it feels very well constructed
My question is - I am developing a small program which receives a POST containing an XML body so that I may validate it an xsd (using XML/Ada) but I need to obtain the body of the post as a string so that I can prepare it for parsing by XML/Ada. This is not a SOAP application... How would you recommend I obtain the XML string? I have tried using the AWS.Status.Read_Body subprogram, however I am not sure what to do with the resulting Stream_Element_Array. Maybe I am taking the wrong approach here?
Thanks in advance,Phil 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/aws/attachments/20110602/b1075ef1/attachment.htm 


More information about the AWS mailing list