diff options
Diffstat (limited to 'BKUOnline/src/main/custom-binding')
-rw-r--r-- | BKUOnline/src/main/custom-binding/stalservice-custom.xml | 14 | ||||
-rw-r--r-- | BKUOnline/src/main/custom-binding/staltypes-custom.xml | 27 |
2 files changed, 16 insertions, 25 deletions
diff --git a/BKUOnline/src/main/custom-binding/stalservice-custom.xml b/BKUOnline/src/main/custom-binding/stalservice-custom.xml index 384b04f7..9c35cbdf 100644 --- a/BKUOnline/src/main/custom-binding/stalservice-custom.xml +++ b/BKUOnline/src/main/custom-binding/stalservice-custom.xml @@ -42,6 +42,20 @@ </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"> diff --git a/BKUOnline/src/main/custom-binding/staltypes-custom.xml b/BKUOnline/src/main/custom-binding/staltypes-custom.xml index 2ea42082..3e150363 100644 --- a/BKUOnline/src/main/custom-binding/staltypes-custom.xml +++ b/BKUOnline/src/main/custom-binding/staltypes-custom.xml @@ -35,36 +35,13 @@ <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"/> + <package name="at.gv.egiz.stal.service.types"/> </schemaBindings> </bindings> - <bindings scd="/type::stal:RequestType"> + <!--bindings scd="/type::stal:RequestType"> <class name="STALRequest"/> </bindings> <bindings scd="/type::stal:ResponseType"> <class name="STALResponse"/> - </bindings> - <bindings scd="/type::stal:InfoboxReadResponseType"> - <class name="InfoboxReadResponse"/> - </bindings> - <bindings scd="/type::stal:SignResponseType"> - <class name="SignResponse"/> - </bindings> - <bindings scd="/type::stal:ErrorResponseType"> - <class name="ErrorResponse"/> - <!--class implClass="at.gv.egiz.stal.types.ErrorResponse"/--> - </bindings> - <bindings scd="/type::stal:InfoboxReadRequestType" > - <class name="InfoboxReadRequest"/> - </bindings> - <bindings scd="/type::stal:SignRequestType" > - <class name="SignRequest"/> - <!--class implClass="at.gv.egiz.stal.types.SignRequest"/--> - </bindings> - <bindings scd="/type::stal:QuitRequestType" > - <class name="QuitRequest"/> - </bindings> - <!--bindings scd="/type::stal:GetHashDataInputFaultType" > - <class name="GetHashDataInputFault"/> </bindings--> </bindings> |