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

Apache CXF example source code file (factory_pattern.wsdl)

This example Apache CXF source code file (factory_pattern.wsdl) 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

number, number, numberfactory, numberfactory, numberfactoryservice, numberfactoryservice, utf-8, utf-8

The Apache CXF factory_pattern.wsdl source code

<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions name="NumberFactoryService"
	targetNamespace="http://cxf.apache.org/factory_pattern"
	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsa="http://www.w3.org/2005/08/addressing"
    xmlns:jms="http://cxf.apache.org/transports/jms"
	xmlns:ns1="http://factory_pattern.cxf.apache.org/"
	xmlns:tns="http://cxf.apache.org/factory_pattern"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:soap="http://schemas.xmlsoap.org/soap/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
	<wsdl:types>
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
			attributeFormDefault="unqualified" elementFormDefault="qualified"
			targetNamespace="http://factory_pattern.cxf.apache.org/">
			<xsd:import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="/schemas/wsdl/ws-addr.xsd"/>	
			<xsd:element name="create">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="id" nillable="false"
							type="xsd:string" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="createResponse">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="return" nillable="false"
							type="wsa:EndpointReferenceType" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="isEvenResponse">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="even" type="xsd:boolean" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:schema>
	</wsdl:types>

	<wsdl:message name="create">
		<wsdl:part name="create" element="ns1:create" />
	</wsdl:message>
	<wsdl:message name="createResponse">
		<wsdl:part name="createResponse" element="ns1:createResponse" />
	</wsdl:message>
	<wsdl:message name="isEven" />
	<wsdl:message name="isEvenResponse">
		<wsdl:part name="isEvenResponse" element="ns1:isEvenResponse" />
	</wsdl:message>

	<wsdl:portType name="NumberFactory">
		<wsdl:operation name="create">
			<wsdl:input message="tns:create" />
			<wsdl:output message="tns:createResponse" />
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:portType name="Number">
		<wsdl:operation name="isEven">
			<wsdl:input message="tns:isEven" />
			<wsdl:output message="tns:isEvenResponse" />
		</wsdl:operation>
	</wsdl:portType>
</wsdl:definitions>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF factory_pattern.wsdl 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.