[ 
https://issues.apache.org/jira/browse/AXIS2-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142535#comment-15142535
 ] 

Pascal Knüppel commented on AXIS2-5741:
---------------------------------------

cannot find an attachement button... therefore here in raw text


<?xml version="1.0" encoding="UTF-8"?>
<definitions name="FiverxLinkService" 
targetNamespace="http://fiverx.de/spec/abrechnungsservice";
             xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:ns1="http://fiverx.de/spec/abrechnungsservice/types";
             xmlns:tns="http://fiverx.de/spec/abrechnungsservice"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
    <types>
        <schema targetNamespace="http://fiverx.de/spec/abrechnungsservice/types";
                xmlns="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/";
                xmlns:tns="http://fiverx.de/spec/abrechnungsservice/types";
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
            <complexType name="ladeRezepte">
                <sequence>
                    <element name="rzeParamLaden" nillable="true" 
type="string"/>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRezepteResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRueckweisungen">
                <sequence>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRueckweisungenResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRzDienste">
                <sequence>
                    <element name="rzeParamDienste" nillable="true" 
type="string"/>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRzDiensteResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRzVersion">
                <sequence>
                    <element name="rzeParamLadeVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeRzVersionResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeStatusRezept">
                <sequence>
                    <element name="rzeParamStatus" nillable="true" 
type="string"/>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="ladeStatusRezeptResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="pruefeRezept">
                <sequence>
                    <element name="rzePruefung" nillable="true" type="string"/>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="pruefeRezeptResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="sendeRezepte">
                <sequence>
                    <element name="rzeLeistung" nillable="true" type="string"/>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="sendeRezepteResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <complexType name="storniereRezept">
                <sequence>
                    <element name="rzeParamStorno" nillable="true" 
type="string"/>
                    <element name="rzeParamVersion" nillable="true" 
type="string"/>
                </sequence>
            </complexType>
            <complexType name="storniereRezeptResponse">
                <sequence>
                    <element name="result" nillable="true" type="string"/>
                </sequence>
            </complexType>
            <element name="ladeRezepte" type="tns:ladeRezepte"/>
            <element name="ladeRezepteResponse" type="tns:ladeRezepteResponse"/>
            <element name="ladeRueckweisungen" type="tns:ladeRueckweisungen"/>
            <element name="ladeRueckweisungenResponse" 
type="tns:ladeRueckweisungenResponse"/>
            <element name="ladeRzDienste" type="tns:ladeRzDienste"/>
            <element name="ladeRzDiensteResponse" 
type="tns:ladeRzDiensteResponse"/>
            <element name="ladeRzVersion" type="tns:ladeRzVersion"/>
            <element name="ladeRzVersionResponse" 
type="tns:ladeRzVersionResponse"/>
            <element name="ladeStatusRezept" type="tns:ladeStatusRezept"/>
            <element name="ladeStatusRezeptResponse" 
type="tns:ladeStatusRezeptResponse"/>
            <element name="pruefeRezept" type="tns:pruefeRezept"/>
            <element name="pruefeRezeptResponse" 
type="tns:pruefeRezeptResponse"/>
            <element name="sendeRezepte" type="tns:sendeRezepte"/>
            <element name="sendeRezepteResponse" 
type="tns:sendeRezepteResponse"/>
            <element name="storniereRezept" type="tns:storniereRezept"/>
            <element name="storniereRezeptResponse" 
type="tns:storniereRezeptResponse"/>
        </schema>
    </types>
    <message name="FiverxLinkService_ladeRzDiensteResponse">
        <part name="result" element="ns1:ladeRzDiensteResponse">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRzVersionResponse">
        <part name="result" element="ns1:ladeRzVersionResponse">
        </part>
    </message>
    <message name="FiverxLinkService_storniereRezeptResponse">
        <part name="result" element="ns1:storniereRezeptResponse">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRezepte">
        <part name="parameters" element="ns1:ladeRezepte">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRezepteResponse">
        <part name="result" element="ns1:ladeRezepteResponse">
        </part>
    </message>
    <message name="FiverxLinkService_sendeRezepteResponse">
        <part name="result" element="ns1:sendeRezepteResponse">
        </part>
    </message>
    <message name="FiverxLinkService_pruefeRezept">
        <part name="parameters" element="ns1:pruefeRezept">
        </part>
    </message>
    <message name="FiverxLinkService_pruefeRezeptResponse">
        <part name="result" element="ns1:pruefeRezeptResponse">
        </part>
    </message>
    <message name="FiverxLinkService_storniereRezept">
        <part name="parameters" element="ns1:storniereRezept">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRueckweisungen">
        <part name="parameters" element="ns1:ladeRueckweisungen">
        </part>
    </message>
    <message name="FiverxLinkService_ladeStatusRezeptResponse">
        <part name="result" element="ns1:ladeStatusRezeptResponse">
        </part>
    </message>
    <message name="FiverxLinkService_sendeRezepte">
        <part name="parameters" element="ns1:sendeRezepte">
        </part>
    </message>
    <message name="FiverxLinkService_ladeStatusRezept">
        <part name="parameters" element="ns1:ladeStatusRezept">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRueckweisungenResponse">
        <part name="result" element="ns1:ladeRueckweisungenResponse">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRzVersion">
        <part name="parameters" element="ns1:ladeRzVersion">
        </part>
    </message>
    <message name="FiverxLinkService_ladeRzDienste">
        <part name="parameters" element="ns1:ladeRzDienste">
        </part>
    </message>
    <portType name="FiverxLinkService">
        <operation name="ladeRezepte">
            <input message="tns:FiverxLinkService_ladeRezepte">
            </input>
            <output message="tns:FiverxLinkService_ladeRezepteResponse">
            </output>
        </operation>
        <operation name="ladeRueckweisungen">
            <input message="tns:FiverxLinkService_ladeRueckweisungen">
            </input>
            <output message="tns:FiverxLinkService_ladeRueckweisungenResponse">
            </output>
        </operation>
        <operation name="ladeRzDienste">
            <input message="tns:FiverxLinkService_ladeRzDienste">
            </input>
            <output message="tns:FiverxLinkService_ladeRzDiensteResponse">
            </output>
        </operation>
        <operation name="ladeRzVersion">
            <input message="tns:FiverxLinkService_ladeRzVersion">
            </input>
            <output message="tns:FiverxLinkService_ladeRzVersionResponse">
            </output>
        </operation>
        <operation name="ladeStatusRezept">
            <input message="tns:FiverxLinkService_ladeStatusRezept">
            </input>
            <output message="tns:FiverxLinkService_ladeStatusRezeptResponse">
            </output>
        </operation>
        <operation name="pruefeRezept">
            <input message="tns:FiverxLinkService_pruefeRezept">
            </input>
            <output message="tns:FiverxLinkService_pruefeRezeptResponse">
            </output>
        </operation>
        <operation name="sendeRezepte">
            <input message="tns:FiverxLinkService_sendeRezepte">
            </input>
            <output message="tns:FiverxLinkService_sendeRezepteResponse">
            </output>
        </operation>
        <operation name="storniereRezept">
            <input message="tns:FiverxLinkService_storniereRezept">
            </input>
            <output message="tns:FiverxLinkService_storniereRezeptResponse">
            </output>
        </operation>
    </portType>
    <binding name="FiverxLinkServiceBinding" type="tns:FiverxLinkService">
        <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="ladeRezepte">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="ladeRueckweisungen">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="ladeRzDienste">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="ladeRzVersion">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="ladeStatusRezept">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="pruefeRezept">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="sendeRezepte">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="storniereRezept">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
    <service name="FiverxLinkService">
        <port name="FiverxLinkServicePort" 
binding="tns:FiverxLinkServiceBinding">
            <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
        </port>
    </service>
</definitions>


> clients cannot resolve service reponse
> --------------------------------------
>
>                 Key: AXIS2-5741
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5741
>             Project: Axis2
>          Issue Type: Bug
>          Components: client-api, jaxws
>    Affects Versions: 1.7.0
>            Reporter: Pascal Knüppel
>
> We have developed an axis2 service some years ago but had some security 
> issues with it. Therefore we now patched to version 1.7.0. We got 2 test 
> clients, one JAX-WS-client and an axis2-client. Both are working perfectly 
> with the old version. But when sending requests to the axis2 service in 
> version 1.7.0 the clients cannot resolve the response, though the service is 
> answering correctly. What can be the reason of this? JAX-WS-client is 
> returning null and axis2-client is throwing an exception of unknown elemtn 
> eventhough the mentioned element is absolutely correct. I watched the traffic 
> via fiddler to find differences in the reponses of the old version client and 
> the new version client. But the differences are minor and do not justify that 
> the clients cannot resolve it. I never had this kind of problem with 
> webservices except for this axis2-version.
> here is the service-response from the old service version 1.5.1 that the 
> clients accept correctly
> HTTP/1.1 200 OK
> Date: Thu, 11 Feb 2016 07:21:14 GMT
> Server: Apache
> Keep-Alive: timeout=5, max=29
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/xml;charset=utf-8
> 2d4
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:ladeRzVersionResponse
>  xmlns:ns1="http://fiverx.de/spec/abrechnungsservice/types";><result>&lt;?xml 
> version="1.0" encoding="ISO-8859-15"?>
> &lt;rzeVersion 
> xmlns="http://fiverx.de/spec/abrechnungsservice";>&lt;uVersion>&lt;versionNr>01.06&lt;/versionNr>&lt;gracePeriod>2016-12&lt;/gracePeriod>&lt;/uVersion>&lt;uVersion>&lt;versionNr>01.07&lt;/versionNr>&lt;gracePeriod>2018-12&lt;/gracePeriod>&lt;/uVersion>&lt;uVersion>&lt;versionNr>01.08&lt;/versionNr>&lt;gracePeriod>2020-12&lt;/gracePeriod>&lt;/uVersion>&lt;/rzeVersion></result></ns1:ladeRzVersionResponse></soapenv:Body></soapenv:Envelope>
> 0
> And here the new service (verson 1.7.0) response that the clients do not 
> accept.
> HTTP/1.1 200 OK
> Date: Thu, 11 Feb 2016 07:15:54 GMT
> Server: Apache
> Keep-Alive: timeout=5, max=29
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/xml;charset=utf-8
> 2cb
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header/><soapenv:Body><ns1:ladeRzVersionResponse
>  
> xmlns:ns1="http://fiverx.de/spec/abrechnungsservice/types";><ns1:result>&lt;?xml
>  version="1.0" encoding="ISO-8859-15"?>
> &lt;rzeVersion 
> xmlns="http://fiverx.de/spec/abrechnungsservice";>&lt;uVersion>&lt;versionNr>01.06&lt;/versionNr>&lt;gracePeriod>2016-12&lt;/gracePeriod>&lt;/uVersion>&lt;uVersion>&lt;versionNr>01.07&lt;/versionNr>&lt;gracePeriod>2018-12&lt;/gracePeriod>&lt;/uVersion>&lt;uVersion>&lt;versionNr>01.08&lt;/versionNr>&lt;gracePeriod>2020-12&lt;/gracePeriod>&lt;/uVersion>&lt;/rzeVersion></ns1:result></ns1:ladeRzVersionResponse>
> 22
> </soapenv:Body></soapenv:Envelope>
> 0
> EDIT:
> corrected the responses... accidentally put the requests here not the 
> responses...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to