Skip to content

Commit

Permalink
xsdata soap field names substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Jun 5, 2023
1 parent bd950b3 commit a5cdc76
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .xsdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageName case="snakeCase" safePrefix="pkg"/>
</Conventions>
<Substitutions>
<!-- defaults : -->
<!-- defaults: -->
<Substitution type="package" search="http://www.w3.org/2001/XMLSchema" replace="xs"/>
<Substitution type="package" search="http://www.w3.org/XML/1998/namespace" replace="xml"/>
<Substitution type="package" search="http://www.w3.org/2001/XMLSchema-instance" replace="xsi"/>
Expand All @@ -27,8 +27,13 @@
<Substitution type="package" search="http://schemas.xmlsoap.org/wsdl/soap/" replace="soap"/>
<Substitution type="package" search="http://schemas.xmlsoap.org/wsdl/soap12/" replace="soap12"/>
<Substitution type="package" search="http://schemas.xmlsoap.org/soap/envelope/" replace="soapenv"/>

<!-- xmldsig : -->

<!-- soap: -->
<Substitution type="field" search="Header" replace="header"/>
<Substitution type="field" search="Body" replace="body"/>
<Substitution type="field" search="Fault" replace="fault"/>

<!-- xmldsig: -->
<Substitution type="field" search="^@any_element$" replace="any_element"/>
<Substitution type="field" search="^@other_element$" replace="other_element"/>
<Substitution type="field" search="^@any_attributes$" replace="any_attributes"/>
Expand Down

0 comments on commit a5cdc76

Please sign in to comment.