| <?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. |
| --> |
| <wsdl:definitions name="SOAPBuilders-mime-cr-test" xmlns:types="http://cxf.apache.org/mime/types" |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://cxf.apache.org/mime" |
| xmlns:jms="http://cxf.apache.org/transports/jms" |
| xmlns:xmime="http://www.w3.org/2005/05/xmlmime" targetNamespace="http://cxf.apache.org/mime"> |
| |
| <wsdl:types> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://cxf.apache.org/mime/types" |
| xmlns:xmime="http://www.w3.org/2005/05/xmlmime" elementFormDefault="qualified"> |
| <complexType name="XopType"> |
| <sequence> |
| <element name="name" type="xsd:string" /> |
| <element name="attachinfo" type="xsd:base64Binary" xmime:expectedContentTypes="application/octet-stream"/> |
| </sequence> |
| </complexType> |
| <element name="testXop" type="types:XopType" /> |
| <element name="testXopResponse" type="types:XopType" /> |
| </schema> |
| |
| </wsdl:types> |
| |
| <wsdl:message name="testXopIn"> |
| <wsdl:part name="data" element="types:testXop" /> |
| </wsdl:message> |
| |
| <wsdl:message name="testXopOut"> |
| <wsdl:part name="data" element="types:testXopResponse" /> |
| </wsdl:message> |
| |
| |
| <wsdl:portType name="TestMtom"> |
| |
| <wsdl:operation name="testXop"> |
| <wsdl:input message="tns:testXopIn" /> |
| <wsdl:output message="tns:testXopOut" /> |
| </wsdl:operation> |
| |
| </wsdl:portType> |
| |
| <wsdl:binding name="TestMtomBinding" type="tns:TestMtom"> |
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> |
| |
| <wsdl:operation name="testXop"> |
| <soap:operation soapAction="" /> |
| <wsdl:input> |
| <soap:body use="literal" /> |
| </wsdl:input> |
| <wsdl:output> |
| <soap:body use="literal" /> |
| </wsdl:output> |
| </wsdl:operation> |
| |
| |
| </wsdl:binding> |
| |
| <wsdl:service name="TestMtomService"> |
| <wsdl:port name="TestMtomPort" binding="tns:TestMtomBinding"> |
| <soap:address location="http://localhost:9036/mime-test" /> |
| </wsdl:port> |
| </wsdl:service> |
| |
| </wsdl:definitions> |