W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2005

RE: Unable to get Martin Gudgin's XML-->MTOM online converter tool to work

From: Martin Gudgin <mgudgin@microsoft.com>
Date: Mon, 2 May 2005 13:34:50 -0700
Message-ID: <DD35CC66F54D8248B6E04232892B63380597A3BB@RED-MSG-43.redmond.corp.microsoft.com>
To: "Roger L. Costello" <costello@mitre.org>, <xml-dist-app@w3.org>
It's possible my header cracking code is case-sensitive. Can you easily
try Content-Type and Content-Length? If that fixes it let me know and
I'll go dig through the code.



	From: Roger L. Costello [mailto:costello@mitre.org] 
	Sent: 02 May 2005 20:08
	To: xml-dist-app@w3.org; 'Roger L. Costello'
	Cc: Martin Gudgin
	Subject: Unable to get Martin Gudgin's XML-->MTOM online
converter tool to work
	Hi Folks,
	I am trying to use the XML-->MTOM online tool that Martin Gudgin
created [1]  but am not having any success. 
	I have written a Java program which reads in Martin's test1a.xml
file, embeds it in an HTTP POST message and sends it to his tool.  Below
is the HTTP message that I POST to the tool (base64 data omitted).  Any
ideas on what I am doing wrong?
	POST /dotnet/mtom/mtomecho.ashx HTTP/1.0
	Content-type: application/soap+xml
	Content-length: 28469
	<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
	        <x:Data xmlns:x="http://example.org/mtom/data">
	            --- test 1a.xml base64 data ---
	Here is the error message I get when I run my Java program:
	java.io.IOException: Server returned HTTP response code: 400 for
	HTTP 400 indicates a client error.  Apparently, something is
incorrect with my HTTP message, but I do not know what that might be.
Any thoughts would be much appreciated.  Thanks!
Received on Monday, 2 May 2005 20:35:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:27 UTC