06-12-2017 01:00 PM
I am using Call Studio 10.5, and in my sample web service call, the response should be like this
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:getPurchaseTrxDetailResponse xmlns:ns2="http://esb.mls.com">
<Result>true</Result>
<Message>Success</Message>
<MerchantName>ARBRASKA # TREETOP TRE , ARBRASKA & TREETOP TRE , Brench.</MerchantName>
</ns2:getPurchaseTrxDetailResponse>
</soap:Body>
</soap:Envelope>
Now in my IVR diagram, I using web service element to call my sample web service, and using element data named "merchantName" to catch the MerchantName part on the response xml. When I debug the call flow, the response_xml is return as expected.
But when I try to use the element data call "merchantName", it only give me "ARBRASKA # TREETOP TRE , ARBRASKA ", why this happen? I think it should give me "ARBRASKA # TREETOP TRE , ARBRASKA & TREETOP TRE , Brench."
How I gonna fixed this?
Thanks for the help
06-27-2017 04:52 AM
Hi Vincent,
This could be some specific issues with the application,
Did you try removing the "ARBRASKA &" and see if the trailing informations are coming ?
Do you see similar issues whenever use use & ?
-Bikram
06-27-2017 09:27 AM
Hi Bikrama,
If I removing "ARBRASKA &" in my web service response, then everything is good.
However, the full record for that should be "ARBRASKA & TREETOP TRE"
Currently the way I get that record is, use the session data response_xml, then use java class to find out open tag and close tag, take out the information, and assign back to data... It works fine.. but little bit inconvenience
Any other good suggestion?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide