Skip to content

Instantly share code, notes, and snippets.

@chamilad
Created September 16, 2016 07:38
Show Gist options
  • Save chamilad/7fe796bfa9773496bddeaefaec16c302 to your computer and use it in GitHub Desktop.
Save chamilad/7fe796bfa9773496bddeaefaec16c302 to your computer and use it in GitHub Desktop.
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://upload.application.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax25="http://upload.application.carbon.wso2.org/xsd" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://upload.application.carbon.wso2.org">
<wsdl:documentation>CarbonAppUploader</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://upload.application.carbon.wso2.org/xsd">
<xs:complexType name="UploadedFileItem">
<xs:sequence>
<xs:element minOccurs="0" name="dataHandler" nillable="true" type="xs:base64Binary"/>
<xs:element minOccurs="0" name="fileName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="fileType" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:ax26="http://upload.application.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://upload.application.carbon.wso2.org">
<xs:import namespace="http://upload.application.carbon.wso2.org/xsd"/>
<xs:element name="uploadApp">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="fileItems" nillable="true" type="ax26:UploadedFileItem"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="uploadAppRequest">
<wsdl:part name="parameters" element="ns:uploadApp"/>
</wsdl:message>
<wsdl:message name="uploadAppResponse"/>
<wsdl:portType name="CarbonAppUploaderPortType">
<wsdl:operation name="uploadApp">
<wsdl:input message="ns:uploadAppRequest" wsaw:Action="urn:uploadApp"/>
<wsdl:output message="ns:uploadAppResponse" wsaw:Action="urn:uploadAppResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CarbonAppUploaderSoap11Binding" type="ns:CarbonAppUploaderPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="uploadApp">
<soap:operation soapAction="urn:uploadApp" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="CarbonAppUploaderSoap12Binding" type="ns:CarbonAppUploaderPortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="uploadApp">
<soap12:operation soapAction="urn:uploadApp" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="CarbonAppUploaderHttpBinding" type="ns:CarbonAppUploaderPortType">
<http:binding verb="POST"/>
<wsdl:operation name="uploadApp">
<http:operation location="uploadApp"/>
<wsdl:input>
<mime:content type="text/xml" part="parameters"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="parameters"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CarbonAppUploader">
<wsdl:port name="CarbonAppUploaderHttpsSoap11Endpoint" binding="ns:CarbonAppUploaderSoap11Binding">
<soap:address location="https://server-host-or-ip:9443/services/CarbonAppUploader.CarbonAppUploaderHttpsSoap11Endpoint"/>
</wsdl:port>
<wsdl:port name="CarbonAppUploaderHttpsSoap12Endpoint" binding="ns:CarbonAppUploaderSoap12Binding">
<soap12:address location="https://server-host-or-ip:9443/services/CarbonAppUploader.CarbonAppUploaderHttpsSoap12Endpoint"/>
</wsdl:port>
<wsdl:port name="CarbonAppUploaderHttpsEndpoint" binding="ns:CarbonAppUploaderHttpBinding">
<http:address location="https://server-host-or-ip:9443/services/CarbonAppUploader.CarbonAppUploaderHttpsEndpoint"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
@chamilad
Copy link
Author

Replace server-host-or-ip with the ESB Server IP address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment