Consuming complex webservices

Hi there,

Has anyone had any luck consuming complex webservices via lucee? Ive seen
numerous posts regarding this, but none of them seem to have a clear
answer, or suggest using a proxy. The underlying issue is that the
getClass() method doesn’t work in lucee (as Axis1 object whereas ACF
returns a com object), so we are unable to get complex objects from the
webservice.

I’ve tried using https://github.com/cfmlprojects/cfjarsoap; but am having
issues straight out of the gate loading the dependencies.

Basically what we are trying to do is:

testservice = CreateObject(“webservice”,
https://test.edentiti.com/Registrations-Registrations/VerificationServicesPassword?wsdl
);
var nameObject = testservice.getClass().getClassLoader().loadClass(
‘com.edentiti.registrations.services.Name’).newInstance();

Thanks
Tanya

Have you tried adding an Axis 2 bundle, then calling that instead of the
built in axis 1.4 based soap functions?
If you decide to try that, I’d be interested in how it turned out.On Wednesday, August 17, 2016 at 3:36:37 AM UTC-4, Tanya McGivern wrote:

Hi there,

Has anyone had any luck consuming complex webservices via lucee? Ive seen
numerous posts regarding this, but none of them seem to have a clear
answer, or suggest using a proxy. The underlying issue is that the
getClass() method doesn’t work in lucee (as Axis1 object whereas ACF
returns a com object), so we are unable to get complex objects from the
webservice.

I’ve tried using https://github.com/cfmlprojects/cfjarsoap; but am having
issues straight out of the gate loading the dependencies.

Basically what we are trying to do is:

testservice = CreateObject(“webservice”, "
https://test.edentiti.com/Registrations-Registrations/VerificationServicesPassword?wsdl
");
var nameObject = testservice.getClass().getClassLoader().loadClass(’
com.edentiti.registrations.services.Name’).newInstance();

Thanks
Tanya