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

  • Thread starter Thread starter delirman49
  • Start date Start date
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#
 
Hi,

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

did you try to list it as object?
 
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
 
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
 
Back
Top