I am using Postman to test send data to different websites e.g

I have 2 websites each has its own domain e.g onoe website one store and one store view per domain.


1- http://test.com have:

default website -> default store -> default store view

2- http://test.co.uk

website two -> store two -> store view two 

this my setup to send data to website two

POST = http://test.com/soap/store_view_two_code?services=catalogProductRepositoryV1

XML request=

  <?xml version="1.0" encoding="UTF-8"?>
 <soap:Envelope xmlns:def="http://test.com/soap/store_view_two_code? 

XML response=

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
                <env:Text>Procedure not present</env:Text>

Now that tell me that def:catalogProductRepositoryV1SaveRequest isn't defined in the store_view_two_code

But if I change the the url for the request in xmlns like this:

<soap:Envelope xmlns:def="http://test.co.uk/soap/store_view_two_code? 

Note: I've just just replaced the test.com to test.co.uk and that gives success response. Can someone tell me if this is normal behaviour why do I need to specify the the domain for the second url in the request to get success While the POST URL never needs changing?

Here is some ref: https://github.com/magento/magento2/issues/14626

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.