Questions tagged [datahandler]
63 questions
12
votes
5 answers
converting DataHandler to byte[]
I need a code snippt for converting DataHandler to byte[].
This data handler contains Image.

Narendra
- 5,635
- 10
- 42
- 54
6
votes
1 answer
Return String in DataHandler
I've created a web service in Java that returns a DataHandler.
This has to be able to return a File, which works fine.
But it should also be able to return a String.
Any idea how I can transfer a String with a DataHandler?

dumazy
- 13,857
- 12
- 66
- 113
4
votes
1 answer
How to create inline-records (IRRE) using DataHandler in TYPO3?
In our case we have a table A which contains IRRE records using table B. Inside a backend module we import an XML file to import those records for table B.
All records/data for table A is available.
All data for table B is available, except the new…

Maik Peuser
- 41
- 2
3
votes
1 answer
Learning data handler in Java?
I was aware of it is good to use data handler in Java to transfer files. Anyone can point me a good example or tutorial which help me understand this class.
Also, the package belongs to javax.activation.DataHandler, what is activation mean? is it a…

Adam Lee
- 24,710
- 51
- 156
- 236
2
votes
2 answers
How can I consume a Java based SOAP service that uses a Datahandler type in C#
I'm trying to consume a SOAP service (Agile PLM webservice) using C#, but the SOAP service uses a "Datahandler" type, which seems to be language specific to Java (using Apache Axis library as far as I can tell).
When I try to use the wsdl.exe tool…

Aerik
- 2,307
- 1
- 27
- 39
2
votes
1 answer
"Truncated incorrect DOUBLE value" error in DataHandler TYPO3 9
I have an array with about 400 records to insert into a database table
I have tried inserting with the DataHandler and I faced the issues below:
After inserting 195 records, it gives the "Truncated incorrect DOUBLE value" error.
When try creating…

Mbigha Siggi
- 391
- 3
- 4
2
votes
1 answer
How to add "text/plain" MIME type to DataHandler
I have been struggling with getting this test to work for awhile, the relevant code executes fine in production my assumption is that it has some additional configuration, lots of searching seems to be related specifically to email handling and…

Alan Blyth
- 186
- 1
- 9
2
votes
1 answer
How to organize data shared between view controllers in swift
I am new to swift and app development, and have a question about how to best organize data for a simple app.
I have a data model defined for an object, Choice.
The app has multiple view controllers. Two of these access/modify an array of Choices. …

user480029
- 421
- 1
- 3
- 13
2
votes
0 answers
Python equivalent of Java's DataHandler?
I'm using Python suds to consume SOAP services and the logic behind those calls are written in Java. It seems like one of the arguments require a DataHandler object to be passed through. Is there any way I can either create a DataHandler Java object…

with
- 91
- 1
- 3
2
votes
2 answers
Javamail, error when sending attachments.
I am trying to send an email. When I send it without an attachment, it sends the email correctly. If I try to attach something, then it doesn't work.
The Class:
import com.sun.mail.smtp.SMTPTransport;
import java.io.File;
import…

user2582318
- 1,607
- 5
- 29
- 47
2
votes
1 answer
Writing from Datahandler to file
I created a web service using CXF/MTOM for transfering large files (over 700Mo), i managed to transfer the file to the server , now my question is to optimze writing data in disk, i will give examples :
DataHandler handler =…

bazic
- 255
- 2
- 3
- 9
1
vote
0 answers
java encoded base64 soap attachment
This is my first post and i'm really stuck. Here is what i need to do: I'm writing a java web service client using axis2 to generate the proxies and i'm trying to send an attachment. The attachment must be encoded by base64 and the proxy is…

jwcmrod
- 11
- 1
- 3
1
vote
1 answer
how to bind the rows of tibbles together using the bind_row(function"
So it has been several years since I have done anything With R studio and I cannot remember a thing about it..
I have currently read 12 different CSV files into the console using the read_csv() function for each one respectively and this has given…

T.Omalley
- 325
- 1
- 2
- 9
1
vote
1 answer
How can I want to convert a javax.activation.DataHandler object to byte array
I want to convert a javax.activation.DataHandler object to byte array. What is the best way to do it. Is it possible to use nio package for same.

Deepanshu Pruthi
- 23
- 4
1
vote
2 answers
Spring-WS content-Size limit with dataHandler
I work with spring-ws 4.3.3 and I would like to know if it's possible to get the real content-size for a soap request that contains a datahandler parameter.
The following code works well if the request size seems to be less than 4096 bytes otherwise…

Nicolas
- 69
- 3