I am a newbie to Lucee. I am looking for an open source platform where I can host coldfusion. I am trying to run a POC and had success for most of parts except web service integrations.
The application hosted on Lucee currently required a third party web service integration and we used to use following code.
wsobject = CreateObject("webservice", "URL to web service");
What I can share with you is that the web service returns an Array of a complex object. I am getting an error as below.
org.apache.axis.AxisFault:
; nested exception is:
org.xml.sax.SAXException:
Unable to create JavaBean of type [La1jutmohj4zmcj.validateaddressPOC;. Missing default constructor?
Error was: java.lang.InstantiationException: [La1jutmohj4zmcj.validateaddressPOC
validateaddressPOC is the class name.
I noticed that Axis creates an java class under cfclasses/RPC. It is very strange though that the package name space does not match at all. I decompiled java class and notice that package namespace is a1jutmohj4zmcj. That is without ‘[L’.
Has anyone had similar issue? If so, have you resolved this issue?
Which version of Lucee are you running, if it’s not the latest version can you try that?
Basically, it would be really helpful if you could post the webservice URL? I understand
that may not be possible on the public mailing list
Can I suggest filing a bug in jira ( https://luceeserver.atlassian.net/ ) and then whoever
triages the problem can contact you directly and attempt to reproduce the problem.
thank you. We are using the latest version of Lucee. In terms of service URL, I cannot provide you that because it is hidden behind firewall. This SOAP web service is not public web service but internal one that our coldfusion front end consumes.
The web service returns array of complex object and it seems like Axis 1.4 may not be able to handle this, especially when array object is a nested object. Below is operation SOAP.
I’ve had a quick chat with the development team and we think this is as you have said, the lack of Axis2 support, so we need to look at adding Axis2 support. I see you have raised a ticket for this on the Lucee bug tracker, [LDEV-1251] - Lucee, which I’ve pointed out to the developers and product manager (@IamSigmund), so hopefully, we can address it in an upcoming sprint.
dumps:
getAllPermissionsDump - object of com.xxxxx.xxxx.server.permission.UserPerm
Class Name com.xxxxx.xxxxxx.server.permission.UserPerm
Methods Method Return Type