robk
March 9, 2021, 1:49pm
1
I have an Issue trying to run my SOAP Webservice on Lucee.
Lucee 5.3.7.47 Error (org.apache.axis.AxisFault)
Message (301)Moved Permanently
I used to use Axis2 on ColdFusion Server and found at docs.lucee.org that there is possibility to set in application wstype to “CXF” but after trying it, it says the only allowed value is “axis1”.
OS : Ubuntu 18.04.5
Java Version : 1.8.0_282
Lucee Version : 5.3.7.47
robk
March 11, 2021, 6:23am
2
Do someone know if there is another possibility to use Axis2?
not via Lucee
only Axis1 is supported
try {
return Axis1Server.getInstance(this, pc);
}
catch (AxisFault af) {
throw caster.toPageException(af);
}
}
@Override
public WSClient getWSClient(String wsdlUrl, String username, String password, ProxyData proxyData) throws PageException {
/*
* pc=ThreadLocalPageContext.get(pc); if(pc!=null) { Log l = pc.getConfig().getLog("application");
* ApplicationContext ac = pc.getApplicationContext(); if(ac!=null) {
* if(ApplicationContext.WS_TYPE_JAX_WS==ac.getWSType()) { l.info("RPC","using JAX WS Client");
* return new JaxWSClient(wsdlUrl, username, password, proxyData); }
* if(ApplicationContext.WS_TYPE_CXF==ac.getWSType()) { l.info("RPC","using CXF Client"); return new
* CXFClient(wsdlUrl, username, password, proxyData); } } l.info("RPC","using Axis 1 RPC Client"); }
*/
return new org.lucee.extension.axis.client.Axis1Client(this, wsdlUrl, username, password, proxyData);
}
}
I’ve updates the docs remove webservice CXF option by zspitzer · Pull Request #1074 · lucee/lucee-docs · GitHub and have filed a bug [LDEV-3351] - Lucee
robk
March 16, 2021, 8:14am
5
So there is currently in Lucee no posibility to create and call a component as SOAP webservice without manipulating/creating jar-files?