See am doing an android application,it has a web back end,am using wordpress,but how can i code web services in wordpress?suppose i need to fetch some contents from database and pass it as json to android phones.So where should i place the php script or how can i do this?Is it possible to do web services using wordpress? Here is the code: [CODE] $select_qry="select * from admin_details where username='$uname' and password='$paswd'"; $result=mysql_query($select_qry); $rows=mysql_num_rows($result); if($rows>0) $admin_arr=mysql_fetch_assoc($result); json_encode($admin_arr); [/CODE] How can i do this in wordpress? Please help me.. Thanks

Member Avatar
Member Avatar
+0 forum 1

Hi Guys, I was hoping someone could point me in the right direction. I have a nusoap server that I am trying to pass an array of data to. For now I just want to simply pass this array back, before handling this data, mainly to help my learning process. The problem in when I pass the data I get this error message: [CODE]Array ( [faultcode] => SOAP-ENV:Server [faultactor] => [faultstring] => unable to serialize result [detail] => )[/CODE] The following code is my nusoap server [CODE]require_once('lib/nusoap.php'); // Create the server instance $server = new soap_server; $server->debug_flag = false; $server->configureWSDL('SyncroWebService', …

Member Avatar
+0 forum 0

I'm using C# in VS2010 and I need some help with a web application. I don't have much experience with web services. I was given the url to a webservice containing methods required to build the login part of the application. No documentation. I have the login piece working though. Then I get stuck. Upon successful login I need to call another method which returns a list (or object?) of Roles that the authenticated user has access to. The items it returns for myself for example are (name, nameField) and a total of 20 roles. I just want to see …

Member Avatar
Member Avatar
+0 forum 3

Hi All, Kindly note that I'm new to this forum. Hope that you can help me. I have a VB.Net application that must connect to online MySql database. I already have a MySql database and I connected to it from VB.net using the MySql connector (new instance and direct connect). All I want to do is to connect to this database via a PHP web service, this will make a fast connection and more users can be connected at the same time. I tried to search for this, and I think that the solution is easy and simple, but I …

Member Avatar
+0 forum 0

I am having trouble debugging in sharepoint. It is acting like I am debugging a different dll than the one I made code for. When stepping through it will skip lines occasionally and randomly just stop debugging. Often it will start debugging then stop randomly and show any new breakpoints I add as the hollow red circles to say it does not have symbols for it. Sometimes it never breaks at all. I have deleted all the pdb files and all dlls to make sure I was getting new ones, but it did not change anything. I have tried restarting …

Member Avatar
Member Avatar
+0 forum 1

Hi. When I try to execute code below I got an error 'Internal error occurred.' [COLOR="Red"]certificate = new X509Certificate2( p12FileBytes, p12FilePassword [/COLOR]); and when I made change to [COLOR="Red"] certificate = new X509Certificate2( p12FileBytes, p12FilePassword,X509KeyStorageFlags.MachineKeySet );[/COLOR] I got another error [B]'Access Denied.'[/B] How can I fix it? In advance THANKS FOR HELP! Regards, Stepan.

Member Avatar
+0 forum 0

I need to create an apache web server that can run Zend Optimizer 2.1.0 or higher. I have looked into a number of wamp products such as wampserver and xampp but as far as I can see neither of these are suitable for live sites. I did look at uniform web server which was great but unfortunately does not support xend optimizer. Does anybody have any suggestions? Thanks

Member Avatar
Member Avatar
+0 forum 1

can anyone find out what d hell is wrong with the last line of this code (c#.net): [CODE] cws = new CustomerCardService.CustomerCardWebReference_Service(); cws.UseDefaultCredentials = true; cwr = new CustomerCardService.CustomerCardWebReference(); List<CustomerCardService.CustomerCardWebReference_Filter> filterArray = new List<CustomerCardService.CustomerCardWebReference_Filter>(); CustomerCardService.CustomerCardWebReference_Filter nameFilter = new CustomerCardService.CustomerCardWebReference_Filter(); filterArray.Add(nameFilter); Customer[] custList = cws.ReadMultiple(filterArray.ToArray(), null, 100); [/CODE] here is the error. really doesn't make sense as iv followed the msdn example fairly closely.... Error 1 Cannot implicitly convert type 'CustomerCardService.CustomerCardWebReference[]' to 'Customer[]'

Member Avatar
Member Avatar
+0 forum 1

I have a web app that when run locally runs as intended. Once published to my server it does not. The issue is related to sql's integrated security. The webservice/sql call is using "domain/machinename" as the login, instead of my active directory credentials. There is no sql security login for the sql server I am accessing. How do I get the web service to read my credentials instead of the servers?

Member Avatar
Member Avatar
+0 forum 1

Hi All, New here and very new to .Net. I am currently trying to learn about consuming web services within .net and am having trouble with the following example. I have the WSDL file to contact a vehicle look up web service which based on the selection in a drop down box, will populate a series of other other drop down boxes based on the previous drop down selection. i.e. - I have a list of vehicle makes stored locally. I select the make (i.e. Ford) - This then needs to call the web service 'Search Models' which based on …

Member Avatar
+0 forum 0

Hi everyone, I have a project that need an API but still in progress. But, I have a problem with this API authentication. The authentication method I want to use is oAuth. But, unfortunately I don't have any acknowledgement about authentication. I've read many tutorial but I still don't know how to start because most of them explain about the client side authentication. And what I need right now is complete example about oAuth implementation (server and client side) and how to deal with the database as well. So, the main question is : [B]Does someone has any resources about …

Member Avatar
Member Avatar
+0 forum 7

Steganography- to hide text into text. Very safe to transport information internet. HERE is [URL="http://www.programva.com/en/php-steganography-encryption"]PHP STEGANOGRAPHY example[/URL]. There is a list of phrases , which is mixed with Caesar cypher :). May somebody hnows another sites?

Member Avatar
+0 forum 0

Hi All, I need to create a new web-service by using php. And I need to use SOAP RPC/encoded for implementing this. I also need to authenticate the soap request using soap header information. Before doing main task that I have created a WSDL file, client and server files using php. I have managed to send the soap request with header. But I am unaware of using the header information in the server side. That is I don't know how to check the header value is correct or not. And I got error while I have setting "must-understand" to 1 …

Member Avatar
+0 forum 0

I'm just going to post my pages here if someone will take a look and let me know where to go from here...sorry, I could have attached files if you would prefer. I am not sure what needs to be in my VB page if anything more is required nor am I clear that my connection string is carrying through to the WebService correctly. Also I am trying to link cascading dropdown list to filter items. I don't really even know if the database is getting hit, but I see no errors, just empty DDL. I am so screwed up …

Member Avatar
Member Avatar
+0 forum 2

The End.