Skip to content

Instantly share code, notes, and snippets.

@ti-ka
Last active April 18, 2016 19:46
Show Gist options
  • Save ti-ka/ddd23b10fc2d82866e6eff7a8c8b5280 to your computer and use it in GitHub Desktop.
Save ti-ka/ddd23b10fc2d82866e6eff7a8c8b5280 to your computer and use it in GitHub Desktop.
<types>
<element name='StudentName' type='xcd:string'>
<element name='Student'>
<sequqence>
<element name='name' type='string' />
<element name='gpa' type='double' />
</sequqence>
</element>
</types>
--- Convert the following to interface:
<interface name='StuentInterface'>
<operation name='getGAP'>
<input messageLabel='In' element='StudentName' />
<outut messageLabel='Out' element='Student' />
</operation>
</interface>
--- Interface:
interface StuentInterface {
Student GetGPA( string studentName );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment