spacetab-io/amadeus-golang-sdk

Contribution guide

lbailly opened this issue · 12 comments

Hi Guys,

Congrats for the job!

I'm thinking about adding B2B Wallet WS support.

Did you provide any guide to help contributing to the project ?
How did you convert WSDL to structs for example ?

Thanks,

Ludovic

Hi, Ludovic!

Thank you for your interest and sorry for the long response.

Now the project is deep development and we have not even imagined that we can interest someone with current progress. In view of this, the contribution guide was not formed. We will try the other day to draft it and introduce it to the community.

As for the generation of structures, there is a lot of manual work. Although initially the library gowsdl was very helpful.

And we will be very pleased with pull request! :)

Hi Sergey,

Thanks for your response.
Happy to find other people interested in using Amadeus WS in golang :-)

I can see that you pushed updates and implemented newer versions of the services as well as soap4 new header that's great.

I'll take a deeper look and would appreciate if you could add a basic example using soap4 + call to a simple service in order to get started.

Not easy to implement soap client in GO, I'm using gowsdl for other API too.

Thanks,

Ludovic

I'll take a deeper look and would appreciate if you could add a basic example using soap4 + call to a simple service in order to get started.

Coming soon!

Examples added.

Thanks, I'll clone the repo and try that soon

Здравствуйте!. Хотелось бы увидеть пример в браузере. Какой адрес надо указать? С теми, что в примере не получается запустить пример.

и еще один вопрос. То что в скобках (organizationId), надо поменять на то, что получено от amadeus?
Пример: в строке DataLength: formats.NumericInteger_Length1To15(passwordLength), вставляем в место "passwordLength" цифру 8. и так во всем коде.

В файле "authenticate" надо ли поменять строки:
sa "github.com/tmconsulting/amadeus-golang-sdk/reqstructs/security_authenticate"
soap2 "github.com/tmconsulting/amadeus-golang-sdk/soap2.0" ????????????

Hi, Pawel. I'm realy sorry, but i can't understand what exactly you want? This repo is SDK. What examples in browser do you need? Just use it to implement your own web app.
Or you can clarify you question.

Two words about brackets.
Don't you saw lisp code? There are too many brackets too