По ссылке вида http://localhost:8080/info/xsdWholesale/QueryFormAB.xsd вылазит html документ вида:
Код: Выбрать все
<!DOCTYPE html>
<html>
<head>
<title>TT info</title>
</head>
<body>
<h1>Wholesale XSD file: QueryFormAB.xsd</h1>
<pre><?xml version="1.0" encoding="utf-8"?>
<xs:schema version="1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://fsrar.ru/WEGAIS/QueryFormAB"
targetNamespace="http://fsrar.ru/WEGAIS/QueryFormAB"
xmlns:c="http://fsrar.ru/WEGAIS/Common"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
>
<xs:import namespace="http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/>
<xs:complexType name="QueryFormAB">
<xs:annotation>
<xs:documentation>Запрос на информацию по Форме А для Товарно-Транспортной Накладной</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FormRegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Регистрационный номер Формы для Товарно-Транспортной Накладной</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema></pre>
</body>
</html>
А хотелось бы сразу следующего вида:
Код: Выбрать все
<?xml version="1.0" encoding="utf-8"?>
<xs:schema version="1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://fsrar.ru/WEGAIS/QueryFormAB"
targetNamespace="http://fsrar.ru/WEGAIS/QueryFormAB"
xmlns:c="http://fsrar.ru/WEGAIS/Common"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
>
<xs:import namespace="http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/>
<xs:complexType name="QueryFormAB">
<xs:annotation>
<xs:documentation>Запрос на информацию по Форме А для Товарно-Транспортной Накладной</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FormRegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Регистрационный номер Формы для Товарно-Транспортной Накладной</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>