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

Axis 2 example source code file (interoptestheaders.wsdl)

This example Axis 2 source code file (interoptestheaders.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 - Axis 2 tags/keywords

apache, asf, asf, foundation, header1, header1, header2, header2, license, license, retheaderport, retheaderporttype, see, you

The Axis 2 interoptestheaders.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:wsdl="http://schemas.xmlsoap.org/wsdl/"
             xmlns:s="http://www.w3.org/2001/XMLSchema" 
             xmlns:tns="http://soapinterop.org/"
	     xmlns:types="http://soapinterop.org/xsd" 
             targetNamespace="http://soapinterop.org/" 
	     xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
      <s:element name="echoStringParam" type="s:string"/>
         
      <s:element name="echoStringReturn" type="s:string"/>

      <s:element name="Header1" type="types:Header1" />
      <s:complexType name="Header1">
        <s:sequence>
          <s:element name="string" type="s:string" />
          <s:element name="int" type="s:int" />
        </s:sequence>
	<s:anyAttribute />
      </s:complexType>
      <s:element name="Header2" type="types:Header2" />
      <s:complexType name="Header2">
        <s:sequence>
          <s:element name="int" type="s:int" />
          <s:element name="string" type="s:string" />
        </s:sequence>
	<s:anyAttribute />
      </s:complexType>
    </s:schema>
  </types>
  <message name="echoString">
        <part element="types:echoStringParam" name="a"/>
    </message>
    <message name="echoStringResponse">
        <part element="types:echoStringReturn" name="result"/>
    </message>
  <message name="Header1">
    <part name="Header1" element="types:Header1" />
  </message>
  <message name="Header2">
    <part name="Header2" element="types:Header2" />
  </message>
  <portType name="RetHeaderPortType">
    <operation name="echoString">
      <input message="tns:echoString" />
      <output message="tns:echoStringResponse" />
    </operation>
  </portType>
  <binding name = "RetHeaderBinding" type="tns:RetHeaderPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="echoString">
      <soap:operation soapAction="http://soapinterop.org/" style="document" />
      <input>
        <soap:body use="literal" />
        <soap:header message="tns:Header1" part="Header1" use="literal"/>
        <soap:header message="tns:Header2" part="Header2" use="literal"/>
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
  </binding>
  <service name="RetHeaderService">
    <port name="RetHeaderPort" binding="tns:RetHeaderBinding">
      <soap:address location="http://www.whitemesa.net/interop/r3/testheaders" />
    </port>
  </service>
</definitions>

Other Axis 2 examples (source code examples)

Here is a short list of links related to this Axis 2 interoptestheaders.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.