I'm building a client to connect with the Monster web-service (http://partner.monster.com/real-time-posting-devguide
I opened up VS2008 and added the "Service Reference" to my project, specifying the link:
VS2008 created the following Reference.cs (attached).
So, inspecting the proxy code (all 45k lines!) I can see the proxy interface is: BusinessGatewayInterface, and the class that impements that is BusinessGatewayInterfaceCl
ient. So I need to create one of these client objects and call my methods.
So which method? I want to add/update a job, so, I'm guessing the WebMethod I need to call is UpdateJob().
However the public one has these complex parameters:
Searching for the definitions of the object:
So in my client code I need to create all of these, initialise their members, and then pass them to UpdateJob?
Wow, a lot of work... and no documentation....
(hint, don't waste time as I did searching for "class VacancyManager.WSMonster.J
ob", search for "class Job" as they're all nested classes!)
So I guess I set all the public properties (*or*... as many as I can... I suppose the WSDL would tell me which are optional and which are mandatory, if I could understand it lol) of each of these parameter objects.
NB some of the properties are not simple types but references to *other* objects which will need to be created and initialised...
and then the response will have to be parsed into objects as per the class hierarchy / composition tree.
All ye experienced WCF people: Am I on the right track with all this?