485
edits
m (add syntax highlighting) |
m (add syntax highlighting) |
||
Line 54: | Line 54: | ||
Now you need to use and instantiate the client class you have just generated within your service: | Now you need to use and instantiate the client class you have just generated within your service: | ||
Object oLogSample is a cWebService | <source lang="dataflex"> | ||
Object oLogSample is a cWebService | |||
Object oOwnService is a cWSLogSample | Use cWSLogSample.pkg | ||
End_Object | Object oOwnService is a cWSLogSample | ||
End_Object // oOwnService | |||
{ Published = True } | { Published = True } | ||
{ Description = "Interface for sending something to the system" } | { Description = "Interface for sending something to the system" } | ||
Procedure SendSomething tSomeDocumentType Doc | Procedure SendSomething tSomeDocumentType Doc | ||
// Code that actually does stuff... | |||
End_Procedure | End_Procedure // SendSomething | ||
End_Object | End_Object // oLogSample | ||
</source> | |||
====Step 4: Use the client to transform the data back to XML==== | ====Step 4: Use the client to transform the data back to XML==== |