UPnP xml file to WSDL xml file

Discussion in 'XML' started by Robert S, Oct 14, 2005.

  1. Robert S

    Robert S Guest

    Hello,
    could somebody help me to convert the below UPnP service file to WSDL
    web service file:

    <serviceList>
    <service>
    <serviceType>
    urn:schemas-upnp-org:service:powerSwitch:1
    </serviceType>
    <serviceId> urn:upnp-org:service:powerSwitch:1
    </serviceId>
    <controlURL>/upnp/control/power1</controlURL>
    <eventSubURL>/upnp/control/power1</eventSubURL>
    <SCPDURL>/blenderpowerSCPD.xml</SCPDURL>
    </service>

    thanks in advance
    bobby
    Robert S, Oct 14, 2005
    #1
    1. Advertising

  2. Robert S

    Robert S Guest

    I tried to combine UPnP servive and blenderpowerSCPD.xml and come up with
    WSDL web service file as below:


    UPnP services:



    <serviceList>

    <service>

    <serviceType>

    urn:schemas-upnp-org:service:powerSwitch:1

    </serviceType>

    <serviceId> urn:upnp-org:service:powerSwitch:1

    </serviceId>

    <controlURL>/upnp/control/power1</controlURL>

    <eventSubURL>/upnp/control/power1</eventSubURL>

    <SCPDURL>/blenderpowerSCPD.xml</SCPDURL>

    </service>

    ....



    SCPD file



    <actionList>

    <action>

    <name>SetSpeed</name>

    <argumentList>

    <argument>

    <name>Speed</name>

    </argument>

    </argumentList>

    </action>

    ...

    </actionList>



    NOW the WSDL is as follows:



    <?xml version="1.0" encoding="UTF-8"?>

    <definitions name="Device Control" targetNamespace="http://shemas.UPnP.org/">

    <message name="PowerSwitch">

    </message>

    <operation name="SetSpeed">

    <input message="Speed">

    </input>

    </operation>

    <service name="PowerSwitch1">

    </service>

    </definitions>



    any idea if this is right and the wsdl file represent the UPnP ?



    thanks in advance

    bobby



    "Robert S" <> wrote in message
    news:diomg0$8eb$...
    > Hello,
    > could somebody help me to convert the below UPnP service file to WSDL
    > web service file:
    >
    > <serviceList>
    > <service>
    > <serviceType>
    > urn:schemas-upnp-org:service:powerSwitch:1
    > </serviceType>
    > <serviceId> urn:upnp-org:service:powerSwitch:1
    > </serviceId>
    > <controlURL>/upnp/control/power1</controlURL>
    > <eventSubURL>/upnp/control/power1</eventSubURL>
    > <SCPDURL>/blenderpowerSCPD.xml</SCPDURL>
    > </service>
    >
    > thanks in advance
    > bobby
    >
    >
    Robert S, Oct 14, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henry Rawas [MSFT]
    Replies:
    0
    Views:
    1,075
    Henry Rawas [MSFT]
    Sep 24, 2004
  2. UPnP to WSDL

    , Oct 14, 2005, in forum: XML
    Replies:
    0
    Views:
    580
  3. Robert S
    Replies:
    0
    Views:
    1,307
    Robert S
    Oct 14, 2005
  4. Ben Last

    UPNP, Media & Python

    Ben Last, Sep 11, 2004, in forum: Python
    Replies:
    0
    Views:
    382
    Ben Last
    Sep 11, 2004
  5. Paul Sijben

    Python UPnP on Linux?

    Paul Sijben, Apr 26, 2006, in forum: Python
    Replies:
    3
    Views:
    613
    Sybren Stuvel
    Apr 26, 2006
Loading...

Share This Page