[C#] Java type "DataHandler" in C#

D

delirman49

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 "Datahandler".

Thanks for your help.



[C#] Java type "DataHandler" in C#
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

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

did you try to list it as object?
 
R

rossum

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 "Datahandler".

Thanks for your help.



[C#] Java type "DataHandler" 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
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

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 "Datahandler".

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top