Error when loading WSDL in Integrator (SOLVED)

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Error when loading WSDL in Integrator (SOLVED)

Post 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
SaveLinkAs.png (147.13 KiB) Viewed 9268 times
I have the documents in my downloads now:
DownloadedFiles.png
DownloadedFiles.png (8.01 KiB) Viewed 9268 times
In Integrator Studio, I create a new solution:
NewProject.png
NewProject.png (16.09 KiB) Viewed 9268 times
Because there is a max of 3 pictures, see next for the rest of this problem....
Last edited by René Houba on Thu Oct 20, 2022 7:52 pm, edited 1 time in total.
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Error when loading WSDL in Integrator

Post by René Houba »

I select the SOAP Agent Wizard:
SOAPAgentWizard.png
SOAPAgentWizard.png (9.36 KiB) Viewed 9267 times
Create solution group: YES
CreateSolutionGroup.png
CreateSolutionGroup.png (7.1 KiB) Viewed 9267 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
CopyDownLoadedFilesIntoTEST.png (13.14 KiB) Viewed 9267 times

Because there is a max of 3 pictures, see next for the rest of this problem....
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Error when loading WSDL in Integrator

Post by René Houba »

In Studio, I select in this window the Browse button:
BrowseWSDL.png
BrowseWSDL.png (20.38 KiB) Viewed 9267 times
And Browse button again:
EnterWSDL.png
EnterWSDL.png (6.33 KiB) Viewed 9267 times
And select the wsdl file and button Open:
OpenWSDL.png
OpenWSDL.png (17.54 KiB) Viewed 9267 times

Because there is a max of 3 pictures, see next for the rest of this problem....
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Error when loading WSDL in Integrator

Post by René Houba »

I select OK:
SelectOK.png
SelectOK.png (10.94 KiB) Viewed 9267 times
Back in this Window I select the OK button:
SelectOKAgain.png
SelectOKAgain.png (25.77 KiB) Viewed 9267 times
Integrator Studio will generate this solution but finally will fail with errors:
CompileErrors.png
CompileErrors.png (83.37 KiB) Viewed 9267 times

Most error messages: "error: cannot find symbol"

Does anyone know what the problem is here?
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Error when loading WSDL in Integrator (SOLVED)

Post by René Houba »

This Java compile error could be solved finally by filling in a name in the "Namespace Map" option:
NamespaceMap.PNG
NamespaceMap.PNG (32.28 KiB) Viewed 9195 times
Post Reply