Using amadeus web service

Discussion in 'Programming' started by dashang, Jan 13, 2015.

  1. dashang

    dashang Member

    Joined:
    May 11, 2007
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Hello, i have subscribed to amadeus web service. Its used for flight, hotel booking etc . I have to build ASP.net mvc app and connecting with web service . but the documentation of amadeus is bad and generalized and also i didnt found much on google.
    Is anyone is aware of using amadeus web service and connecting with them , it would be great if information is shared
     
  2. Desmond David

    Desmond David Destroy Erase Improve

    Joined:
    Apr 9, 2005
    Messages:
    5,744
    Likes Received:
    79
    Trophy Points:
    48
    Location:
    Pune
    What framework are you using? I am not familiar with .net stuff since I mostly work in Java so I cannot help you there. But share the link to the documentation for amadeus and I can check and see what I can find out.

    - - - Updated - - -

    UPdate: Looks like amadeus uses SOAP. That means, you need to get its endpoint and read its WSDL (Web Services Definition Language) file to get an idea of all the remote methods that this API provides and how to invoke them.

    Edit: God! I hate SOAP.
     
  3. OP
    OP
    dashang

    dashang Member

    Joined:
    May 11, 2007
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    yeah but what we are using is WCF on our site .and thinking that backend will automatically convert to xml
     
  4. Desmond David

    Desmond David Destroy Erase Improve

    Joined:
    Apr 9, 2005
    Messages:
    5,744
    Likes Received:
    79
    Trophy Points:
    48
    Location:
    Pune
    It will, but you have to still call remote methods via SOAP calls. I am not very familiar with SOAP since I am more of a REST guy, but I will tell what I know. But parsing the WSDL will give you info regarding methods that the API makes available, its arguments, validation info and error handling info. SOAP calls are made in the form of messages.
     
  5. bikramjitkar

    bikramjitkar New Member

    Joined:
    Feb 23, 2005
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    0
    Are you having difficulty connecting to the Web Service or do you need help with the API ? Can't help with the API as I have never used this service, but if it's a connection issue, post the error message here and I'll try to help.
     
  6. Desmond David

    Desmond David Destroy Erase Improve

    Joined:
    Apr 9, 2005
    Messages:
    5,744
    Likes Received:
    79
    Trophy Points:
    48
    Location:
    Pune
    I don't think its a connection issue. OP is asking how to connect to the service from his webapp.

    Like I said, before you can connect to the web service, you should know what methods are available on the API.

    Secondly, you need to use some library that enables you to connect to SOAP services. I am not familiar with .net, so I don't know which library supports that, but you could look this up on the web.

    Essentially what needs to be done is that you need to write your SOAP call as an object, then using the SOAP library for .net serialize this object as XML and dispatch it to the server. Then read the server response via the SOAP library.

    Since I am not familiar with .net, I cannot give you detailed steps, sorry. But if you can share the link for documentation, I could give you further pointers.
     
  7. bikramjitkar

    bikramjitkar New Member

    Joined:
    Feb 23, 2005
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    0
    Well, I googled and found a link. @OP have you tried this: APIV2 Developer's Corner

    Need to be a registered user to view the api documentation so we can't help him any further I'm afraid.
     
  8. Desmond David

    Desmond David Destroy Erase Improve

    Joined:
    Apr 9, 2005
    Messages:
    5,744
    Likes Received:
    79
    Trophy Points:
    48
    Location:
    Pune
    Hi, is your problem solved?
     
  9. OP
    OP
    dashang

    dashang Member

    Joined:
    May 11, 2007
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    yes, it got solved
     
  10. jis

    jis New Member

    Joined:
    Feb 7, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    How to integrate amadeus in asp.net after adding service reference?
     

Share This Page