Lucee not able to create .Net Object

Hi Lucee World,

Here I face a problem that I want to create .Net object in lucee but it
throws an error.

My need is that I want to create a .Net/.net/dotnet object for access the OpenXML
SDK 2.0
http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=5124 in
my project but not able to do so.

Any one have solution for that?

It’ll save my day

Thanks in advance.

Actually, i’m wondering if .NET integration is even supported at all. I know ACF has it in some way but I never needed to use it.

Unrelated question - why specifically do you need to use that XML library. Can it be done in CFML or some Java XML library instead?

Kai> On 3/08/2015, at 11:53 am, Jani <@Jani> wrote:

Hi Lucee World,

Here I face a problem that I want to create .Net object in lucee but it throws an error.

My need is that I want to create a .Net/.net/dotnet object for access the OpenXML SDK 2.0 in my project but not able to do so.

Any one have solution for that?

It’ll save my day

Thanks in advance.


See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/90de8151-66a0-4bfa-a262-b13154959d37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pretty sure that is not possible in lucee.
However, it is extremely easy if you absolutely need to use .net. Enable asp.net on server.
Write an asp.net page and add you .net specific logic there. I would use a simple rest interface.
Then ensure it can only be called locally (iis security or code in page).

You should, then, be able to call it using cfhttp all day long.

Igal,

Just curious if you guys had given this any though as to whether it could
be integrated:

http://jni4net.com/

Jani, in the mean time, you might have success generating a Java wrapper
around the .Net assembly using the above and then interacting with the Java
wrapper from CFML.On Monday, August 3, 2015 at 6:58:47 AM UTC-5, Igal wrote:

I’d still visit Kai’s question if I were you – can’t you achieve your
objective with a Java library instead? you’ll get much better performance
and integration…

and no, .NET objects are not supported in Lucee, but it ships with the
JAva COm Bridge (JACOB – http://danadler.com/jacob/) which enables
communications between Java and COM objects, so that might also be an
option here.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 8/3/2015 4:50 AM, Jani wrote:

Thanks buddy,

It’s sound easy to implement.

Thanks a lot.

On Monday, 3 August 2015 16:44:17 UTC+5:30, Bilal wrote:

Pretty sure that is not possible in lucee.
However, it is extremely easy if you absolutely need to use .net. Enable
asp.net on server.
Write an asp.net page and add you .net specific logic there. I would use
a simple rest interface.
Then ensure it can only be called locally (iis security or code in page).

You should, then, be able to call it using cfhttp all day long.


See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5f854924-23ea-4d83-8500-0989a8be88d9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/5f854924-23ea-4d83-8500-0989a8be88d9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.