summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/custom-binding
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-09-30 13:54:54 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-09-30 13:54:54 +0000
commitd0879e9058943c6afa1912ccbeae936db2811f26 (patch)
tree66b7c802a9d8d7c8d0d075a563aac852ce1b500f /BKUOnline/src/main/custom-binding
parente3f253ed3dc0fa9078d48b74955f6f3b8d6490a4 (diff)
downloadmocca-d0879e9058943c6afa1912ccbeae936db2811f26.tar.gz
mocca-d0879e9058943c6afa1912ccbeae936db2811f26.tar.bz2
mocca-d0879e9058943c6afa1912ccbeae936db2811f26.zip
backport to JAXWS2.0
STALService initial connect() git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@76 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/custom-binding')
-rw-r--r--BKUOnline/src/main/custom-binding/stalservice-custom.xml14
-rw-r--r--BKUOnline/src/main/custom-binding/staltypes-custom.xml27
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>