Skip to content

Commit

Permalink
Updated README (#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Sep 26, 2022
1 parent 8e9988b commit a5286c9
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,27 @@ For full list of changes, you can [compare tags](https://github.com/OpenMage/mag
### Changes to SOAP/WSDL

Since `19.4.17`/`20.0.15` we changed the `targetNamespace` of all the WSDL files (used in the API modules), from `Magento` to `OpenMage`.
If your custom modules extends OpenMage's APIs with a custom WSDL file and there are some hardcoded `targetNamespace="urn:Magento"` string, your APIs may stop working.
Please replace all occurrences of `targetNamespace="urn:Magento"` with `targetNamespace="urn:OpenMage"` (or alternatively `targetNamespace="urn:{{var wsdl.name}}"`) to avoid any problem.
To find which files need the modification you can run `grep -rn 'urn:Magento' --include \*.xml` from the root directory of your project.
If your custom modules extends OpenMage's APIs with a custom WSDL file and there are some hardcoded `targetNamespace="urn:Magento"` strings, your APIs may stop working.

Please replace all occurrences of

```
targetNamespace="urn:Magento"
```
with
```
targetNamespace="urn:OpenMage"
```
or alternatively
```
targetNamespace="urn:{{var wsdl.name}}"
```
to avoid any problem.

To find which files need the modification you can run this command from the root directory of your project.
```
grep -rn 'urn:Magento' --include \*.xml
```

## Development Environment with ddev

Expand Down

0 comments on commit a5286c9

Please sign in to comment.