SOAP C/C++ Stub and Skeleton Compiler Project Results
|
SOAP: Simple Object Access Protocol
|
Project: SOAP C/C+ Stub and Skeleton Compiler
struct Address { char *street; int number; char *city; }; struct Person { char *name; char *dob; struct Address address; }; int getSS(struct Person p, long *SS); /* Retrieves and returns #SS for p from a database This function is implemented by the user */ |
Project (cont'd)
soap_call_getSS(char *URL, char *action, struct Person p, long *SS); to invoke the database lookup for a person at the specified URL soap_serve_getSS(); |
Project: (cont'd)
<SOAP:Envelope xmlns:SOAP="urn:schemas-xmlsoap-org:soap.v1"> <SOAP:Body> <getSS> <p> <name>Joe Smith</name> <dob>12</dob> <address> <street>Main st.</street> <number>10</number> <city>London</city> </address> </p> </getSS> </SOAP:Body> </SOAP:Envelope> <SOAP:Envelope xmlns:SOAP="urn:schemas-xmlsoap-org:soap.v1"> <SOAP:Body> <getSSResponse> <SS>999 99 9999</SS> </getSSResponse> </SOAP:Body> </SOAP:Envelope> |
Open Student Projects
|