| <?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="http://schemas.xmlsoap.org/wsdl/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://example.ord/samples/" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://axis2.ode.apache.org" name="NoArgumentInvocationProcess" targetNamespace="http://example.ord/samples/"> |
| |
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| TYPE DEFINITION - List of types participating in this BPEL process |
| The BPEL Designer will generate default request and response types |
| but you can define or import any XML Schema type and use them as part |
| of the message types. |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
| <plnk:partnerLinkType name="axis2VersionPLT"> |
| <plnk:role name="myRole" portType="wsdl:DummyServicePortType"/> |
| </plnk:partnerLinkType> |
| <import location="dummy-service.wsdl" namespace="http://axis2.ode.apache.org"/> |
| <types> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://example.ord/samples/"> |
| |
| <element name="NoArgumentInvocationProcessRequest"> |
| <complexType> |
| <sequence> |
| <element name="input" type="string"/> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <element name="NoArgumentInvocationProcessResponse"> |
| <complexType> |
| <sequence> |
| <element name="result" type="string"/> |
| </sequence> |
| </complexType> |
| </element> |
| </schema> |
| </types> |
| |
| |
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| MESSAGE TYPE DEFINITION - Definition of the message types used as |
| part of the port type defintions |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
| <message name="NoArgumentInvocationProcessRequestMessage"> |
| <part element="tns:NoArgumentInvocationProcessRequest" name="payload"/> |
| </message> |
| <message name="NoArgumentInvocationProcessResponseMessage"> |
| <part element="tns:NoArgumentInvocationProcessResponse" name="payload"/> |
| </message> |
| |
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| PORT TYPE DEFINITION - A port type groups a set of operations into |
| a logical service unit. |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
| |
| <!-- portType implemented by the NoArgumentInvocationProcess BPEL process --> |
| <portType name="NoArgumentInvocationProcess"> |
| <operation name="process"> |
| <input message="tns:NoArgumentInvocationProcessRequestMessage"/> |
| <output message="tns:NoArgumentInvocationProcessResponseMessage"/> |
| </operation> |
| </portType> |
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| PARTNER LINK TYPE DEFINITION |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
| <plnk:partnerLinkType name="NoArgumentInvocationProcess"> |
| <plnk:role name="NoArgumentInvocationProcessProvider" portType="tns:NoArgumentInvocationProcess"/> |
| </plnk:partnerLinkType> |
| |
| |
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| BINDING DEFINITION - Defines the message format and protocol details |
| for a web service. |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
| <binding name="NoArgumentInvocationProcessBinding" type="tns:NoArgumentInvocationProcess"> |
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| <operation name="process"> |
| <soap:operation soapAction="http://example.ord/samples//process"/> |
| <input> |
| <soap:body use="literal"/> |
| </input> |
| <output> |
| <soap:body use="literal"/> |
| </output> |
| </operation> |
| </binding> |
| |
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| SERVICE DEFINITION - A service groups a set of ports into |
| a service unit. |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
| <service name="NoArgumentInvocationProcessService"> |
| <port binding="tns:NoArgumentInvocationProcessBinding" name="NoArgumentInvocationProcessPort"> |
| <soap:address location="http://localhost:8888/ode/processes/NoArgumentInvocationProcess"/> |
| </port> |
| </service> |
| </definitions> |