Questions tagged [datahandler]
63 questions
0
votes
0 answers
How to get data from sqlite to a listview in android without a Datahandler class
I want to get data from Sqlite to a listview without a Datahandler class
I have add data into Sqlite without Datahandler* class
My database name is Mydb,and table name is mytable it has two columns name and phone.

thilinawarne
- 11
- 3
0
votes
2 answers
PHP Datahandling
I've been searching and trying to find a way to handle data in a smart way with php.
example: {"number":"test","first_name":"test","last_name":"test","company":"tes123321D323","call_result":"test","call_duration":"500","comment":"test"}
I have this…

Stijn Bernards
- 1,091
- 11
- 29
0
votes
1 answer
OutofMemoryException with Datahandler cxf
I am downloading a file by clicking a link. I am using jdk1.7, cxf-2.7.5 and enabled MTOM in both client and server. For UI i am using struts1.2.
I got the below exception
[default-workqueue-8] ERROR consoleErrorLog - Exception in thread…

Shriram
- 4,343
- 8
- 37
- 64
0
votes
2 answers
Download document from content server
I'm a developer Opentext and i need know how can download a file from content server Opentext from app Java.
I have this code:
int nodeID = _id_code_document;
OutputStream os = new FileOutputStream(new File(PATHFILE+NAMEFILE));
DataHandler file=…

Roldanhollow
- 105
- 5
- 16
0
votes
0 answers
Axis2 wsdl2java created stub translating byte[] as DataHandler
I'm tasked with making a Java client for an existing Axis2 1.5.1 webservice that we've been consuming using a c# client. We use byte arrays in a few locations most notably for the session handle and I'm running into an issue creating the stubs. …

Matthew
- 23
- 1
- 4
0
votes
1 answer
how to send xml with an image on objective C
How do I attach an image to an XML file in Objective-C to POST to a WebService?
…

ginoOwnits
- 29
- 5
0
votes
1 answer
How to get field names and records from a return object
I m trying to get field names and record values from a return database object. I have a datahandler.py file for query exection. when i hit a datahandler method(say for eg. GetEmployeeinfo(id)) from one of source file it return a object. I want to…

Nirmala
- 35
- 1
- 7
0
votes
2 answers
Android XML dataHandler getResources() is undefined
I'm relatively new to Java and I'm trying to create a dataHandler for an xml.
But I get an error: "The method getResources() is undefined for the type CasusHandler".
What am I forgetting?
import android.content.res.Resources;
public class…

Sephen
- 1,111
- 3
- 16
- 38
0
votes
0 answers
Cant get String out of Base64 encoded ByteArrayDataSource
I have a String converted with org.apache.axis2.databinding.utils.ConverterUtil to a Base64Binary (ByteArrayDataSource inside a DataHandler).
When I try to convert it back to the string, it doestn work. I cant figure out why. What am I…

heiningair
- 441
- 1
- 6
- 23
0
votes
1 answer
How to consume a webservice expecting "application/octet-stream" as Content Type and base64Binary as Type?
I have a webservice which expects a document in this format:
…

Cos
- 1,649
- 1
- 27
- 50
0
votes
0 answers
Axis2 ArrayIndexOutOfBoundsException when I send a DataHandler
I've a problem when I try to send a file (DataHandler) to a web service deployed under axis2.
This is my client code (only the part regarding the web service call):
DataHandler dh = new DataHandler(new FileDataSource("file"));
appStub serviceStub =…

user2572526
- 1,219
- 2
- 17
- 35
0
votes
1 answer
Out of memory exception while retrieving large file using SOAP webservice
I'm struggling to read a large file transmitted through a SOAP based web service. The client code is failing with Out of memory exception. I'm using MTOM to send the binary data, hoping that would be able to take care of transmitting and reading…

Shamik
- 1,671
- 11
- 36
- 64
0
votes
1 answer
Uploading file to MySQL using DataHandler
I am currently haing trouble uploading a very small file (.mp3) to a MySQL Database using a DataHandler. I am trying the code locally after which it will be translated to a webservice. The following "rough" code attempts to upload the file. Now I am…

MistyD
- 16,373
- 40
- 138
- 240
0
votes
1 answer
SOAP attachment and data handler
How do I retrieve SOAP attachments?
I am doing something like the following:
Iterator i = soapMessage.getAttachments();
while(i.hasNext())
{
AttachmentPart obj = i.next();
InputStream rawContent =…

serverfaces
- 1,155
- 4
- 22
- 49
-1
votes
1 answer
React - Select specific data for Context Provider
Objective - Load same page layout from context provider with different data for each project.
I'm currently working on a Portfolio Website using React, React-Router, and React-Context. I need to be able to reuse the singleProject page layout but…

StickOnAStick
- 1
- 2