Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > UPnP xml file to WSDL xml file

Reply
Thread Tools

UPnP xml file to WSDL xml file

 
 
Robert S
Guest
Posts: n/a
 
      10-14-2005
Hello,
could somebody help me to convert the below UPnP service file to WSDL
web service file:

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

thanks in advance
bobby


 
Reply With Quote
 
 
 
 
Robert S
Guest
Posts: n/a
 
      10-14-2005
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:serviceowerSwitch:1

</serviceType>

<serviceId> urn:upnp-org:serviceowerSwitch: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:serviceowerSwitch:1
> </serviceType>
> <serviceId> urn:upnp-org:serviceowerSwitch:1
> </serviceId>
> <controlURL>/upnp/control/power1</controlURL>
> <eventSubURL>/upnp/control/power1</eventSubURL>
> <SCPDURL>/blenderpowerSCPD.xml</SCPDURL>
> </service>
>
> thanks in advance
> bobby
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MN-500 getting "uPnP not installed" error even when uPnP is instal MidLevel Wireless Networking 1 02-04-2008 09:56 AM
UPnP services to WSDL web service file? Robert S XML 0 10-14-2005 09:39 PM
UPnP to WSDL bsimaie@gmail.com XML 0 10-14-2005 02:38 AM
wsdl.exe fails with WebMethods generated wsdl file mrnu ASP .Net Web Services 0 06-07-2004 04:51 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57