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
Message from discussion Como acceder a variables SOAP
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
 
mmunozfer  
View profile   Translate to Translated (View Original)
 More options Apr 12 2010, 3:28 am
From: mmunozfer <mmunoz...@gmail.com>
Date: Mon, 12 Apr 2010 00:28:11 -0700 (PDT)
Local: Mon, Apr 12 2010 3:28 am
Subject: Como acceder a variables SOAP

Hola, soy nuevo con soap y tengo un pequeño problema.

Estoy haciendo un servidor para recibir peticiones, y no se acceder a
los parametros "de segundo nivel", es decir:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:tns="http://www.huawei.com/schema/syncorder/v1-0/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc11="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/
2003/05/soap-encoding" xmlns:soap11="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-
ENV:Body><tns:SyncOrderRelationExt xmlns:tns="http://www.huawei.com/
schema/syncorder/v1-0/"><tns:UserID><tns:ID>89123798</
tns:ID><tns:type>21</tns:type></tns:UserID><tns:SPID>83927483</
tns:SPID><tns:productID>328427</tns:productID><tns:serviceID>3232</
tns:serviceID><tns:serviceList></tns:serviceList><tns:updateType></
tns:updateType><tns:updateTime></tns:updateTime><tns:updateDesc></
tns:updateDesc><tns:effectiveTime></
tns:effectiveTime><tns:expiryTime></
tns:expiryTime><tns:extensionInfo><tns:NamedParame
terList><tns:NamedParameters><tns:ArrayOfNameParam
eter><tns:NamedParameter><tns:key></tns:key><tns:value></tns:value></
tns:NamedParameter></tns:ArrayOfNameParameter></tns:NamedParameters></
tns:NamedParameterList></tns:extensionInfo></
tns:SyncOrderRelationExt></SOAP-ENV:Body></SOAP-ENV:Envelope>

Cuando me envían esto yo accedo a los parámetros así:

$param->productID;
y funciona perfectamente, pero cuando quiero acceder al ID, dentro de
userID no puedo. Yo intento hacer lo siguiente:

$param->userID->ID;
Pero se ve que no se hace así... alguien me puede echar una mano?

Muchas gracias y un saludo a todos


 
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.