1

I have planned to consume Bargain Max Finder Sabre SOAP API. In Response it shows me two errors.

1.cvc-complex-type.4: Attribute 'ID' must appear on element 'RequestorID , Code:INVALIDREQ

  1. Error Code: ttfhlp684 , Type: Server, Value:TOMCA

Instead of Attribute 'ID' i have ID_Context. How to fix these two problems?

Khaan
  • 759
  • 7
  • 23
  • Can you post the serialized XML request that gets sent to Sabre? – fcarreno Jan 21 '16 at 19:33
  • Please see the link for the serialized XML URL: http://stackoverflow.com/questions/34939866/cannot-find-an-attribute-id-for-an-element-requestorid-for-added-soap-wsdl-gen – Khaan Jan 22 '16 at 05:51
  • The ID is a required attribute. If you are using a client utility to generate proxy classes, I guess it can be a problem with that, not interpreting the types structure correctly . Within the schema file associated to the request: http://files.developer.sabre.com/wsdl/sabreXML1.0.00/shopping/BargainFinderMaxRQ_v1-9-2.xsd - I can see the ID is declared under an attribute group named 'ID_Group', and if you follow the path starting from the types under - you'll get to it. Within the with your XML, Pj suggested a fix for .NET, if that helps – fcarreno Jan 22 '16 at 13:30
  • Also, make sure the value for PseudoCityCode attribute under POS/Source path actually matches your IPCC (don't use 'IPCC' as the value) – fcarreno Jan 22 '16 at 13:33

0 Answers0