Click here to Skip to main content
15,920,513 members
Home / Discussions / C#
   

C#

 
AnswerRe: .NET Framework Version Pin
PIEBALDconsult17-May-09 16:14
mvePIEBALDconsult17-May-09 16:14 
GeneralRe: .NET Framework Version Pin
adatapost17-May-09 17:20
adatapost17-May-09 17:20 
GeneralRe: .NET Framework Version Pin
PIEBALDconsult17-May-09 18:00
mvePIEBALDconsult17-May-09 18:00 
AnswerRe: .NET Framework Version Pin
adatapost17-May-09 20:59
adatapost17-May-09 20:59 
AnswerRe: .NET Framework Version Pin
DaveyM6917-May-09 22:58
professionalDaveyM6917-May-09 22:58 
GeneralRe: .NET Framework Version Pin
Blue36517-May-09 23:25
Blue36517-May-09 23:25 
GeneralRe: .NET Framework Version Pin
PIEBALDconsult18-May-09 4:09
mvePIEBALDconsult18-May-09 4:09 
Generalget complex type from nusoap Pin
jahc17-May-09 14:36
jahc17-May-09 14:36 
hi guys i am a informatic student and i am trying to bind php and c# with webservice (nusoap. so i have this php script:
<?
//incluimos la clase nusoap.php
require_once('lib/nusoap.php');

//declaramos el namespace
$ns="http://www.dominio.com/servidor.php";

//Setup del WSDL
$server = new soap_server();
$server->configureWSDL('webservice',$ns);
$server->wsdl->schemaTargetNamespace=$ns;

//Definimos la estructura de cada registro
$server->wsdl->addComplexType(
'registro',
'complexType',
'struct',
'all',
'',
array(
'nick'=>array('name' => 'nick', 'type' => 'xsd:string'),
'pass'=>array('name' => 'pass', 'type' => 'xsd:string'),
'telefono'=>array('name' => 'telefono', 'type' => 'xsd:string')
)
);

//Definimos la estructura de la matriz que usa los registros
$server->wsdl->addComplexType('estructura', 'complexType', 'array', '',
'SOAP-ENC:Array', array(),
array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:registro[]')),
'tns:registro');

//Registramos el método para devolver los valores de la tabla, en este caso es una consulta simple, mediante la cual se devuelven todos los registros de la tabla sin recibir ningún dato del cliente:

$server->register('obtenerdatos',array(),array('return'=>'tns:estructura')); //Definimos que lo que vamos a retornar es una matriz con la estructura "estructura

function obtenerdatos(){
$link = mysql_connect("localhost","root","213141");
mysql_select_db("ws");
$ssql_=mysql_query("select nick, pass, telefono from usuarios",$link)or die(mysql_error());
$numrows=mysql_num_rows ($ssql_);
$tabla=array();
for($x = 0; $x < $numrows; $x++) {
$tabla[]= mysql_fetch_array($ssql_);
}
return $tabla;
}

//llamamos al método service de la clase nusoap
$server->service($HTTP_RAW_POST_DATA);
?>

but i don't know how to get the data in c#, please help me. Cry | :((
It is too importan for me.
thanks

jahc the best

Questioneasy wait(delay) like an "watabletimer & waitforsingleobjectex" Pin
Bernard3817-May-09 13:27
Bernard3817-May-09 13:27 
AnswerRe: easy wait(delay) like an "watabletimer & waitforsingleobjectex" Pin
Luc Pattyn17-May-09 16:11
sitebuilderLuc Pattyn17-May-09 16:11 
QuestionResizable control at runtime. Pin
stardust161117-May-09 9:58
stardust161117-May-09 9:58 
QuestionUsing Exponentiation Operator ^ on Deciaml Pin
GregoryWB17-May-09 9:41
GregoryWB17-May-09 9:41 
AnswerRe: Using Exponentiation Operator ^ on Deciaml Pin
Luc Pattyn17-May-09 9:51
sitebuilderLuc Pattyn17-May-09 9:51 
GeneralRe: Using Exponentiation Operator ^ on Deciaml [modified] Pin
GregoryWB17-May-09 10:12
GregoryWB17-May-09 10:12 
GeneralRe: Using Exponentiation Operator ^ on Deciaml Pin
PIEBALDconsult17-May-09 11:58
mvePIEBALDconsult17-May-09 11:58 
QuestionMultiple DataAdapters Pin
Maverickcool17-May-09 9:31
Maverickcool17-May-09 9:31 
AnswerRe: Multiple DataAdapters Pin
fly90417-May-09 9:45
fly90417-May-09 9:45 
AnswerRe: Multiple DataAdapters Pin
PIEBALDconsult17-May-09 16:22
mvePIEBALDconsult17-May-09 16:22 
Question[Message Deleted] Pin
hkjghkj117-May-09 9:13
hkjghkj117-May-09 9:13 
AnswerRe: fill already drown rectangle Pin
0x3c017-May-09 9:44
0x3c017-May-09 9:44 
GeneralRe: fill already drown rectangle Pin
Luc Pattyn17-May-09 9:54
sitebuilderLuc Pattyn17-May-09 9:54 
Questionsql server profiler Pin
behzadcp17-May-09 8:07
professionalbehzadcp17-May-09 8:07 
AnswerRe: sql server profiler Pin
Pete O'Hanlon17-May-09 8:40
mvePete O'Hanlon17-May-09 8:40 
GeneralRe: sql server profiler Pin
behzadcp18-May-09 7:33
professionalbehzadcp18-May-09 7:33 
QuestionSql Connection - Ado.net - question Pin
EmZan17-May-09 4:01
EmZan17-May-09 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.