I have a problem that I hope has a simple answer, but I cannot for the life of me figure it out, hopefully someone out there can help me!
I am accessing the following section of a wsdl:
<s:element name="Login"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="sUserName" type="s:string"/> <s:element minOccurs="0" maxOccurs="1" name="sUserPassword" type="s:string"/> <s:element minOccurs="1" maxOccurs="1" name="enIdentifier" type="tns:EnLoginIdentifiers"/> </s:sequence> </s:complexType> </s:element> <s:simpleType name="EnLoginIdentifiers"> <s:restriction base="s:string"> <s:enumeration value="User"/> <s:enumeration value="Manager"/> </s:restriction> </s:simpleType>
So I make the call with:
I am at a loss for what to put for ???, if it were a complex data type, I could use a dto to send the correct value over, but with this setup I am stumped. (And no, I can’t just change the WSDL, it’s out of my hands, unfortunately)
If anyone could give an example how to make this work I would be very grateful, and if there is any other information I can give to clarify my issue, please let me know!
Thanks in advance for any help!:flower: