Posted: 19 Nov 2015 2:56 EST Last activity: 20 Nov 2015 5:13 EST
Send XML with huge CDATA block via SOAP
I need to send XML message with one huge CDATA block via SOAP service.When Pega performs processing parameter it has consistently divide one large CDATA block into smaller blocks like this <![CDATA]<![CDATA]...<![CDATA].
from <![CDATA[<test></test>]]> to <![CDATA[<tes]]><![CDATA[t></test>]]
It happens when I send big amount of symbols in CDATA ( about 3400 symbols ), if there are less symbols count then no problem at all, all works fine. The "split point" - point where current CDATA is closing and new one is creating - is about 3400 symbol, at this point I have
it seems to me that pega has a restriction on symbols length in CDATA block and I want to know the way how to solve this problem
1. Unfortunately you need to have Soap Service which accepted at least one text parameter
2. Set text parameter for SOAP service. You may use activity or datatransform whatever way You want. You can just fill this parameter in Section by coping huge XML to it.
3. You need increase a log level for InvokeAxis2 activity to "All". InvokeAxis2- is performing call to SOAP service and it is needed for us to see what realy we are sending. DS-System-Operations-System Management Application - Logging and Tracking
4.Then call your Soap Service and look for following words in SystemOut.log "SOAP Request Envelope". You will see the body of message that you are sending