Questions tagged [mtom]

Message Transmission Optimization Mechanism (MTOM) is a method to efficiently send binary data to and from Web services, it is a W3C Recommendation.

366 questions
0
votes
1 answer

MTOM - test file content

I've got a webservice (running in jBoss 7.4) that's using MTOM to receive files. The client (another application. SoapUI for testing) sends the file and we receive it. What's the best approach to create a test that does a request with a file…
GregD
  • 1,884
  • 2
  • 28
  • 55
0
votes
0 answers

Attaching binary file to XML configuration

I have a product configuration written in XML file. Its read/written using JAXB. A binary file was encoded in base64 format was inserted in the XML file . .The binary file is getting big., so want to attach it now. Is there a simple way to attach…
murthy
  • 1
  • 1
0
votes
2 answers

Cant download file from webservice using MTOM and Axis2 stub

I m trying to download a file from my Axis2 webservice server using MTOM and ADB. I can download the file if I dont enable the MTOM both on server and the client sides. Any suggestions or code sample would be nice :) Client side ServerWSStub stub =…
0
votes
2 answers

WCF : MTOM with SoapUI Content-Id not found

ive got a running WCF Service with MTOM Encoding. my own c# client can consume this Service without Problems. When i try to send a Request through SOAP UI i get the Message :
Skary
  • 387
  • 1
  • 4
  • 18
0
votes
1 answer

Mixing of XOP/MTOM and attachments is not allowed

Our application sends file attachment to a web service using SOAP. The service is running on Oracle Service Bus 11g. We are using Spring WS + SAAJ + MTOM on client to send the request. The application works fine on local and tomcat server, however,…
Alidad
  • 5,463
  • 1
  • 24
  • 47
0
votes
1 answer

How to call Soap/mtom web service asynchronously from C# winform

I am attempting to call/push a semi-large tiff and a Gal file to a java webservice. The platform is Visual Studio 2013, C# windows forms application. I am pointing to the WSDL file and "The Platform" is generating a service reference class for me.…
TW Scannell
  • 189
  • 1
  • 4
0
votes
2 answers

Bytes read as UTF8 string and converted to Base64

Forgive the lengthy setup here but I thought it may help to have the context... I am implementing a custom digital signature validation method in as part of a WCF service. We're using a custom method because various differing interpretations of some…
BearsEars
  • 849
  • 1
  • 13
  • 21
0
votes
0 answers

how to upload x509 certification to web service

i need to create an authentication method using x509 certifications but the verification should be done using a JAX-WS webservice so i need to upload the user's certificate to the webservice to verify it and then give the user it's appropriate…
0
votes
1 answer

Using MTOM and base64Encoding together

I am writing a wsclient in which server side expects a zipped file as attachment using mtom method. After having some errors I now learned that server side expect file in zip folder to be base64 encoded. I know encoding with base64 make filesize 33%…
cacert
  • 2,677
  • 10
  • 33
  • 56
0
votes
2 answers

SOAP UI sending attachment which contains Cyrillic characters

I am working on an application allowing user to upload XML file to server through a web service. Files are sent as attachment. I am using MTOM. I was able to send and receive file. The problem is that my XML file contains Cyrillic letter. When I…
Russell'sTeapot
  • 373
  • 2
  • 11
  • 21
0
votes
1 answer

JAX-WS XML file attachment

I am currently working on an web app which has web services allowing user to upload xml files to server. I am using JAX-WS to create web services. All examples I've seen describe uploading image files. Hence web service would contain a method…
Russell'sTeapot
  • 373
  • 2
  • 11
  • 21
0
votes
1 answer

java.lang.NullPointerException in org.apache.cxf.attachment.LazyDataSource.getInputStream

I am using cxf 2.7.7 and using MTOM with https ... and it is working ok with cxf java client. However when I send a message though SOAP UI client, and at the server side (in my endpoint implementation class) I try to access any of the methods of…
Yogesh Devi
  • 617
  • 11
  • 30
0
votes
1 answer

MTOM is not working in WCF

I have a simple self-hosted WCF web service and client and I'm trying to get them to use MTOM for sending and receiving files, specifically images. I checked the Microsoft samples and basically, all they do is setting the config files for the…
Alex Terreaux
  • 1,881
  • 5
  • 23
  • 39
0
votes
1 answer

Sharepoint soap request MTOM

So we have a requirement to upload file to sharepoint server using iOS client . We are able to upload file size till 40kb but the problem is the file data we are passing is in Base64 encoding,and it fails for file size more than 40kb because we…
Abhinandan Sahgal
  • 1,076
  • 1
  • 13
  • 27
0
votes
1 answer

Axis2 with MTOM: Unexpected end of stream while reading a SOAP fault

I'm trying to read a soap fault from an axis2 client, with mtom enabled. Axis2 version is 1.6.2, both for client and server. The wsdl part related to the fault: .....
Francesca Merighi
  • 317
  • 1
  • 3
  • 10