Cisco Unified Presence APIs Developer Forums

« Back to SOAP API

.NET stub - where's the password property in login?

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Are we supposed to be able to automatically generated a stub based on the WSDL (I'm working against CUP 8.5)?
I added a WCF service reference, the stub was generated, but the EpasSoapServiceInterfaceClient's login method takes a parameter of type "login" which has the property "username", but not password - and without a password I'll never log in.
So, do we have to resort wo writing requests manually just like for AXL (I know you can generate and modify the stub using the special schema but it's still hit and miss).

Never mind, I figured it out. The password property is called "Item" and you have to set the ItemElementName to ItemTypeChoice.password and you're good to go.