am not good enough with curl functions but I understand some :P I have this webservice http://www.psnapi.com.ar/ps3/api/psn.asmx?op=getGames that required to enter a variable "**sPSNID**" to get list of games the XML output will be like this: <ArrayOfGame> <Game> <Id>NPWR00132_00</Id> <IdGameEurope/> <Title>GTA IV</Title> <Image>http://trophy01.np.community.playstation.net/trophy/np/NPWR00132_00_FB41DD6DD0A782A55D7A8497108B84EB19EDA56C/EF4A80E7CECAFBA06A2F60DA0CC3CAC53B77C9D0.PNG</Image> <Progress>3</Progress> <TrophiesCount> <Earned>3</Earned> <Total>3</Total> <Platinum>0</Platinum> <Gold>0</Gold> <Silver>0</Silver> <Bronze>3</Bronze> </TrophiesCount> <Trophies/> <OrderPlayed>1</OrderPlayed> <Updated>false</Updated> <LastUpdated>2012-12-09T13:24:24</LastUpdated> <Released>0001-01-01T00:00:00</Released> <TotalPoints>1275</TotalPoints> <TotalTrophies>66</TotalTrophies> <UserPoints>45</UserPoints> <Stars>3.975</Stars> <Reviews>20</Reviews> <Platform>ps3</Platform> </Game> ...... and so on until </ArrayOfGame> am using this class <?php class GetGamespsn{ public $psnid; public $xmlobj; public function __construct($psnid='') { if($psnid) { $this->psnid = $psnid; $this->load(); } } public function load() { if($this->psnid) { $url …

Member Avatar
Member Avatar
+0 forum 12

Hi! Ok. So I've got this problem. I have a reference to a WebService that provides a whole bunch of classes representing a table in a database. Now, it's a simple thing to retrieve a list of all those classes and store them for future use. What I would like to do is to iterate through that list, instantiating each class in turn and perform some work with them. I've been looking at the Reflection.Activator class, but that only seem to work when you have an assembly file at hand that can be loaded at runtime. This is not the …

Member Avatar
Member Avatar
+0 forum 1

Hi all, I have question about sessions in web services (VB). I created a function that allows me to login to my web service. I created a session here and added some values I retrieved from a stored procedure. The code will explain more :) [code=vb] <WebMethod(EnableSession:=True)> _ Public Function GebruikerLoginWeb(ByVal strGebr As String, ByVal strWachtw As String) As Boolean Try Dim fm As New Methods_Functions() Dim dsLBPHL As DataSet dsLBPHL = fm.GebruikerLogin(strGebr, strWachtw) If dsLBPHL.Tables.Count > 0 Then boolStatus = True Session("Gebruikersnaam") = dsLBPHL.Tables(0).Rows(0)(0).ToString dsTemp = fm.GebruikerSelecteerAlle(Session("Gebruikersnaam").ToString) Session("Wachtwoord") = dsTemp.Tables(0).Rows(0)(1).ToString Session("Voornaam") = dsTemp.Tables(0).Rows(0)(2).ToString Session("Achternaam") = dsTemp.Tables(0).Rows(0)(3).ToString Session("Adres") = dsTemp.Tables(0).Rows(0)(4).ToString …

Member Avatar
Member Avatar
+0 forum 1

When I try to navigate to the service it shows me the methods like normal but when I try to see the wsdl I get a file not found error. I have created both the wsdl.aspx and the disco.aspx. They have been deployed into _vti_bin folder. I was able to find that an exception was thrown inside of wswsdl.aspx from: [CODE] try { Server.Execute(newUrl); } catch (HttpException) { throw new System.IO.FileNotFoundException(OriginalBaseUrl); } [/CODE] If you need any more information please let me know.

Member Avatar
Member Avatar
+0 forum 2

Hi, I'm novice by complete to webservices et al. I've created successfully a webservice and referenced it in a console application. By simplification let assume that the webservice contains a webmethod, the 'classic' CelsiusToFarenheit (string Celsius). Once referenced i can see my new namespace ServiceReference1 with the following classes inside: CelsiusToFahrenheitRequest CelsiusToFahrenheitRequestBody (it contains the property Celsius) CelsiusToFahrenheitResponse CelsiusToFahrenheitResponseBody (it contains the property CelsiusToFahrenheitResult) Service1SoapClient (with 5 overloads at the instantiation). and 2 interfaces: IService1Soap IService1SoapChannel I've intantiated the first 4 classes and toying with it to no avail. How can i obtain : string Fahreheit = ...... Thanks

Member Avatar
Member Avatar
+0 forum 2

I have written a javascript function that calls a web service to save data. When the web service is called an alert pops up saying [I]the server method saveUpdateCodes failed[/I], and it gives no other information. The thing is the web service executes and throws no errors (I've stepped though it). Also, the alerts in the catch in the javascript code never happen. Does anyone no how this can happen? Could it be the browser, my code...? For testing, I am using Firefox w/ the firebug plugin. The javascript code is below, if you need more information, please ask. Thanks. …

Member Avatar
Member Avatar
+0 forum 5

The End.