473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

UPnP xml file to WSDL xml file

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
Oct 14 '05 #1
1 3537
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" <b_******@hotmail.com> wrote in message
news:di**********@domitilla.aioe.org...
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

Oct 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ben Last | last post by:
I've been messing around with my Netgear MP101 and alternate servers. I like the MP101, but the server that comes with it leaves a lot to be desired (like you need to have it running on a...
0
by: Geoff Aukett | last post by:
Hello, Does anyone know of any .NET code to deal Upnp. I would like to create a windows service that will communicate with a wireless Upnp device. I have been to the Upnp forum but its all very...
0
by: bsimaie | last post by:
Hello, could somebody help me to convert the below UPnP service filr to WSDL web servive file: <serviceList> <service> <serviceType> urn:schemas-upnp-org:service:PowerSwitch:1 </serviceType>...
0
by: Robert S | last post by:
Hello group, I tried to combine UPnP servive and blenderpowerSCPD.xml and come up with WSDL web service file as below: UPnP services: <serviceList>
0
by: Dave | last post by:
Hi, If anyone could help with this, I would greatly appreciate it! I've created my own WSDL file and referenced an XSD file too. I've generated a service side interface using wsdl /server, and...
1
by: moonriver | last post by:
In a xml file, can we make reference to another xml file so that all contents of the latter xml file will be included into the first xml file? Had better give me an example for details.
0
by: nezoat | last post by:
Here is some working code to open the specified TCP port on the gateway nat device or firewall, and forward it to the calling machine. Great for p2p apps. The newsgroups are such a great...
0
by: Andreas | last post by:
Hi, Im trying to consume a webservice described by the WSDL below, however When i try to add the WSDL it does not work, tried to run it through WSDL.EXE It validates in XMLSpy, but WSDL.exe...
1
by: xlar54 | last post by:
Ive searched around and Im hazy on what is needed to develop media server code. Is there a UPnP library for C#? Linux apparently has many, and I even found a Java one, but can't locate anything...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.