Calling a resource from a REST service causes the webbrowser to display the message:
The server on which the REST service is deployed (localhost) only provides a secured HTTPS connection. So I realy have no idea what the root cause of that waring is. This is the xml file received by the web browser.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<category xmlns="https://localhost/" id="1">
<description>des_swdevelopment</description>
<name>swdevelopment</name>
</category>
The xsd file on server side looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="https://localhost/"
targetNamespace="https://localhost/" elementFormDefault="qualified"
xmlns:pref="https://localhost/" >
<xs:element name="category">
<xs:complexType >
<xs:sequence>
<xs:element name="description" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
<xs:attribute name="id" type="xs:integer" />
</xs:complexType>
</xs:element>
</xs:schema>
The security warning provides two options. If I choose 'YES', the browser just displays: des_swdevelopmentswdevelopment
The 'No' option displays the xml file correctly and the sniffed networktraffic by using RawCap is:
According to the pcap file I assume that the waring is concerned with the http://www.w3.org/2001/XMLSchema url defined in the xsd file.
Is that right and what do I need to prevent this warning?
[EDIT :] This is my project setup: