[opensuse-buildservice] wsdl OSC API Web service
Hi What is the link to the wsdl file to write the proxy 'RPC) in C# (http://www.mono-project.com/Web_Services)? if it is in the domain : api.opensuse.org , i'm afraid to give my user name and pass, accept certificats with the mono wsdl commad line -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2008/8/3 Petit Eric <surfzoid@gmail.com>:
Hi What is the link to the wsdl file to write the proxy 'RPC) in C# (http://www.mono-project.com/Web_Services)? Like taking a fish i find it here : https://api.opensuse.org/api.wsdl But certificat and login ...................... if it is in the domain : api.opensuse.org , i'm afraid to give my user name and pass, accept certificats with the mono wsdl commad line --
Cordially.
Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. ---------------------------------------------------------------------------
Few people are done for independence, it is the privilege of the powerful ones. ---------------------------------------------------------------------------
No key was wounded during the drafting of this message.
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2008/8/3 Petit Eric <surfzoid@gmail.com>:
2008/8/3 Petit Eric <surfzoid@gmail.com>:
Hi What is the link to the wsdl file to write the proxy 'RPC) in C# (http://www.mono-project.com/Web_Services)? Like taking a fish i find it here : https://api.opensuse.org/api.wsdl arghh , speak too fast, the xml document seems more an error page. But certificat and login ...................... if it is in the domain : api.opensuse.org , i'm afraid to give my user name and pass, accept certificats with the mono wsdl commad line --
Cordially.
Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. ---------------------------------------------------------------------------
Few people are done for independence, it is the privilege of the powerful ones. ---------------------------------------------------------------------------
No key was wounded during the drafting of this message.
--
Cordially.
Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. ---------------------------------------------------------------------------
Few people are done for independence, it is the privilege of the powerful ones. ---------------------------------------------------------------------------
No key was wounded during the drafting of this message.
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2008/8/3 Petit Eric <surfzoid@gmail.com>:
Hi What is the link to the wsdl file to write the proxy 'RPC) in C# (http://www.mono-project.com/Web_Services)? if it is in the domain : api.opensuse.org , i'm afraid to give my user name and pass, accept certificats with the mono wsdl commad line
api.opensuse.org is a RESTful webservice not SOAP. As far as I know WSDL cannot be used to describe the service. There is WADL[0] which can, but I don't think there is a WADL description either. There is, however, documentation at https://api.opensuse.org/apidocs/ along with message schema. I have had some success creating and consuming restful webservices from .net using WCF. Examples of creating[1], calling[2]. I'm not sure how much of WCF is implemented in mono yet though. Alternatively you could use HttpWebRequest[3] and an XML parser and build your own client manually perhaps. Does that help? __ [0] https://wadl.dev.java.net/ [1] http://blogs.msdn.com/kaevans/archive/2008/04/03/creating-restful-services-u... [2] http://blogs.msdn.com/kaevans/archive/2008/07/26/creating-a-rest-twitter-cli... [3] http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx -- Benjamin Weber --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2008/8/3 Benji Weber <benji@opensuse.org>:
2008/8/3 Petit Eric <surfzoid@gmail.com>:
Hi What is the link to the wsdl file to write the proxy 'RPC) in C# (http://www.mono-project.com/Web_Services)? if it is in the domain : api.opensuse.org , i'm afraid to give my user name and pass, accept certificats with the mono wsdl commad line
api.opensuse.org is a RESTful webservice not SOAP. As far as I know WSDL cannot be used to describe the service. There is WADL[0] which can, but I don't think there is a WADL description either.
There is, however, documentation at https://api.opensuse.org/apidocs/ along with message schema.
I have had some success creating and consuming restful webservices from .net using WCF. Examples of creating[1], calling[2]. I'm not sure how much of WCF is implemented in mono yet though. Alternatively you could use HttpWebRequest[3] and an XML parser and build your own client manually perhaps.
Does that help? Yes, you give me some light and thank's, lol . Now it is needed to make a choice of a solution. I see with VS C#, if made a webreference to https://api.opensuse.org/about.xsd for example, it didn't find service but create a kind of database, but not sure how to use it, if i understand the OBS, it is simply read and write data in db ? I would like to write a "MonoOsc", for read/write data, not "real time" of progress and so on, are you interested to collaborate ?
__ [0] https://wadl.dev.java.net/ [1] http://blogs.msdn.com/kaevans/archive/2008/04/03/creating-restful-services-u... [2] http://blogs.msdn.com/kaevans/archive/2008/07/26/creating-a-rest-twitter-cli... [3] http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx -- Benjamin Weber --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
hummm, all xml file from https://api.opensuse.org/apidocs#0 when folow "Example" or "Schema" give the same xml file who seem to be an error "file not found" 2008/8/3 Petit Eric <surfzoid@gmail.com>:
2008/8/3 Benji Weber <benji@opensuse.org>:
2008/8/3 Petit Eric <surfzoid@gmail.com>:
Hi What is the link to the wsdl file to write the proxy 'RPC) in C# (http://www.mono-project.com/Web_Services)? if it is in the domain : api.opensuse.org , i'm afraid to give my user name and pass, accept certificats with the mono wsdl commad line
api.opensuse.org is a RESTful webservice not SOAP. As far as I know WSDL cannot be used to describe the service. There is WADL[0] which can, but I don't think there is a WADL description either.
There is, however, documentation at https://api.opensuse.org/apidocs/ along with message schema.
I have had some success creating and consuming restful webservices from .net using WCF. Examples of creating[1], calling[2]. I'm not sure how much of WCF is implemented in mono yet though. Alternatively you could use HttpWebRequest[3] and an XML parser and build your own client manually perhaps.
Does that help? Yes, you give me some light and thank's, lol . Now it is needed to make a choice of a solution. I see with VS C#, if made a webreference to https://api.opensuse.org/about.xsd for example, it didn't find service but create a kind of database, but not sure how to use it, if i understand the OBS, it is simply read and write data in db ? I would like to write a "MonoOsc", for read/write data, not "real time" of progress and so on, are you interested to collaborate ?
__ [0] https://wadl.dev.java.net/ [1] http://blogs.msdn.com/kaevans/archive/2008/04/03/creating-restful-services-u... [2] http://blogs.msdn.com/kaevans/archive/2008/07/26/creating-a-rest-twitter-cli... [3] http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx -- Benjamin Weber --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--
Cordially.
Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. ---------------------------------------------------------------------------
Few people are done for independence, it is the privilege of the powerful ones. ---------------------------------------------------------------------------
No key was wounded during the drafting of this message.
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2008/8/3 Petit Eric <surfzoid@gmail.com>:
hummm, all xml file from https://api.opensuse.org/apidocs#0 when folow "Example" or "Schema" give the same xml file who seem to be an error "file not found"
It looks like there's a problem with it at the moment. File a bug report. -- Benjamin Weber --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
From now my question should be, can you help me to "open officialy"
Okay, great news, i finally use webrequest and now i have a fully functions for GET and PUT, also a XML parser to retrieve differant value in a List<string>. the MonoOSC project by a SVN space (at novell or Mono) or i simply will start a new one at sourceforge.net ? a tempory archive of the current source + binary (bin/Debug) are aviable here : http://surfzoid.free.fr/freevbsoft/MonoOSC This one have need function and a WinForm to test the WebService Function. 2008/8/3 Benji Weber <benji@opensuse.org>:
2008/8/3 Petit Eric <surfzoid@gmail.com>:
hummm, all xml file from https://api.opensuse.org/apidocs#0 when folow "Example" or "Schema" give the same xml file who seem to be an error "file not found"
It looks like there's a problem with it at the moment. File a bug report.
-- Benjamin Weber --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Benji Weber
-
Petit Eric