Page 1 of 1
Error when loading WSDL in Integrator (SOLVED)
Posted: Fri Oct 14, 2022 5:40 am
by René Houba
For a customer I need to build a SOAP solution using LANSA Integrator. The problem I describe here can be simply reproduced.
I need to download the latest CybersourceTransaction documents:
https://ics2wsa.ic3.com/commerce/1.x/tr ... Processor/
I need to download the 1.201-XML WSDL and XSD. So I used the right mouse button on both hyperlinks and selected Save link as:

- SaveLinkAs.png (147.13 KiB) Viewed 9274 times
I have the documents in my downloads now:

- DownloadedFiles.png (8.01 KiB) Viewed 9274 times
In Integrator Studio, I create a new solution:

- NewProject.png (16.09 KiB) Viewed 9274 times
Because there is a max of 3 pictures, see next for the rest of this problem....
Re: Error when loading WSDL in Integrator
Posted: Fri Oct 14, 2022 5:44 am
by René Houba
I select the SOAP Agent Wizard:

- SOAPAgentWizard.png (9.36 KiB) Viewed 9273 times
Create solution group: YES

- CreateSolutionGroup.png (7.1 KiB) Viewed 9273 times
I now first copied the two downloaded file into this TEST subdirectory:
C:\Program Files (x86)\LANSA\Integrator\Studio\workspace\Rene\solutions\TEST

- CopyDownLoadedFilesIntoTEST.png (13.14 KiB) Viewed 9273 times
Because there is a max of 3 pictures, see next for the rest of this problem....
Re: Error when loading WSDL in Integrator
Posted: Fri Oct 14, 2022 5:48 am
by René Houba
In Studio, I select in this window the Browse button:

- BrowseWSDL.png (20.38 KiB) Viewed 9273 times
And Browse button again:

- EnterWSDL.png (6.33 KiB) Viewed 9273 times
And select the wsdl file and button Open:

- OpenWSDL.png (17.54 KiB) Viewed 9273 times
Because there is a max of 3 pictures, see next for the rest of this problem....
Re: Error when loading WSDL in Integrator
Posted: Fri Oct 14, 2022 5:51 am
by René Houba
I select OK:

- SelectOK.png (10.94 KiB) Viewed 9273 times
Back in this Window I select the OK button:

- SelectOKAgain.png (25.77 KiB) Viewed 9273 times
Integrator Studio will generate this solution but finally will fail with errors:

- CompileErrors.png (83.37 KiB) Viewed 9273 times
Most error messages: "error: cannot find symbol"
Does anyone know what the problem is here?
Error when loading WSDL in Integrator (SOLVED)
Posted: Thu Oct 20, 2022 7:50 pm
by René Houba
This Java compile error could be solved finally by filling in a name in the "Namespace Map" option:

- NamespaceMap.PNG (32.28 KiB) Viewed 9201 times