|
Apache CXF example source code file (content.wsdl)
The Apache CXF content.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 targetNamespace="http://schemas.apache.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:typens="http://schemas.apache.org/xsd" xmlns:wsdlns="http://schemas.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <types> <schema elementFormDefault="qualified" targetNamespace="http://schemas.apache.org/xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <element name="in_obj" type="typens:base"/> <element name="result_obj" type="typens:base"/> <element name="in_obj2" type="typens:sub1"/> <element name="result_obj2" type="typens:sub2"/> <complexType name="base"> <sequence> <element name="e1" type="xsd:int"/> <element name="e2" type="xsd:string"/> </sequence> <attribute name="attr1" type="xsd:string" use="required"/> <attribute name="attr2" type="xsd:int" use="required"/> </complexType> <complexType name="sub1"> <complexContent> <extension base="typens:base"> <sequence> <element name="e3" type="xsd:float"/> </sequence> </extension> </complexContent> </complexType> <complexType name="sub2"> <complexContent> <extension base="typens:base"> <choice> <element name="e4" type="xsd:double"/> <element name="e6" type="xsd:double"/> </choice> </extension> </complexContent> </complexType> <complexType name="AllType"> <complexContent mixed="false"> <extension base="typens:base"> <attribute name="AttrString" type="xsd:string" use="required"/> <all> <element name="varStringExt" type="xsd:string"/> <element name="varFloatExt" type="xsd:float"/> </all> </extension> </complexContent> </complexType> </schema> </types> <message name="echoObject"> <part element="typens:in_obj" name="x"/> </message> <message name="echoObjectResponse"> <part element="typens:result_obj" name="Result"/> </message> <message name="echoObject2"> <part element="typens:in_obj2" name="x"/> </message> <message name="echoObject2Response"> <part element="typens:result_obj2" name="Result"/> </message> <portType name="ContentPortType"> <operation name="echoObject" parameterOrder="x"> <input message="wsdlns:echoObject" name="echoObject"/> <output message="wsdlns:echoObjectResponse" name="echoObjectResponse"/> </operation> <operation name="echoObject2" parameterOrder="x"> <input message="wsdlns:echoObject2" name="echoObject2"/> <output message="wsdlns:echoObject2Response" name="echoObject2Response"/> </operation> </portType> </definitions> Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF content.wsdl source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
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.