-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fare_PricePNRWithBookingClass 7.3 SOAP-ERROR #57
Comments
Which version of Fare_PricePNRWithBookingClass do you have in your WSDL? |
Fare_PricePNRWithBookingClass_07_3_1A |
Oh boy, that's an old one. I'll try to see if I can reproduce the issue. |
|
Looking xsd file we can see the message. A property of which this error refers is that it? <xs:element name="overrideInformation">
<xs:complexType>
<xs:sequence>
<xs:element name="attributeDetails" maxOccurs="30">
<xs:complexType>
<xs:sequence>
<xs:element name="attributeType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Format limitations: an..3</xs:documentation>
</xs:annotation>
<xs:minLength value="1" />
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="attributeDescription" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Format limitations: an..100</xs:documentation>
</xs:annotation>
<xs:minLength value="1" />
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element> |
I figured out what's going on. The library is identified xsd with version 13 and not 12. if ($version < 13) {
return new Struct\Fare\PricePNRWithBookingClass12($requestOptions);
} else {
return new Struct\Fare\PricePNRWithBookingClass13($requestOptions);
} Is returning false with "7.3". Maybe use int instead string. |
Well, I've just tried reproducing this issue, and I'm unable to do so. Can you tell me which version of PHP you're running and on what OS? Also, can you maybe privately send me your WSDL so that I can try to reproduce the issue? |
Win Server 2012R2+PHP7.0.7 |
So, I've tried reproducing on a windows platform and PHP 7.0, but I'm not able to do so. I've now pushed a fix where both values are explicitly converted to floats before comparing. Can you please test by switching your |
OK, that's a relief! But I see another problem in your screenshot, the library doesn't recognize the error message, so I have work again :) |
Can you please do another |
… 7.3 message format (Changelog entry) #57
Great, sounds like that's fixed then. Thanks for your help, and sorry it took so long to fix. |
…MC-152-create-jira-release-version-on-build to master * commit '9a842f64f22476eddc59ffa1a093242205e42ed4': FMC-152 - creating jira-release on jenkins build
Hey.
When try to call Fare_PricePNRWithBookingClass i have this result.
The text was updated successfully, but these errors were encountered: