Coder Social home page Coder Social logo

Comments (11)

DerMika avatar DerMika commented on July 24, 2024

Hi, '17 | Session | no agreement on destination.' usually occurs because the message you are trying to call is not activated on your WSDL.

Are you sure you have the PNR_Cancel message activated on the WSAP your received? You can check to see if this message is in the WSDL file you received from Amadeus.

from php-amadeus.

henriqu3 avatar henriqu3 commented on July 24, 2024

Omg, i dont believe someone has helped me.
So, i call the xsd pnr_cancel in wsdl, but the file wspa i dont know..

Enviado do meu iPhone

Em 29 de jan de 2016, às 17:30, Dieter D [email protected] escreveu:

Hi, '17 | Session | no agreement on destination.' usually occurs because the message you are trying to call is not activated on your WSDL.

Are you sure you have the PNR_Cancel message activated on the WSAP your received? You can check to see if this message is in the WSDL file you received from Amadeus.


Reply to this email directly or view it on GitHub.

from php-amadeus.

DerMika avatar DerMika commented on July 24, 2024

There can be other reasons for this error, I think you'd better contact your Amadeus support and have them investigate what you're doing wrong. If you have applied with Amadeus for a project, you should have been assigned contact person to support you during development. You should be able to ask this question to your support contact.

WSAP = Web Service Access Point -> your personal access to the Amadeus Web Services for the application you are developing. In your case, that would be 1ASIWIOPIEM.

If you do not have the PNR_Cancel message activated in your WSDL, you can ask Amadeus to activate it and then you'll receive a new WSDL with this message - on your WSAP.

from php-amadeus.

henriqu3 avatar henriqu3 commented on July 24, 2024

I got it, but imyou thit that the way i calling the pnr_cancel ia wrong?
Is very difficult talk with them..
When i get home i'll check this on wsdl, but can't i call pnr_cancel on wsdl?
Other question, may be, my permissions on account can do this happens?

Enviado do meu iPhone

Em 29 de jan de 2016, às 18:40, Dieter D [email protected] escreveu:

There can be other reasons for this error, I think you'd better contact your Amadeus support and have them investigate what you're doing wrong. If you have applied with Amadeus for a project, you should have been assigned contact person to support you during development. You should be able to ask this question to your support contact.

WSAP = Web Service Access Point -> your personal access to the Amadeus Web Services for the application you are developing.

If you do not have the PNR_Cancel message activated in your WSDL, you can ask Amadeus to activate it and then you'll receive a new WSDL with this message - on your WSAP.


Reply to this email directly or view it on GitHub.

from php-amadeus.

DerMika avatar DerMika commented on July 24, 2024

If you get "no agreement on destination", the problem is probably in the WSDL setup and not (yet) in the content of the message you are sending.

When you request access to the Amadeus Web Services, you have to tell Amadeus which messages you want to call.

You will then receive a WSDL file with all the messages you requested in them. If you need any more additional messages later on, you will have to request a new WSDL from Amadeus with the new messages included. If you try to call any messages from the Amadeus Web Services that you did not request access to, you'll get the error "no agreement on destination".

According to my documentation, this is the call you should send out if you want to cancel the entire itinerary on a PNR in context:

<PNR_Cancel>
    <pnrActions>
        <optionCode>0</optionCode>
    </pnrActions>
    <cancelElements>
        <entryType>I</entryType>
    </cancelElements>
</PNR_Cancel>

Of course you choose the optionCode yourself depending on what you want to do with the PNR in context.

from php-amadeus.

henriqu3 avatar henriqu3 commented on July 24, 2024

Other thing, this function is called after or inside pnr_ retrieve?

Enviado do meu iPhone

Em 29 de jan de 2016, às 18:53, Dieter D [email protected] escreveu:

If you get "no agreement on destination", the problem is probably in the WSDL setup and not (yet) in the content of the message you are sending.

When you request access to the Amadeus Web Services, you have to tell Amadeus which messages you want to call.

You will then receive a WSDL file with all the messages you requested in them. If you need any more additional messages later on, you will have to request a new WSDL from Amadeus with the new messages included. If you try to call any messages from the Amadeus Web Services that you did not request access to, you'll get the error "no agreement on destination".

According to my documentation, this is the call you should send out if you want to cancel the entire itinerary on a PNR in context:

<PNR_Cancel>

0


I

</PNR_Cancel>

Reply to this email directly or view it on GitHub.

from php-amadeus.

DerMika avatar DerMika commented on July 24, 2024

First you call PNR_Retrieve (and you use an optionCode which keeps the PNR open like 0 for example) and then you call PNR_Cancel.

from php-amadeus.

henriqu3 avatar henriqu3 commented on July 24, 2024

Alright, i think it will helps me a lot.
Man, thanks a lot.
Another question can i send email to you?
Because the amadeus support is poor, when you are from brazil.
Sorry for my poor english.
See ya!

Enviado do meu iPhone

Em 29 de jan de 2016, às 19:11, Dieter D [email protected] escreveu:

First you call PNR_Retrieve (and you use an optionCode which keeps the PNR open like 0 for example) and then you call PNR_Cancel.


Reply to this email directly or view it on GitHub.

from php-amadeus.

DerMika avatar DerMika commented on July 24, 2024

Well, sure you can, but I can't promise anything!

from php-amadeus.

henriqu3 avatar henriqu3 commented on July 24, 2024

For sure, i undertand you.
But, every help is a help!!!

Enviado do meu iPhone

Em 29 de jan de 2016, às 20:03, Dieter D [email protected] escreveu:

Well, sure you can, but I can't promise anything!


Reply to this email directly or view it on GitHub.

from php-amadeus.

DerMika avatar DerMika commented on July 24, 2024

Hey @henriqu3 in the mean time, I've built my own Amadeus Web Service client which supports many more messages than this one does. Maybe it can be useful to you too. See https://github.com/amabnl/amadeus-ws-client

from php-amadeus.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.