Commit 7155dab6 authored by Jesper Zedlitz's avatar Jesper Zedlitz
Browse files

Webservice-Beschreibungen müssen doch online referenziert werden, da sie sonst...

Webservice-Beschreibungen müssen doch online referenziert werden, da sie sonst zur Laufzeit nicht gefunden werden.
parent 6f5e7dd8
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="ChangeServicePortTypeService" targetNamespace="http://gov.genealogy.net/ws" xmlns:ns1="http://gov.genealogy.net/data" xmlns:ns2="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://gov.genealogy.net/ws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://gov.genealogy.net/data" xmlns:tns="http://gov.genealogy.net/data" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="object" nillable="true" type="tns:object" />
<xs:element name="position" nillable="true" type="tns:Position" />
<xs:element name="source" nillable="true" type="tns:source" />
<xs:complexType name="GovItem">
<xs:sequence />
<xs:attribute name="deprecated" type="xs:string" />
<xs:attribute name="id" type="xs:string" use="required" />
<xs:attribute name="last-modification" type="xs:dateTime" />
</xs:complexType>
<xs:complexType name="source">
<xs:complexContent>
<xs:extension base="tns:GovItem">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="external-reference" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="url" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="title" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="author" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="subtitle" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="isbn" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="batchnumber" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="describes" nillable="true" type="tns:Relation" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="located-in" type="tns:Relation" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="note" nillable="true" type="tns:Note" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Property">
<xs:sequence>
<xs:element minOccurs="0" name="timespan" type="tns:Timespan" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="source" nillable="true" type="tns:SourceRef" />
</xs:sequence>
<xs:attribute name="lang" type="xs:string" />
<xs:attribute name="value" type="xs:string" />
<xs:attribute name="begin-year" type="xs:int" />
<xs:attribute name="end-year" type="xs:int" />
<xs:attribute name="year" type="xs:int" />
</xs:complexType>
<xs:complexType name="Timespan">
<xs:sequence>
<xs:element minOccurs="0" name="begin" type="tns:Time" />
<xs:element minOccurs="0" name="end" type="tns:Time" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="Time">
<xs:sequence />
<xs:attribute name="jd" type="xs:int" use="required" />
<xs:attribute name="precision" type="xs:int" use="required" />
</xs:complexType>
<xs:complexType name="SourceRef">
<xs:sequence>
<xs:element minOccurs="0" name="page" type="xs:string" />
<xs:element minOccurs="0" name="note" type="xs:string" />
</xs:sequence>
<xs:attribute name="ref" type="xs:string" />
</xs:complexType>
<xs:complexType name="Relation">
<xs:sequence>
<xs:element minOccurs="0" name="timespan" type="tns:Timespan" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="source" nillable="true" type="tns:SourceRef" />
</xs:sequence>
<xs:attribute name="ref" type="xs:string" />
<xs:attribute name="begin-year" type="xs:int" />
<xs:attribute name="end-year" type="xs:int" />
<xs:attribute name="year" type="xs:int" />
</xs:complexType>
<xs:complexType name="Note">
<xs:sequence>
<xs:element name="text" type="xs:string" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="source" nillable="true" type="tns:SourceRef" />
</xs:sequence>
<xs:attribute name="lang" type="xs:string" />
</xs:complexType>
<xs:complexType name="object">
<xs:complexContent>
<xs:extension base="tns:GovItem">
<xs:sequence>
<xs:element minOccurs="0" name="position" type="tns:Position" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="external-reference" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="url" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="name" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="type" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="population" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="postal-code" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="w-number" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="denomination" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="municipal-id" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="area" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="households" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="buildings" nillable="true" type="tns:Property" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="part-of" type="tns:Relation" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="located-in" type="tns:Relation" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="represents" nillable="true" type="tns:Relation" />
<xs:element maxOccurs="unbounded" minOccurs="0" name="note" nillable="true" type="tns:Note" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Position">
<xs:sequence />
<xs:attribute name="lon" type="xs:double" use="required" />
<xs:attribute name="lat" type="xs:double" use="required" />
<xs:attribute name="height" type="xs:int" />
<xs:attribute name="type" type="xs:string" />
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="saveSourceResponse">
<wsdl:part name="out" type="xsd:string">
</wsdl:part>
</wsdl:message>
<wsdl:message name="merge">
<wsdl:part name="oldItemId" type="xsd:string">
</wsdl:part>
<wsdl:part name="newItemId" type="xsd:string">
</wsdl:part>
<wsdl:part name="username" type="xsd:string">
</wsdl:part>
<wsdl:part name="password" type="xsd:string">
</wsdl:part>
</wsdl:message>
<wsdl:message name="saveSource">
<wsdl:part name="source" type="ns1:source">
</wsdl:part>
<wsdl:part name="username" type="xsd:string">
</wsdl:part>
<wsdl:part name="password" type="xsd:string">
</wsdl:part>
</wsdl:message>
<wsdl:message name="saveObject">
<wsdl:part name="object" type="ns1:object">
</wsdl:part>
<wsdl:part name="username" type="xsd:string">
</wsdl:part>
<wsdl:part name="password" type="xsd:string">
</wsdl:part>
</wsdl:message>
<wsdl:message name="saveObjectResponse">
<wsdl:part name="out" type="xsd:string">
</wsdl:part>
</wsdl:message>
<wsdl:message name="mergeResponse">
<wsdl:part name="out" type="xsd:boolean">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="ChangeServicePortType">
<wsdl:operation name="saveSource">
<wsdl:input message="tns:saveSource" name="saveSource">
</wsdl:input>
<wsdl:output message="tns:saveSourceResponse" name="saveSourceResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="saveObject">
<wsdl:input message="tns:saveObject" name="saveObject">
</wsdl:input>
<wsdl:output message="tns:saveObjectResponse" name="saveObjectResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="merge">
<wsdl:input message="tns:merge" name="merge">
</wsdl:input>
<wsdl:output message="tns:mergeResponse" name="mergeResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ChangeServicePortTypeServiceSoapBinding" type="tns:ChangeServicePortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="saveSource">
<soap:operation soapAction="" style="rpc" />
<wsdl:input name="saveSource">
<soap:body namespace="http://gov.genealogy.net/ws" use="literal" />
</wsdl:input>
<wsdl:output name="saveSourceResponse">
<soap:body namespace="http://gov.genealogy.net/ws" use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="saveObject">
<soap:operation soapAction="" style="rpc" />
<wsdl:input name="saveObject">
<soap:body namespace="http://gov.genealogy.net/ws" use="literal" />
</wsdl:input>
<wsdl:output name="saveObjectResponse">
<soap:body namespace="http://gov.genealogy.net/ws" use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="merge">
<soap:operation soapAction="" style="rpc" />
<wsdl:input name="merge">
<soap:body namespace="http://gov.genealogy.net/ws" use="literal" />
</wsdl:input>
<wsdl:output name="mergeResponse">
<soap:body namespace="http://gov.genealogy.net/ws" use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ChangeServicePortTypeService">
<wsdl:port binding="tns:ChangeServicePortTypeServiceSoapBinding" name="ChangeServicePortTypePort">
<soap:address location="http://gov.genealogy.net/services/ChangeService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
# Retrieve the current webservice description and save it with the current
# date in the file name.
DATE=`date +%Y%m%d`
wget -O ChangeService_$DATE.wsdl http://gov.genealogy.net/services/ChangeService?wsdl
wget -O ComplexService_$DATE.wsdl http://gov.genealogy.net/services/ComplexService?wsdl
wget -O SimpleService_$DATE.wsdl http://gov.genealogy.net/services/SimpleService?wsdl
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment