On Tue, Jan 3, 2012 at 11:19 AM, Shelan Perera <she...@wso2.com> wrote:

> Hi,
>
> I checked with DSS  Data Services 2.6.0,. I am attaching the wsdl with
> this.
>
This wsdl is correct.

Can you check with DSS 2.6.2 as well? Here with I have attached the wsdl I
got from that.

The wsdl you have attached does not have fault elements as well. But 2.6.2
has fault elements. I am not sure why wsdl files change that much for 2.6.0
and 2.6.2.

Any way it has to properly in the trunk.

thanks,
Amila.


>
> Thanks
>
> On Tue, Jan 3, 2012 at 11:13 AM, Amila Suriarachchi <am...@wso2.com>wrote:
>
>>
>>
>> On Mon, Jan 2, 2012 at 6:17 PM, Shelan Perera <she...@wso2.com> wrote:
>>
>>> This is regarding the issue. [1]
>>>
>>> To reproduce the scenario i have developed a sample service which has
>>> two methods ping1() and ping2() which will return two different strings
>>> "pinging1" and "pinging 2".There are no parameters for the request.
>>>
>>> 1) When invoke from the try it with response caching enabled second
>>> operation returns the same string which is "pinging1" instead
>>> "pinging2".When i invoke from a wrapped client it is successful and return
>>> the intended strings.
>>>
>>> 2) The difference with try it is ,
>>>
>>> with tryit : SOAP body is empty
>>>
>>> with wrapped client : SOAP Body has
>>>  <soapenv:Body>
>>>       <ns1:ping1 xmlns:ns1="http://www.wso2.org/types"; />
>>>  </soapenv:Body>
>>>
>>> The reason is when you have an empty body it cannot differentiate two
>>> request and mislead as the previous request (which again has an empty body).
>>>
>>>  Since this happens only with the tryit if we are going to fix we need
>>> to resolve it there. What is the best approach to handle it? Does the spec
>>> allows to send an empty SOAP body ?
>>>
>>
>> Can you send us the wsdl generated from the DSS service? I checked with
>> the 2.6.2 version and the DSS wsdl is set to an empty soap body.
>>
>> According to basic profile[1] you can not use the same input message for
>> two different operations. Therefore this is an issue with DSS and need to
>> fix at the DSS wsdl generation.
>>
>> thanks,
>> Amila.
>>
>> [1]
>> http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Operation_Signatures
>>
>>
>>
>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-11947
>>>
>>>
>>> --
>>> *Shelan Perera*
>>>
>>> Software Engineer
>>> **
>>> *WSO2, Inc. : wso2.com*
>>> lean.enterprise.middleware.
>>>
>>> *Home Page*  :    shelan.org
>>> *Blog*             : blog.shelan.org
>>> *Linked-i*n      :http://www.linkedin.com/pub/shelan-perera/a/194/465
>>> *Twitter*         :https://twitter.com/#!/shelan
>>>
>>> *Mobile*          : +94 772 604 402
>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Amila Suriarachchi*
>>
>> Software Architect
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 71 3082805
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Shelan Perera*
>
> Software Engineer
> **
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Home Page*  :    shelan.org
> *Blog*             : blog.shelan.org
> *Linked-i*n      :http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter*         :https://twitter.com/#!/shelan
>
> *Mobile*          : +94 772 604 402
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Amila Suriarachchi*

Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 71 3082805
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:ns0="http://ws.wso2.org/dataservice"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; targetNamespace="http://ws.wso2.org/dataservice";>
    <wsdl:documentation />
    <wsdl:types>
        <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.wso2.org/dataservice";>
            <xs:element name="DataServiceFault" type="xs:string" />
            <xs:element name="REQUEST_STATUS" type="xs:string" />
            <xs:element name="Entries" type="ns0:Entries" />
            <xs:complexType name="Entries">
                <xs:sequence>
                    <xs:element maxOccurs="unbounded" minOccurs="0" name="Entry" type="ns0:Entry" />
                </xs:sequence>
            </xs:complexType>
            <xs:complexType name="Entry">
                <xs:sequence>
                    <xs:element name="EMAIL_C" nillable="true" type="xs:string" />
                    <xs:element name="NAME_C" nillable="true" type="xs:string" />
                </xs:sequence>
            </xs:complexType>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="TestOperationRequest" />
    <wsdl:message name="TestOperationResponse">
        <wsdl:part name="parameters" element="ns0:Entries" />
    </wsdl:message>
    <wsdl:message name="DataServiceFault">
        <wsdl:part name="parameters" element="ns0:DataServiceFault" />
    </wsdl:message>
    <wsdl:portType name="testServicePortType">
        <wsdl:operation name="TestOperation">
            <wsdl:documentation />
            <wsdl:input message="ns0:TestOperationRequest" wsaw:Action="urn:TestOperation" />
            <wsdl:output message="ns0:TestOperationResponse" wsaw:Action="urn:TestOperationResponse" />
            <wsdl:fault message="ns0:DataServiceFault" name="DataServiceFault" wsaw:Action="urn:TestOperationDataServiceFault" />
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="testServiceSOAP11Binding" type="ns0:testServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document" />
        <wsdl:operation name="TestOperation">
            <soap:operation soapAction="urn:TestOperation" style="document" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
            <wsdl:fault name="DataServiceFault">
                <soap:fault use="literal" name="DataServiceFault" />
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="testServiceSOAP12Binding" type="ns0:testServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document" />
        <wsdl:operation name="TestOperation">
            <soap12:operation soapAction="urn:TestOperation" style="document" />
            <wsdl:input>
                <soap12:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal" />
            </wsdl:output>
            <wsdl:fault name="DataServiceFault">
                <soap12:fault use="literal" name="DataServiceFault" />
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="testServiceHttpBinding" type="ns0:testServicePortType">
        <http:binding verb="POST" />
        <wsdl:operation name="TestOperation">
            <http:operation location="TestOperation" />
            <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="testService">
        <wsdl:port name="SOAP11Endpoint" binding="ns0:testServiceSOAP11Binding">
            <soap:address location="http://10.100.3.129:9763/services/testService.SOAP11Endpoint/"; />
        </wsdl:port>
        <wsdl:port name="SecureSOAP11Endpoint" binding="ns0:testServiceSOAP11Binding">
            <soap:address location="https://10.100.3.129:9443/services/testService.SecureSOAP11Endpoint/"; />
        </wsdl:port>
        <wsdl:port name="SecureSOAP12Endpoint" binding="ns0:testServiceSOAP12Binding">
            <soap12:address location="https://10.100.3.129:9443/services/testService.SecureSOAP12Endpoint/"; />
        </wsdl:port>
        <wsdl:port name="SOAP12Endpoint" binding="ns0:testServiceSOAP12Binding">
            <soap12:address location="http://10.100.3.129:9763/services/testService.SOAP12Endpoint/"; />
        </wsdl:port>
        <wsdl:port name="HTTPEndpoint" binding="ns0:testServiceHttpBinding">
            <http:address location="http://10.100.3.129:9763/services/testService.HTTPEndpoint/"; />
        </wsdl:port>
        <wsdl:port name="SecureHTTPEndpoint" binding="ns0:testServiceHttpBinding">
            <http:address location="https://10.100.3.129:9443/services/testService.SecureHTTPEndpoint/"; />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to