David Staudt | For recent versions of UCM AXL, no edits should be needed to consume via .NET (with one exception) - the detailed modification instructions apply to earlier versions which had incompatibilities with .NET. There is one known issue with the UpdateSoftKeySetReq request, that can be fixed by either a change to the WSDL or to the initial stub code created by .NET: WSDL change Before: <xsd:element name="updateSoftKeySet" type="axlapi:UpdateSoftKeySetReq"/> <xsd:element name="updateSoftKeySetResponse" type="axlapi:StandardResponse"/> <xsd:complexType name="UpdateSoftKeySetReq"> <xsd:complexContent> <xsd:extension base="axlapi:NameAndGUIDRequest"> <xsd:sequence> <xsd:choice minOccurs="0"> <xsd:sequence minOccurs="0"> <xsd:element name="removeCallStates" minOccurs="0"> <xsd:complexType> <xsd:sequence minOccurs="0"> <xsd:element name="callState" type="axlapi:XCallStateMember" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="addCallStates" minOccurs="0"> <xsd:complexType> <xsd:sequence minOccurs="0"> <xsd:element name="callState" type="axlapi:XCallStateMember" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:element name="callStates" minOccurs="0"> <xsd:complexType> <xsd:sequence minOccurs="0"> <xsd:element name="callState" type="axlapi:XCallStateMember" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> After: <xsd:element name="updateSoftKeySet" type="axlapi:UpdateSoftKeySetReq"/> <xsd:element name="updateSoftKeySetResponse" type="axlapi:StandardResponse"/> <xsd:complexType name="UpdateSoftKeySetReq"> <xsd:complexContent> <xsd:extension base="axlapi:NameAndGUIDRequest"> <!--<xsd:sequence> <xsd:choice minOccurs="0"> <xsd:sequence minOccurs="0"> <xsd:element name="removeCallStates" minOccurs="0"> <xsd:complexType> <xsd:sequence minOccurs="0"> <xsd:element name="callState" type="axlapi:XCallStateMember" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="addCallStates" minOccurs="0"> <xsd:complexType> <xsd:sequence minOccurs="0"> <xsd:element name="callState" type="axlapi:XCallStateMember" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:element name="callStates" minOccurs="0"> <xsd:complexType> <xsd:sequence minOccurs="0"> <xsd:element name="callState" type="axlapi:XCallStateMember" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:sequence>--> </xsd:extension> </xsd:complexContent> </xsd:complexType> Modifying the WSDL results in a clean import and build in VS C# 2010 for me. Alternatively instead of modifying the WSDL, you can modify the autogenerated code for UpdateSoftKeySetReq, such as via the method you found here: http://developer.cisco.com/web/sxml/forums/-/message_boards/view_message/6194431#_19_message_6194431 Note that both of these prevent the UpdateSoftKeySetReq method from actually working, we are working on a defect to see if we can fixup the WSDL to prevent the problem in the first place. Cisco staff responses on this forum are best effort, and there are times when we can't answer every inquiry. For dedicated/SLA support, please consider joining the CDN Developer Support program: http://developer.cisco.com/web/devservices |
| Please sign in to flag this as inappropriate. |