[Xml-compile] Policy in WSDL file

Dan Payne dan101payne at gmail.com
Mon Jan 24 07:40:59 GMT 2011


Hi All,

I have the following in my WSDL file:

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<definitions targetNamespace=3D"http://www.w3.org/2003/05/soap-envelope/WSD=
L"
xmlns:tns=3D"http://www.cif.com/pgf/cif" xmlns:SOAP=3D"
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP-ENC=3D"
http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd=3D"
http://www.w3.org/2001/XMLSchema" xmlns:wsdltns=3D"
http://www.w3.org/2003/05/soap-envelope/WSDL" xmlns:tns1=3D"
http://www.w3.org/2003/05/soap-envelope" xmlns=3D"
http://schemas.xmlsoap.org/wsdl/" xmlns:vns=3D"
http://webservice.api.visionoss.com/v7_3_api_1/vossNotificationService/"
xmlns:wsp=3D"http://www.w3.org/ns/ws-policy" xmlns:wsu=3D"
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-=
1.0.xsd"
xmlns:fi=3D"http://java.sun.com/xml/ns/wsit/2006/09/policy/fastinfoset/serv=
ice"
xmlns:tcp=3D"http://java.sun.com/xml/ns/wsit/2006/09/policy/soaptcp/service"
xmlns:wsam=3D"http://www.w3.org/2007/05/addressing/metadata" xmlns:sp=3D"
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:sc=3D"
http://schemas.sun.com/2006/03/wss/server" xmlns:wspp=3D"
http://java.sun.com/xml/ns/wsit/policy">
.
.
.
    <wsp:Policy wsu:Id=3D"POIMDataServiceBindingPolicy">
        <wsp:ExactlyOne>
            <wsp:All>
                <wsam:Addressing wsp:Optional=3D"false"/>
                <sp:TransportBinding>
                    <wsp:Policy>
                        <sp:TransportToken>
                            <wsp:Policy>
                                <sp:HttpsToken
RequireClientCertificate=3D"false"/>
                            </wsp:Policy>
                        </sp:TransportToken>
                        <sp:Layout>
                            <wsp:Policy>
                                <sp:Lax/>
                            </wsp:Policy>
                        </sp:Layout>
                        <sp:IncludeTimestamp/>
                        <sp:AlgorithmSuite>
                            <wsp:Policy>
                                <sp:Basic128/>
                            </wsp:Policy>
                        </sp:AlgorithmSuite>
                    </wsp:Policy>
                </sp:TransportBinding>
                <sp:Wss10/>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
</definitions>


Which causes the following error:

*error: element `{http://www.w3.org/ns/ws-policy}Policy' not processed at {
http://schemas.xmlsoap.org/wsdl/}definitions*

Has anyone else experienced issues using SSL with XML::Compile?

Thanks

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20110124/43=
aa9e9a/attachment.htm


More information about the Xml-compile mailing list