GithubHelp home page GithubHelp logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 27, 2024
No me gusta ese cambio, es medio aparatoso.

Habría que probar cambiando en la linea 134 de simplexml.py:

        if text is not None:

Tambien tendriamos que revisar el WSDL para ver si esto es algo standard o no.

Original comment by [email protected] on 9 Jun 2011 at 5:56

  • Changed state: Accepted

from pysimplesoap.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 27, 2024
Estuve revisando las especificaciones de W3C y hasta donde pude ver no se 
incluye el uso de etiquetas vacías.
http://www.w3.org/TR/2001/NOTE-wsdl-20010315

En http://www.w3.org/TR/2000/NOTE-SOAP-20000508/ (Sección "Rules for Encoding 
Types in XML"):

"...A NULL value or a default value MAY be represented by omission of the 
accessor element. A NULL value MAY also be indicated by an accessor element 
containing the attribute xsi:null with value '1' or possibly other 
application-dependent attributes and values. ..."

¿Esto implica que utilizar etiquetas vacías no sigue el estándar?

Original comment by [email protected] on 10 Jun 2011 at 12:27

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from pysimplesoap.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 27, 2024
Adjunto una modificación alternativa para client.py y simplexml. Se pasa 
voidstr como booleano y se agregan elementos al request con string "" siempre 
que SoapClient se haya creado con voidstr = True. Si el comportamiento no es 
estándar, es posible omitir el kwarg (opción por defecto False). El elemento 
se agrega al excluir del filtro los valores "" en la función sorted_dict

Original comment by [email protected] on 11 Jun 2011 at 1:44

Attachments:

from pysimplesoap.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 27, 2024
Ver branch reingart con un ajuste tentativo:

http://code.google.com/p/pysimplesoap/source/list?name=reingart

*IMPORTANTE*: dicho branch rompe compatibilidad hacia átras con ciertas formas 
de enviar tags vacios, por lo que es necesario actualizar el codigo que lo 
utiliza para enviar explicitamente None en vez de listas vacias, string vacios 
o similares.

Original comment by [email protected] on 4 Oct 2011 at 7:25

from pysimplesoap.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 27, 2024
Corregido en la versión 1.05a

Original comment by [email protected] on 8 Jan 2012 at 12:49

  • Changed state: Fixed

from pysimplesoap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.