Skip to content

Commit

Permalink
Added soap velocity variables for soapNamespace and mediaType
Browse files Browse the repository at this point in the history
  • Loading branch information
Oshanath authored and piyumaldk committed Jul 22, 2024
1 parent f8c95d2 commit 68bd1db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $mapping.get('properties')
#end
<payloadFactory description="transform" media-type="xml">
<format>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:web="${namespace}">
<soapenv:Envelope xmlns:soapenv="${soapNamespace}" xmlns:web="${namespace}">
<soapenv:Header/>
<soapenv:Body>
$mapping.get('sequence')
Expand All @@ -37,7 +37,7 @@ $mapping.get('properties')
$mapping.get('args')
</args>
</payloadFactory>
<property description="messageProperty" name="messageType" scope="axis2" type="STRING" value="application/soap+xml"/>
<property description="messageProperty" name="messageType" scope="axis2" type="STRING" value="${mediaType}"/>
</then>
<else>
<payloadFactory media-type="json" description="transform">
Expand Down

0 comments on commit 68bd1db

Please sign in to comment.