UPnP services to WSDL web service file?

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

  1. Robert S

    Robert S Guest

    Hello group,
    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 for your reply in advance

    bobby
     
    Robert S, Oct 14, 2005
    #1
    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. UPnP to WSDL

    , Oct 14, 2005, in forum: XML
    Replies:
    0
    Views:
    591
  2. Robert S

    UPnP xml file to WSDL xml file

    Robert S, Oct 14, 2005, in forum: XML
    Replies:
    1
    Views:
    944
    Robert S
    Oct 14, 2005
  3. Bert Leu
    Replies:
    1
    Views:
    469
    Cowboy \(Gregory A. Beamer\)
    Nov 23, 2007
  4. RH
    Replies:
    1
    Views:
    273
    Dino Chiesa [Microsoft]
    May 27, 2004
  5. Bert Leu

    Creating a Web Service (Service, not Client) from WSDL

    Bert Leu, Nov 23, 2007, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    286
    Cowboy \(Gregory A. Beamer\)
    Nov 23, 2007
Loading...

Share This Page