473,404 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

WSE 3.0 web service rejects MTOM request

The MTOM request below is rejected by a WSE 3.0 web service, indicating that it is a "Bad Request" - HTTP error 400.

The IIS configuration has set up the service to accept MTOM messaging (optional).

Can anyone see what about this POST makes it a bad request? Thanks!
Simone

POST /DocumentLibraryService/DocumentLibraryService.asmx HTTP/1.1
SOAPAction: "http://www.dotnetslackers.com/wse/documentlibrarysample/UploadDocument"
Content-Type: multipart/related; startinfo="application/xop+xml"; type="application/xop+xml"; start="<rootpart@soapui.org>"; boundary="----=_Part_31_14024931.1187034199799"
MIME-Version: 1.0
User-Agent: Jakarta Commons-HttpClient/3.0.1
Proxy-Connection: Keep-Alive
Host: itd-xp1134
Content-Length: 987


------=_Part_31_14024931.1187034199799
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml; action=\"UploadDocument\""
Content-Transfer-Encoding: 8bit
Content-ID: <rootpart@soapui.org>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:doc="http://www.dotnetslackers.com/wse/documentlibrarysample" xmlns:xm="http://www.w3.org/2005/05/xmlmime">
<soapenv:Header/>
<soapenv:Body>
<doc:UploadDocument>
<!--Optional:-->
<doc:fileName>Test.txt</doc:fileName>
<!--Optional:-->
<doc:data xm:contentType="text/plain"><inc:Include href="cid:1187034131079" xmlns:inc="http://www.w3.org/2004/08/xop/include"/></doc:data>
</doc:UploadDocument>
</soapenv:Body>
</soapenv:Envelope>
------=_Part_31_14024931.1187034199799
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-ID: <1187034131079>

Test


------=_Part_31_14024931.1187034199799--
Aug 13 '07 #1
0 1361

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
4
by: UJ | last post by:
I have a web service that is going to need to transfer back to the calling program a file. The file can be up to 1MB in size. What's the easiest way to do this? I could do an HTTP get on the...
3
by: flo | last post by:
hi, i have to develop a web service client (must be .net, currently i'm using c# with wse3) for a java service. the java service uses mime attachments for up- and download of files. i googled...
7
by: russell.lane | last post by:
I've been looking at both MTOM and simple HTTP POST or PUT for file uploads. Some relevant details: ... We want to support programmatic file uploads from Winform apps. ... The files are large...
4
by: =?Utf-8?B?Z3Jhenph?= | last post by:
Hello If someone can help me with this it would be greatly appreciated. I’m no web service expert but I don't think i'm trying to do anything too special. I think i must be missing something...
0
by: =?Utf-8?B?UmljaGFyZCBDb2xsZXR0ZQ==?= | last post by:
My goal is to connect a WSE 3.0 client to a WCF asp.net hosted service, utilizing MTOM encoding and if at all possible, streamedRequest transfer mode. I am starting with a basic Hello World...
4
by: Jeronimo Bertran | last post by:
Hello, I have a WCF service that I am using to upload files to a server by using the streamed transfer method. I am currently calling the service from a WCF client. All I did was add a Service...
1
by: compurhythms | last post by:
I'm having an issue calling a java-based web service from a C#/.NET 2.0 client that uses WSE 3.0. (No WCF) There is an operation on the web service that takes a single base64 encoded parameter...
0
by: rjreynolds | last post by:
I have large data > 500MB that I want to send to a webservice that I've MTOM-enabled. I've tried the various WSE 3.0 MTOM samples, but all of them require loading the entire data into a byte which...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.