CSC_Financial_S_2
12 years agoNew Contributor
remove empty content setting
I have a test where I have set the "remove empty content" property to "true". However, it appears that it is still sending the main tag. Here is an example. First I have an example of the actual message and then another example to show the raw data getting sent.
My problem is that even though I have the "remove empty content" set to "true", the raw data shows that it is still sending the main tags. How do I prevent this??
This is my test: Notice the <deductionOverrides> tag which then has elements underneath. My data source has empty values for the individual elements underneath <deductionOverrides>.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upd="http://update.service.wmaj.life.fsg.csc.com/">
<soapenv:Header/>
<soapenv:Body>
<upd:process>
<PremiumPaymentRequest>
<carrierCode>${DataSource#Input_carrierCode }</carrierCode>
<polNumber>${DataSource#Input_polNumber }</polNumber>
<transEffDate>${DataSource#Input_transEffDate }</transEffDate>
<transType>508</transType>
<deductionOverrides>
<feeOverrideAmt>${DataSource#Input_feeOverrideAmt }</feeOverrideAmt>
<feeOverridePct>${DataSource#Input_feeOverridePct}</feeOverridePct>
<feeType>${DataSource#Input_feeType }</feeType>
</deductionOverrides>
<financialActivity>
<finActivityGrossAmt>${DataSource#Input_finActivityGrossAmt }</finActivityGrossAmt>
<finActivityType>${DataSource#Input_finActivityType }</finActivityType>
<overrideDur>${DataSource#Input_OverrideDur }</overrideDur>
</financialActivity>
</PremiumPaymentRequest>
</upd:process>
</soapenv:Body>
</soapenv:Envelope>
This is what the "raw" request looks like. Notice that the elements underneath <decudtionOverrides> were not sent because they were blank, but it still sent the <deductionOverrides> and </deductionOverrides> tags.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upd="http://update.service.wmaj.life.fsg.csc.com/">
<soapenv:Header/>
<soapenv:Body>
<upd:process>
<PremiumPaymentRequest>
<carrierCode>VCS</carrierCode>
<polNumber>Pymt00009</polNumber>
<transEffDate>2012-06-15</transEffDate>
<transType>508</transType>
] <deductionOverrides>
</deductionOverrides>
<financialActivity>
<finActivityGrossAmt>1000.00</finActivityGrossAmt>
<finActivityType>1</finActivityType>
</financialActivity>
</PremiumPaymentRequest>
</upd:process>
</soapenv:Body>
</soapenv:Envelope>
Thanks,
CSC - Susan Johnson
sjohns85@csc.com
731-593-1030
My problem is that even though I have the "remove empty content" set to "true", the raw data shows that it is still sending the main tags. How do I prevent this??
This is my test: Notice the <deductionOverrides> tag which then has elements underneath. My data source has empty values for the individual elements underneath <deductionOverrides>.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upd="http://update.service.wmaj.life.fsg.csc.com/">
<soapenv:Header/>
<soapenv:Body>
<upd:process>
<PremiumPaymentRequest>
<carrierCode>${DataSource#Input_carrierCode }</carrierCode>
<polNumber>${DataSource#Input_polNumber }</polNumber>
<transEffDate>${DataSource#Input_transEffDate }</transEffDate>
<transType>508</transType>
<deductionOverrides>
<feeOverrideAmt>${DataSource#Input_feeOverrideAmt }</feeOverrideAmt>
<feeOverridePct>${DataSource#Input_feeOverridePct}</feeOverridePct>
<feeType>${DataSource#Input_feeType }</feeType>
</deductionOverrides>
<financialActivity>
<finActivityGrossAmt>${DataSource#Input_finActivityGrossAmt }</finActivityGrossAmt>
<finActivityType>${DataSource#Input_finActivityType }</finActivityType>
<overrideDur>${DataSource#Input_OverrideDur }</overrideDur>
</financialActivity>
</PremiumPaymentRequest>
</upd:process>
</soapenv:Body>
</soapenv:Envelope>
This is what the "raw" request looks like. Notice that the elements underneath <decudtionOverrides> were not sent because they were blank, but it still sent the <deductionOverrides> and </deductionOverrides> tags.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upd="http://update.service.wmaj.life.fsg.csc.com/">
<soapenv:Header/>
<soapenv:Body>
<upd:process>
<PremiumPaymentRequest>
<carrierCode>VCS</carrierCode>
<polNumber>Pymt00009</polNumber>
<transEffDate>2012-06-15</transEffDate>
<transType>508</transType>
] <deductionOverrides>
</deductionOverrides>
<financialActivity>
<finActivityGrossAmt>1000.00</finActivityGrossAmt>
<finActivityType>1</finActivityType>
</financialActivity>
</PremiumPaymentRequest>
</upd:process>
</soapenv:Body>
</soapenv:Envelope>
Thanks,
CSC - Susan Johnson
sjohns85@csc.com
731-593-1030