jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Problem with Xpath extractor and SOAP response
Date Tue, 29 Dec 2009 18:43:55 GMT
The XML you've posted doesnt seem to be valid(i added closing tags and
loaded in FF)

XML Parsing Error: must not undeclare prefix
Line Number 7, Column 1:<ns1:registrarITResponse xmlns:ns1=""
^

If i fix this by providing some dummy namespace your query works fine for
me.

regards
deepak

On Tue, Dec 29, 2009 at 2:25 AM, danigv <danigv86@hotmail.com> wrote:

>
> Do you refer to the xpath query??
>
> it is
>
> //*[local-name()='registrarITResponse']/return/adressa/CODI_LOCALITAT/text()
>
>
> Andrey Pohilko-2 wrote:
> >
> > Hi!
> >
> > Could you give us example of your Xpath extractor settings to test with
> > this
> > response text?
> >
> >
> > С уважением,
> > Андрей Похилько
> > -----Original Message-----
> > From: danigv [mailto:danigv86@hotmail.com]
> > Sent: Tuesday, December 29, 2009 1:03 PM
> > To: jmeter-user@jakarta.apache.org
> > Subject: Problem with Xpath extractor and SOAP response
> >
> >
> > Hi,
> >
> > im trying to extract CODI_LOCALITAT value from this response:
> >
> > <?xml version='1.0' encoding='UTF-8'?>
> > <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > <SOAP-ENV:Body>
> > <ns1:registrarITResponse xmlns:ns1=""
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> > <return
> > xmlns:ns2="http://xxxxxx.presentacio.webservices/IRegistrarItWS.xsd"
> > xsi:type="ns2:xxxxxx_EnregistrarItVO">
> > <adressa xsi:type="ns2:xxxxxx_AdressaVO">
> > <BLOC xsi:type="xsd:string">1</BLOC>
> > <CODI_LOCALITAT xsi:type="xsd:string">08850</CODI_LOCALITAT>
> > ......
> >
> > I tryed a few types of querys byt anyone works.
> > Can anyone help me??
> >
> > Thanks!!!!!
> > --
> > View this message in context:
> >
> http://old.nabble.com/Problem-with-Xpath-extractor-and-SOAP-response-tp26952
> > 843p26952843.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-with-Xpath-extractor-and-SOAP-response-tp26952843p26952993.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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