474,068 Members | 13,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[C#] Java type "DataHandle r" in C#

Hello,

Sorry for my english. This is my problem :
I must create for a great french company a webmethod with 2 "in"
parameters. The first is an object, no problem. The second must be a
"DataHandle r".

The company have a java client which send to my webmethod this 2
parameters. The java client send to the webservice a file (pdf, doc or
other) and my webmethod save it on hard drive.

My problem is that i dont know which is type in C# corresponding to
java type "Datahandle r".

Thanks for your help.

[C#] Java type "DataHandle r" in C#

Dec 15 '06 #1
3 5449
Hi,

What you expect to do with this second parameter in your code?

did you try to list it as object?
--
Ignacio Machin
machin AT laceupsolutions com

<de********@gma il.comwrote in message
news:11******** **************@ t46g2000cwa.goo glegroups.com.. .
Hello,

Sorry for my english. This is my problem :
I must create for a great french company a webmethod with 2 "in"
parameters. The first is an object, no problem. The second must be a
"DataHandle r".

The company have a java client which send to my webmethod this 2
parameters. The java client send to the webservice a file (pdf, doc or
other) and my webmethod save it on hard drive.

My problem is that i dont know which is type in C# corresponding to
java type "Datahandle r".

Thanks for your help.

[C#] Java type "DataHandle r" in C#

Dec 15 '06 #2
On 15 Dec 2006 02:03:26 -0800, de********@gmai l.com wrote:
>Hello,

Sorry for my english. This is my problem :
I must create for a great french company a webmethod with 2 "in"
parameters. The first is an object, no problem. The second must be a
"DataHandler ".

The company have a java client which send to my webmethod this 2
parameters. The java client send to the webservice a file (pdf, doc or
other) and my webmethod save it on hard drive.

My problem is that i dont know which is type in C# corresponding to
java type "Datahandle r".

Thanks for your help.

[C#] Java type "DataHandle r" in C#
Ask the client to send you the Java description of the WebHandler.
You should be able to write an equivalent in C# as the languages are
reasonably similar.

rossum

Dec 15 '06 #3
de********@gmai l.com wrote:
Sorry for my english. This is my problem :
I must create for a great french company a webmethod with 2 "in"
parameters. The first is an object, no problem. The second must be a
"DataHandle r".

The company have a java client which send to my webmethod this 2
parameters. The java client send to the webservice a file (pdf, doc or
other) and my webmethod save it on hard drive.

My problem is that i dont know which is type in C# corresponding to
java type "Datahandle r".
Tell them to use technology independent web services.

DataHandler is a Java class from the activation framework.

You will never get that working in .NET.

The interface must be redefined.

Arne
Dec 16 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1895
by: Ed Trubia | last post by:
Have the following type that applies contraints. How could this be easily coded in Java type ET_ACTIVE_PORT_CONFIGURATION is ( HDX_TX1_RX1, HDX_TX2_RX2, HDX_TX1_RX2, HDX_TX2_RX1, FDX_TX1_RX2, FDX_TX2_RX1);
73
8168
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities as a standard portable part of the core language, the LISP package, and the java.lang package, respectively. Both have big integers, although only LISP has rationals as far as I can tell. Because CL supports keyword arguments, it has a wider range...
5
3703
by: Maurice Ling | last post by:
Hi, I have read that this had been asked before but there's no satisfactory replies then. I have a module (pA) written in python, which originally is called by another python module (pB), and passes a python object (pO) to pB. Now I require pA to be called in a java class (jC) and pass pO into jC. As pA uses non-python modules, I am not able to use Jython on this.
0
690
by: Michael Welp | last post by:
Hallo NG, i have a problem with a Timestamp field. I use a JDBC Type 4 - Driver. When i make a select on a table with a timestamp-field i got for example the result : 2004-04-30 15:23:44.0 How can I tell the driver to give me the following result :
8
2592
by: Rhino | last post by:
I'm trying to use the JDBC Universal driver to get a Type 4 connection in a Java client program running under DB2 V8.2.1 but I keep getting a "connection refused: connect" message. I'm running DB2 Personal Edition so I am trying to connect to the database SQLPROCS on this same machine. I've checked the manual and am imitating the examples as well as I can but the examples are geared to remote machines, not the local one, so I strongly...
5
3718
by: Joe Kinsella | last post by:
Java JDBC defines four types of database drivers. A type 4 driver is a native protocol, fully Java-enabled driver. For Oracle, this means the driver is written to the socket based protocol supported by Oracle's TNS Listener. Oracle's type 4 driver for Java has been widely used in the Java community since it does not require an Oracle client to be installed on each workstation. A quick look at Oracle's downloads suggests they aren't...
5
1329
by: Guru | last post by:
public String generateSP() { String s = ""; Iterator iterator = hmTable.keySet().iterator(); String s1 = ""; while(iterator.hasNext()) { String s2 = (String)iterator.next(); s = s.length() != 0 ? s + "," + s2 : s2; }
6
3184
by: sapsi | last post by:
Hello, I am using HadoopStreaming using a BinaryInputStream. What this basically does is send a stream of bytes ( the java type is : private byte bytes) to my python program. I have done a test like this, while 1: x=sys.stdin.read(100) if x: print x
0
876
by: michellebong | last post by:
Dear experts, I have question on how to add my java type dll to vb.net 2005 as reference. The error output : A reference to '<..>.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component. What I have done is I had added a strong name to the dll by calling the sn.exe with the .net SDK prompt with cmd: sn -k <..>.dll (did I work wrongly?) I had also tried on tlbImp cmd as...
0
10413
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
11662
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
11190
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10389
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6733
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
6925
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5491
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
2
4987
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
4042
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.