diff options
Diffstat (limited to 'mocca-1.2.11/BKUOnline/src/main/custom-binding')
3 files changed, 0 insertions, 203 deletions
diff --git a/mocca-1.2.11/BKUOnline/src/main/custom-binding/cardchannel-custom.xml b/mocca-1.2.11/BKUOnline/src/main/custom-binding/cardchannel-custom.xml deleted file mode 100644 index b46aa6a8..00000000 --- a/mocca-1.2.11/BKUOnline/src/main/custom-binding/cardchannel-custom.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright 2008 Federal Chancellery Austria and - Graz University of Technology - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- - Binding customization for STAL schema (stal.xsd) - Use JAXB version 2.1 which supports "schema component designator" (SCD, http://www.w3.org/TR/xmlschema-ref/) - - All request/response types are generated to at.gv.egiz.stal - and renamed (...Type suffix removed), - except for the base types of the modified implClasses ErrorResponse and SignRequest - - IMPORTANT: WHEN REGENERATING CLASSES MAKE SURE TO BACKUP MODIFIED IMPLCLASSES (ErrorResponse and SignRequest) ---> -<bindings xmlns='http://java.sun.com/xml/ns/jaxb' version='2.1' - xmlns:xs='http://www.w3.org/2001/XMLSchema' - xmlns:xjc='http://java.sun.com/xml/ns/jaxb/xjc' - xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - schemaLocation='../wsdl/CardChannel.xsd' - xsi:schemaLocation='http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd - http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd'> - - <!-- cannot use scd, CardChannel.xsd has no namespace?! --> - <schemaBindings> - <package name="at.buergerkarte.namespaces.cardchannel.service"/> - </schemaBindings> -</bindings> diff --git a/mocca-1.2.11/BKUOnline/src/main/custom-binding/stalservice-custom.xml b/mocca-1.2.11/BKUOnline/src/main/custom-binding/stalservice-custom.xml deleted file mode 100644 index 7c5f604d..00000000 --- a/mocca-1.2.11/BKUOnline/src/main/custom-binding/stalservice-custom.xml +++ /dev/null @@ -1,116 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright 2008 Federal Chancellery Austria and - Graz University of Technology - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- - Binding customization for STAL service (stal.wsdl) - JAX-WS does not yet support "schema component designator"s (SCD, http://www.w3.org/TR/xmlschema-ref/) ---> -<bindings xmlns="http://java.sun.com/xml/ns/jaxws" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - wsdlLocation="../wsdl/stal-service.wsdl"> - - - <!-- default settings - <enableWrapperStyle>true</enableWrapperStyle> - <enableAsyncMapping>false</enableAsyncMapping--> - <package name="at.gv.egiz.stal.service" /> - - <!-- wsdl:portType customization --> - <bindings node="wsdl:definitions/wsdl:portType[@name='STALPortType']"> - <!-- change generated SEI class --> - <!--class name="STALServiceI" /--> - - <!-- override default settings --> - <enableWrapperStyle>true</enableWrapperStyle> - <enableAsyncMapping>false</enableAsyncMapping> - </bindings> - - <!-- wsdl:portType operation customization --> - <bindings node="wsdl:definitions/wsdl:portType[@name='STALPortType']/wsdl:operation[@name='connect']"> - <!-- rename method name --> - <method name="connect"> - <javadoc>Initial connection, get the first request.</javadoc> - </method> - - <!-- rename method params --> - <parameter part="wsdl:definitions/wsdl:message[@name='ConnectRequest']/wsdl:part[@name='part1']" name="sessionId" /> - - <!-- override default settings --> - <enableWrapperStyle>true</enableWrapperStyle> - <enableAsyncMapping>false</enableAsyncMapping> - </bindings> - - <bindings node="wsdl:definitions/wsdl:portType[@name='STALPortType']/wsdl:operation[@name='nextRequest']"> - <!-- rename method name --> - <method name="getNextRequest"> - <javadoc>Fetch the next request.</javadoc> - </method> - - <!-- rename method params --> - <parameter part="wsdl:definitions/wsdl:message[@name='NextRequestRequest']/wsdl:part[@name='part1']" name="request" /> - - <!-- override default settings --> - <enableWrapperStyle>true</enableWrapperStyle> - <enableAsyncMapping>false</enableAsyncMapping> - </bindings> - - <bindings node="wsdl:definitions/wsdl:portType[@name='STALPortType']/wsdl:operation[@name='getHashDataInput']"> - <!-- rename method name --> - <method name="getHashDataInput"> - <javadoc>Fetch the signed references corresponding to the previous SignatureRequest.</javadoc> - </method> - - <!-- rename method params --> - <parameter part="wsdl:definitions/wsdl:message[@name='GetHashDataInputRequest']/wsdl:part[@name='part1']" name="request" /> - - <!-- override default settings --> - <enableWrapperStyle>true</enableWrapperStyle> - <enableAsyncMapping>false</enableAsyncMapping> - </bindings> - - <!-- wsdl:service customization --> - <!--bindings node="wsdl:definitions/wsdl:service[@name='STALService']"> - <class name="STALService"/> - </bindings--> - - <!-- change the port accessor method --> - <!-- bindings node="wsdl:definitions/wsdl:service[@name='STALService']/wsdl:port[@name='STALPort']"> - <method name="getSTALServicePort"/> - </bindings --> - - <!-- INLINED SCHEMA CUSTOMIZATION - <bindings node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://danu.iaik.tugraz.at/xml']"> - <jaxb:schemaBindings> - <jaxb:package name="iaik.ws.sample.sandbox.generated.service.jaxb" /> - </jaxb:schemaBindings> - </bindings--> - - <!-- EXTERNAL SCHEMA CUSTOMIZATION in custom-jaxb.xml --> - - <!--bindings node="wsdl:definitions" xmlns:jws="http://java.sun.com/xml/ns/javaee"> - <jws:handler-chains> - <jws:handler-chain> - <jws:handler> - <jws:handler-class>fromwsdlhandler.common.LoggingHandler</jws:handler-class> - </jws:handler> - </jws:handler-chain> - </jws:handler-chains> - </bindings--> - -</bindings>
\ No newline at end of file diff --git a/mocca-1.2.11/BKUOnline/src/main/custom-binding/staltypes-custom.xml b/mocca-1.2.11/BKUOnline/src/main/custom-binding/staltypes-custom.xml deleted file mode 100644 index 2925fb91..00000000 --- a/mocca-1.2.11/BKUOnline/src/main/custom-binding/staltypes-custom.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright 2008 Federal Chancellery Austria and - Graz University of Technology - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- - Binding customization for STAL schema (stal.xsd) - Use JAXB version 2.1 which supports "schema component designator" (SCD, http://www.w3.org/TR/xmlschema-ref/) - - All request/response types are generated to at.gv.egiz.stal - and renamed (...Type suffix removed), - except for the base types of the modified implClasses ErrorResponse and SignRequest - - IMPORTANT: WHEN REGENERATING CLASSES MAKE SURE TO BACKUP MODIFIED IMPLCLASSES (ErrorResponse and SignRequest) ---> -<bindings xmlns='http://java.sun.com/xml/ns/jaxb' version='2.1' - xmlns:xs='http://www.w3.org/2001/XMLSchema' - xmlns:stal="http://www.egiz.gv.at/stal" - xmlns:xjc='http://java.sun.com/xml/ns/jaxb/xjc' - xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - xsi:schemaLocation='http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd - http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd'> - <bindings scd="x-schema::stal" xmlns:stal="http://www.egiz.gv.at/stal"> - <schemaBindings> - <!-- generate all classes to at.gv.egiz.stal, then move service-only classes to at.gv.egiz.stal.service --> - <package name="at.gv.egiz.stal.service.types"/> - </schemaBindings> - </bindings> - <!--bindings scd="/type::stal:RequestType"> - <class name="STALRequest"/> - </bindings> - <bindings scd="/type::stal:ResponseType"> - <class name="STALResponse"/> - </bindings--> -</bindings> |