CXin
15 years agoFrequent Contributor
endpoint doesn't work
Hi Support team,
In my project(only http requests, not soap), I set the endpoint as ${#Project#server}/c-ClassiApiCommand
and the "server" is set in the project properties.
but each time when I run the whole suite, it will fail.
when I run the single case, it works fine.
The error I get is:
XmlException: error: Unexpected character encountered(lex state 3): 'G'
my response xml is:
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP:Envelope xmlns:SOAP="http://www.w3.org/2003/05/soap-envelope" >
<SOAP:Body>
<m:ad xmlns:m="http://www.kijiji.com/soap">
<ad_id>1548949</ad_id><guid>12d79703-86fa-c10d-c353-4547ffffff06</guid><public_url>http://montreal.kijiji.ca.f003.intern.qa-kijiji.com/c-acheter-et-vendre-livres-API-post-private-ad-W0QQAdIdZ1548949QQlangZDefault</public_url><private_url>http://montreal.kijiji.ca.f003.intern.qa-kijiji.com/c-ViewAd?AdId=1548949&Guid=12d79703-86fa-c10d-c353-4547ffffff06&lang=Default</private_url></m:ad>
</SOAP:Body>
</SOAP:Envelope>
in my soap ui,the above is in red. I don't know the meaning of it.
In my project(only http requests, not soap), I set the endpoint as ${#Project#server}/c-ClassiApiCommand
and the "server" is set in the project properties.
but each time when I run the whole suite, it will fail.
when I run the single case, it works fine.
The error I get is:
XmlException: error: Unexpected character encountered(lex state 3): 'G'
my response xml is:
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP:Envelope xmlns:SOAP="http://www.w3.org/2003/05/soap-envelope" >
<SOAP:Body>
<m:ad xmlns:m="http://www.kijiji.com/soap">
<ad_id>1548949</ad_id><guid>12d79703-86fa-c10d-c353-4547ffffff06</guid><public_url>http://montreal.kijiji.ca.f003.intern.qa-kijiji.com/c-acheter-et-vendre-livres-API-post-private-ad-W0QQAdIdZ1548949QQlangZDefault</public_url><private_url>http://montreal.kijiji.ca.f003.intern.qa-kijiji.com/c-ViewAd?AdId=1548949&Guid=12d79703-86fa-c10d-c353-4547ffffff06&lang=Default</private_url></m:ad>
</SOAP:Body>
</SOAP:Envelope>
in my soap ui,the above is in red. I don't know the meaning of it.