Hi guys
I was trying to access OTRS webService with Service Reference / Web Reference and also tried to generate cs with svcutil so far with no positve results.
With Service reference I get the error:
An unhandled exception of type 'System.InvalidOperationException' occurred in System.ServiceModel.dll
Additional information: XmlSerializer attribute System.Xml.Serialization.XmlChoiceIdentifierAttribute is not valid in Item. Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute and XmlAnyElement attributes are supported when IsWrapped is true.
When trying to use WebService I have a problem with bindings I think the OTRS 5 is SOAP 1.2 but when in binding I do something like
<customBinding>
<binding name="GenericTicketConnector_Service">
<textMessageEncoding messageVersion="Soap12"/>
<httpTransport />
</binding>
</customBinding>
I get null as response on calling SessionCreate()
Anyone had this issues and was able to solve it?
Best Regards
Renato
OTRS WebService C#
-
- Znuny newbie
- Posts: 1
- Joined: 21 Oct 2016, 17:42
- Znuny Version: 5 free