<?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. | |
--> | |
<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ --> | |
<definitions targetNamespace="urn:logicblaze:soa:bank" | |
xmlns:tns="urn:logicblaze:soa:bank" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<types> | |
<xsd:schema | |
targetNamespace="urn:logicblaze:soa:bank" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<xsd:complexType name="getLoanQuoteRequest"> | |
<xsd:sequence> | |
<xsd:element name="ssn" type="xsd:string" /> | |
<xsd:element name="amount" type="xsd:double" /> | |
<xsd:element name="duration" type="xsd:int" /> | |
<xsd:element name="score" type="xsd:int" /> | |
<xsd:element name="length" type="xsd:int" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="getLoanQuoteResponse"> | |
<xsd:sequence> | |
<xsd:element name="rate" type="xsd:double" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:element name="getLoanQuoteRequest" type="tns:getLoanQuoteRequest" /> | |
<xsd:element name="getLoanQuoteResponse" type="tns:getLoanQuoteResponse" /> | |
</xsd:schema> | |
</types> | |
<message name="getLoanQuoteRequest"> | |
<part name="payload" element="tns:getLoanQuoteRequest" /> | |
</message> | |
<message name="getLoanQuoteResponse"> | |
<part name="payload" element="tns:getLoanQuoteResponse" /> | |
</message> | |
<portType name="Bank"> | |
<operation name="getLoanQuote"> | |
<input message="tns:getLoanQuoteRequest" /> | |
<output message="tns:getLoanQuoteResponse" /> | |
</operation> | |
</portType> | |
<plnk:partnerLinkType name="BankPL"> | |
<plnk:role name="BankService" portType="tns:Bank" /> | |
</plnk:partnerLinkType> | |
</definitions> |