Skip Navigation LinksHome Page > Forums > SpiraTest Forums > SpiraTest Issues & Questi... > SpiraTest SOAP Webservic...
Good day.
I'm attempting the following from Python
from suds.client import Client client = Client("http://api.inflectra.com/Spira/Services/v5_0/SoapService.svc?wsdl") testupdate = client.factory.create('TestCase_UpdateStep') remoteTestStep = client.factory.create('RemoteTestStep')
When I print the testupdate object I get the following output:
(TestCase_UpdateStep){ remoteTestStep = (RemoteTestStep){ ArtifactTypeId = None ConcurrencyDate = None CustomProperties = (ArrayOfRemoteArtifactCustomProperty){ RemoteArtifactCustomProperty[] = <empty> } IsAttachments = None ProjectId = None Description = None ExecutionStatusId = None ExpectedResult = None LastUpdateDate = None LinkedTestCaseId = None Position = None SampleData = None TestCaseId = None TestStepId = None } }
But when the next line gets executed it returns the following error:
suds.TypeNotFound: Type not found: 'RemoteTestStep'
Hi Tennison,
Unfortunately we're not experts in Python / SUDS, but maybe this link will help:
https://stackoverflow.com/questions/4719854/soap-suds-and-the-dreaded-schema-type-not-found-error
Regards
Jim
Hello.
Thanks for your reply. I've tried that solution long before you suggested it and it still doesn't work.
All indications point to their being an issue with the WSDL. Why is it I can use the WSDL to create a "TestCase_UpdateStep" object but the "RemoteTestStep" fails with "Type not found"?
And if you have any questions, please email or call us at +1 (202) 558-6885