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

Apache CXF example source code file (cardealer.wsdl)

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

apache, asf, asf, cardealerport, cardealerservice, cardealerservice, conditions, is, license, license, of, see, see, software

The Apache CXF cardealer.wsdl source code

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
	     xmlns:tns="http://apache.org/type_substitution/" 
	     xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
	     targetNamespace="http://apache.org/type_substitution/" name="CarDealerService">
    <types>
	<xsd:schema targetNamespace="http://apache.org/type_substitution/">
	    <xsd:element name="getSedans" type="tns:getSedans">

	    <xsd:element name="getSedansResponse" type="tns:getSedansResponse">

	    <xsd:element name="tradeIn" type="tns:car">

	    <xsd:element name="tradeInResponse" type="tns:car">

	    <xsd:complexType name="car" abstract="true">
		<xsd:sequence>
		    <xsd:element name="make" type="xsd:string" minOccurs="0">
		    <xsd:element name="model" type="xsd:string" minOccurs="0">
		    <xsd:element name="year" type="xsd:string" minOccurs="0">
		</xsd:sequence>
	    </xsd:complexType>

	    <xsd:complexType name="porsche">
		<xsd:complexContent>
		    <xsd:extension base="tns:car">
			<xsd:sequence>
			    <xsd:element name="color" type="xsd:string" minOccurs="0">
			</xsd:sequence>
		    </xsd:extension>
		</xsd:complexContent>
	    </xsd:complexType>

	    <xsd:complexType name="getSedans">
		<xsd:sequence>
		    <xsd:element name="arg0" type="xsd:string" minOccurs="0">
		</xsd:sequence>
	    </xsd:complexType>

	    <xsd:complexType name="getSedansResponse">
		<xsd:sequence>
		    <xsd:element name="return" type="tns:car" nillable="true" minOccurs="0" maxOccurs="unbounded">
		</xsd:sequence>
	    </xsd:complexType>
	</xsd:schema>
    </types>
    <message name="getSedans">
	<part name="parameters" element="tns:getSedans">
    </message>
    <message name="getSedansResponse">
	<part name="parameters" element="tns:getSedansResponse">
    </message>
    <message name="tradeIn">
	<part name="tradeIn" element="tns:tradeIn">
    </message>
    <message name="tradeInResponse">
	<part name="tradeInResponse" element="tns:tradeInResponse">
    </message>
    <portType name="CarDealer">
	<operation name="getSedans">
	    <input message="tns:getSedans">
	    <output message="tns:getSedansResponse">
	</operation>
	<operation name="tradeIn">
	    <input message="tns:tradeIn">
	    <output message="tns:tradeInResponse">
	</operation>
    </portType>
    <binding name="CarDealerPortBinding" type="tns:CarDealer">
	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document">
	<operation name="getSedans">
	    <soap:operation soapAction="">
	    <input>
		<soap:body use="literal">
	    </input>
	    <output>
		<soap:body use="literal">
	    </output>
	</operation>
	<operation name="tradeIn">
	    <soap:operation soapAction="">
	    <input>
		<soap:body use="literal">
	    </input>
	    <output>
		<soap:body use="literal">
	    </output>
	</operation>
    </binding>
    <service name="CarDealerService">
	<port name="CarDealerPort" binding="tns:CarDealerPortBinding">
	    <soap:address location="http://localhost:9070/jaxws-type_substitution/cardealer">
	</port>
    </service>
</definitions>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF cardealer.wsdl source code file:

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 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.