alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Apache CXF example source code file (ws-binding.xml)

This example Apache CXF source code file (ws-binding.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Apache CXF tags/keywords

loginrequest, loginrequest, loginresponse, loginresponse, utf-8, utf-8

The Apache CXF ws-binding.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<jaxws:bindings wsdlLocation="cxf3105.wsdl"
          xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
          xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
          xmlns:fc="http://cxf.apache.org/testcase/cxf3105"
          xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd
          	http://java.sun.com/xml/ns/jaxws http://java.sun.com/xml/ns/jaxws/wsdl_customizationschema_2_0.xsd">
  <jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">
  	<jaxb:bindings node="xs:element//xs:element[@name='login' and @type='fc:loginrequest']">
  		<jaxb:property name="LoginRequest"/>
  	</jaxb:bindings>
  	<jaxb:bindings node="xs:element//xs:element[@name='login' and @type='fc:loginresponse']">
  		<jaxb:property name="LoginResponse"/>
  	</jaxb:bindings>
  	<jaxb:bindings node="xs:element[@name='login']">
  		<jaxb:class name="LoginRequest"/>
  	</jaxb:bindings>
  </jaxws:bindings>
  
  
  
  <jaxws:bindings node="wsdl:definitions/wsdl:portType[@name='Login']/wsdl:operation[@name='login']">
  	<jaxws:parameter part="wsdl:definitions/wsdl:message[@name='loginRequest']/wsdl:part[@name='parameters']" childElementName="login" name="loginRequest"/>
  	<jaxws:parameter part="wsdl:definitions/wsdl:message[@name='loginResponse']/wsdl:part[@name='parameters']" childElementName="login" name="loginResponse"/>
  </jaxws:bindings>
  
  <jaxws:enableWrapperStyle>true
</jaxws:bindings>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF ws-binding.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.