Comments on: Calling an EJB from a SOA Composite Application using the EJB Binding based on Java Interface https://technology.amis.nl/2010/06/13/calling-an-ejb-from-a-soa-composite-application-using-the-ejb-binding-based-on-java-interface/ Friends of Oracle and Java Mon, 04 May 2015 08:10:38 +0000 hourly 1 http://wordpress.org/?v=4.2.1 By: Souvik https://technology.amis.nl/2010/06/13/calling-an-ejb-from-a-soa-composite-application-using-the-ejb-binding-based-on-java-interface/#comment-6167 Tue, 20 Dec 2011 13:19:59 +0000 http://technology.amis.nl/blog/?p=8142#comment-6167 Hello,
I followed the case closely ,  but still get the error: “Could not convert from java………….. :(

]]>
By: David Tildesley https://technology.amis.nl/2010/06/13/calling-an-ejb-from-a-soa-composite-application-using-the-ejb-binding-based-on-java-interface/#comment-6166 Thu, 24 Nov 2011 22:37:40 +0000 http://technology.amis.nl/blog/?p=8142#comment-6166 Unfortunately, this capability does not appear to support interfaces that return or pass objects that are not primitive equivalents (e.g. Long). i.e. it will only convert to standard xsd types from a range of java objects it accepts as equivalents.

]]>
By: Mayank https://technology.amis.nl/2010/06/13/calling-an-ejb-from-a-soa-composite-application-using-the-ejb-binding-based-on-java-interface/#comment-6165 Mon, 21 Nov 2011 19:57:32 +0000 http://technology.amis.nl/blog/?p=8142#comment-6165 Hi Lucas…The example you posted above works but I am worrried that if I change argument parameters to classType with a DTO(with 2 attributes) then the application fails at runtime. Also, somewhere you have mentioned that you also tried the same but was not successful. So, is it possible to invoke such kind of EJB method?

]]>
By: Ivan https://technology.amis.nl/2010/06/13/calling-an-ejb-from-a-soa-composite-application-using-the-ejb-binding-based-on-java-interface/#comment-6164 Mon, 20 Dec 2010 18:48:38 +0000 http://technology.amis.nl/blog/?p=8142#comment-6164 Hello, I followed the case closely (with the same name of classes, methods, etc),  but still get the error: “Could not convert from java interface to interface type wsdl.Exception=nl.amis.calculator.Calculator”. I created a Java class to test the lookup and function correctly. However, when I try to wire a Mediator to this Reference, I run into an Interface Conversion Error. I’ve included the line javaInterface = “nl.amis.calculator.Calculator” in file composite.xml, but still get error. Can anyone help me?

]]>
By: Markus Zehnder https://technology.amis.nl/2010/06/13/calling-an-ejb-from-a-soa-composite-application-using-the-ejb-binding-based-on-java-interface/#comment-6163 Tue, 16 Nov 2010 20:09:36 +0000 http://technology.amis.nl/blog/?p=8142#comment-6163 Great post. This is exactly what I’m trying to achieve. Unfortunately without success so far, even with a simple dummy EJB and adding the javaInterface attribute in composite.xml I’m still getting “Could not convert from java interface to interface type wsdl”.
Any ideas?
Could you be so kind to share your projects? Then I could investigate if it’s simply a project or an environment issue.
Thanks a lot
Markus

]]>