Forum Discussion
princetd001
16 years agoNew Contributor
currently Iam creating a soap ui project and passing the wsdl url.It creates the project like this
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cred="http://xmlschema.tmi.telus.com/srv/CMO/OrderMgmt/CreditAssessmentServiceRequestResponse_v1" xmlns:cred1="http://xmlschema.tmi.telus.com/xsd/Customer/Customer/CreditAssessmentRequestTypes_v1">
<soapenv:Header/>
<soapenv:Body>
<cred:searchCreditAssessmentReports>
<cred:userId>T000381</cred:userId>
<cred:creditAssessmentRequestId>1867</cred:creditAssessmentRequestId>
<cred:creditAssessmentReportRequest>
<cred1:reportType>CORP_REGISTRY</cred1:reportType>
</cred:creditAssessmentReportRequest>
</cred:searchCreditAssessmentReports>
</soapenv:Body>
</soapenv:Envelope>
and the there is a green button [submit request to specified end point]
this will execute my searchCreditAssessmentReports method in the webservice.
and the result will be shown in the right pane.
But if I want to pass the subclass what I have to do ?
subclass structure in my xsd as shown below
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cred="http://xmlschema.tmi.telus.com/srv/CMO/OrderMgmt/CreditAssessmentServiceRequestResponse_v1" xmlns:cred1="http://xmlschema.tmi.telus.com/xsd/Customer/Customer/CreditAssessmentRequestTypes_v1">
<soapenv:Header/>
<soapenv:Body>
<cred:searchCreditAssessmentReports>
<cred:userId>T000381</cred:userId>
<cred:creditAssessmentRequestId>1867</cred:creditAssessmentRequestId>
<cred:creditAssessmentReportRequest>
<cred1:reportType>CORP_REGISTRY</cred1:reportType>
</cred:creditAssessmentReportRequest>
</cred:searchCreditAssessmentReports>
</soapenv:Body>
</soapenv:Envelope>
and the there is a green button [submit request to specified end point]
this will execute my searchCreditAssessmentReports method in the webservice.
and the result will be shown in the right pane.
But if I want to pass the subclass what I have to do ?
subclass structure in my xsd as shown below