[
https://issues.apache.org/jira/browse/RAMPART-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495883
]
Dimuthu Leelarathne commented on RAMPART-29:
--------------------------------------------
Hi Jochen,
So why is base64Binary element wrong?
To find out the answer to this question, I consulted Axis2 MTOM expert -
Thilina about it. He pointed out this[1] article to me and asked me to look at
MTOM binding section.
So where is the bug?
I managed to drill down to the place where this happens.
I found out something very interesting, if we call the build() method of the
SOAPEnvelope, it serializes the envelope to include the base64Binary element,
which is wrong.
Error happens when you engage Rampart because it calls the envelope.build()
method inside the Rampart handlers.
You are absolutely correct to say the error happens with or without MTOM. There
is no connection with it to MTOM.
So now I have found out that the error is actually in the code generation
module. We'll fix it soon.
[1]http://ws.apache.org/axis2/1_2/mtom-guide.html
Cheers,
Dimuthu
> Different Data with using Rampart
> ---------------------------------
>
> Key: RAMPART-29
> URL: https://issues.apache.org/jira/browse/RAMPART-29
> Project: Rampart
> Issue Type: Bug
> Components: rampart-core
> Affects Versions: 1.1
> Environment: Os: Windows XP SP2
> Java JDK 1.4.2
> ApplicationServer: Geronimo 1.1.1
> Reporter: Jochen Zink
> Assigned To: Dimuthu Leelarathne
> Attachments: rampart29.zip
>
>
> On a Webservice, which receives a file with MTOM form a Client. The Service
> works fine. Now, I want to secure the soap messages with rampart. I got an
> Exception on Server side, while axis parses the soap message.
> This is the Exception:
> org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected subelement
> data
> Therefore I debugged the parsing sequence. First without rampart, and second
> with rampart.
> Here is the relevant SOAP-Message Part WITHOUT Rampart
> <ns1:transferDocument
> xmlns:ns1="http://comchannel.comserver.edocbox.nepatec.de/xsd">
> <ns1:document>
> <ns1:type>
> <ns1:displayName>Portable Document Format</ns1:displayName>
> <ns1:type>1</ns1:type>
> <ns1:fileExtension>pdf</ns1:fileExtension>
> <ns1:datatypeVersion>3.0</ns1:datatypeVersion>
> </ns1:type>
> <ns1:data> <!-- some base64 stuff-->
> ....
> Everything looks good, the service receives the file correctly. No exception
> is thrown.
> Now the relevant SOAP-Message Part WITH Rampart
> <ns1:transferDocument xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
> xmlns:wsa="http://www.w3.org/2005/08/addressing"
> xmlns:ns1="http://comchannel.comserver.edocbox.nepatec.de/xsd"
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <document xmlns="http://comchannel.comserver.edocbox.nepatec.de/xsd">
> <type>
> <displayName>Portable Document Format</displayName>
> <type>1</type>
> <fileExtension>pdf</fileExtension>
> <datatypeVersion>3.0</datatypeVersion>
> </type>
> <data>
> <base64Binary xmlns="http://www.w3.org/2001/XMLSchema"><!--- same
> bas64 stuff as above -->
> As you can see, the messages are different. And the message with rampart is
> not correct and the service fails.
> I don't know no what is going wrong.
> from the WSDL I generated the Skeleton class, Receivers and the Types. The
> WSDL is a little bit longer, but I attached it at the and of this Bug report.
> Here are the service.xml from the service:
> <service name="DocumentTransferService" scope="soapsession">
> <module ref="addressing" />
> <module ref="rampart" />
> <parameter name="enableMTOM" locked="false">true</parameter>
> <parameter name="InflowSecurity">
> <action>
> <items>Timestamp Signature Encrypt</items>
> <passwordCallbackClass>de.nepatec.edocbox.comserver.comchannel.serviceimpl.PWCBHandler</passwordCallbackClass>
> <signaturePropFile>service.properties</signaturePropFile>
> </action>
> </parameter>
> <parameter name="OutflowSecurity">
> <action>
> <items>Timestamp Signature Encrypt</items>
> <user>service</user>
> <passwordCallbackClass>de.nepatec.edocbox.comserver.comchannel.serviceimpl.PWCBHandler</passwordCallbackClass>
> <signaturePropFile>service.properties</signaturePropFile>
> <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
> <encryptionKeyIdentifier>SKIKeyIdentifier</encryptionKeyIdentifier>
> <encryptionUser>useReqSigCert</encryptionUser>
> </action>
> </parameter>
> ... // MessageReceivers and so on
> And the axis2.xml from the clients context:
> <!--Signature and Encryption : Using the request's certificate-->
> <module ref="rampart" />
> <parameter name="OutflowSecurity">
> <action>
> <items>Timestamp Signature Encrypt</items>
> <user>client</user>
> <passwordCallbackClass>de.nepatec.edocbox.comserver.client.PWCBHandler</passwordCallbackClass>
> <signaturePropFile>client.properties</signaturePropFile>
> <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
> <encryptionKeyIdentifier>SKIKeyIdentifier</encryptionKeyIdentifier>
> <encryptionUser>service</encryptionUser>
> <optimizeParts>//xenc:EncryptedData/xenc:CipherData/xenc:CipherValue</optimizeParts>
> </action>
> </parameter>
> <parameter name="InflowSecurity">
> <action>
> <items>Timestamp Signature Encrypt</items>
> <passwordCallbackClass>de.nepatec.edocbox.comserver.client.PWCBHandler</passwordCallbackClass>
> <signaturePropFile>client.properties</signaturePropFile>
> </action>
> </parameter>
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="enableMTOM" locked="false">true</parameter>
> ... // normal stuff
> The Service WSDL file:
> <wsdl:definitions
> xmlns:axis2="http://comchannel.comserver.edocbox.nepatec.de"
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
> xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
> xmlns:ns="http://comchannel.comserver.edocbox.nepatec.de/xsd"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> targetNamespace="http://comchannel.comserver.edocbox.nepatec.de">
> <wsdl:types>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> attributeFormDefault="qualified"
> elementFormDefault="qualified"
>
> targetNamespace="http://comchannel.comserver.edocbox.nepatec.de/xsd">
>
> <xs:import
> namespace="http://www.w3.org/2005/05/xmlmime"
> schemaLocation="xmime.xsd" />
>
> <xs:element name="AutorisationFault">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="message"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:element name="AuthenticationFault">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="message"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:element name="UnexpectedMethodCallFault">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="message"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:element name="SignatureNotValidFault">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="message"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
>
> </xs:complexType>
> </xs:element>
>
> <xs:element name="InvalidSessionFault">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="message"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
>
>
> <xs:element name="ServiceNotAvailableFault">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="message"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
>
> name="expectedDowntime"
> type="xs:long"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
>
>
> <xs:element name="openTransferSession">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="senderInfo"
> nillable="true"
>
> type="ns:SenderSessionInfoDTO" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:complexType name="SenderSessionInfoDTO">
> <xs:sequence>
> <xs:element minOccurs="0"
> name="transferId"
> type="xs:string" />
> <xs:element minOccurs="0"
> name="businessCaseId"
> type="xs:string" />
> <xs:element minOccurs="0"
> name="businessCaseTypeId"
> type="xs:string" />
> </xs:sequence>
> </xs:complexType>
>
> <xs:element name="openTransferSessionResponse">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="return"
> nillable="true"
>
> type="ns:ReceiverSessionInfoDTO" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:element name="checkServiceStatusResponse">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="return"
> nillable="true"
>
> type="ns:ServiceStatusDTO" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:complexType name="ReceiverSessionInfoDTO">
> <xs:sequence>
> <xs:element
>
> name="transferId"
> type="xs:long"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="businessCaseId"
> type="xs:string"
> minOccurs="0"
> maxOccurs="1" />
> </xs:sequence>
> </xs:complexType>
>
>
>
> <xs:element name="transferDocument">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="document"
> nillable="true"
> type="ns:DocumentDTO"
> minOccurs="1"
> maxOccurs="1"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
>
>
> <xs:complexType name="DocumentDTO">
> <xs:sequence>
> <xs:element
> name="type"
> type="ns:DocumentDataTypeDTO"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="data"
> type="xmime:base64Binary"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="priority"
> type="xs:int"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="fileName"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="displayName"
> type="xs:string"
> minOccurs="0"
> maxOccurs="1"/>
> <xs:element
> name="externalSignature"
> type="xs:string"
> minOccurs="0"
> maxOccurs="1"/>
> <xs:element
> name="contentType"
>
> type="xs:string"
> minOccurs="0"
> maxOccurs="1"/>
> <xs:element
> name="contentTypeVersion"
>
> type="xs:string"
> minOccurs="0"
> maxOccurs="1"/>
> </xs:sequence>
> </xs:complexType>
>
> <xs:complexType name="DocumentDataTypeDTO">
> <xs:sequence>
> <xs:element
> name="displayName"
>
> type="xs:string"
> minOccurs="0"
> maxOccurs="1"/>
> <xs:element
> name="type"
> type="xs:int"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="fileExtension"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="datatypeVersion"
> type="xs:string"
> minOccurs="0"
> maxOccurs="1" />
> </xs:sequence>
> </xs:complexType>
>
> <xs:element name="transferDocumentResponse">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="return"
> nillable="true"
>
> type="ns:TransferResultDTO"
> minOccurs="1"
> maxOccurs="1"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
> <xs:complexType name="TransferResultDTO">
> <xs:sequence>
> <xs:element
> name="confirmationSignature"
> type="xs:string"
> minOccurs="1"
> maxOccurs="1"/>
> </xs:sequence>
> </xs:complexType>
>
> <xs:complexType name="ServiceStatusDTO">
> <xs:sequence>
> <xs:element
> name="available"
> type="xs:boolean"
> minOccurs="1"
> maxOccurs="1"/>
> <xs:element
> name="expectedDowntime"
> type="xs:long"
> minOccurs="1"
> maxOccurs="1"/>
>
> </xs:sequence>
> </xs:complexType>
>
> </xs:schema>
> </wsdl:types>
>
> <wsdl:message name="serviceNotAvailableFault">
> <wsdl:part name="ServiceNotAvailableFault"
> element="ns:ServiceNotAvailableFault"/>
> </wsdl:message>
> <wsdl:message name="autorisationFault">
> <wsdl:part name="autorisationFault"
> element="ns:AutorisationFault"/>
> </wsdl:message>
> <wsdl:message name="authenticationFault">
> <wsdl:part name="authenticationFault"
> element="ns:AuthenticationFault"/>
> </wsdl:message>
> <wsdl:message name="signatureNotValidFault">
> <wsdl:part name="signatureNotValidFault"
> element="ns:SignatureNotValidFault"/>
> </wsdl:message>
> <wsdl:message name="unexpectedMethodCallFault">
> <wsdl:part name="unexpectedMethodCallFault"
> element="ns:UnexpectedMethodCallFault"/>
> </wsdl:message>
> <wsdl:message name="invalidSessionFault">
> <wsdl:part name="invalidSessionFault"
> element="ns:InvalidSessionFault"/>
> </wsdl:message>
>
>
>
> <wsdl:message name="transferDocumentMessage">
> <wsdl:part name="part1" element="ns:transferDocument" />
> </wsdl:message>
> <wsdl:message name="transferDocumentResponseMessage">
> <wsdl:part name="part1" element="ns:transferDocumentResponse"
> />
> </wsdl:message>
>
> <wsdl:message name="openTransferSessionMessage">
> <wsdl:part name="part1" element="ns:openTransferSession" />
> </wsdl:message>
> <wsdl:message name="openTransferSessionResponseMessage">
> <wsdl:part name="part1"
> element="ns:openTransferSessionResponse" />
> </wsdl:message>
> <wsdl:message name="closeTransferSessionMessage" />
>
> <wsdl:message name="checkServiceStatusMessage" />
> <wsdl:message name="checkServiceStatusResponseMessage">
> <wsdl:part name="part1"
> element="ns:checkServiceStatusResponse" />
> </wsdl:message>
>
> <wsdl:portType name="DocumentTransferServicePortType">
> <wsdl:operation name="transferDocument">
> <wsdl:input
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:transferDocumentMessage"
> wsaw:Action="urn:transferDocument" />
> <wsdl:output
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
>
> message="axis2:transferDocumentResponseMessage"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocumentResponse"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:serviceNotAvailableFault"
> name="serviceNotAvailableFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocument/Fault/serviceNotAvailableFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:autorisationFault"
> name="autorisationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocument/Fault/autorisationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:authenticationFault"
> name="authenticationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocument/Fault/authenticationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:signatureNotValidFault"
> name="signatureNotValidFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocument/Fault/signatureNotValidFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:unexpectedMethodCallFault"
> name="unexpectedMethodCallFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocument/Fault/unexpectedMethodCallFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:invalidSessionFault"
> name="invalidSessionFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/transferDocument/Fault/invalidSessionFault"
> />
> </wsdl:operation>
> <wsdl:operation name="openTransferSession">
> <wsdl:input
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:openTransferSessionMessage"
> wsaw:Action="urn:openTransferSession" />
> <wsdl:output
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
>
> message="axis2:openTransferSessionResponseMessage"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/openTransferSessionResponse"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:serviceNotAvailableFault"
> name="serviceNotAvailableFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/openTransferSession/Fault/serviceNotAvailableFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:autorisationFault"
> name="autorisationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/openTransferSession/Fault/autorisationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:authenticationFault"
> name="authenticationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/openTransferSession/Fault/authenticationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:unexpectedMethodCallFault"
> name="unexpectedMethodCallFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/openTransferSession/Fault/unexpectedMethodCallFault"
> />
> </wsdl:operation>
> <wsdl:operation name="closeTransferSession">
> <wsdl:input
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:closeTransferSessionMessage"
> wsaw:Action="urn:closeTransferSession" />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:serviceNotAvailableFault"
> name="serviceNotAvailableFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/closeTransferSession/Fault/serviceNotAvailableFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:autorisationFault"
> name="autorisationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/closeTransferSession/Fault/autorisationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:authenticationFault"
> name="authenticationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/closeTransferSession/Fault/authenticationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:unexpectedMethodCallFault"
> name="unexpectedMethodCallFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/closeTransferSession/Fault/unexpectedMethodCallFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:invalidSessionFault"
> name="invalidSessionFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/closeTransferSession/Fault/invalidSessionFault"
> />
> </wsdl:operation>
>
>
> <wsdl:operation name="checkServiceStatus">
> <wsdl:input
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:checkServiceStatusMessage"
> wsaw:Action="urn:checkServiceStatus" />
> <wsdl:output
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
>
> message="axis2:checkServiceStatusResponseMessage"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/checkServiceStatusResponse"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:serviceNotAvailableFault"
> name="serviceNotAvailableFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/checkServiceStatus/Fault/serviceNotAvailableFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:autorisationFault"
> name="autorisationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/checkServiceStatus/Fault/autorisationFault"
> />
> <wsdl:fault
>
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> message="axis2:authenticationFault"
> name="authenticationFault"
>
> wsaw:Action="http://comchannel.comserver.edocbox.nepatec.de/DocumentTransferServicePortType/checkServiceStatus/Fault/authenticationFault"
> />
>
> </wsdl:operation>
>
>
> </wsdl:portType>
> <wsdl:binding name="DocumentTransferServiceSOAP11Binding"
> type="axis2:DocumentTransferServicePortType">
> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="document" />
> <wsdl:operation name="transferDocument">
> <soap:operation soapAction="urn:transferDocument"
> style="document" />
> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal" />
> </wsdl:output>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="signatureNotValidFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="unexpectedMethodCallFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="invalidSessionFault">
> <soap:body use="literal" />
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="openTransferSession">
> <soap:operation soapAction="urn:openTransferSession"
> style="document" />
> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal" />
> </wsdl:output>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="unexpectedMethodCallFault">
> <soap:body use="literal" />
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="closeTransferSession">
> <soap:operation soapAction="urn:closeTransferSession"
> style="document" />
> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="unexpectedMethodCallFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="invalidSessionFault">
> <soap:body use="literal" />
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="checkServiceStatus">
> <soap:operation soapAction="urn:checkServiceStatus"
> style="document" />
> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal" />
> </wsdl:output>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap:body use="literal" />
> </wsdl:fault>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:binding name="DocumentTransferServiceSOAP12Binding"
> type="axis2:DocumentTransferServicePortType">
> <soap12:binding
> transport="http://schemas.xmlsoap.org/soap/http"
> style="document" />
> <wsdl:operation name="transferDocument">
> <soap12:operation soapAction="urn:transferDocument"
> style="document" />
> <wsdl:input>
> <soap12:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap12:body use="literal" />
> </wsdl:output>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap12:fault use="literal"
> name="serviceNotAvailableFault" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap12:fault use="literal"
> name="authenticationFault" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap12:fault use="literal"
> name="autorisationFault" />
> </wsdl:fault>
> <wsdl:fault name="signatureNotValidFault">
> <soap12:fault use="literal"
> name="signatureNotValidFault" />
> </wsdl:fault>
> <wsdl:fault name="unexpectedMethodCallFault">
> <soap12:fault use="literal"
> name="unexpectedMethodCallFault" />
> </wsdl:fault>
> <wsdl:fault name="invalidSessionFault">
> <soap12:fault use="literal"
> name="invalidSessionFault" />
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="openTransferSession">
> <soap12:operation soapAction="urn:openTransferSession"
> style="document" />
> <wsdl:input>
> <soap12:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap12:body use="literal" />
> </wsdl:output>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap12:fault use="literal"
> name="serviceNotAvailableFault" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap12:fault use="literal"
> name="authenticationFault" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap12:fault use="literal"
> name="autorisationFault" />
> </wsdl:fault>
> <wsdl:fault name="unexpectedMethodCallFault">
> <soap12:fault use="literal"
> name="unexpectedMethodCallFault" />
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="closeTransferSession">
> <soap12:operation
> soapAction="urn:closeTransferSession"
> style="document" />
> <wsdl:input>
> <soap12:body use="literal" />
> </wsdl:input>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap12:fault use="literal"
> name="serviceNotAvailableFault" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap12:fault use="literal"
> name="authenticationFault" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap12:fault use="literal"
> name="autorisationFault" />
> </wsdl:fault>
> <wsdl:fault name="unexpectedMethodCallFault">
> <soap12:fault use="literal"
> name="unexpectedMethodCallFault" />
> </wsdl:fault>
> <wsdl:fault name="invalidSessionFault">
> <soap12:fault use="literal"
> name="invalidSessionFault" />
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="checkServiceStatus">
> <soap12:operation soapAction="urn:checkServiceStatus"
> style="document" />
> <wsdl:input>
> <soap12:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap12:body use="literal" />
> </wsdl:output>
> <wsdl:fault name="serviceNotAvailableFault">
> <soap12:fault use="literal"
> name="serviceNotAvailableFault" />
> </wsdl:fault>
> <wsdl:fault name="authenticationFault">
> <soap12:fault use="literal"
> name="authenticationFault" />
> </wsdl:fault>
> <wsdl:fault name="autorisationFault">
> <soap12:fault use="literal"
> name="autorisationFault" />
> </wsdl:fault>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:service name="DocumentTransferService">
> <wsdl:port name="DocumentTransferServiceSOAP11port_http"
> binding="axis2:DocumentTransferServiceSOAP11Binding">
> <soap:address
>
> location="http://localhost:8080/axis2/services/DocumentTransferService" />
> </wsdl:port>
> <wsdl:port name="DocumentTransferServiceSOAP12port_http"
> binding="axis2:DocumentTransferServiceSOAP12Binding">
> <soap12:address
>
> location="http://localhost:8080/axis2/services/DocumentTransferService" />
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
> The importet schema:
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
> targetNamespace="http://www.w3.org/2005/05/xmlmime">
> <xs:attribute name="contentType">
> <xs:simpleType>
> <xs:restriction base="xs:string">
> <xs:minLength value="3" />
> </xs:restriction>
> </xs:simpleType>
> </xs:attribute>
> <xs:attribute name="expectedContentTypes" type="xs:string" />
> <xs:complexType name="base64Binary">
> <xs:simpleContent>
> <xs:extension base="xs:base64Binary">
> <xs:attribute ref="xmime:contentType" />
> </xs:extension>
> </xs:simpleContent>
> </xs:complexType>
> <xs:complexType name="hexBinary">
> <xs:simpleContent>
> <xs:extension base="xs:hexBinary">
> <xs:attribute ref="xmime:contentType" />
> </xs:extension>
> </xs:simpleContent>
> </xs:complexType>
> </xs:schema>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.