473,588 Members | 2,582 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WSE 3.0 web service rejects MTOM request

1 New Member
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 /DocumentLibrary Service/DocumentLibrary Service.asmx HTTP/1.1
SOAPAction: "http://www.dotnetslack ers.com/wse/documentlibrary sample/UploadDocument"
Content-Type: multipart/related; startinfo="appl ication/xop+xml"; type="applicati on/xop+xml"; start="<rootpar t@soapui.org>"; boundary="----=_Part_31_14024 931.11870341997 99"
MIME-Version: 1.0
User-Agent: Jakarta Commons-HttpClient/3.0.1
Proxy-Connection: Keep-Alive
Host: itd-xp1134
Content-Length: 987


------=_Part_31_14024 931.11870341997 99
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml; action=\"Upload Document\""
Content-Transfer-Encoding: 8bit
Content-ID: <rootpart@soapu i.org>

<soapenv:Envelo pe xmlns:soapenv=" http://schemas.xmlsoap .org/soap/envelope/" xmlns:doc="http ://www.dotnetslack ers.com/wse/documentlibrary sample" xmlns:xm="http://www.w3.org/2005/05/xmlmime">
<soapenv:Head er/>
<soapenv:Body >
<doc:UploadDocu ment>
<!--Optional:-->
<doc:fileName>T est.txt</doc:fileName>
<!--Optional:-->
<doc:data xm:contentType= "text/plain"><inc:Inc lude href="cid:11870 34131079" xmlns:inc="http ://www.w3.org/2004/08/xop/include"/></doc:data>
</doc:UploadDocum ent>
</soapenv:Body>
</soapenv:Envelop e>
------=_Part_31_14024 931.11870341997 99
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-ID: <118703413107 9>

Test


------=_Part_31_14024 931.11870341997 99--
Aug 13 '07 #1
0 1377

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

Similar topics

3
5055
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). I changed the data type for the structure that contains the XML data from the default "String" to "xml.xmldocument" to enable easy filling of the data. my client code creates an XML document class, fills the data using standard xml dom...
4
10122
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 file but being as how that's not secure it doesn't leave me feeling very comfortable. Any thoughts/suggestions? TIA - Jeff.
3
3282
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 around for mime support in .net and only saw "don't do it" ;) (apparently even dime is not possibly in wse3?) so, is there any possibility to use mime attachments? (i thought about
7
7510
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 binaries, large enough that we would need to increase the maxRequestLength value. ... We don't need the other WS-* features that come with WSE. ... Currently a pure intranet environment. We may extend outside the firewall in the mid-term future,...
4
6904
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 simple because i have been banging my head against a wall with this for a while now. I have created a web service and a client Win forms application to consume the web service. The problem is i don't know where the web service will be deployed...
0
5933
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 service. I am basing the configuration on these articles: http://devlicio.us/blogs/ziemowit_skowronski/archive/2007/07/18/interoperability-between-wcf-and-wse-3-0.aspx http://msdn2.microsoft.com/en-us/library/ms730049.aspx When calling the hello...
4
4118
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 Refrence to my Windows Forms project using VS2008. I now want to allow non WCF clients to use the service. How can I do this? Thanks,
1
8628
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 that is transported as a MTOM mime part in a multipart request. The web service provider has sent me a trace of a successful SOAP request and I have traced my SOAP request and I do not see any differences other than differences in how the...
0
1367
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 runs out of memory on the client. Aside from manually opening a socket and handling the filestream to networkstream, does .Net WSE3 (or Java) provide an interface for this? Not concerned about WS-Security here as security in the data is sufficient.
0
7927
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7857
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8220
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
5723
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3846
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2367
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1457
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1194
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.