Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Brandon BrownBrandon BrownPriority
MajorLabels
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
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Brandon Brown
Brandon BrownPriority
Labels
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
Affects versions
Created 2 May 2018 at 16:44
Updated 21 May 2024 at 19:59
Resolved 21 May 2024 at 19:59
We are having the same issue as the ticket LDEV-1642, except ours is with the Fedex Rate WSDL. It seems however that we are having another issue of the wsdl not generating the stubs correctly. When specifying one of the nested elements we get the error "No matching Method for setWebauthenticationdetail(java.util.HashMap) found for l1uslcvi2iiq.RateRequest"
Here is the code we are using:
ShipRequest = StructNew(); ShipRequest.ClientDetail = StructNew(); ShipRequest.WebAuthenticationDetail = StructNew(); //ShipRequest.WebAuthenticationDetail.UserCredential.Key = "testing"; //ShipRequest.WebAuthenticationDetail.UserCredential.Password = "password"; TransactionDetail = StructNew(); TransactionDetail.CustomerTransactionId ="java sample"; ShipRequest.TransactionDetail = TransactionDetail; ShipRequest.Version = StructNew(); ShipRequest.Version.ServiceId = 'crs'; ShipRequest.Version.Major = '22'; ShipRequest.Version.Intermediate = '0'; ShipRequest.Version.Minor = '0'; var blah = createObject('webservice', 'https://gist.githubusercontent.com/Yamaha32088/2d9f3dba6e59be5971408b955a941d9c/raw/7baf5dbfb6a8d7e131c628e4729f2c4f795843ac/fedex.wsdl') dump(blah.getRates(ShipRequest));
If you run the code above as-is then you get the nested exception error. If you uncomment the two commented out lines you get the error saying the setWebAuthenticaionDetail does not exist.
Looks like this may also be related to this issue https://luceeserver.atlassian.net/browse/LDEV-1501 I made a comment referencing this issue