-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: Framework/WebapiUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedbug report
Description
I add magento 2.1.0 SOAP api service reference to C# project. I use
POST https://www.xxx.com/soap/default?services=salesOrderRepositoryV1 trying to get orded by id. If orders exists respons is SOAP 12 but if there is no order response is SOAP11
Preconditions
- Magento 2.1.0.
- C#, WebService reference generated by Visual Studio
Steps to reproduce
- request:
POST https://www.mymagento.com/soap/default?services=salesOrderRepositoryV1
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><salesOrderRepositoryV1GetRequest xmlns="https://www.mymagento.com/soap/default?services=salesOrderRepositoryV1"><id xmlns="">432</id></salesOrderRepositoryV1GetRequest></s:Body></s:Envelope>
Expected result
- this is an example of response where magento order exists. Response is SOAP 12. Response body starts from
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://www.mymagento.com/soap/default?services=salesOrderRepositoryV1"><
Actual result
- Response is SOAP 11. Response body
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" >
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Sender</env:Value>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">Requested entity doesn't exist</env:Text>
</env:Reason>
</env:Fault>
</env:Body>
</env:Envelope>
UPDATE:
Another strange thing - is that really this order exists. I received this order 432
from GetList API function
Metadata
Metadata
Assignees
Labels
Component: Framework/WebapiUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedbug report