#!/usr/bin/perl
print
Lemonldap::NG::Common::BuildWSDL->new->buildWSDL(<<EOT);
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<wsdl:definitions
targetNamespace=
"urn:Lemonldap/NG/Common/CGI/SOAPService"
xmlns:impl=
"urn:Lemonldap/NG/Common/CGI/SOAPService"
xmlns:tns1=
"urn:Lemonldap/NG/Common/CGI/SOAPService"
>
<!-- types definitions -->
<wsdl:types>
<complexType name=
"CookiesSequence"
>
<sequence>
__XMLCOOKIELIST__
<element name=
"lemonldapupdate"
type=
"xsd:string"
></element>
</sequence>
</complexType>
<complexType name=
"AttributesSequence"
>
<sequence>
__ATTRLIST__
</sequence>
</complexType>
<complexType name=
"GetCookieResponse"
>
<sequence>
<element name=
"errorCode"
type=
"xsd:int"
></element>
<element name=
"cookies"
type=
"tns1:CookiesSequence"
></element>
</sequence>
</complexType>
<complexType name=
"GetAttributesResponse"
>
<sequence>
<element name=
"errorCode"
type=
"xsd:int"
></element>
<element name=
"attributes"
type=
"tns1:AttributesSequence"
></element>
</sequence>
</complexType>
</schema>
</wsdl:types>
<!-- authentication service -->
<wsdl:message name=
"errorRequest"
>
<wsdl:part name=
"lang"
type=
"xsd:string"
/>
<wsdl:part name=
"code"
type=
"xsd:int"
/>
</wsdl:message>
<wsdl:message name=
"errorResponse"
>
<wsdl:part name=
"result"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:message name=
"getCookiesRequest"
>
<wsdl:part name=
"user"
type=
"xsd:string"
/>
<wsdl:part name=
"password"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:message name=
"getCookiesResponse"
>
<wsdl:part name=
"session"
type=
"tns1:GetCookieResponse"
/>
</wsdl:message>
<wsdl:portType name=
"authenticationPortType"
>
<wsdl:operation name=
"error"
parameterOrder=
"lang code"
>
<wsdl:input message=
"impl:errorRequest"
name=
"errorRequest"
/>
<wsdl:output message=
"impl:errorResponse"
name=
"errorResponse"
/>
</wsdl:operation>
<wsdl:operation name=
"getCookies"
parameterOrder=
"user password"
>
<wsdl:input message=
"impl:getCookiesRequest"
name=
"getCookiesRequest"
/>
<wsdl:output message=
"impl:getCookiesResponse"
name=
"getCookiesResponse"
/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name=
"authenticationBinding"
type=
"impl:authenticationPortType"
>
<wsdl:operation name=
"error"
>
<wsdlsoap:operation soapAction=
""
/>
<wsdl:input name=
"errorRequest"
>
</wsdl:input>
<wsdl:output name=
"errorResponse"
>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name=
"getCookies"
>
<wsdlsoap:operation soapAction=
""
/>
<wsdl:input name=
"getCookiesRequest"
>
</wsdl:input>
<wsdl:output name=
"getCookiesResponse"
>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name=
"authenticationService"
>
<wsdl:port binding=
"impl:authenticationBinding"
name=
"authenticationPort"
>
<wsdlsoap:address location=
"__PORTAL__"
/>
</wsdl:port>
</wsdl:service>
<!-- notification service -->
<wsdl:message name=
"newNotificationRequest"
>
<wsdl:part name=
"notification"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:message name=
"newNotificationResponse"
>
<wsdl:part name=
"result"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:portType name=
"notificationPortType"
>
<wsdl:operation name=
"newNotification"
parameterOrder=
"notification"
>
<wsdl:input message=
"impl:newNotificationRequest"
name=
"newNotificationRequest"
/>
<wsdl:output message=
"impl:newNotificationResponse"
name=
"newNotificationResponse"
/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name=
"notificationBinding"
type=
"impl:notificationPortType"
>
<wsdl:operation name=
"newNotification"
>
<wsdlsoap:operation soapAction=
""
/>
<wsdl:input name=
"newNotificationRequest"
>
</wsdl:input>
<wsdl:output name=
"newNotificationResponse"
>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name=
"notificationService"
>
<wsdl:port binding=
"impl:notificationBinding"
name=
"notificationPort"
>
<wsdlsoap:address location=
"__PORTAL__/notification"
/>
</wsdl:port>
</wsdl:service>
<!-- sessions service -->
<wsdl:message name=
"getAttributesRequest"
>
<wsdl:part name=
"id"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:message name=
"getAttributesResponse"
>
<wsdl:part name=
"session"
type=
"tns1:GetAttributesResponse"
/>
</wsdl:message>
<wsdl:message name=
"isAuthorizedURIRequest"
>
<wsdl:part name=
"id"
type=
"xsd:string"
/>
<wsdl:part name=
"uri"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:message name=
"isAuthorizedURIResponse"
>
<wsdl:part name=
"result"
type=
"xsd:boolean"
/>
</wsdl:message>
<wsdl:message name=
"getMenuApplicationsRequest"
>
<wsdl:part name=
"id"
type=
"xsd:string"
/>
</wsdl:message>
<wsdl:message name=
"getMenuApplicationsResponse"
>
<wsdl:part name=
"result"
type=
"xsd:anyType"
/>
</wsdl:message>
<wsdl:portType name=
"sessionsPortType"
>
<wsdl:operation name=
"getAttributes"
parameterOrder=
"id"
>
<wsdl:input message=
"impl:getAttributesRequest"
name=
"getAttributesRequest"
/>
<wsdl:output message=
"impl:getAttributesResponse"
name=
"getAttributesResponse"
/>
</wsdl:operation>
<wsdl:operation name=
"isAuthorizedURI"
parameterOrder=
"id uri"
>
<wsdl:input message=
"impl:isAuthorizedURIRequest"
name=
"isAuthorizedURIRequest"
/>
<wsdl:output message=
"impl:isAuthorizedURIResponse"
name=
"isAuthorizedURIResponse"
/>
</wsdl:operation>
<wsdl:operation name=
"getMenuApplications"
parameterOrder=
"id"
>
<wsdl:input message=
"impl:getMenuApplicationsRequest"
name=
"getMenuApplicationsRequest"
/>
<wsdl:output message=
"impl:getMenuApplicationsResponse"
name=
"getMenuApplicationsResponse"
/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name=
"sessionsBinding"
type=
"impl:sessionsPortType"
>
<wsdl:operation name=
"getAttributes"
>
<wsdlsoap:operation soapAction=
""
/>
<wsdl:input name=
"getAttributesRequest"
>
</wsdl:input>
<wsdl:output name=
"getAttributesResponse"
>
</wsdl:output>
</wsdl:operation>
<wdsl:operation name=
"isAuthorizedURI"
>
<wsdlsoap:operation soapAction=
""
/>
<wsdl:input name=
"isAuthorizedURIRequest"
>
</wsdl:input>
<wsdl:output name=
"isAuthorizedURIResponse"
>
</wsdl:output>
</wdsl:operation>
<wdsl:operation name=
"getMenuApplications"
>
<wsdlsoap:operation soapAction=
""
/>
<wsdl:input name=
"getMenuApplicationsRequest"
>
</wsdl:input>
<wsdl:output name=
"getMenuApplicationsResponse"
>
</wsdl:output>
</wdsl:operation>
</wsdl:binding>
<wsdl:service name=
"sessionsService"
>
<wsdl:port binding=
"impl:sessionsBinding"
name=
"sessionsPort"
>
<wsdlsoap:address location=
"__PORTAL__/sessions"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
EOT