PC Review


Reply
Thread Tools Rate Thread

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

 
 
delirman49@gmail.com
Guest
Posts: n/a
 
      15th Dec 2006
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#

 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      15th Dec 2006
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





<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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#
>



 
Reply With Quote
 
rossum
Guest
Posts: n/a
 
      15th Dec 2006
On 15 Dec 2006 02:03:26 -0800, (E-Mail Removed) 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 "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

 
Reply With Quote
 
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
Guest
Posts: n/a
 
      16th Dec 2006
(E-Mail Removed) 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
> "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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP Basics 1 6th Nov 2007 08:48 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP General 1 6th Nov 2007 08:48 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP New Users 1 6th Nov 2007 08:48 AM
"Open" Dialog Box - Sorting by both "type" AND "date modified" Sam Microsoft Word Document Management 2 21st Jul 2004 09:53 AM
<input id="iPhoto" type="file" size="20" runat="server"> Mark Sandfox Microsoft ASP .NET 1 11th May 2004 02:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:40 AM.