Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PHP Web Service - Cookie Auth
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Esteban Hedez  
View profile   Translate to Translated (View Original)
 More options Apr 25 2012, 4:18 pm
From: Esteban Hedez <estebanhe...@gmail.com>
Date: Wed, 25 Apr 2012 15:18:44 -0500
Local: Wed, Apr 25 2012 4:18 pm
Subject: PHP Web Service - Cookie Auth

Buen dia,

Tengo una duda de como conectarme a un servicio web (WS) el cual es un
externo que vive en la nube, por temas de seguridad este cuenta con
autenticacion por cookies, que segun la revision de la documentacion del WS
requiere un usuario y password, y el mismo me regresa una llave en una
cookie para mi autenticacion.

Alguien tiene expericencia en el tema que me pueda ayudar ?

Les agradesco su tiempo,
Saludos cordiales.

--
----------
Gerardo Esteban Hernández
Software Engineer
*estebanhedez at gmail.com*
gerazord *at* twitter

Please don't print this e-mail unless you really need to


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RaMeL  
View profile   Translate to Translated (View Original)
 More options May 1 2012, 9:19 am
From: RaMeL <ram...@gmail.com>
Date: Tue, 1 May 2012 06:19:14 -0700 (PDT)
Local: Tues, May 1 2012 9:19 am
Subject: Re: PHP Web Service - Cookie Auth

Hola puedes utilizar la libreria NuSOAP para realizar la conexion al WS.

Si requieres usar cookies te pongo un ejemplo de como seria primero creas
la autentificacion con usuario y password ya despues dependiendo lo que te
devuelva y como lo devuelva(para ver esto utiliza el debug del response)
puedes realizar la llama haciendo uso de la información de la cookie:

require_once('nusoap.php');

> $client = new nusoap_client("https://direccion/servicioweb/", false,'',
> '', '', '');

> //en este paso estableces los vales necesarios para la cookie una ves que
> obtienes los datos
> $client->setCookie('Name','ServiceName');
> //realizas la llamada nuevamente al sw
> $result = $client->call('ServicioWeb', $params, '', '');

Espero te pueda ayudar, ya que seria necesario revisar la documentación del
WS.
Saludos.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Alberto Cisneros Alvarez  
View profile   Translate to Translated (View Original)
 More options May 3 2012, 2:27 am
From: Luis Alberto Cisneros Alvarez <luisac...@gmail.com>
Date: Thu, 3 May 2012 01:27:27 -0500
Local: Thurs, May 3 2012 2:27 am
Subject: Re: [PHP México] Re: PHP Web Service - Cookie Auth

como duda, ¿Es de factura electronica?

El may 1, 2012 8:19 a.m., "RaMeL" <ram...@gmail.com> escribió:

Hola puedes utilizar la libreria NuSOAP para realizar la conexion al WS.

Si requieres usar cookies te pongo un ejemplo de como seria primero creas
la autentificacion con usuario y password ya despues dependiendo lo que te
devuelva y como lo devuelva(para ver esto utiliza el debug del response)
puedes realizar la llama haciendo uso de la información de la cookie:

require_once('nusoap.php');

> $client = new nusoap_client("https://direccion/servicioweb/", false,'',
> '', '', '');

> //en este paso estableces los vales necesarios para la cookie una ves que
> obtienes los datos
> $client->setCookie('Name','ServiceName');
> //realizas la llamada nuevamente al sw
> $result = $client->call('ServicioWeb', $params, '', '');

Espero te pueda ayudar, ya que seria necesario revisar la documentación del
WS.
Saludos.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Esteban Hedez  
View profile   Translate to Translated (View Original)
 More options May 3 2012, 3:47 pm
From: Esteban Hedez <estebanhe...@gmail.com>
Date: Thu, 3 May 2012 14:47:42 -0500
Local: Thurs, May 3 2012 3:47 pm
Subject: Re: [PHP México] Re: PHP Web Service - Cookie Auth

Es mas orientado a servicios B2B

2012/5/3 Luis Alberto Cisneros Alvarez <luisac...@gmail.com>

--
----------
Gerardo Esteban Hernández
Software Engineer
*estebanhedez at gmail.com*
gerazord *at* twitter

Please don't print this e-mail unless you really need to


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »