Can C# CWS developers use the same class names and method signatures listed in the API for Java developers? There doesn't seem to be any API reference for C# developers.
Hi Loren,
The API, though built out of javadocs, should work with precisely the same names in C#.
Just make sure to create a service reference to the relevant WSDL, and it'll get everything you need, for you.
Thanks,
Nizar
Yes, all the classes/methods/etc. are agnostic since both Java and C# are consuming the same web service endpoints. If you’re looking for a particular function in the docs just click through to the JAXWS section of the Javadoc for a given service and you will get what you need. Between that and VS’s autocomplete it’s not too hard to deal with at all. I think the only thing not mentioned anywhere in the Javadocs is passing in your auth tokens by reference since that’s a non-agnostic use-case specific to C#, but at least I think we mention that in the sample code bits we’ve got posted. But again, the autocomplete points it out so it’s hard to miss.
AK
From: eLink Entry: Content Web Services Forum <otdncontentwebservices971forum@elinkkc.opentext.com>Sent: Wednesday, September 19, 2018 3:16 PMTo: eLink Recipient <devnull@elinkkc.opentext.com>Subject: Can C# CWS developers use the same class names and method signatures listed in the API for Java developers?
Can C# CWS developers use the same class names and method signatures listed in the API for Java developers?
Posted byloren.e.pettijohn.civ@mail.mil (Pettijohn, Loren) On 09/19/2018 03:08 PM
[To post a comment, use the normal reply function]
Forum:
Content Web Services Forum
Content Server:
My Support