jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adhir Mehta <ameh...@csc.com>
Subject Special character problem in SOAP Response
Date Tue, 14 Aug 2007 07:36:55 GMT
Hi,

I am using JMeter version 2.2 with JDk 1.5.

I am sending SOAP request to my service and service return response having 
some Special Character. In my response some of the special character are 
recognized properly and some of special character are garbage with some 
value. Following is the Response envelope

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
"><soapenv:Body><AngivelseTypeHent_O xmlns="
http://skat.dk/begrebsmodel/2006/09/07/"><Kontekst 
xsi:type="ns1:KontekstType" xmlns:ns1="
http://skat.dk/begrebsmodel/2006/09/07/
"/><AngivelseTypeListe><AngivelseTypeUddata><AngivelseTypeNavn 
xsi:type="ns2:AngivelseTypeNavnType" xmlns:ns2="
http://skat.dk/begrebsmodel/2006/09/07/">Moms</AngivelseTypeNavn><
AngivelseTypeBegrænsetTilmelding xsi:type="ns3
:Begr&#xE6;nsetTilmeldingType" xmlns:ns3="
http://skat.dk/begrebsmodel/2006/09/07/
">TilgængeligForAlle</AngivelseTypeBegrænsetTilmelding><AngivelseTypeBetalingMulighed

xsi:type="xsd:string">T</AngivelseTypeBetalingMulighed><
AngivelseTypeKrævetTilmelding xsi:type="ns4:Kr&#xE6;vetTilmeldingType" 
xmlns:ns4="http://skat.dk/begrebsmodel/2006/09/07/
">TilgængeligForAlle</AngivelseTypeKrævetTilmelding><AngivelseTypeRevisorMulighed

xsi:type="ns5:RevisorMulighedType" xmlns:ns5="
http://skat.dk/begrebsmodel/2006/09/07/
">EnRevisor</AngivelseTypeRevisorMulighed><BetalingsFormerListeUddata><BetalingsFormerUddata><BetalingFormerBetalingForm

xsi:type="xsd:string">PBS</BetalingFormerBetalingForm></BetalingsFormerUddata></BetalingsFormerListeUddata></AngivelseTypeUddata><AngivelseTypeUddata><AngivelseTypeNavn

xsi:type="ns6:AngivelseTypeNavnType" xmlns:ns6="
http://skat.dk/begrebsmodel/2006/09/07/
">DonationerGaver</AngivelseTypeNavn><AngivelseTypeBegrænsetTilmelding 
xsi:type="ns7:Begr&#xE6;nsetTilmeldingType" xmlns:ns7="
http://skat.dk/begrebsmodel/2006/09/07/
">TilgængeligForAlle</AngivelseTypeBegrænsetTilmelding><AngivelseTypeBetalingMulighed

xsi:type="xsd:string">T</AngivelseTypeBetalingMulighed><AngivelseTypeKrævetTilmelding

xsi:type="ns8:Kr&#xE6;vetTilmeldingType" xmlns:ns8="
http://skat.dk/begrebsmodel/2006/09/07/
">TilgængeligForAlle</AngivelseTypeKrævetTilmelding><AngivelseTypeRevisorMulighed

xsi:type="ns9:RevisorMulighedType" xmlns:ns9="
http://skat.dk/begrebsmodel/2006/09/07/
">EnRevisor</AngivelseTypeRevisorMulighed><BetalingsFormerListeUddata><BetalingsFormerUddata><BetalingFormerBetalingForm

xsi:type="xsd:string">PBS</BetalingFormerBetalingForm></BetalingsFormerUddata></BetalingsFormerListeUddata></AngivelseTypeUddata></AngivelseTypeListe></AngivelseTypeHent_O></soapenv:Body></soapenv:Envelope>


If you see the above  response in bold latter. The response part 
xsi:type="ns3:Begr&#xE6;nsetTilmeldingType"  is getting corrupted. I am 
wondering with JMeter why some special character is not getting properly 
encoded. I am able to see the proper SOAP envelope without JMeter.

Thanks,
Adhir Mehta


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message