You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Raj@nih" <yr...@gmail.com> on 2007/10/11 19:22:34 UTC

Creating JSR181 and http-consumer SU to consume this wsdl

Hi I was wondering if I could use maven 
two create two SU vix JSR181 and http-consumer to use this wsdl?
Regards.
Y

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ws="http://caxchange.nci.nih.gov/ws"
xmlns:common="http://caxchange.nci.nih.gov/ws/common"
xmlns:caxchange="http://caxchange.nci.nih.gov/ws/routingandworkflow"
targetNamespace="http://caxchange.nci.nih.gov/ws" name="routingandworkflow">
	<wsdl:types>
		<xs:schema
targetNamespace="http://caxchange.nci.nih.gov/ws/routingandworkflow"
elementFormDefault="qualified" attributeFormDefault="qualified"
version=".1">
			<xs:element name="RoutingAndWorkflowRequest"
type="caxchange:RoutingAndWorkflowRequest"/>
			<xs:complexType name="RoutingAndWorkflowRequest">
				<xs:sequence>
					<xs:element name="ExternalIdentifier" type="xs:string"/>
					<xs:element name="Credentials" type="caxchange:Credentials"/>
					<xs:element name="ProcessingInstructions"
type="caxchange:ProcessingInstructions"/>
					<xs:element name="Payload" type="caxchange:MessagePayload"/>
					<xs:element name="Properties" type="caxchange:MessageProperties"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="MessagePayload">
				<xs:sequence>
					<xs:element name="FormatDefinition" type="xs:anyURI" minOccurs="0"/>
					<xs:element name="PayloadType" type="caxchange:PayloadTypes"/>
					<xs:choice>
						<xs:element name="Text" type="xs:string"/>
						<xs:element name="Object" type="xs:base64Binary"/>
					</xs:choice>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="PayloadTypes">
				<xs:choice>
					<xs:element name="GenericType" type="xs:string"/>
					<xs:element name="KnownType" type="caxchange:KnownTypes"/>
				</xs:choice>
			</xs:complexType>
			<xs:simpleType name="KnownTypes">
				<xs:restriction base="xs:string">
					<xs:enumeration value="Lombardi_Cancer_Center_CSV"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:complexType name="ProcessingInstructions">
				<xs:sequence>
					<xs:element name="Workflow" type="caxchange:Workflow"/>
					<xs:element name="Endpoints" maxOccurs="unbounded" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="Workflow">
				<xs:sequence>
					<xs:element name="Identifier" type="xs:string" nillable="false"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="Acknowledgement" type="caxchange:Acknowledgement"/>
			<xs:complexType name="Acknowledgement">
				<xs:sequence>
					<xs:element name="Status" type="caxchange:AcknowledgementStatuses"
nillable="false"/>
					<xs:element name="Error" type="caxchange:ErrorDetails" minOccurs="0"/>
				</xs:sequence>
			</xs:complexType>
			<xs:simpleType name="AcknowledgementStatuses">
				<xs:restriction base="xs:string">
					<xs:enumeration value="MessageReceived"/>
					<xs:enumeration value="ErrorOccurred"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:complexType name="Credentials">
				<xs:sequence>
					<xs:element name="UserName" type="xs:string"/>
					<xs:element name="Password" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="MessageProperties">
				<xs:sequence>
					<xs:element name="Property" type="caxchange:Property"  minOccurs="0"
maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:complexType>			
			<xs:complexType name="Property">
				<xs:sequence>
					<xs:element name="Key" type="xs:string"/>
					<xs:element name="Value" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			
			<xs:element name="ErrorDetails" type="caxchange:ErrorDetails"/>
			<xs:complexType name="ErrorDetails">
				<xs:sequence>
					<xs:element name="ErrorCode" type="caxchange:ErrorCodes"/>
					<xs:element name="ErrorDescription" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			<xs:simpleType name="ErrorCodes">
				<xs:restriction base="xs:string">
					<xs:enumeration value="AuthorizationFailure"/>
					<xs:enumeration value="AuthenticationFailure"/>
					<xs:enumeration value="ApplicationError"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="ErrorMessage">
		<wsdl:part name="ErrorMessage" element="caxchange:ErrorDetails"/>
	</wsdl:message>
	<wsdl:message name="RoutingAndWorkflowRequestMessage">
		<wsdl:part name="RoutingAndWorkflowRequest"
type="caxchange:RoutingAndWorkflowRequest"/>
	</wsdl:message>
	<wsdl:message name="AcknowledgementResponseMessage">
		<wsdl:part name="AcknowledgementResponse"
type="caxchange:Acknowledgement"/>
	</wsdl:message>
	<wsdl:portType name="CTMSIRoutingService">
		<wsdl:operation name="executeRoutingOrWorkflow">
			<wsdl:input message="ws:RoutingAndWorkflowRequestMessage"/>
			<wsdl:output message="ws:AcknowledgementResponseMessage"/>
			<wsdl:fault name="ErrorMessage" message="ws:ErrorMessage"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="NewBinding" type="ws:CTMSIRoutingService">
		<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="executeRoutingOrWorkflow">
			<soap:operation
soapAction="http://caxchange.nci.nih.gov/ws/executeRoutingOrWorkflow"/>
			<wsdl:input>
				<soap:body use="literal" namespace="http://caxchange.nci.nih.gov/ws"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" namespace="http://caxchange.nci.nih.gov/ws"/>
			</wsdl:output>
			<wsdl:fault name="ErrorMessage">
				<soap:fault name="ErrorMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="CTMSIRoutingService">
		<wsdl:port name="CTMSIRoutingServiceSoapPort" binding="ws:NewBinding">
			<soap:address location="http://localhost:8080/caxchange/ctmsirouting"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>

-- 
View this message in context: http://www.nabble.com/Creating-JSR181-and-http-consumer-SU-to-consume-this-wsdl-tf4608776s12049.html#a13160566
Sent from the ServiceMix - User mailing list archive at Nabble.com.