Hello Everyone
I know how to call a webservice from flex. If its a string we can use the text value and pass the value as a parameter to the webservice operation.
But now I have an complex object ie.object contains internally some other objects and I need to populate all those objects and again put these objects inside the main complex obect.
My SOAP Reuest is
- <q1:AcademicHistoryQueryRequest> - <q0:AcademicHistoryQuerySpecification> - <q0:Identifier type="NetworkID"> <q0:Value>119650510</q0:Value>
</q0:Identifier>
- <q0:Credential type="NetworkID password"> <q0:Value>secret</q0:Value>
</q0:Credential>
</q0:AcademicHistoryQuerySpecification>
</q1:AcademicHistoryQueryRequest>
</soapenv:Body>
</soapenv:Envelope>
Soap Response is
- <AcademicHistory xmlns="http://www.openeai.org/ahs/" academicHistoryProvider="org.openeai.services.academichistory.DummyAcademicHistoryProvider" authenticator="org.openeai.services.academichistory.DummyAcademicHistoryProvider"> - <Identifier type="NetworkID"> <FirstName>Example</FirstName>
<LastName>Student</LastName>
</Name>
</Student>
<InstitutionName>N2 TEST INSTANCE</InstitutionName>
<SubSecond>310</SubSecond>
<Timezone>GMT+05:30</Timezone>
</RequestDatetime>
<Title>ACCOUNTING 1</Title>
</Course>
<Title>MICROCOMPUTER-BUSINESS 1</Title>
</Course>
<Title>ACCOUNTING 2</Title>
</Course>
<Title>MICROCOMPUTER-BUSINESS 2</Title>
</Course>
<Title>MATHEMATICS OF FINANCE</Title>
</Course>
<Title>ORGANIZATIONAL BEHAVIOUR</Title>
</Course>
<Title>COLLEGE ENGLISH 2</Title>
</Course>
<Title>COLLEGE ENGLISH 3</Title>
</Course>
<Title>COLLEGE ENGLISH 3</Title>
</Course>
<Title>INTRODUCTION TO BUSINESS</Title>
</Course>
<Title>OPERATIONS MANAGEMENT</Title>
</Course>
<Title>PURCH'G & VALUE ANALYSIS</Title>
</Course>
<Title>CANADIAN STUDIES-DIVERSI</Title>
</Course>
<Title>QUANTITATIVE MANAGEMNT</Title>
</Course>
<Title>MANAGEMENT PRINCIPLES</Title>
</Course>
<Title>RETAIL MANAGEMENT</Title>
</Course>
<Title>RETAIL MANAGEMENT</Title>
</Course>
<Title>PRINCIPLES OF MICRO-ECON</Title>
</Course>
<Title>ADV. BUS.COMMUNICATIONS</Title>
</Course>
<Title>JOB READINESS 1</Title>
</Course>
<Title>PERSONNEL MANAGEMENT</Title>
</Course>
<Title>PERSONAL SELLING 1</Title>
</Course>
</AcademicHistory>
</AcademicHistoryProvideReply>
</soapenv:Body>
</soapenv:Envelope>
So I need to create Identifier,Credential objects and put it into AcademicHistoryQuerySpecification and then put the AcademicHistoryQuerySpecification object in AcademicHistoryQueryRequest. How to do that in Flex?
How to proceed I am not getting an idea. Can anyone help me in this regard?
Thanks in Advance
Raja Himanath