<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OpenLigaDB: No Data Available]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>habe mittels folgender Befehle die Umgebung für einen SOAP-Client geschaffen:<br />
wsdl2h -o sportsdata.h <a href="http://www.openligadb.de/Webservices/Sportsdata.asmx?WSDL" rel="nofollow">http://www.openligadb.de/Webservices/Sportsdata.asmx?WSDL</a><br />
soapcpp2 -I/usr/share/gsoap/import -i sportsdata.h</p>
<p>Nun bekomme ich bei folgendem Code aber nur diese Ausgabe:<br />
mdata.size(): 0<br />
mdata[ 0 ]-&gt;nameTeam1: No Data Available!</p>
<p>Hier der Code:</p>
<pre><code class="language-cpp">#include &quot;SportsdataSoap12.nsmap&quot;
#include &quot;soapSportsdataSoap12Proxy.h&quot;
#include &lt;memory&gt;
#include &lt;string&gt;
#include &lt;vector&gt;

int main()
{
  _ns1__GetMatchdataByGroupLeagueSaison req;
  _ns1__GetMatchdataByGroupLeagueSaisonResponse resp;

  req.groupOrderID = 1;
  req.leagueShortcut = new std::string( &quot;bl1&quot; );
  req.leagueSaison = new std::string( &quot;2011&quot; );

  SportsdataSoap12Proxy sportsdata;
  sportsdata.GetMatchdataByGroupLeagueSaison( &amp;req, &amp;resp );

  std::vector&lt;ns1__Matchdata*&gt; mdata = resp.GetMatchdataByGroupLeagueSaisonResult-&gt;Matchdata;
  std::cout &lt;&lt; &quot;mdata.size(): &quot; &lt;&lt; mdata.size() &lt;&lt; std::endl;
  std::cout &lt;&lt; &quot;mdata[ 0 ]-&gt;nameTeam1: &quot; &lt;&lt; mdata[ 0 ]-&gt;nameTeam1-&gt;c_str() &lt;&lt; std::endl;
  return 0;
}
</code></pre>
<p>Hier noch die Definitionen für<br />
* _ns1__GetMatchdataByGroupLeagueSaison</p>
<pre><code class="language-cpp">/// &quot;http://msiggi.de/Sportsdata/Webservices&quot;:GetMatchdataByGroupLeagueSaison is a complexType.
class _ns1__GetMatchdataByGroupLeagueSaison
{ public:
/// Element groupOrderID of type xs:int.
    int                                  groupOrderID                   1;	///&lt; Required element.
/// Element leagueShortcut of type xs:string.
    std::string*                         leagueShortcut                 0;	///&lt; Optional element.
/// Element leagueSaison of type xs:string.
    std::string*                         leagueSaison                   0;	///&lt; Optional element.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};
</code></pre>
<p>* _ns1__GetMatchdataByGroupLeagueSaisonResponse</p>
<pre><code class="language-cpp">/// &quot;http://msiggi.de/Sportsdata/Webservices&quot;:GetMatchdataByGroupLeagueSaisonResponse is a complexType.
class _ns1__GetMatchdataByGroupLeagueSaisonResponse
{ public:
/// Element GetMatchdataByGroupLeagueSaisonResult of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:ArrayOfMatchdata.
    ns1__ArrayOfMatchdata*               GetMatchdataByGroupLeagueSaisonResult 0;	///&lt; Optional element.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};
</code></pre>
<p>* SportsdataSoap12Proxy::GetMatchdataByGroupLeagueSaison</p>
<pre><code class="language-cpp">int SportsdataSoap12Proxy::GetMatchdataByGroupLeagueSaison(_ns1__GetMatchdataByGroupLeagueSaison *ns1__GetMatchdataByGroupLeagueSaison, _ns1__GetMatchdataByGroupLeagueSaisonResponse *ns1__GetMatchdataByGroupLeagueSaisonResponse);
</code></pre>
<p>* ns1__Matchdata</p>
<pre><code class="language-cpp">/// &quot;http://msiggi.de/Sportsdata/Webservices&quot;:Matchdata is a complexType.
class ns1__Matchdata
{ public:
/// Element matchID of type xs:int.
    int                                  matchID                        1;	///&lt; Required element.
/// Element matchDateTime of type xs:dateTime.
    time_t                               matchDateTime                  1;	///&lt; Required element.
/// Element TimeZoneID of type xs:string.
    std::string*                         TimeZoneID                     0;	///&lt; Optional element.
/// Element matchDateTimeUTC of type xs:dateTime.
    time_t                               matchDateTimeUTC               1;	///&lt; Required element.
/// Element groupID of type xs:int.
    int                                  groupID                        1;	///&lt; Required element.
/// Element groupOrderID of type xs:int.
    int                                  groupOrderID                   1;	///&lt; Required element.
/// Element groupName of type xs:string.
    std::string*                         groupName                      0;	///&lt; Optional element.
/// Element leagueID of type xs:int.
    int                                  leagueID                       1;	///&lt; Required element.
/// Element leagueName of type xs:string.
    std::string*                         leagueName                     0;	///&lt; Optional element.
/// Element leagueSaison of type xs:string.
    std::string*                         leagueSaison                   0;	///&lt; Optional element.
/// Element leagueShortcut of type xs:string.
    std::string*                         leagueShortcut                 0;	///&lt; Optional element.
/// Element nameTeam1 of type xs:string.
    std::string*                         nameTeam1                      0;	///&lt; Optional element.
/// Element nameTeam2 of type xs:string.
    std::string*                         nameTeam2                      0;	///&lt; Optional element.
/// Element idTeam1 of type xs:int.
    int                                  idTeam1                        1;	///&lt; Required element.
/// Element idTeam2 of type xs:int.
    int                                  idTeam2                        1;	///&lt; Required element.
/// Element iconUrlTeam1 of type xs:string.
    std::string*                         iconUrlTeam1                   0;	///&lt; Optional element.
/// Element iconUrlTeam2 of type xs:string.
    std::string*                         iconUrlTeam2                   0;	///&lt; Optional element.
/// Element pointsTeam1 of type xs:int.
    int                                  pointsTeam1                    1;	///&lt; Required element.
/// Element pointsTeam2 of type xs:int.
    int                                  pointsTeam2                    1;	///&lt; Required element.
/// Element lastUpdate of type xs:dateTime.
    time_t                               lastUpdate                     1;	///&lt; Required element.
/// Element matchIsFinished of type xs:boolean.
    bool                                 matchIsFinished                1;	///&lt; Required element.
/// Element matchResults of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:ArrayOfMatchResult.
    ns1__ArrayOfMatchResult*             matchResults                   0;	///&lt; Optional element.
/// Element goals of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:ArrayOfGoal.
    ns1__ArrayOfGoal*                    goals                          0;	///&lt; Optional element.
/// Element location of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:Location.
    ns1__Location*                       location                       1;	///&lt; Required element.
/// Element NumberOfViewers of type xs:int.
    int*                                 NumberOfViewers                1;	///&lt; Nullable pointer.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};
</code></pre>
<p>Als Testergebnisse möchte ich von der 1. Bundesliga/Saison 2011 1. Spieltag die Begegnungen, bekomme aber keine Daten. Im Web-Livetest kann man aber sehen, dass Daten existieren: <a href="http://www.openligadb.de/Matches/WebserviceLivetest" rel="nofollow">http://www.openligadb.de/Matches/WebserviceLivetest</a></p>
<p>Grüße<br />
Danny.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/289280/openligadb-no-data-available</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 07:35:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/289280.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Jul 2011 18:12:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenLigaDB: No Data Available on Fri, 01 Jul 2011 18:14:03 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>habe mittels folgender Befehle die Umgebung für einen SOAP-Client geschaffen:<br />
wsdl2h -o sportsdata.h <a href="http://www.openligadb.de/Webservices/Sportsdata.asmx?WSDL" rel="nofollow">http://www.openligadb.de/Webservices/Sportsdata.asmx?WSDL</a><br />
soapcpp2 -I/usr/share/gsoap/import -i sportsdata.h</p>
<p>Nun bekomme ich bei folgendem Code aber nur diese Ausgabe:<br />
mdata.size(): 0<br />
mdata[ 0 ]-&gt;nameTeam1: No Data Available!</p>
<p>Hier der Code:</p>
<pre><code class="language-cpp">#include &quot;SportsdataSoap12.nsmap&quot;
#include &quot;soapSportsdataSoap12Proxy.h&quot;
#include &lt;memory&gt;
#include &lt;string&gt;
#include &lt;vector&gt;

int main()
{
  _ns1__GetMatchdataByGroupLeagueSaison req;
  _ns1__GetMatchdataByGroupLeagueSaisonResponse resp;

  req.groupOrderID = 1;
  req.leagueShortcut = new std::string( &quot;bl1&quot; );
  req.leagueSaison = new std::string( &quot;2011&quot; );

  SportsdataSoap12Proxy sportsdata;
  sportsdata.GetMatchdataByGroupLeagueSaison( &amp;req, &amp;resp );

  std::vector&lt;ns1__Matchdata*&gt; mdata = resp.GetMatchdataByGroupLeagueSaisonResult-&gt;Matchdata;
  std::cout &lt;&lt; &quot;mdata.size(): &quot; &lt;&lt; mdata.size() &lt;&lt; std::endl;
  std::cout &lt;&lt; &quot;mdata[ 0 ]-&gt;nameTeam1: &quot; &lt;&lt; mdata[ 0 ]-&gt;nameTeam1-&gt;c_str() &lt;&lt; std::endl;
  return 0;
}
</code></pre>
<p>Hier noch die Definitionen für<br />
* _ns1__GetMatchdataByGroupLeagueSaison</p>
<pre><code class="language-cpp">/// &quot;http://msiggi.de/Sportsdata/Webservices&quot;:GetMatchdataByGroupLeagueSaison is a complexType.
class _ns1__GetMatchdataByGroupLeagueSaison
{ public:
/// Element groupOrderID of type xs:int.
    int                                  groupOrderID                   1;	///&lt; Required element.
/// Element leagueShortcut of type xs:string.
    std::string*                         leagueShortcut                 0;	///&lt; Optional element.
/// Element leagueSaison of type xs:string.
    std::string*                         leagueSaison                   0;	///&lt; Optional element.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};
</code></pre>
<p>* _ns1__GetMatchdataByGroupLeagueSaisonResponse</p>
<pre><code class="language-cpp">/// &quot;http://msiggi.de/Sportsdata/Webservices&quot;:GetMatchdataByGroupLeagueSaisonResponse is a complexType.
class _ns1__GetMatchdataByGroupLeagueSaisonResponse
{ public:
/// Element GetMatchdataByGroupLeagueSaisonResult of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:ArrayOfMatchdata.
    ns1__ArrayOfMatchdata*               GetMatchdataByGroupLeagueSaisonResult 0;	///&lt; Optional element.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};
</code></pre>
<p>* SportsdataSoap12Proxy::GetMatchdataByGroupLeagueSaison</p>
<pre><code class="language-cpp">int SportsdataSoap12Proxy::GetMatchdataByGroupLeagueSaison(_ns1__GetMatchdataByGroupLeagueSaison *ns1__GetMatchdataByGroupLeagueSaison, _ns1__GetMatchdataByGroupLeagueSaisonResponse *ns1__GetMatchdataByGroupLeagueSaisonResponse);
</code></pre>
<p>* ns1__Matchdata</p>
<pre><code class="language-cpp">/// &quot;http://msiggi.de/Sportsdata/Webservices&quot;:Matchdata is a complexType.
class ns1__Matchdata
{ public:
/// Element matchID of type xs:int.
    int                                  matchID                        1;	///&lt; Required element.
/// Element matchDateTime of type xs:dateTime.
    time_t                               matchDateTime                  1;	///&lt; Required element.
/// Element TimeZoneID of type xs:string.
    std::string*                         TimeZoneID                     0;	///&lt; Optional element.
/// Element matchDateTimeUTC of type xs:dateTime.
    time_t                               matchDateTimeUTC               1;	///&lt; Required element.
/// Element groupID of type xs:int.
    int                                  groupID                        1;	///&lt; Required element.
/// Element groupOrderID of type xs:int.
    int                                  groupOrderID                   1;	///&lt; Required element.
/// Element groupName of type xs:string.
    std::string*                         groupName                      0;	///&lt; Optional element.
/// Element leagueID of type xs:int.
    int                                  leagueID                       1;	///&lt; Required element.
/// Element leagueName of type xs:string.
    std::string*                         leagueName                     0;	///&lt; Optional element.
/// Element leagueSaison of type xs:string.
    std::string*                         leagueSaison                   0;	///&lt; Optional element.
/// Element leagueShortcut of type xs:string.
    std::string*                         leagueShortcut                 0;	///&lt; Optional element.
/// Element nameTeam1 of type xs:string.
    std::string*                         nameTeam1                      0;	///&lt; Optional element.
/// Element nameTeam2 of type xs:string.
    std::string*                         nameTeam2                      0;	///&lt; Optional element.
/// Element idTeam1 of type xs:int.
    int                                  idTeam1                        1;	///&lt; Required element.
/// Element idTeam2 of type xs:int.
    int                                  idTeam2                        1;	///&lt; Required element.
/// Element iconUrlTeam1 of type xs:string.
    std::string*                         iconUrlTeam1                   0;	///&lt; Optional element.
/// Element iconUrlTeam2 of type xs:string.
    std::string*                         iconUrlTeam2                   0;	///&lt; Optional element.
/// Element pointsTeam1 of type xs:int.
    int                                  pointsTeam1                    1;	///&lt; Required element.
/// Element pointsTeam2 of type xs:int.
    int                                  pointsTeam2                    1;	///&lt; Required element.
/// Element lastUpdate of type xs:dateTime.
    time_t                               lastUpdate                     1;	///&lt; Required element.
/// Element matchIsFinished of type xs:boolean.
    bool                                 matchIsFinished                1;	///&lt; Required element.
/// Element matchResults of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:ArrayOfMatchResult.
    ns1__ArrayOfMatchResult*             matchResults                   0;	///&lt; Optional element.
/// Element goals of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:ArrayOfGoal.
    ns1__ArrayOfGoal*                    goals                          0;	///&lt; Optional element.
/// Element location of type &quot;http://msiggi.de/Sportsdata/Webservices&quot;:Location.
    ns1__Location*                       location                       1;	///&lt; Required element.
/// Element NumberOfViewers of type xs:int.
    int*                                 NumberOfViewers                1;	///&lt; Nullable pointer.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};
</code></pre>
<p>Als Testergebnisse möchte ich von der 1. Bundesliga/Saison 2011 1. Spieltag die Begegnungen, bekomme aber keine Daten. Im Web-Livetest kann man aber sehen, dass Daten existieren: <a href="http://www.openligadb.de/Matches/WebserviceLivetest" rel="nofollow">http://www.openligadb.de/Matches/WebserviceLivetest</a></p>
<p>Grüße<br />
Danny.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2087367</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2087367</guid><dc:creator><![CDATA[WasserDragoon]]></dc:creator><pubDate>Fri, 01 Jul 2011 18:14:03 GMT</pubDate></item></channel></rss>