xml - This webpage contains content that will not be delivered using a secure HTTPS connection, although the server only provides a HTTPS connection -


calling resource rest service causes webbrowser display message:

enter image description here

the server on rest service deployed (localhost) provides secured https connection. realy have no idea root cause of waring is. xml file received 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 2 options. if choose 'yes', browser displays: des_swdevelopmentswdevelopment 'no' option displays xml file correctly , sniffed networktraffic using rawcap is:

enter image description here

according pcap file assume waring concerned http://www.w3.org/2001/xmlschema url defined in xsd file.

is right , need prevent warning?

[edit :] project setup:

enter image description here


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -