Page 1 sur 1

soapcall

Posté : 23 juin 2009, 09:50
par Soap
Bonjour,

Comment indiquer le Namespace a l'instruction SoapCall afin d'avoir dans le Body

<SOAP-ENV:Body><ns1:pg_test ns1:Namespace /></SOAP-ENV:Body>

Merci

Posté : 23 juin 2009, 10:02
par Nagol
regardes soapclient sur php.net

SoapCall

Posté : 23 juin 2009, 12:13
par Soap
j'ai regarde sur PHP.net mais je ne trouve pas de solution ce problème, je tourne en rond, impossible
d'ajouter ce que je veux.

Quelqu'un a une autre idée ?

Merci

Posté : 23 juin 2009, 12:51
par mojorisin
SoapClient::__soapCall
public mixed SoapClient::__soapCall ( string $function_name , array $arguments [, array $options [, mixed $input_headers [, array &$output_headers ]]] )

options :
an associative array of options to pass to the client.
  • The location option is the URL of the remote Web service.
  • The uri option is the target namespace of the SOAP service.
  • The soapaction option is the action to call.

Soapcall

Posté : 23 juin 2009, 14:00
par Saop
Merci mais ca ne fonctionne pas, je n'arrive aps a avoir le syntaxe exact,
Vouis avez un exemple de code concrêt.

Merci

Posté : 23 juin 2009, 14:39
par Nagol
on a pas l'habitude de faire le code pour les gens, on est pas un service de mises en relations fainéasses/pigeons tu sais :)

Posté : 24 juin 2009, 16:11
par julian
Peux-tu nous montrer le code déjà écrit stp ?