From 693b7999d96c6e0e0dfffaee5c0dbbd16587e1e1 Mon Sep 17 00:00:00 2001 From: Christian Schiffer <c.schiffer@fz-juelich.de> Date: Thu, 19 Nov 2020 08:11:34 +0100 Subject: [PATCH] Removed notebooks folder --- ..._09_09_unicore_playground-checkpoint.ipynb | 174 --- notebooks/2019_09_09_unicore_playground.ipynb | 232 ---- notebooks/AuthenticationService.wsdl | 21 - ...ionService?wsdl=AuthenticationService.wsdl | 1120 ----------------- ...nService?wsdl=AuthenticationService.wsdl.1 | 1120 ----------------- 5 files changed, 2667 deletions(-) delete mode 100644 notebooks/.ipynb_checkpoints/2019_09_09_unicore_playground-checkpoint.ipynb delete mode 100644 notebooks/2019_09_09_unicore_playground.ipynb delete mode 100644 notebooks/AuthenticationService.wsdl delete mode 100644 notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl delete mode 100644 notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl.1 diff --git a/notebooks/.ipynb_checkpoints/2019_09_09_unicore_playground-checkpoint.ipynb b/notebooks/.ipynb_checkpoints/2019_09_09_unicore_playground-checkpoint.ipynb deleted file mode 100644 index a739332..0000000 --- a/notebooks/.ipynb_checkpoints/2019_09_09_unicore_playground-checkpoint.ipynb +++ /dev/null @@ -1,174 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# 2019_09_09_unicore_playground" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Step 1: Get token from Unity\n", - "\n", - "Unity SOAP service: `https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService`\n", - "WSDL: `https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl`" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T06:56:48.270274Z", - "start_time": "2019-09-10T06:56:47.535358Z" - }, - "scrolled": true - }, - "outputs": [], - "source": [ - "!pip install zeep" - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T06:57:02.647705Z", - "start_time": "2019-09-10T06:57:02.639109Z" - } - }, - "outputs": [], - "source": [ - "unity_authentication_service_wsdl = \"https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl=AuthenticationService.wsdl\"" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T06:59:27.741722Z", - "start_time": "2019-09-10T06:59:27.683275Z" - }, - "scrolled": false - }, - "outputs": [ - { - "ename": "NamespaceError", - "evalue": "Unable to resolve element {http://www.w3.org/2001/04/xmlenc#}EncryptedData. No schema available for the namespace 'http://www.w3.org/2001/04/xmlenc#'.", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNamespaceError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_get_instance\u001b[0;34m(self, qname, method_name, name)\u001b[0m\n\u001b[1;32m 245\u001b[0m \u001b[0mlast_exception\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 246\u001b[0;31m \u001b[0;32mfor\u001b[0m \u001b[0mschema\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_get_schema_documents\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mnamespace\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 247\u001b[0m \u001b[0mmethod\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mgetattr\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mschema\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmethod_name\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_get_schema_documents\u001b[0;34m(self, namespace, fail_silently)\u001b[0m\n\u001b[1;32m 309\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 310\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdocuments\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_by_namespace\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mnamespace\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfail_silently\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 311\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36mget_by_namespace\u001b[0;34m(self, namespace, fail_silently)\u001b[0m\n\u001b[1;32m 345\u001b[0m raise exceptions.NamespaceError(\n\u001b[0;32m--> 346\u001b[0;31m \u001b[0;34m\"No schema available for the namespace %r\"\u001b[0m \u001b[0;34m%\u001b[0m \u001b[0mnamespace\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 347\u001b[0m )\n", - "\u001b[0;31mNamespaceError\u001b[0m: No schema available for the namespace 'http://www.w3.org/2001/04/xmlenc#'", - "\nDuring handling of the above exception, another exception occurred:\n", - "\u001b[0;31mNamespaceError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m<ipython-input-10-824d7c52d6fb>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0msettings\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mSettings\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mforbid_external\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mforce_https\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m \u001b[0mclient\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mClient\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0munity_authentication_service_wsdl\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msettings\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 5\u001b[0m \u001b[0;31m# result = client.service.ConvertSpeed(100, 'kilometersPerhour', 'milesPerhour')\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/client.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, wsdl, wsse, transport, service_name, port_name, plugins, settings)\u001b[0m\n\u001b[1;32m 66\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msettings\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msettings\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0mSettings\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 67\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtransport\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtransport\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mtransport\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32melse\u001b[0m \u001b[0mTransport\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 68\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwsdl\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mDocument\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mwsdl\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtransport\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msettings\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 69\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwsse\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwsse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 70\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mplugins\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mplugins\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mplugins\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32melse\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, location, transport, base, settings)\u001b[0m\n\u001b[1;32m 80\u001b[0m \u001b[0mdocument\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_get_xml_document\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 81\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 82\u001b[0;31m \u001b[0mroot_definitions\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mDefinition\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdocument\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 83\u001b[0m \u001b[0mroot_definitions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve_imports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 84\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, wsdl, doc, location)\u001b[0m\n\u001b[1;32m 182\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_imports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 183\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 184\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_types\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 185\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmessages\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_messages\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 186\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mport_types\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_ports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36mparse_types\u001b[0;34m(self, doc)\u001b[0m\n\u001b[1;32m 314\u001b[0m \u001b[0;31m# Find xsd:schema elements (wsdl:types/xsd:schema)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 315\u001b[0m \u001b[0mschema_nodes\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfindall_multiple_ns\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"wsdl:types/xsd:schema\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mnamespace_sets\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 316\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtypes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0madd_documents\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mschema_nodes\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 317\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 318\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mparse_messages\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36madd_documents\u001b[0;34m(self, schema_nodes, location)\u001b[0m\n\u001b[1;32m 115\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 116\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mdocument\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mresolve_queue\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 117\u001b[0;31m \u001b[0mdocument\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 118\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 119\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prefix_map_auto\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_create_prefix_map\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 473\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_attribute_groups\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 474\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_attributes\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 475\u001b[0;31m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_elements\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 476\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_groups\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 477\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_types\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_resolve_dict\u001b[0;34m(val)\u001b[0m\n\u001b[1;32m 454\u001b[0m \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 455\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mkey\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mobj\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mval\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mitems\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 456\u001b[0;31m \u001b[0mnew\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mobj\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 457\u001b[0m \u001b[0;32massert\u001b[0m \u001b[0mnew\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"resolve() should return an object\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 458\u001b[0m \u001b[0mval\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mkey\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mnew\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/element.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 299\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 300\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 301\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 302\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 303\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/element.py\u001b[0m in \u001b[0;36mresolve_type\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 296\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 297\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 298\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtype\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtype\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 299\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 300\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/types/unresolved.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 21\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 22\u001b[0m \u001b[0mretval\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mschema\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 23\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mretval\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 24\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 25\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/types/complex.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 359\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 360\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_element\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 361\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_element\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_element\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 362\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 363\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_resolved\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/indicators.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 211\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 212\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0melm\u001b[0m \u001b[0;32min\u001b[0m \u001b[0menumerate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 213\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0melm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 214\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 215\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/references.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 21\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 22\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 23\u001b[0;31m \u001b[0melm\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_schema\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_element\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_ref\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 24\u001b[0m elm = elm.clone(\n\u001b[1;32m 25\u001b[0m \u001b[0melm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmin_occurs\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmin_occurs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmax_occurs\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_occurs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36mget_element\u001b[0;34m(self, qname)\u001b[0m\n\u001b[1;32m 132\u001b[0m \"\"\"\n\u001b[1;32m 133\u001b[0m \u001b[0mqname\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_create_qname\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 134\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_get_instance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"get_element\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"element\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 135\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 136\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mget_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mqname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfail_silently\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_get_instance\u001b[0;34m(self, qname, method_name, name)\u001b[0m\n\u001b[1;32m 259\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m\"No schema available for the namespace %r.\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 260\u001b[0m )\n\u001b[0;32m--> 261\u001b[0;31m \u001b[0;34m%\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mqname\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtext\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mqname\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mnamespace\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 262\u001b[0m )\n\u001b[1;32m 263\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mNamespaceError\u001b[0m: Unable to resolve element {http://www.w3.org/2001/04/xmlenc#}EncryptedData. No schema available for the namespace 'http://www.w3.org/2001/04/xmlenc#'." - ] - } - ], - "source": [ - "from zeep import Client, Settings\n", - "\n", - "settings = Settings(forbid_external=False, force_https=False)\n", - "client = Client(unity_authentication_service_wsdl, settings=settings)\n", - "# result = client.service.ConvertSpeed(100, 'kilometersPerhour', 'milesPerhour')\n", - "\n", - "# assert result == 62.137" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.7.3" - }, - "toc": { - "base_numbering": 1, - "nav_menu": {}, - "number_sections": true, - "sideBar": true, - "skip_h1_title": false, - "title_cell": "Table of Contents", - "title_sidebar": "Contents", - "toc_cell": false, - "toc_position": {}, - "toc_section_display": true, - "toc_window_display": false - }, - "varInspector": { - "cols": { - "lenName": 16, - "lenType": 16, - "lenVar": 40 - }, - "kernels_config": { - "python": { - "delete_cmd_postfix": "", - "delete_cmd_prefix": "del ", - "library": "var_list.py", - "varRefreshCmd": "print(var_dic_list())" - }, - "r": { - "delete_cmd_postfix": ") ", - "delete_cmd_prefix": "rm(", - "library": "var_list.r", - "varRefreshCmd": "cat(var_dic_list()) " - } - }, - "types_to_exclude": [ - "module", - "function", - "builtin_function_or_method", - "instance", - "_Feature" - ], - "window_display": false - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/notebooks/2019_09_09_unicore_playground.ipynb b/notebooks/2019_09_09_unicore_playground.ipynb deleted file mode 100644 index e19221f..0000000 --- a/notebooks/2019_09_09_unicore_playground.ipynb +++ /dev/null @@ -1,232 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# 2019_09_09_unicore_playground" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Step 1: Get token from Unity\n", - "\n", - "Unity SOAP service: `https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService`\n", - "WSDL: `https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl`" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T06:56:48.270274Z", - "start_time": "2019-09-10T06:56:47.535358Z" - }, - "scrolled": true - }, - "outputs": [], - "source": [ - "!pip install zeep" - ] - }, - { - "cell_type": "code", - "execution_count": 28, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T07:41:18.412885Z", - "start_time": "2019-09-10T07:41:18.400308Z" - } - }, - "outputs": [], - "source": [ - "unity_authentication_service_wsdl = \"https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl\"" - ] - }, - { - "cell_type": "code", - "execution_count": 25, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T07:39:02.365877Z", - "start_time": "2019-09-10T07:39:02.178165Z" - } - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "--2019-09-10 09:39:02-- https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl\n", - "CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen\n", - "Auflösen des Hostnamens unity-jsc.fz-juelich.de (unity-jsc.fz-juelich.de)… 134.94.0.190\n", - "Verbindungsaufbau zu unity-jsc.fz-juelich.de (unity-jsc.fz-juelich.de)|134.94.0.190|:443 … verbunden.\n", - "HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK\n", - "Länge: 1540 (1,5K) [text/xml]\n", - "Wird in »AuthenticationService.wsdl« gespeichert.\n", - "\n", - "AuthenticationServi 100%[===================>] 1,50K --.-KB/s in 0s \n", - "\n", - "2019-09-10 09:39:02 (35,5 MB/s) - »AuthenticationService.wsdl« gespeichert [1540/1540]\n", - "\n" - ] - } - ], - "source": [ - "!wget https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl -O AuthenticationService.wsdl" - ] - }, - { - "cell_type": "code", - "execution_count": 29, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T07:41:22.952011Z", - "start_time": "2019-09-10T07:41:22.886953Z" - }, - "scrolled": true - }, - "outputs": [ - { - "ename": "NamespaceError", - "evalue": "Unable to resolve element {http://www.w3.org/2001/04/xmlenc#}EncryptedData. No schema available for the namespace 'http://www.w3.org/2001/04/xmlenc#'.", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNamespaceError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_get_instance\u001b[0;34m(self, qname, method_name, name)\u001b[0m\n\u001b[1;32m 245\u001b[0m \u001b[0mlast_exception\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 246\u001b[0;31m \u001b[0;32mfor\u001b[0m \u001b[0mschema\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_get_schema_documents\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mnamespace\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 247\u001b[0m \u001b[0mmethod\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mgetattr\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mschema\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmethod_name\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_get_schema_documents\u001b[0;34m(self, namespace, fail_silently)\u001b[0m\n\u001b[1;32m 309\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 310\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdocuments\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_by_namespace\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mnamespace\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfail_silently\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 311\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36mget_by_namespace\u001b[0;34m(self, namespace, fail_silently)\u001b[0m\n\u001b[1;32m 345\u001b[0m raise exceptions.NamespaceError(\n\u001b[0;32m--> 346\u001b[0;31m \u001b[0;34m\"No schema available for the namespace %r\"\u001b[0m \u001b[0;34m%\u001b[0m \u001b[0mnamespace\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 347\u001b[0m )\n", - "\u001b[0;31mNamespaceError\u001b[0m: No schema available for the namespace 'http://www.w3.org/2001/04/xmlenc#'", - "\nDuring handling of the above exception, another exception occurred:\n", - "\u001b[0;31mNamespaceError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m<ipython-input-29-8d3e3a976e02>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0msettings\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mSettings\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mforbid_external\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mforce_https\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m \u001b[0mclient\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mClient\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"AuthenticationService.wsdl\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msettings\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 5\u001b[0m \u001b[0;31m# result = client.service.ConvertSpeed(100, 'kilometersPerhour', 'milesPerhour')\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/client.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, wsdl, wsse, transport, service_name, port_name, plugins, settings)\u001b[0m\n\u001b[1;32m 66\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msettings\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msettings\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0mSettings\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 67\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtransport\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtransport\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mtransport\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32melse\u001b[0m \u001b[0mTransport\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 68\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwsdl\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mDocument\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mwsdl\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtransport\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msettings\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 69\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwsse\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwsse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 70\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mplugins\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mplugins\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mplugins\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32melse\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, location, transport, base, settings)\u001b[0m\n\u001b[1;32m 80\u001b[0m \u001b[0mdocument\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_get_xml_document\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 81\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 82\u001b[0;31m \u001b[0mroot_definitions\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mDefinition\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdocument\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 83\u001b[0m \u001b[0mroot_definitions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve_imports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 84\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, wsdl, doc, location)\u001b[0m\n\u001b[1;32m 180\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 181\u001b[0m \u001b[0;31m# Process the definitions\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 182\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_imports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 183\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 184\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_types\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36mparse_imports\u001b[0;34m(self, doc)\u001b[0m\n\u001b[1;32m 276\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtypes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0madd_documents\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mdocument\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 277\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 278\u001b[0;31m \u001b[0mwsdl\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mDefinition\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwsdl\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdocument\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 279\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mimports\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mkey\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwsdl\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 280\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, wsdl, doc, location)\u001b[0m\n\u001b[1;32m 182\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_imports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 183\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 184\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_types\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 185\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmessages\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_messages\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 186\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mport_types\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mparse_ports\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/wsdl/wsdl.py\u001b[0m in \u001b[0;36mparse_types\u001b[0;34m(self, doc)\u001b[0m\n\u001b[1;32m 314\u001b[0m \u001b[0;31m# Find xsd:schema elements (wsdl:types/xsd:schema)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 315\u001b[0m \u001b[0mschema_nodes\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfindall_multiple_ns\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdoc\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"wsdl:types/xsd:schema\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mnamespace_sets\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 316\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtypes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0madd_documents\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mschema_nodes\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlocation\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 317\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 318\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mparse_messages\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdoc\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36madd_documents\u001b[0;34m(self, schema_nodes, location)\u001b[0m\n\u001b[1;32m 115\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 116\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mdocument\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mresolve_queue\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 117\u001b[0;31m \u001b[0mdocument\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 118\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 119\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prefix_map_auto\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_create_prefix_map\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 473\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_attribute_groups\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 474\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_attributes\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 475\u001b[0;31m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_elements\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 476\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_groups\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 477\u001b[0m \u001b[0m_resolve_dict\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_types\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_resolve_dict\u001b[0;34m(val)\u001b[0m\n\u001b[1;32m 454\u001b[0m \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 455\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mkey\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mobj\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mval\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mitems\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 456\u001b[0;31m \u001b[0mnew\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mobj\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 457\u001b[0m \u001b[0;32massert\u001b[0m \u001b[0mnew\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"resolve() should return an object\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 458\u001b[0m \u001b[0mval\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mkey\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mnew\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/element.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 299\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 300\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 301\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 302\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 303\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/element.py\u001b[0m in \u001b[0;36mresolve_type\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 296\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 297\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 298\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtype\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtype\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 299\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 300\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/types/unresolved.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 21\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 22\u001b[0m \u001b[0mretval\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mschema\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 23\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mretval\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 24\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 25\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/types/complex.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 359\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 360\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_element\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 361\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_element\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_element\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 362\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 363\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_resolved\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/indicators.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 211\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 212\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0melm\u001b[0m \u001b[0;32min\u001b[0m \u001b[0menumerate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 213\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0melm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 214\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 215\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/elements/references.py\u001b[0m in \u001b[0;36mresolve\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 21\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 22\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mresolve\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 23\u001b[0;31m \u001b[0melm\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_schema\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_element\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_ref\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 24\u001b[0m elm = elm.clone(\n\u001b[1;32m 25\u001b[0m \u001b[0melm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmin_occurs\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmin_occurs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmax_occurs\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_occurs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36mget_element\u001b[0;34m(self, qname)\u001b[0m\n\u001b[1;32m 132\u001b[0m \"\"\"\n\u001b[1;32m 133\u001b[0m \u001b[0mqname\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_create_qname\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 134\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_get_instance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mqname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"get_element\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"element\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 135\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 136\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mget_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mqname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfail_silently\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/zeep/xsd/schema.py\u001b[0m in \u001b[0;36m_get_instance\u001b[0;34m(self, qname, method_name, name)\u001b[0m\n\u001b[1;32m 259\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m\"No schema available for the namespace %r.\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 260\u001b[0m )\n\u001b[0;32m--> 261\u001b[0;31m \u001b[0;34m%\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mqname\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtext\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mqname\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mnamespace\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 262\u001b[0m )\n\u001b[1;32m 263\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mNamespaceError\u001b[0m: Unable to resolve element {http://www.w3.org/2001/04/xmlenc#}EncryptedData. No schema available for the namespace 'http://www.w3.org/2001/04/xmlenc#'." - ] - } - ], - "source": [ - "from zeep import Client, Settings\n", - "\n", - "settings = Settings(forbid_external=False, force_https=False)\n", - "client = Client(\"AuthenticationService.wsdl\", settings=settings)\n", - "# result = client.service.ConvertSpeed(100, 'kilometersPerhour', 'milesPerhour')\n", - "\n", - "# assert result == 62.137" - ] - }, - { - "cell_type": "code", - "execution_count": 30, - "metadata": { - "ExecuteTime": { - "end_time": "2019-09-10T07:41:32.052714Z", - "start_time": "2019-09-10T07:41:32.041419Z" - } - }, - "outputs": [], - "source": [ - "import requests\n", - "\n", - "url = \"https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl\"\n", - "headers = {\"content-type\": \"text/xml\"}\n", - "body = \"\"\"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", - " <SOAP-ENV:Envelope xmlns:ns0=\"http://ws.cdyne.com/WeatherWS/\" xmlns:ns1=\"http://schemas.xmlsoap.org/soap/envelope/\" \n", - " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\">\n", - " <SOAP-ENV:Header/>\n", - " <ns1:Body><ns0:GetWeatherInformation/></ns1:Body>\n", - " </SOAP-ENV:Envelope>\"\"\"" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.7.3" - }, - "toc": { - "base_numbering": 1, - "nav_menu": {}, - "number_sections": true, - "sideBar": true, - "skip_h1_title": false, - "title_cell": "Table of Contents", - "title_sidebar": "Contents", - "toc_cell": false, - "toc_position": {}, - "toc_section_display": true, - "toc_window_display": false - }, - "varInspector": { - "cols": { - "lenName": 16, - "lenType": 16, - "lenVar": 40 - }, - "kernels_config": { - "python": { - "delete_cmd_postfix": "", - "delete_cmd_prefix": "del ", - "library": "var_list.py", - "varRefreshCmd": "print(var_dic_list())" - }, - "r": { - "delete_cmd_postfix": ") ", - "delete_cmd_prefix": "rm(", - "library": "var_list.r", - "varRefreshCmd": "cat(var_dic_list()) " - } - }, - "types_to_exclude": [ - "module", - "function", - "builtin_function_or_method", - "instance", - "_Feature" - ], - "window_display": false - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/notebooks/AuthenticationService.wsdl b/notebooks/AuthenticationService.wsdl deleted file mode 100644 index 01e2898..0000000 --- a/notebooks/AuthenticationService.wsdl +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://ws.samlidp.unicore.unity.icm.edu.pl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://schemas.xmlsoap.org/soap/http" xmlns:ns1="urn:oasis:names:tc:SAML:2.0:protocol" name="SAMLETDAuthnImplService" targetNamespace="http://ws.samlidp.unicore.unity.icm.edu.pl/"> - <wsdl:import location="https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService?wsdl=AuthenticationService.wsdl" namespace="urn:oasis:names:tc:SAML:2.0:protocol"> - </wsdl:import> - <wsdl:binding name="SAMLETDAuthnImplServiceSoapBinding" type="ns1:AuthenticationService"> - <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="AuthnRequest"> - <soap:operation soapAction="http://www.oasis-open.org/committees/security" style="document"/> - <wsdl:input name="AuthnRequest"> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output name="AuthnRequestResponse"> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="SAMLETDAuthnImplService"> - <wsdl:port binding="tns:SAMLETDAuthnImplServiceSoapBinding" name="SAMLETDAuthnImplPort"> - <soap:address location="https://unity-jsc.fz-juelich.de/unicore-soapidp/saml2unicoreidp-soap/AuthenticationService"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> \ No newline at end of file diff --git a/notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl b/notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl deleted file mode 100644 index a47a774..0000000 --- a/notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl +++ /dev/null @@ -1,1120 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:oasis:names:tc:SAML:2.0:protocol" name="AuthenticationService" targetNamespace="urn:oasis:names:tc:SAML:2.0:protocol"> - <wsdl:types> -<schema xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" blockDefault="substitution" elementFormDefault="unqualified" targetNamespace="urn:oasis:names:tc:SAML:2.0:assertion" version="2.0"> - - <import namespace="http://www.w3.org/2000/09/xmldsig#"/> - - <import namespace="http://www.w3.org/2001/04/xmlenc"/> - - <annotation> - - <documentation> - Document identifier: saml-schema-assertion-2.0 - Location: http://docs.oasis-open.org/security/saml/v2.0/ - Revision history: - V1.0 (November, 2002): - Initial Standard Schema. - V1.1 (September, 2003): - Updates within the same V1.0 namespace. - V2.0 (March, 2005): - New assertion schema for SAML V2.0 namespace. - </documentation> - - </annotation> - - <attributeGroup name="IDNameQualifiers"> - - <attribute name="NameQualifier" type="string" use="optional"/> - - <attribute name="SPNameQualifier" type="string" use="optional"/> - - </attributeGroup> - - <element name="BaseID" type="saml:BaseIDAbstractType"/> - - <complexType abstract="true" name="BaseIDAbstractType"> - - <attributeGroup ref="saml:IDNameQualifiers"/> - - </complexType> - - <element name="NameID" type="saml:NameIDType"/> - - <complexType name="NameIDType"> - - <simpleContent> - - <extension base="string"> - - <attributeGroup ref="saml:IDNameQualifiers"/> - - <attribute name="Format" type="anyURI" use="optional"/> - - <attribute name="SPProvidedID" type="string" use="optional"/> - - </extension> - - </simpleContent> - - </complexType> - - <complexType name="EncryptedElementType"> - - <sequence> - - <element ref="xenc:EncryptedData"/> - - <element maxOccurs="unbounded" minOccurs="0" ref="xenc:EncryptedKey"/> - - </sequence> - - </complexType> - - <element name="EncryptedID" type="saml:EncryptedElementType"/> - - <element name="Issuer" type="saml:NameIDType"/> - - <element name="AssertionIDRef" type="NCName"/> - - <element name="AssertionURIRef" type="anyURI"/> - - <element name="Assertion" type="saml:AssertionType"/> - - <complexType name="AssertionType"> - - <sequence> - - <element ref="saml:Issuer"/> - - <element minOccurs="0" ref="ds:Signature"/> - - <element minOccurs="0" ref="saml:Subject"/> - - <element minOccurs="0" ref="saml:Conditions"/> - - <element minOccurs="0" ref="saml:Advice"/> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:Statement"/> - - <element ref="saml:AuthnStatement"/> - - <element ref="saml:AuthzDecisionStatement"/> - - <element ref="saml:AttributeStatement"/> - - </choice> - - </sequence> - - <attribute name="Version" type="string" use="required"/> - - <attribute name="ID" type="ID" use="required"/> - - <attribute name="IssueInstant" type="dateTime" use="required"/> - - </complexType> - - <element name="Subject" type="saml:SubjectType"/> - - <complexType name="SubjectType"> - - <choice> - - <sequence> - - <choice> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:SubjectConfirmation"/> - - </sequence> - - <element maxOccurs="unbounded" ref="saml:SubjectConfirmation"/> - - </choice> - - </complexType> - - <element name="SubjectConfirmation" type="saml:SubjectConfirmationType"/> - - <complexType name="SubjectConfirmationType"> - - <sequence> - - <choice minOccurs="0"> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element minOccurs="0" ref="saml:SubjectConfirmationData"/> - - </sequence> - - <attribute name="Method" type="anyURI" use="required"/> - - </complexType> - - <element name="SubjectConfirmationData" type="saml:SubjectConfirmationDataType"/> - - <complexType mixed="true" name="SubjectConfirmationDataType"> - - <complexContent> - - <restriction base="anyType"> - - <sequence> - - <any maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"/> - - </sequence> - - <attribute name="NotBefore" type="dateTime" use="optional"/> - - <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> - - <attribute name="Recipient" type="anyURI" use="optional"/> - - <attribute name="InResponseTo" type="NCName" use="optional"/> - - <attribute name="Address" type="string" use="optional"/> - - <anyAttribute namespace="##other" processContents="lax"/> - - </restriction> - - </complexContent> - - </complexType> - - <complexType mixed="false" name="KeyInfoConfirmationDataType"> - - <complexContent> - - <restriction base="saml:SubjectConfirmationDataType"> - - <sequence> - - <element maxOccurs="unbounded" ref="ds:KeyInfo"/> - - </sequence> - - </restriction> - - </complexContent> - - </complexType> - - <element name="Conditions" type="saml:ConditionsType"/> - - <complexType name="ConditionsType"> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:Condition"/> - - <element ref="saml:AudienceRestriction"/> - - <element ref="saml:OneTimeUse"/> - - <element ref="saml:ProxyRestriction"/> - - </choice> - - <attribute name="NotBefore" type="dateTime" use="optional"/> - - <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> - - </complexType> - - <element name="Condition" type="saml:ConditionAbstractType"/> - - <complexType abstract="true" name="ConditionAbstractType"/> - - <element name="AudienceRestriction" type="saml:AudienceRestrictionType"/> - - <complexType name="AudienceRestrictionType"> - - <complexContent> - - <extension base="saml:ConditionAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:Audience"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="Audience" type="anyURI"/> - - <element name="OneTimeUse" type="saml:OneTimeUseType"/> - - <complexType name="OneTimeUseType"> - - <complexContent> - - <extension base="saml:ConditionAbstractType"/> - - </complexContent> - - </complexType> - - <element name="ProxyRestriction" type="saml:ProxyRestrictionType"/> - - <complexType name="ProxyRestrictionType"> - - <complexContent> - - <extension base="saml:ConditionAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:Audience"/> - - </sequence> - - <attribute name="Count" type="nonNegativeInteger" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="Advice" type="saml:AdviceType"/> - - <complexType name="AdviceType"> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:AssertionIDRef"/> - - <element ref="saml:AssertionURIRef"/> - - <element ref="saml:Assertion"/> - - <element ref="saml:EncryptedAssertion"/> - - <any namespace="##other" processContents="lax"/> - - </choice> - - </complexType> - - <element name="EncryptedAssertion" type="saml:EncryptedElementType"/> - - <element name="Statement" type="saml:StatementAbstractType"/> - - <complexType abstract="true" name="StatementAbstractType"/> - - <element name="AuthnStatement" type="saml:AuthnStatementType"/> - - <complexType name="AuthnStatementType"> - - <complexContent> - - <extension base="saml:StatementAbstractType"> - - <sequence> - - <element minOccurs="0" ref="saml:SubjectLocality"/> - - <element ref="saml:AuthnContext"/> - - </sequence> - - <attribute name="AuthnInstant" type="dateTime" use="required"/> - - <attribute name="SessionIndex" type="string" use="optional"/> - - <attribute name="SessionNotOnOrAfter" type="dateTime" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="SubjectLocality" type="saml:SubjectLocalityType"/> - - <complexType name="SubjectLocalityType"> - - <attribute name="Address" type="string" use="optional"/> - - <attribute name="DNSName" type="string" use="optional"/> - - </complexType> - - <element name="AuthnContext" type="saml:AuthnContextType"/> - - <complexType name="AuthnContextType"> - - <sequence> - - <choice> - - <sequence> - - <element ref="saml:AuthnContextClassRef"/> - - <choice minOccurs="0"> - - <element ref="saml:AuthnContextDecl"/> - - <element ref="saml:AuthnContextDeclRef"/> - - </choice> - - </sequence> - - <choice> - - <element ref="saml:AuthnContextDecl"/> - - <element ref="saml:AuthnContextDeclRef"/> - - </choice> - - </choice> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:AuthenticatingAuthority"/> - - </sequence> - - </complexType> - - <element name="AuthnContextClassRef" type="anyURI"/> - - <element name="AuthnContextDeclRef" type="anyURI"/> - - <element name="AuthnContextDecl" type="anyType"/> - - <element name="AuthenticatingAuthority" type="anyURI"/> - - <element name="AuthzDecisionStatement" type="saml:AuthzDecisionStatementType"/> - - <complexType name="AuthzDecisionStatementType"> - - <complexContent> - - <extension base="saml:StatementAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:Action"/> - - <element minOccurs="0" ref="saml:Evidence"/> - - </sequence> - - <attribute name="Resource" type="anyURI" use="required"/> - - <attribute name="Decision" type="saml:DecisionType" use="required"/> - - </extension> - - </complexContent> - - </complexType> - - <simpleType name="DecisionType"> - - <restriction base="string"> - - <enumeration value="Permit"/> - - <enumeration value="Deny"/> - - <enumeration value="Indeterminate"/> - - </restriction> - - </simpleType> - - <element name="Action" type="saml:ActionType"/> - - <complexType name="ActionType"> - - <simpleContent> - - <extension base="string"> - - <attribute name="Namespace" type="anyURI" use="required"/> - - </extension> - - </simpleContent> - - </complexType> - - <element name="Evidence" type="saml:EvidenceType"/> - - <complexType name="EvidenceType"> - - <choice maxOccurs="unbounded"> - - <element ref="saml:AssertionIDRef"/> - - <element ref="saml:AssertionURIRef"/> - - <element ref="saml:Assertion"/> - - <element ref="saml:EncryptedAssertion"/> - - </choice> - - </complexType> - - <element name="AttributeStatement" type="saml:AttributeStatementType"/> - - <complexType name="AttributeStatementType"> - - <complexContent> - - <extension base="saml:StatementAbstractType"> - - <choice maxOccurs="unbounded"> - - <element ref="saml:Attribute"/> - - <element ref="saml:EncryptedAttribute"/> - - </choice> - - </extension> - - </complexContent> - - </complexType> - - <element name="Attribute" type="saml:AttributeType"/> - - <complexType name="AttributeType"> - - <sequence> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:AttributeValue"/> - - </sequence> - - <attribute name="Name" type="string" use="required"/> - - <attribute name="NameFormat" type="anyURI" use="optional"/> - - <attribute name="FriendlyName" type="string" use="optional"/> - - <anyAttribute namespace="##other" processContents="lax"/> - - </complexType> - - <element name="AttributeValue" nillable="true" type="anyType"/> - - <element name="EncryptedAttribute" type="saml:EncryptedElementType"/> - -</schema> -<schema xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" blockDefault="substitution" elementFormDefault="unqualified" targetNamespace="urn:oasis:names:tc:SAML:2.0:protocol" version="2.0"> - - <import namespace="urn:oasis:names:tc:SAML:2.0:assertion"/> - - <import namespace="http://www.w3.org/2000/09/xmldsig#"/> - - <annotation> - - <documentation> - Document identifier: saml-schema-protocol-2.0 - Location: http://docs.oasis-open.org/security/saml/v2.0/ - Revision history: - V1.0 (November, 2002): - Initial Standard Schema. - V1.1 (September, 2003): - Updates within the same V1.0 namespace. - V2.0 (March, 2005): - New protocol schema based in a SAML V2.0 namespace. - </documentation> - - </annotation> - - <complexType abstract="true" name="RequestAbstractType"> - - <sequence> - - <element minOccurs="0" ref="saml:Issuer"/> - - <element minOccurs="0" ref="ds:Signature"/> - - <element minOccurs="0" ref="samlp:Extensions"/> - - </sequence> - - <attribute name="ID" type="ID" use="required"/> - - <attribute name="Version" type="string" use="required"/> - - <attribute name="IssueInstant" type="dateTime" use="required"/> - - <attribute name="Destination" type="anyURI" use="optional"/> - - <attribute name="Consent" type="anyURI" use="optional"/> - - </complexType> - - <element name="Extensions" type="samlp:ExtensionsType"/> - - <complexType name="ExtensionsType"> - - <sequence> - - <any maxOccurs="unbounded" namespace="##other" processContents="lax"/> - - </sequence> - - </complexType> - - <complexType name="StatusResponseType"> - - <sequence> - - <element minOccurs="0" ref="saml:Issuer"/> - - <element minOccurs="0" ref="ds:Signature"/> - - <element minOccurs="0" ref="samlp:Extensions"/> - - <element ref="samlp:Status"/> - - </sequence> - - <attribute name="ID" type="ID" use="required"/> - - <attribute name="InResponseTo" type="NCName" use="optional"/> - - <attribute name="Version" type="string" use="required"/> - - <attribute name="IssueInstant" type="dateTime" use="required"/> - - <attribute name="Destination" type="anyURI" use="optional"/> - - <attribute name="Consent" type="anyURI" use="optional"/> - - </complexType> - - <element name="Status" type="samlp:StatusType"/> - - <complexType name="StatusType"> - - <sequence> - - <element ref="samlp:StatusCode"/> - - <element minOccurs="0" ref="samlp:StatusMessage"/> - - <element minOccurs="0" ref="samlp:StatusDetail"/> - - </sequence> - - </complexType> - - <element name="StatusCode" type="samlp:StatusCodeType"/> - - <complexType name="StatusCodeType"> - - <sequence> - - <element minOccurs="0" ref="samlp:StatusCode"/> - - </sequence> - - <attribute name="Value" type="anyURI" use="required"/> - - </complexType> - - <element name="StatusMessage" type="string"/> - - <element name="StatusDetail" type="samlp:StatusDetailType"/> - - <complexType name="StatusDetailType"> - - <sequence> - - <any maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"/> - - </sequence> - - </complexType> - - <element name="AssertionIDRequest" type="samlp:AssertionIDRequestType"/> - - <complexType name="AssertionIDRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:AssertionIDRef"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="SubjectQuery" type="samlp:SubjectQueryAbstractType"/> - - <complexType abstract="true" name="SubjectQueryAbstractType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element ref="saml:Subject"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="AuthnQuery" type="samlp:AuthnQueryType"/> - - <complexType name="AuthnQueryType"> - - <complexContent> - - <extension base="samlp:SubjectQueryAbstractType"> - - <sequence> - - <element minOccurs="0" ref="samlp:RequestedAuthnContext"/> - - </sequence> - - <attribute name="SessionIndex" type="string" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="RequestedAuthnContext" type="samlp:RequestedAuthnContextType"/> - - <complexType name="RequestedAuthnContextType"> - - <choice> - - <element maxOccurs="unbounded" ref="saml:AuthnContextClassRef"/> - - <element maxOccurs="unbounded" ref="saml:AuthnContextDeclRef"/> - - </choice> - - <attribute name="Comparison" type="samlp:AuthnContextComparisonType" use="optional"/> - - </complexType> - - <simpleType name="AuthnContextComparisonType"> - - <restriction base="string"> - - <enumeration value="exact"/> - - <enumeration value="minimum"/> - - <enumeration value="maximum"/> - - <enumeration value="better"/> - - </restriction> - - </simpleType> - - <element name="AttributeQuery" type="samlp:AttributeQueryType"/> - - <complexType name="AttributeQueryType"> - - <complexContent> - - <extension base="samlp:SubjectQueryAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:Attribute"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="AuthzDecisionQuery" type="samlp:AuthzDecisionQueryType"/> - - <complexType name="AuthzDecisionQueryType"> - - <complexContent> - - <extension base="samlp:SubjectQueryAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:Action"/> - - <element minOccurs="0" ref="saml:Evidence"/> - - </sequence> - - <attribute name="Resource" type="anyURI" use="required"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="AuthnRequest" type="samlp:AuthnRequestType"/> - - <complexType name="AuthnRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element minOccurs="0" ref="saml:Subject"/> - - <element minOccurs="0" ref="samlp:NameIDPolicy"/> - - <element minOccurs="0" ref="saml:Conditions"/> - - <element minOccurs="0" ref="samlp:RequestedAuthnContext"/> - - <element minOccurs="0" ref="samlp:Scoping"/> - - </sequence> - - <attribute name="ForceAuthn" type="boolean" use="optional"/> - - <attribute name="IsPassive" type="boolean" use="optional"/> - - <attribute name="ProtocolBinding" type="anyURI" use="optional"/> - - <attribute name="AssertionConsumerServiceIndex" type="unsignedShort" use="optional"/> - - <attribute name="AssertionConsumerServiceURL" type="anyURI" use="optional"/> - - <attribute name="AttributeConsumingServiceIndex" type="unsignedShort" use="optional"/> - - <attribute name="ProviderName" type="string" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="NameIDPolicy" type="samlp:NameIDPolicyType"/> - - <complexType name="NameIDPolicyType"> - - <attribute name="Format" type="anyURI" use="optional"/> - - <attribute name="SPNameQualifier" type="string" use="optional"/> - - <attribute name="AllowCreate" type="boolean" use="optional"/> - - </complexType> - - <element name="Scoping" type="samlp:ScopingType"/> - - <complexType name="ScopingType"> - - <sequence> - - <element minOccurs="0" ref="samlp:IDPList"/> - - <element maxOccurs="unbounded" minOccurs="0" ref="samlp:RequesterID"/> - - </sequence> - - <attribute name="ProxyCount" type="nonNegativeInteger" use="optional"/> - - </complexType> - - <element name="RequesterID" type="anyURI"/> - - <element name="IDPList" type="samlp:IDPListType"/> - - <complexType name="IDPListType"> - - <sequence> - - <element maxOccurs="unbounded" ref="samlp:IDPEntry"/> - - <element minOccurs="0" ref="samlp:GetComplete"/> - - </sequence> - - </complexType> - - <element name="IDPEntry" type="samlp:IDPEntryType"/> - - <complexType name="IDPEntryType"> - - <attribute name="ProviderID" type="anyURI" use="required"/> - - <attribute name="Name" type="string" use="optional"/> - - <attribute name="Loc" type="anyURI" use="optional"/> - - </complexType> - - <element name="GetComplete" type="anyURI"/> - - <element name="Response" type="samlp:ResponseType"/> - - <complexType name="ResponseType"> - - <complexContent> - - <extension base="samlp:StatusResponseType"> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:Assertion"/> - - <element ref="saml:EncryptedAssertion"/> - - </choice> - - </extension> - - </complexContent> - - </complexType> - - <element name="ArtifactResolve" type="samlp:ArtifactResolveType"/> - - <complexType name="ArtifactResolveType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element ref="samlp:Artifact"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="Artifact" type="string"/> - - <element name="ArtifactResponse" type="samlp:ArtifactResponseType"/> - - <complexType name="ArtifactResponseType"> - - <complexContent> - - <extension base="samlp:StatusResponseType"> - - <sequence> - - <any minOccurs="0" namespace="##any" processContents="lax"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="ManageNameIDRequest" type="samlp:ManageNameIDRequestType"/> - - <complexType name="ManageNameIDRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <choice> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <choice> - - <element ref="samlp:NewID"/> - - <element ref="samlp:NewEncryptedID"/> - - <element ref="samlp:Terminate"/> - - </choice> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="NewID" type="string"/> - - <element name="NewEncryptedID" type="saml:EncryptedElementType"/> - - <element name="Terminate" type="samlp:TerminateType"/> - - <complexType name="TerminateType"/> - - <element name="ManageNameIDResponse" type="samlp:StatusResponseType"/> - - <element name="LogoutRequest" type="samlp:LogoutRequestType"/> - - <complexType name="LogoutRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <choice> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element maxOccurs="unbounded" minOccurs="0" ref="samlp:SessionIndex"/> - - </sequence> - - <attribute name="Reason" type="string" use="optional"/> - - <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="SessionIndex" type="string"/> - - <element name="LogoutResponse" type="samlp:StatusResponseType"/> - - <element name="NameIDMappingRequest" type="samlp:NameIDMappingRequestType"/> - - <complexType name="NameIDMappingRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <choice> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element ref="samlp:NameIDPolicy"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="NameIDMappingResponse" type="samlp:NameIDMappingResponseType"/> - - <complexType name="NameIDMappingResponseType"> - - <complexContent> - - <extension base="samlp:StatusResponseType"> - - <choice> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - </extension> - - </complexContent> - - </complexType> - -</schema> - </wsdl:types> - <wsdl:message name="AuthnRequestResponse"> - <wsdl:part element="ns1:Response" name="Response"> - </wsdl:part> - </wsdl:message> - <wsdl:message name="AuthnRequest"> - <wsdl:part element="ns1:AuthnRequest" name="AuthnRequest"> - </wsdl:part> - </wsdl:message> - <wsdl:portType name="AuthenticationService"> - <wsdl:operation name="AuthnRequest"> - <wsdl:input message="ns1:AuthnRequest" name="AuthnRequest"> - </wsdl:input> - <wsdl:output message="ns1:AuthnRequestResponse" name="AuthnRequestResponse"> - </wsdl:output> - </wsdl:operation> - </wsdl:portType> -</wsdl:definitions> \ No newline at end of file diff --git a/notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl.1 b/notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl.1 deleted file mode 100644 index d72c9a2..0000000 --- a/notebooks/AuthenticationService?wsdl=AuthenticationService.wsdl.1 +++ /dev/null @@ -1,1120 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:oasis:names:tc:SAML:2.0:protocol" name="AuthenticationService" targetNamespace="urn:oasis:names:tc:SAML:2.0:protocol"> - <wsdl:types> -<schema xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" blockDefault="substitution" elementFormDefault="unqualified" targetNamespace="urn:oasis:names:tc:SAML:2.0:assertion" version="2.0"> - - <import namespace="http://www.w3.org/2000/09/xmldsig#"/> - - <import namespace="http://www.w3.org/2001/04/xmlenc#"/> - - <annotation> - - <documentation> - Document identifier: saml-schema-assertion-2.0 - Location: http://docs.oasis-open.org/security/saml/v2.0/ - Revision history: - V1.0 (November, 2002): - Initial Standard Schema. - V1.1 (September, 2003): - Updates within the same V1.0 namespace. - V2.0 (March, 2005): - New assertion schema for SAML V2.0 namespace. - </documentation> - - </annotation> - - <attributeGroup name="IDNameQualifiers"> - - <attribute name="NameQualifier" type="string" use="optional"/> - - <attribute name="SPNameQualifier" type="string" use="optional"/> - - </attributeGroup> - - <element name="BaseID" type="saml:BaseIDAbstractType"/> - - <complexType abstract="true" name="BaseIDAbstractType"> - - <attributeGroup ref="saml:IDNameQualifiers"/> - - </complexType> - - <element name="NameID" type="saml:NameIDType"/> - - <complexType name="NameIDType"> - - <simpleContent> - - <extension base="string"> - - <attributeGroup ref="saml:IDNameQualifiers"/> - - <attribute name="Format" type="anyURI" use="optional"/> - - <attribute name="SPProvidedID" type="string" use="optional"/> - - </extension> - - </simpleContent> - - </complexType> - - <complexType name="EncryptedElementType"> - - <sequence> - - <element ref="xenc:EncryptedData"/> - - <element maxOccurs="unbounded" minOccurs="0" ref="xenc:EncryptedKey"/> - - </sequence> - - </complexType> - - <element name="EncryptedID" type="saml:EncryptedElementType"/> - - <element name="Issuer" type="saml:NameIDType"/> - - <element name="AssertionIDRef" type="NCName"/> - - <element name="AssertionURIRef" type="anyURI"/> - - <element name="Assertion" type="saml:AssertionType"/> - - <complexType name="AssertionType"> - - <sequence> - - <element ref="saml:Issuer"/> - - <element minOccurs="0" ref="ds:Signature"/> - - <element minOccurs="0" ref="saml:Subject"/> - - <element minOccurs="0" ref="saml:Conditions"/> - - <element minOccurs="0" ref="saml:Advice"/> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:Statement"/> - - <element ref="saml:AuthnStatement"/> - - <element ref="saml:AuthzDecisionStatement"/> - - <element ref="saml:AttributeStatement"/> - - </choice> - - </sequence> - - <attribute name="Version" type="string" use="required"/> - - <attribute name="ID" type="ID" use="required"/> - - <attribute name="IssueInstant" type="dateTime" use="required"/> - - </complexType> - - <element name="Subject" type="saml:SubjectType"/> - - <complexType name="SubjectType"> - - <choice> - - <sequence> - - <choice> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:SubjectConfirmation"/> - - </sequence> - - <element maxOccurs="unbounded" ref="saml:SubjectConfirmation"/> - - </choice> - - </complexType> - - <element name="SubjectConfirmation" type="saml:SubjectConfirmationType"/> - - <complexType name="SubjectConfirmationType"> - - <sequence> - - <choice minOccurs="0"> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element minOccurs="0" ref="saml:SubjectConfirmationData"/> - - </sequence> - - <attribute name="Method" type="anyURI" use="required"/> - - </complexType> - - <element name="SubjectConfirmationData" type="saml:SubjectConfirmationDataType"/> - - <complexType mixed="true" name="SubjectConfirmationDataType"> - - <complexContent> - - <restriction base="anyType"> - - <sequence> - - <any maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"/> - - </sequence> - - <attribute name="NotBefore" type="dateTime" use="optional"/> - - <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> - - <attribute name="Recipient" type="anyURI" use="optional"/> - - <attribute name="InResponseTo" type="NCName" use="optional"/> - - <attribute name="Address" type="string" use="optional"/> - - <anyAttribute namespace="##other" processContents="lax"/> - - </restriction> - - </complexContent> - - </complexType> - - <complexType mixed="false" name="KeyInfoConfirmationDataType"> - - <complexContent> - - <restriction base="saml:SubjectConfirmationDataType"> - - <sequence> - - <element maxOccurs="unbounded" ref="ds:KeyInfo"/> - - </sequence> - - </restriction> - - </complexContent> - - </complexType> - - <element name="Conditions" type="saml:ConditionsType"/> - - <complexType name="ConditionsType"> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:Condition"/> - - <element ref="saml:AudienceRestriction"/> - - <element ref="saml:OneTimeUse"/> - - <element ref="saml:ProxyRestriction"/> - - </choice> - - <attribute name="NotBefore" type="dateTime" use="optional"/> - - <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> - - </complexType> - - <element name="Condition" type="saml:ConditionAbstractType"/> - - <complexType abstract="true" name="ConditionAbstractType"/> - - <element name="AudienceRestriction" type="saml:AudienceRestrictionType"/> - - <complexType name="AudienceRestrictionType"> - - <complexContent> - - <extension base="saml:ConditionAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:Audience"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="Audience" type="anyURI"/> - - <element name="OneTimeUse" type="saml:OneTimeUseType"/> - - <complexType name="OneTimeUseType"> - - <complexContent> - - <extension base="saml:ConditionAbstractType"/> - - </complexContent> - - </complexType> - - <element name="ProxyRestriction" type="saml:ProxyRestrictionType"/> - - <complexType name="ProxyRestrictionType"> - - <complexContent> - - <extension base="saml:ConditionAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:Audience"/> - - </sequence> - - <attribute name="Count" type="nonNegativeInteger" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="Advice" type="saml:AdviceType"/> - - <complexType name="AdviceType"> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:AssertionIDRef"/> - - <element ref="saml:AssertionURIRef"/> - - <element ref="saml:Assertion"/> - - <element ref="saml:EncryptedAssertion"/> - - <any namespace="##other" processContents="lax"/> - - </choice> - - </complexType> - - <element name="EncryptedAssertion" type="saml:EncryptedElementType"/> - - <element name="Statement" type="saml:StatementAbstractType"/> - - <complexType abstract="true" name="StatementAbstractType"/> - - <element name="AuthnStatement" type="saml:AuthnStatementType"/> - - <complexType name="AuthnStatementType"> - - <complexContent> - - <extension base="saml:StatementAbstractType"> - - <sequence> - - <element minOccurs="0" ref="saml:SubjectLocality"/> - - <element ref="saml:AuthnContext"/> - - </sequence> - - <attribute name="AuthnInstant" type="dateTime" use="required"/> - - <attribute name="SessionIndex" type="string" use="optional"/> - - <attribute name="SessionNotOnOrAfter" type="dateTime" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="SubjectLocality" type="saml:SubjectLocalityType"/> - - <complexType name="SubjectLocalityType"> - - <attribute name="Address" type="string" use="optional"/> - - <attribute name="DNSName" type="string" use="optional"/> - - </complexType> - - <element name="AuthnContext" type="saml:AuthnContextType"/> - - <complexType name="AuthnContextType"> - - <sequence> - - <choice> - - <sequence> - - <element ref="saml:AuthnContextClassRef"/> - - <choice minOccurs="0"> - - <element ref="saml:AuthnContextDecl"/> - - <element ref="saml:AuthnContextDeclRef"/> - - </choice> - - </sequence> - - <choice> - - <element ref="saml:AuthnContextDecl"/> - - <element ref="saml:AuthnContextDeclRef"/> - - </choice> - - </choice> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:AuthenticatingAuthority"/> - - </sequence> - - </complexType> - - <element name="AuthnContextClassRef" type="anyURI"/> - - <element name="AuthnContextDeclRef" type="anyURI"/> - - <element name="AuthnContextDecl" type="anyType"/> - - <element name="AuthenticatingAuthority" type="anyURI"/> - - <element name="AuthzDecisionStatement" type="saml:AuthzDecisionStatementType"/> - - <complexType name="AuthzDecisionStatementType"> - - <complexContent> - - <extension base="saml:StatementAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:Action"/> - - <element minOccurs="0" ref="saml:Evidence"/> - - </sequence> - - <attribute name="Resource" type="anyURI" use="required"/> - - <attribute name="Decision" type="saml:DecisionType" use="required"/> - - </extension> - - </complexContent> - - </complexType> - - <simpleType name="DecisionType"> - - <restriction base="string"> - - <enumeration value="Permit"/> - - <enumeration value="Deny"/> - - <enumeration value="Indeterminate"/> - - </restriction> - - </simpleType> - - <element name="Action" type="saml:ActionType"/> - - <complexType name="ActionType"> - - <simpleContent> - - <extension base="string"> - - <attribute name="Namespace" type="anyURI" use="required"/> - - </extension> - - </simpleContent> - - </complexType> - - <element name="Evidence" type="saml:EvidenceType"/> - - <complexType name="EvidenceType"> - - <choice maxOccurs="unbounded"> - - <element ref="saml:AssertionIDRef"/> - - <element ref="saml:AssertionURIRef"/> - - <element ref="saml:Assertion"/> - - <element ref="saml:EncryptedAssertion"/> - - </choice> - - </complexType> - - <element name="AttributeStatement" type="saml:AttributeStatementType"/> - - <complexType name="AttributeStatementType"> - - <complexContent> - - <extension base="saml:StatementAbstractType"> - - <choice maxOccurs="unbounded"> - - <element ref="saml:Attribute"/> - - <element ref="saml:EncryptedAttribute"/> - - </choice> - - </extension> - - </complexContent> - - </complexType> - - <element name="Attribute" type="saml:AttributeType"/> - - <complexType name="AttributeType"> - - <sequence> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:AttributeValue"/> - - </sequence> - - <attribute name="Name" type="string" use="required"/> - - <attribute name="NameFormat" type="anyURI" use="optional"/> - - <attribute name="FriendlyName" type="string" use="optional"/> - - <anyAttribute namespace="##other" processContents="lax"/> - - </complexType> - - <element name="AttributeValue" nillable="true" type="anyType"/> - - <element name="EncryptedAttribute" type="saml:EncryptedElementType"/> - -</schema> -<schema xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" blockDefault="substitution" elementFormDefault="unqualified" targetNamespace="urn:oasis:names:tc:SAML:2.0:protocol" version="2.0"> - - <import namespace="urn:oasis:names:tc:SAML:2.0:assertion"/> - - <import namespace="http://www.w3.org/2000/09/xmldsig#"/> - - <annotation> - - <documentation> - Document identifier: saml-schema-protocol-2.0 - Location: http://docs.oasis-open.org/security/saml/v2.0/ - Revision history: - V1.0 (November, 2002): - Initial Standard Schema. - V1.1 (September, 2003): - Updates within the same V1.0 namespace. - V2.0 (March, 2005): - New protocol schema based in a SAML V2.0 namespace. - </documentation> - - </annotation> - - <complexType abstract="true" name="RequestAbstractType"> - - <sequence> - - <element minOccurs="0" ref="saml:Issuer"/> - - <element minOccurs="0" ref="ds:Signature"/> - - <element minOccurs="0" ref="samlp:Extensions"/> - - </sequence> - - <attribute name="ID" type="ID" use="required"/> - - <attribute name="Version" type="string" use="required"/> - - <attribute name="IssueInstant" type="dateTime" use="required"/> - - <attribute name="Destination" type="anyURI" use="optional"/> - - <attribute name="Consent" type="anyURI" use="optional"/> - - </complexType> - - <element name="Extensions" type="samlp:ExtensionsType"/> - - <complexType name="ExtensionsType"> - - <sequence> - - <any maxOccurs="unbounded" namespace="##other" processContents="lax"/> - - </sequence> - - </complexType> - - <complexType name="StatusResponseType"> - - <sequence> - - <element minOccurs="0" ref="saml:Issuer"/> - - <element minOccurs="0" ref="ds:Signature"/> - - <element minOccurs="0" ref="samlp:Extensions"/> - - <element ref="samlp:Status"/> - - </sequence> - - <attribute name="ID" type="ID" use="required"/> - - <attribute name="InResponseTo" type="NCName" use="optional"/> - - <attribute name="Version" type="string" use="required"/> - - <attribute name="IssueInstant" type="dateTime" use="required"/> - - <attribute name="Destination" type="anyURI" use="optional"/> - - <attribute name="Consent" type="anyURI" use="optional"/> - - </complexType> - - <element name="Status" type="samlp:StatusType"/> - - <complexType name="StatusType"> - - <sequence> - - <element ref="samlp:StatusCode"/> - - <element minOccurs="0" ref="samlp:StatusMessage"/> - - <element minOccurs="0" ref="samlp:StatusDetail"/> - - </sequence> - - </complexType> - - <element name="StatusCode" type="samlp:StatusCodeType"/> - - <complexType name="StatusCodeType"> - - <sequence> - - <element minOccurs="0" ref="samlp:StatusCode"/> - - </sequence> - - <attribute name="Value" type="anyURI" use="required"/> - - </complexType> - - <element name="StatusMessage" type="string"/> - - <element name="StatusDetail" type="samlp:StatusDetailType"/> - - <complexType name="StatusDetailType"> - - <sequence> - - <any maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"/> - - </sequence> - - </complexType> - - <element name="AssertionIDRequest" type="samlp:AssertionIDRequestType"/> - - <complexType name="AssertionIDRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:AssertionIDRef"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="SubjectQuery" type="samlp:SubjectQueryAbstractType"/> - - <complexType abstract="true" name="SubjectQueryAbstractType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element ref="saml:Subject"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="AuthnQuery" type="samlp:AuthnQueryType"/> - - <complexType name="AuthnQueryType"> - - <complexContent> - - <extension base="samlp:SubjectQueryAbstractType"> - - <sequence> - - <element minOccurs="0" ref="samlp:RequestedAuthnContext"/> - - </sequence> - - <attribute name="SessionIndex" type="string" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="RequestedAuthnContext" type="samlp:RequestedAuthnContextType"/> - - <complexType name="RequestedAuthnContextType"> - - <choice> - - <element maxOccurs="unbounded" ref="saml:AuthnContextClassRef"/> - - <element maxOccurs="unbounded" ref="saml:AuthnContextDeclRef"/> - - </choice> - - <attribute name="Comparison" type="samlp:AuthnContextComparisonType" use="optional"/> - - </complexType> - - <simpleType name="AuthnContextComparisonType"> - - <restriction base="string"> - - <enumeration value="exact"/> - - <enumeration value="minimum"/> - - <enumeration value="maximum"/> - - <enumeration value="better"/> - - </restriction> - - </simpleType> - - <element name="AttributeQuery" type="samlp:AttributeQueryType"/> - - <complexType name="AttributeQueryType"> - - <complexContent> - - <extension base="samlp:SubjectQueryAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" minOccurs="0" ref="saml:Attribute"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="AuthzDecisionQuery" type="samlp:AuthzDecisionQueryType"/> - - <complexType name="AuthzDecisionQueryType"> - - <complexContent> - - <extension base="samlp:SubjectQueryAbstractType"> - - <sequence> - - <element maxOccurs="unbounded" ref="saml:Action"/> - - <element minOccurs="0" ref="saml:Evidence"/> - - </sequence> - - <attribute name="Resource" type="anyURI" use="required"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="AuthnRequest" type="samlp:AuthnRequestType"/> - - <complexType name="AuthnRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element minOccurs="0" ref="saml:Subject"/> - - <element minOccurs="0" ref="samlp:NameIDPolicy"/> - - <element minOccurs="0" ref="saml:Conditions"/> - - <element minOccurs="0" ref="samlp:RequestedAuthnContext"/> - - <element minOccurs="0" ref="samlp:Scoping"/> - - </sequence> - - <attribute name="ForceAuthn" type="boolean" use="optional"/> - - <attribute name="IsPassive" type="boolean" use="optional"/> - - <attribute name="ProtocolBinding" type="anyURI" use="optional"/> - - <attribute name="AssertionConsumerServiceIndex" type="unsignedShort" use="optional"/> - - <attribute name="AssertionConsumerServiceURL" type="anyURI" use="optional"/> - - <attribute name="AttributeConsumingServiceIndex" type="unsignedShort" use="optional"/> - - <attribute name="ProviderName" type="string" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="NameIDPolicy" type="samlp:NameIDPolicyType"/> - - <complexType name="NameIDPolicyType"> - - <attribute name="Format" type="anyURI" use="optional"/> - - <attribute name="SPNameQualifier" type="string" use="optional"/> - - <attribute name="AllowCreate" type="boolean" use="optional"/> - - </complexType> - - <element name="Scoping" type="samlp:ScopingType"/> - - <complexType name="ScopingType"> - - <sequence> - - <element minOccurs="0" ref="samlp:IDPList"/> - - <element maxOccurs="unbounded" minOccurs="0" ref="samlp:RequesterID"/> - - </sequence> - - <attribute name="ProxyCount" type="nonNegativeInteger" use="optional"/> - - </complexType> - - <element name="RequesterID" type="anyURI"/> - - <element name="IDPList" type="samlp:IDPListType"/> - - <complexType name="IDPListType"> - - <sequence> - - <element maxOccurs="unbounded" ref="samlp:IDPEntry"/> - - <element minOccurs="0" ref="samlp:GetComplete"/> - - </sequence> - - </complexType> - - <element name="IDPEntry" type="samlp:IDPEntryType"/> - - <complexType name="IDPEntryType"> - - <attribute name="ProviderID" type="anyURI" use="required"/> - - <attribute name="Name" type="string" use="optional"/> - - <attribute name="Loc" type="anyURI" use="optional"/> - - </complexType> - - <element name="GetComplete" type="anyURI"/> - - <element name="Response" type="samlp:ResponseType"/> - - <complexType name="ResponseType"> - - <complexContent> - - <extension base="samlp:StatusResponseType"> - - <choice maxOccurs="unbounded" minOccurs="0"> - - <element ref="saml:Assertion"/> - - <element ref="saml:EncryptedAssertion"/> - - </choice> - - </extension> - - </complexContent> - - </complexType> - - <element name="ArtifactResolve" type="samlp:ArtifactResolveType"/> - - <complexType name="ArtifactResolveType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <element ref="samlp:Artifact"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="Artifact" type="string"/> - - <element name="ArtifactResponse" type="samlp:ArtifactResponseType"/> - - <complexType name="ArtifactResponseType"> - - <complexContent> - - <extension base="samlp:StatusResponseType"> - - <sequence> - - <any minOccurs="0" namespace="##any" processContents="lax"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="ManageNameIDRequest" type="samlp:ManageNameIDRequestType"/> - - <complexType name="ManageNameIDRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <choice> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <choice> - - <element ref="samlp:NewID"/> - - <element ref="samlp:NewEncryptedID"/> - - <element ref="samlp:Terminate"/> - - </choice> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="NewID" type="string"/> - - <element name="NewEncryptedID" type="saml:EncryptedElementType"/> - - <element name="Terminate" type="samlp:TerminateType"/> - - <complexType name="TerminateType"/> - - <element name="ManageNameIDResponse" type="samlp:StatusResponseType"/> - - <element name="LogoutRequest" type="samlp:LogoutRequestType"/> - - <complexType name="LogoutRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <choice> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element maxOccurs="unbounded" minOccurs="0" ref="samlp:SessionIndex"/> - - </sequence> - - <attribute name="Reason" type="string" use="optional"/> - - <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> - - </extension> - - </complexContent> - - </complexType> - - <element name="SessionIndex" type="string"/> - - <element name="LogoutResponse" type="samlp:StatusResponseType"/> - - <element name="NameIDMappingRequest" type="samlp:NameIDMappingRequestType"/> - - <complexType name="NameIDMappingRequestType"> - - <complexContent> - - <extension base="samlp:RequestAbstractType"> - - <sequence> - - <choice> - - <element ref="saml:BaseID"/> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - <element ref="samlp:NameIDPolicy"/> - - </sequence> - - </extension> - - </complexContent> - - </complexType> - - <element name="NameIDMappingResponse" type="samlp:NameIDMappingResponseType"/> - - <complexType name="NameIDMappingResponseType"> - - <complexContent> - - <extension base="samlp:StatusResponseType"> - - <choice> - - <element ref="saml:NameID"/> - - <element ref="saml:EncryptedID"/> - - </choice> - - </extension> - - </complexContent> - - </complexType> - -</schema> - </wsdl:types> - <wsdl:message name="AuthnRequestResponse"> - <wsdl:part element="ns1:Response" name="Response"> - </wsdl:part> - </wsdl:message> - <wsdl:message name="AuthnRequest"> - <wsdl:part element="ns1:AuthnRequest" name="AuthnRequest"> - </wsdl:part> - </wsdl:message> - <wsdl:portType name="AuthenticationService"> - <wsdl:operation name="AuthnRequest"> - <wsdl:input message="ns1:AuthnRequest" name="AuthnRequest"> - </wsdl:input> - <wsdl:output message="ns1:AuthnRequestResponse" name="AuthnRequestResponse"> - </wsdl:output> - </wsdl:operation> - </wsdl:portType> -</wsdl:definitions> \ No newline at end of file -- GitLab