URL service

This service returns integer that describes the estimated type of the WWW page represented by the URL

Input

URL (string)

URL address to be processed

Output

Integer (Integer)

An integer that represents the type of the WWW page represented by the URL

Description

This service analyses passed input (valid URL) and returns the estimated type of page. Each bit represents one type of the WWW page, as described in the Table 2, “Bitmask description”.

Example: 12 == Type PRESS and/or CONTACT

Table 2. Bitmask description

Bit maskType of page
-1Wrong input or rules unreachable
0Cannot decide
1Index page (top page in the site hierarchy)
2Global information about the company
4Contacts
8Press articles
16Information about one single product
32Pricelist, product list

WSDL

WSDL: http://rainbow.vse.cz/services/AnaURLService

There will be nicely formatted WSDL listing in a future. For now just plain listing.

<?xml version='1.0'?>
<wsdl:definitions name='AnaURL' targetNamespace='urn:AnaURL'
    xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns:tns='urn:AnaURL'
    xmlns:http='http://schemas.xmlsoap.org/wsdl/http/'
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/'
    xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
    xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'>
    <wsdl:message name='AnaURL_analyze_Request'>
        <wsdl:part name='p0' type='xsd:string'/>
    </wsdl:message>
    <wsdl:message name='AnaURL_analyze_Response'>
        <wsdl:part name='response' type='xsd:int'/>
    </wsdl:message>
    <wsdl:portType name='AnaURL'>
        <wsdl:operation name='analyze' parameterOrder='p0'>
            <wsdl:input name='analyze' message
='tns:AnaURL_analyze_Request'/>
            <wsdl:output name='analyze' message
='tns:AnaURL_analyze_Response'/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name='AnaURLSOAPBinding0' type='tns:AnaURL'>
        <soap:binding transport='http://schemas.xmlsoap.org/soap/http'
style='rpc'/>
        <wsdl:operation name='analyze'>
            <soap:operation soapAction='' style='rpc'/>
            <wsdl:input name='analyze'>
                <soap:body use='encoded' encodingStyle
='http://schemas.xmlsoap.org/soap/encoding/' namespace='urn:AnaURL'/>
            </wsdl:input>
            <wsdl:output name='analyze'>
                <soap:body use='encoded' encodingStyle
='http://schemas.xmlsoap.org/soap/encoding/' namespace='urn:AnaURL'/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name='AnaURL'>
        <wsdl:port name='AnaURL' binding='tns:AnaURLSOAPBinding0'>
            <soap:address location
='http://rainbow.vse.cz:8000/wasp/AnaURL/'/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>