Hi Sergey,

I guess the attachment didn't get through. I have pasted my wsdl contents 
below.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="EchoService" targetNamespace="
http://echo.wssecurity.learn/";
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema";
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="
http://echo.wssecurity.learn/";
        xmlns:types="http://types.echo.wssecurity.learn/"; 
        xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
"
        xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; 
        xmlns:sp="
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702";>

        <wsp:Policy wsu:Id="UsernameToken">
                <wsp:ExactlyOne>
                        <wsp:All>
                                <sp:SupportingTokens>
                                        <wsp:Policy>
                                                <sp:UsernameToken
                                                        sp:IncludeToken="
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient
">
                                                        <wsp:Policy>
 <sp:HashPassword />
                                                        </wsp:Policy>
                                                </sp:UsernameToken>
                                        </wsp:Policy>
                                </sp:SupportingTokens>
                        </wsp:All>
                </wsp:ExactlyOne>
        </wsp:Policy>

        <wsdl:types>
                <schema xmlns="http://www.w3.org/2001/XMLSchema";>
                        <import namespace="
http://types.echo.wssecurity.learn/"; 
schemaLocation="EchoService_schema.xsd" />
                </schema>
        </wsdl:types>

        <wsdl:message name="doEchoResponse">
                <wsdl:part name="parameters" 
element="types:doEchoResponse">
                </wsdl:part>
        </wsdl:message>

        <wsdl:message name="doEcho">
                <wsdl:part name="parameters" element="types:doEcho">
                </wsdl:part>
        </wsdl:message>

        <wsdl:portType name="EchoService">
                <wsdl:operation name="doEcho">
                        <wsdl:input name="doEcho" message="tns:doEcho">
                        </wsdl:input>
                        <wsdl:output name="doEchoResponse" 
message="tns:doEchoResponse">
                        </wsdl:output>
                </wsdl:operation>
        </wsdl:portType>

        <wsdl:binding name="EchoServiceServiceSoapBinding" 
type="tns:EchoService">
 
                <soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"; />
                <wsdl:operation name="doEcho">
                        <wsp:PolicyReference xmlns:wsp="
http://schemas.xmlsoap.org/ws/2004/09/policy";
                        URI="#UsernameToken" />
                        <soap:operation soapAction="doEcho" 
style="document" />
                        <wsdl:input name="doEcho">
                                <soap:body use="literal" />
                        </wsdl:input>
                        <wsdl:output name="doEchoResponse">
                                <soap:body use="literal" />
                        </wsdl:output>
                </wsdl:operation>
        </wsdl:binding>

        <wsdl:service name="EchoService">
                <wsdl:port name="EchoPort" 
binding="tns:EchoServiceServiceSoapBinding">
                        <soap:address location="
http://localhost:8080/cxf/webservices/echo"; />
                </wsdl:port>
        </wsdl:service>

</wsdl:definitions>

Thanks and regards,
Anand






DISCLAIMER: 

"The information in this e-mail and any attachment is intended only for 
the person to whom it is addressed and may contain confidential and/or 
privileged material. If you have received this e-mail in error, kindly 
contact the sender and destroy all copies of the original communication. 
IBS makes no warranty, express or implied, nor guarantees the accuracy, 
adequacy or completeness of the information contained in this email or any 
attachment and is not liable for any errors, defects, omissions, viruses 
or for resultant loss or damage, if any, direct or indirect."




Reply via email to