Forum Discussion
skillsoft
16 years agoFrequent Contributor
Hi Ole,
We are actually having another issue with this method. It seem that when I restart SoapUI, I get the following error for all the xpath assertions for these "reporting" methods:
-> [SOAP Response] error: Unexpected element: XML_DOC_OR_TEXT_DECL
-> [SOAP Response] Unexpected element: XML_DOC_OR_TEXT_DECL
-> [XPath Match] XPathContains assertion failed for path [declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
//soapenv:Envelope[1]] : NullPointerException:null
I can rerun the request and that error goes away, but still get the other error I mentioned, but I must do it for each test request. Updating the definition seem to help, but not reliably. Here is the contents when that error occurs:
Fri Oct 09 13:37:19 EDT 2009:INFO:
When I run just the request the contents are this:
Fri Oct 09 13:41:03 EDT 2009:INFO:
So it seems to be kind of flaky. Any ideas why this would be happening?
Thanks,
Mary
We are actually having another issue with this method. It seem that when I restart SoapUI, I get the following error for all the xpath assertions for these "reporting" methods:
-> [SOAP Response] error: Unexpected element: XML_DOC_OR_TEXT_DECL
-> [SOAP Response] Unexpected element: XML_DOC_OR_TEXT_DECL
-> [XPath Match] XPathContains assertion failed for path [declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
//soapenv:Envelope[1]] : NullPointerException:null
I can rerun the request and that error goes away, but still get the other error I mentioned, but I must do it for each test request. Updating the definition seem to help, but not reliably. Here is the contents when that error occurs:
Fri Oct 09 13:37:19 EDT 2009:INFO:
When I run just the request the contents are this:
Fri Oct 09 13:41:03 EDT 2009:INFO:
So it seems to be kind of flaky. Any ideas why this would be happening?
Thanks,
Mary
Related Content
- 11 years ago
Recent Discussions
- 10 days ago