15 years ago
Importing xsd's related to WSDL files
Hello
I have a newbie question about creating a new project and some test scripts using a supplied WSDL and their respective xsd files.
I can create the project, and the test suite but I want to also create test messages for each of the different payload message types in my xsd files.
So SoapUI creates this for me...
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nzl:govt:educating:integration:tec:itr:1">
<soapenv:Header/>
<soapenv:Body>
<urn:UploadLearnerEventDataRequest>
<urn:MessageHeaders>
<urn:EsaaUsername>?</urn:EsaaUsername>
<urn:EsaaPassword>?</urn:EsaaPassword>
<urn:ProviderNumber>?</urn:ProviderNumber>
<urn:TMSUsername>?</urn:TMSUsername>
<urn:MessageSentTime>?</urn:MessageSentTime>
</urn:MessageHeaders>
<urn:PerformanceDataMessage>
<urn:SchemaVersion>?</urn:SchemaVersion>
<urn:TertiaryPerformanceData>
<!--You may enter ANY elements at this point-->
</urn:TertiaryPerformanceData>
</urn:PerformanceDataMessage>
</urn:UploadLearnerEventDataRequest>
</soapenv:Body>
</soapenv:Envelope>
I want to get to this...
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn4="urn:nzl:govt:educating:integration:tec:itr:1" xmlns:urn="urn:nzl:govt:educating:specification:tertiary:schema:xsd:PerformanceDataCaptureMessages-TEC3" xmlns:urn1="urn:nzl:govt:educating:specification:tertiary:schema:xsd:CommonTertiaryComponents-TEC2" xmlns:urn2="urn:nzl:govt:educating:specification:tertiary:schema:xsd:TertiaryBasicComponents-TEC2">
<soapenv:Header/>
<soapenv:Body>
<urn4:UploadLearnerEventDataRequest>
<urn4:MessageHeaders>
<urn4:EsaaUsername></urn4:EsaaUsername>
<urn4:EsaaPassword></urn4:EsaaPassword>
<urn4:ProviderNumber></urn4:ProviderNumber>
<urn4:TMSUsername></urn4:TMSUsername>
<urn4:MessageSentTime></urn4:MessageSentTime>
</urn4:MessageHeaders>
<urn4:PerformanceDataMessage>
<urn4:SchemaVersion>3.0.Uat</urn4:SchemaVersion>
<urn4:TertiaryPerformanceData>
<urn:CreateProgrammeCourse>
<urn1:LocalIdentifier>ENR_002</urn1:LocalIdentifier>
<urn:HistoricalProgrammeCourseNumber>61</urn:HistoricalProgrammeCourseNumber>
<urn:LocalProgrammeCourseName>SCP in Ironsand Extraction Techniques</urn:LocalProgrammeCourseName>
<urn:NQFLevel>4</urn:NQFLevel>
<urn:CreditValue>30</urn:CreditValue>
<urn:DurationMonths>12</urn:DurationMonths>
<!--1 or more repetitions:-->
<urn:FundingSourceCode>IT</urn:FundingSourceCode>
<!--1 or more repetitions:-->
<urn:StartDate>2010-01-01</urn:StartDate>
<urn:ExpiryDate>2012-02-29</urn:ExpiryDate>
<urn:IndustryCode>B101200</urn:IndustryCode>
<urn:TermsAndConditionsIndicator>1</urn:TermsAndConditionsIndicator>
<urn:ProgrammeType>
<urn:SupplementaryCreditProgramme>
<urn:EmbeddedLiteracyIndicator>true</urn:EmbeddedLiteracyIndicator>
<!--1 or more repetitions:-->
<urn:Standard>
<urn:StandardIdentifier>
<urn1:StandardNumber>63463</urn1:StandardNumber>
<urn1:StandardVersionNumber>1</urn1:StandardVersionNumber>
</urn:StandardIdentifier>
<urn:MandatoryStandardIndicator>1</urn:MandatoryStandardIndicator>
</urn:Standard>
</urn:SupplementaryCreditProgramme>
</urn:ProgrammeType>
</urn:CreateProgrammeCourse>
</urn4:TertiaryPerformanceData>
</urn4:PerformanceDataMessage>
</urn4:UploadLearnerEventDataRequest>
</soapenv:Body>
</soapenv:Envelope>
The items between the </urn4:TertiaryPerformanceData> tags are contained in my xsd files, but I want to know if SOAPUI can generate tests for each of the different options.
If there is a better forum for this I am happy to direct it their.
Thanks heaps
I have a newbie question about creating a new project and some test scripts using a supplied WSDL and their respective xsd files.
I can create the project, and the test suite but I want to also create test messages for each of the different payload message types in my xsd files.
So SoapUI creates this for me...
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nzl:govt:educating:integration:tec:itr:1">
<soapenv:Header/>
<soapenv:Body>
<urn:UploadLearnerEventDataRequest>
<urn:MessageHeaders>
<urn:EsaaUsername>?</urn:EsaaUsername>
<urn:EsaaPassword>?</urn:EsaaPassword>
<urn:ProviderNumber>?</urn:ProviderNumber>
<urn:TMSUsername>?</urn:TMSUsername>
<urn:MessageSentTime>?</urn:MessageSentTime>
</urn:MessageHeaders>
<urn:PerformanceDataMessage>
<urn:SchemaVersion>?</urn:SchemaVersion>
<urn:TertiaryPerformanceData>
<!--You may enter ANY elements at this point-->
</urn:TertiaryPerformanceData>
</urn:PerformanceDataMessage>
</urn:UploadLearnerEventDataRequest>
</soapenv:Body>
</soapenv:Envelope>
I want to get to this...
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn4="urn:nzl:govt:educating:integration:tec:itr:1" xmlns:urn="urn:nzl:govt:educating:specification:tertiary:schema:xsd:PerformanceDataCaptureMessages-TEC3" xmlns:urn1="urn:nzl:govt:educating:specification:tertiary:schema:xsd:CommonTertiaryComponents-TEC2" xmlns:urn2="urn:nzl:govt:educating:specification:tertiary:schema:xsd:TertiaryBasicComponents-TEC2">
<soapenv:Header/>
<soapenv:Body>
<urn4:UploadLearnerEventDataRequest>
<urn4:MessageHeaders>
<urn4:EsaaUsername></urn4:EsaaUsername>
<urn4:EsaaPassword></urn4:EsaaPassword>
<urn4:ProviderNumber></urn4:ProviderNumber>
<urn4:TMSUsername></urn4:TMSUsername>
<urn4:MessageSentTime></urn4:MessageSentTime>
</urn4:MessageHeaders>
<urn4:PerformanceDataMessage>
<urn4:SchemaVersion>3.0.Uat</urn4:SchemaVersion>
<urn4:TertiaryPerformanceData>
<urn:CreateProgrammeCourse>
<urn1:LocalIdentifier>ENR_002</urn1:LocalIdentifier>
<urn:HistoricalProgrammeCourseNumber>61</urn:HistoricalProgrammeCourseNumber>
<urn:LocalProgrammeCourseName>SCP in Ironsand Extraction Techniques</urn:LocalProgrammeCourseName>
<urn:NQFLevel>4</urn:NQFLevel>
<urn:CreditValue>30</urn:CreditValue>
<urn:DurationMonths>12</urn:DurationMonths>
<!--1 or more repetitions:-->
<urn:FundingSourceCode>IT</urn:FundingSourceCode>
<!--1 or more repetitions:-->
<urn:StartDate>2010-01-01</urn:StartDate>
<urn:ExpiryDate>2012-02-29</urn:ExpiryDate>
<urn:IndustryCode>B101200</urn:IndustryCode>
<urn:TermsAndConditionsIndicator>1</urn:TermsAndConditionsIndicator>
<urn:ProgrammeType>
<urn:SupplementaryCreditProgramme>
<urn:EmbeddedLiteracyIndicator>true</urn:EmbeddedLiteracyIndicator>
<!--1 or more repetitions:-->
<urn:Standard>
<urn:StandardIdentifier>
<urn1:StandardNumber>63463</urn1:StandardNumber>
<urn1:StandardVersionNumber>1</urn1:StandardVersionNumber>
</urn:StandardIdentifier>
<urn:MandatoryStandardIndicator>1</urn:MandatoryStandardIndicator>
</urn:Standard>
</urn:SupplementaryCreditProgramme>
</urn:ProgrammeType>
</urn:CreateProgrammeCourse>
</urn4:TertiaryPerformanceData>
</urn4:PerformanceDataMessage>
</urn4:UploadLearnerEventDataRequest>
</soapenv:Body>
</soapenv:Envelope>
The items between the </urn4:TertiaryPerformanceData> tags are contained in my xsd files, but I want to know if SOAPUI can generate tests for each of the different options.
If there is a better forum for this I am happy to direct it their.
Thanks heaps