Issues
- Lucee 6.2 and SOAP webservices throwing an errorLDEV-5475Resolved issue: LDEV-5475Pothys - MitrahSoft
- Set toScript to keep case sensitivity of structuresLDEV-5452
- Databased sessions failing to updateLDEV-5433Zac Spitzer
- regression: ClassCastException with ortus hibernate extension on dockerLDEV-5399Resolved issue: LDEV-5399Zac Spitzer
- Websocket Extension not loading with Lucee 6.2LDEV-5385Michael Offner
- GetHTTPTimeString is wrongly using hyphens in its datetime maskLDEV-5382Resolved issue: LDEV-5382Michael Offner
- regression docker: background controller thread not runningLDEV-5371Resolved issue: LDEV-5371Zac Spitzer
- 6.2.0.321 stable regressionsLDEV-5358Michael Offner
Lucee 6.2 and SOAP webservices throwing an error
Description
Environment
Windows 11
JDK 21 LTS
Lucee 6.2.0.321, 6.2.1.107-SNAPSHOT
Axis extension 1.4.0.37
SoapUI 5.8.0
Attachments
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Alojz KrajncAlojz KrajncPriority
BlockerFix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Reporter
Priority
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Activity
Pothys - MitrahSoft2 days ago
I have tested this ticket with Lucee version 6.2.1.113-SNAPSHOT and Axis version 1.4.0.38. When I tried to make a request in SoapUI, it works fine now and no error message occurs.
Zac Spitzer2 days ago
@Alojz Krajnc Do you mean when does 6.2.1 get released?
The final 6.2.1 RC is up with installers https://download.lucee.org/ including this fix, 6.2.1 will be released within a week or so
Alojz Krajnc2 days ago
@Zac Spitzer Yes, that was meant.
Alojz Krajnc2 days ago
@Michael Offner @Zac Spitzer
I confirm that webservices are now functioning properly , thank you for your quick response.
I have one question: in which version and when do you plan to release the production-ready Windows installer on http://lucee.org?
After I upgraded to Lucee 6.2.0.321 from version 5.4 calling a simple webservice like:
component { remote string function hello() { return "My response"; } }
in SoapUI
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="http://DefaultNamespace"> <soapenv:Header/> <soapenv:Body> <def:hello soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </soapenv:Body> </soapenv:Envelope>
I found an error - lucee.runtime.exp.NativeException: lucee.runtime.op.Caster.cfTypeToClass(java.lang.String):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>lucee.runtime.exp.NativeException: ; nested exception is: lucee.runtime.exp.NativeException: lucee.runtime.op.Caster.cfTypeToClass(java.lang.String)</faultstring> <detail> <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">MY-PC</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
This worked OK in Lucee 5.4.
Generated WSDL also seemes OK.
<wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:9006/simple.cfc" xmlns:intf="http://localhost:9006/simple.cfc" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://localhost:9006/simple.cfc"> <script/> <!-- WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT) --> <wsdl:message name="helloRequest"> </wsdl:message> <wsdl:message name="helloResponse"> <wsdl:part name="helloReturn" type="xsd:string"/> </wsdl:message> <wsdl:portType name="simple_wrap"> <wsdl:operation name="hello"> <wsdl:input message="impl:helloRequest" name="helloRequest"/> <wsdl:output message="impl:helloResponse" name="helloResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="simple.cfcSoapBinding" type="impl:simple_wrap"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="hello"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="helloRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded"/> </wsdl:input> <wsdl:output name="helloResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:9006/simple.cfc" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="simple_wrapService"> <wsdl:port binding="impl:simple.cfcSoapBinding" name="simple.cfc"> <wsdlsoap:address location="http://localhost:9006/simple.cfc"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
Is maybe a problem in method cfTypeToClass in Caster.java file?
https://github.com/lucee/Lucee/blob/6.2.0.321/core/src/main/java/lucee/runtime/op/Caster.java