# Katalon 7.9.1 katalon fails working with web service and data files

**URL:** <https://forum.katalon.com/t/katalon-7-9-1-katalon-fails-working-with-web-service-and-data-files/53006>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [March 16, 2021, 2:33pm UTC](https://forum.katalon.com/t/katalon-7-9-1-katalon-fails-working-with-web-service-and-data-files/53006 "2021-03-16T14:33:51Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [March 19, 2021, 2:55pm UTC](https://forum.katalon.com/t/katalon-7-9-1-katalon-fails-working-with-web-service-and-data-files/53006/9 "2021-03-19T14:55:39Z")

</div>

In my Katalon Studio 7.9.1 on Mac, I made a Test Case script

```auto
import javax.xml.xpath.XPathConstants
import javax.xml.namespace.QName

URL u1 = XPathConstants.class.getResource("/" + XPathConstants.class.getName().replaceAll("\\.", "/") + ".class");
System.out.println(u1);

URL u2 = QName.class.getResource("/" + QName.class.getName().replaceAll("\\.", "/") + ".class");
System.out.println(u2);

println XPathConstants.NODE

```

* * *

When I ran this, I got the following message:

```auto
2021-03-19 23:49:37.824 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2021-03-19 23:49:37.828 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/TCc
2021-03-19 23:49:39.103 DEBUG testcase.TCc - 1: u1 = XPathConstants.getResource("/" + getName().replaceAll("\.", "/") + ".class")
2021-03-19 23:49:39.120 DEBUG testcase.TCc - 2: out.println(u1)
jar:file:/Applications/Katalon%20Studio.app/Contents/Eclipse/jre/Contents/Home/lib/rt.jar!/javax/xml/xpath/XPathConstants.class
2021-03-19 23:49:39.162 DEBUG testcase.TCc - 3: u2 = QName.getResource("/" + getName().replaceAll("\.", "/") + ".class")
2021-03-19 23:49:39.188 DEBUG testcase.TCc - 4: out.println(u2)
jar:file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/lib/stax-api-1.0.1.jar!/javax/xml/namespace/QName.class
2021-03-19 23:49:39.190 DEBUG testcase.TCc - 5: println(NODE)
{http://www.w3.org/1999/XSL/Transform}NODE
2021-03-19 23:49:39.207 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/TCc

```

* * *

This message tells me that `javax.xml.namespace.QName` class is loaded from `jar:file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/lib/stax-api-1.0.1.jar!` file.

I believe that **the QName class should not be loaded from stax-api-1.0.1,jar**. It should be loaded from the `rt.jar` just as the `XPathConstants` class is loaded from the `rt.jar`. This is a bug mistakenly introduced in Katalon Studio 7.9.x.

→ @ThanhTo, @duyluong

Are you aware of this serious bug?

* * *

Once I enountered a similar issue as this. See

> [@Cannot validate the XSD schema for an xml report](http://forum.katalon.com/t/cannot-validate-the-xsd-schema-for-an-xml-report/52871/2):
>
> I could reproduce your problem. The following Test Case script gave me “No such property: W3C\_XML\_SCHEMA\_NS\_URI for class: javax.xml.XMLConstants”. import javax.xml.XMLConstants println XMLConstants.W3C\_XML\_SCHEMA\_NS\_URI I made a short study. I wrote a new Test Case script like this: import javax.xml.XMLConstants URL u = XMLConstants.class.getResource("/" + XMLConstants.class.getName().replaceAll("\\.", "/") + ".class"); System.out.println(u); When I ran it, I got the following output: 20…

* * *

@mathiasduarte99

Please try removing the stax-api-1.0.1.jar out of your Katalon’s installation directory.

---

_[View the full topic](https://forum.katalon.com/t/katalon-7-9-1-katalon-fails-working-with-web-service-and-data-files/53006)._
