Foros del Web » Programando para Internet » ASPX (.net) »

leer servicio WEb de php en C# aspx

Estas en el tema de leer servicio WEb de php en C# aspx en el foro de ASPX (.net) en Foros del Web. hola tengo las siguientes lineas de codigo y con el web reference referenciado en mi proyecto Código: private void btnLecturaBLur_Click(object sender, EventArgs e) { //get ...
  #1 (permalink)  
Antiguo 07/07/2016, 11:09
 
Fecha de Ingreso: abril-2009
Mensajes: 36
Antigüedad: 15 años
Puntos: 0
leer servicio WEb de php en C# aspx

hola

tengo las siguientes lineas de codigo y con el web reference referenciado en mi proyecto

Código:
private void btnLecturaBLur_Click(object sender, EventArgs e)
        {

            //get the web service method
             recibodlxService serviceProxy = new recibodlxService();


             object[] sXmlProp = serviceProxy.Controlrecibo();
en la linea

Código:
 object[] sXmlProp = serviceProxy.Controlrecibo();
me sale error EL DOCUMENTO xml (2, 454)

aca expongo el primer item de xml que arroja el web service visualizado por SOAP UI


Código:
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xxxxx.net/LFA/xxx.php" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <SOAP-ENV:Body>
      <ns1:ControlreciboResponse>
         <return SOAP-ENC:arrayType="ns2:Map[6]" xsi:type="SOAP-ENC:Array">
            <item xsi:type="ns2:Map">
               <item>
                  <key xsi:type="xsd:string">OCN</key>
                  <value xsi:type="ns2:Map">
                     <item>
                        <key xsi:type="xsd:int">39147</key>
                        <value xsi:type="ns2:Map">
                           <item>
                              <key xsi:type="xsd:string">Codigo</key>
                              <value xsi:type="xsd:string">17429</value>
                           </item>
                           <item>
                              <key xsi:type="xsd:string">Cantidad</key>
                              <value xsi:type="xsd:int">12</value>
                           </item>
                           <item>
                              <key xsi:type="xsd:string">Estatus</key>
                              <value xsi:type="xsd:string">Disponible</value>
                           </item>
                        </value>
                     </item>
                  </value>
               </item>
            </item>
que posible error es que este generando??

Etiquetas: aspx, php, servicio
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:50.