You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from requests import Session
from requests.auth import AuthBase, HTTPBasicAuth # or HTTPDigestAuth, or OAuth1, etc.
from zeep import Client
from zeep.transports import Transport
soap_client = Client(wsdl_url,transport=Transport(session=session))
result = soap_client.service.MethodName('John','businesskey','username','hostname')
ERROR:
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL '/services/': No scheme supplied. Perhaps you meant https:///services/?
I can see from log the url was called twice from model.py. first time is the correct url https://xxxx.wsdl. but second time called is change to /services/ only, no idea why.
Any one help? bugging for days
The text was updated successfully, but these errors were encountered:
from requests import Session
from requests.auth import AuthBase, HTTPBasicAuth # or HTTPDigestAuth, or OAuth1, etc.
from zeep import Client
from zeep.transports import Transport
session = Session()
session.auth = HTTPBasicAuth('name', 'pw')
session.verify = False
wsdl_url = 'https://xxxx/xxx_service/services/publish.wsdl'
soap_client = Client(wsdl_url,transport=Transport(session=session))
result = soap_client.service.MethodName('John','businesskey','username','hostname')
ERROR:
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL '/services/': No scheme supplied. Perhaps you meant https:///services/?
I can see from log the url was called twice from model.py. first time is the correct url https://xxxx.wsdl. but second time called is change to /services/ only, no idea why.
Any one help? bugging for days
The text was updated successfully, but these errors were encountered: