Open workism opened 7 years ago
Hi,
Thanks for the report. It is unfortunately missing an example script as explained in the documentation (see http://docs.python-zeep.org/en/master/reporting_bugs.html). This is also mentioned when you create the issue on github.
I realise this will result in extra work on your side, but I can really use the extra help.
I create script like http://docs.python-zeep.org/en/master/reporting_bugs.html
Errors when creating the request
but the script crashes on connect
client = Client('http://..
and does not reach
node = client.service._binding.create_message
maybe need real address site for debug ? I'm just not allowed to publish it
from lxml import etree
from zeep import Client
from requests import Session
from requests.auth import HTTPBasicAuth
from zeep.transports import Transport
session = Session()
session.auth = HTTPBasicAuth('login', 'pass')
client = Client('http://.../ws/OnlineServices.1cws?wsdl',transport=Transport(session=session))
# client.service.OPERATION_NAME(args, kwargs) becomes
node = client.service._binding.create_message(
'OPERATION_NAME')
print(etree.tostring(node, pretty_print=True))
Ah yeah i understand it now, zeep doesn't expose the All as an xsd:type. i'll look into it
Hello
zeep version 1.1.0
Site address replaced on example.com !
script
error on client = zeep.Client(wsdl=wsdl, transport=Transport(session=session, cache=cache_))
problem in xs:all xs:all is correct option https://habrahabr.ru/post/90696/ also similar xs:sequence
wsdl