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

Apache CXF example source code file (addr-jaxwsmm.wsdl)

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

alx, alx, http, http, not, rm, rm, soap, soap, uri, ws

The Apache CXF addr-jaxwsmm.wsdl source code

<definitions
	name='AsyncMessagingService'
	targetNamespace='http://messaging/'
	xmlns:tns='http://messaging/'
	
	xmlns='http://schemas.xmlsoap.org/wsdl/'
	xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
	xmlns:wsp='http://www.w3.org/ns/ws-policy'
	xmlns:wsam='http://www.w3.org/2007/05/addressing/metadata'

	xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
	xmlns:sp='http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702'>

	<types>
		<xs:schema targetNamespace='http://messaging/' version='1.0'
			xmlns:tns='http://messaging/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
			<xs:element name='deliver' type='tns:deliver' />
			<xs:complexType name='deliver'>
				<xs:sequence>
					<xs:element minOccurs='1' name='message' type='xs:string' />
				</xs:sequence>
			</xs:complexType>
		</xs:schema>
	</types>

	<message name='AsyncMessaging_deliver'>
		<part element='tns:deliver' name='deliver' />
	</message>

	<portType name='AsyncMessaging'>
		<operation name='deliver'>
			<input message='tns:AsyncMessaging_deliver'>
		</operation>
	</portType>

	<binding name='AsyncMessagingBinding' type='tns:AsyncMessaging'>
		<!-- ALX: comment out the binding below if you don't want RM -->
		<wsp:PolicyReference URI='#testPolicy' />

		<soap:binding style='document'
			transport='http://schemas.xmlsoap.org/soap/http' />
		<operation name='deliver'>
			<!--
				ALX: SOAP action must NOT be declared; the WS stack will have it
				match the HTTP header <soap:operation soapAction='deliver' />
			-->
			<input>
				<soap:body parts='deliver' use='literal' />
			</input>
		</operation>
	</binding>

	<service name='AsyncMessagingService'>
		<port binding='tns:AsyncMessagingBinding' name='AsyncMessagingImplPort'>
			<soap:address
				location='http://localhost:8180/jboss-Ecxf.wsrm.recipient/AsyncMessagingService' />
		</port>
	</service>

	<wsp:UsingPolicy />
	<wsp:Policy wsu:Id='testPolicy'>
	    <wsam:Addressing>
	        <wsp:Policy/>
	    </wsam:Addressing>
	</wsp:Policy>

</definitions>

Other Apache CXF examples (source code examples)

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