Search found 20 matches

by Warlib
22 Mar 2015, 07:39
Forum: Developers
Topic: How to get DynamicField via Web Services (from .NET applications)
Replies: 0
Views: 11568

How to get DynamicField via Web Services (from .NET applications)

I've met with strange realisation of web services to retrieve Dynamic Fields via SOAP. If we turn on DynamicFields when execute method TiсketGet, we will see SOAP response where DynamicFields with different names shows as properties, not as array. -<Ticket> <Age>77479</Age> <ArchiveFlag>n</ArchiveFl...
by Warlib
16 Mar 2015, 09:28
Forum: Developers
Topic: Retrieve Responsible ID via Web Services
Replies: 2
Views: 14924

Re: Retrieve Responsible ID via Web Services

I found workaround how to get user (responsible) list with user ID. Here is c# code example: http://www.bizkit.ru/2015/03/16/2642/
by Warlib
16 Mar 2015, 08:09
Forum: Developers
Topic: Retrieve Responsible ID via Web Services
Replies: 2
Views: 14924

Re: Retrieve Responsible ID via Web Services

Is it possible to get access via Web Service to System:Ticket methods: https://otrs.github.io/doc/api/otrs/3.2 ... et.pm.html?
by Warlib
16 Mar 2015, 05:49
Forum: Developers
Topic: Retrieve Responsible ID via Web Services
Replies: 2
Views: 14924

Retrieve Responsible ID via Web Services

Dear colleagues, I need to get all tickets where responsible is specific person. There is Web Service method http://otrs.github.io/doc/api/otrs/stable/Kernel/GenericInterface/Operation/Ticket/TicketSearch.pm.html where we can specify ResponsibleIDs. But, unfortunately I can't find way how to get Res...
by Warlib
10 Mar 2015, 15:06
Forum: Developers
Topic: Access to OTRS web services from .NET application
Replies: 8
Views: 24463

Re: Access to OTRS web services from .NET application

i would like to have email when a new ticket was created, how to i do this in otrs? this is the code i use to create a ticket. --> the wsdl is shit <-- bugdata is my model class. User my principal. As far as I know, there is no way to get events from OTRS. So, only one way - to use TicketSearch met...
by Warlib
02 Mar 2015, 05:41
Forum: Developers
Topic: How to get list of Queues
Replies: 0
Views: 10533

How to get list of Queues

Is it exists way how to get list of Queues, Ticket Types etc. via OTRS web services?

Thank you.
by Warlib
25 Feb 2015, 07:03
Forum: Developers
Topic: TicketGetResponse doesn't contains Article (TicketGetResponse_Article) in OTRS SOAP response
Replies: 3
Views: 14200

TicketGetResponse doesn't contains Article (TicketGetResponse_Article) in OTRS SOAP response

I found how to work with OTRS from .NET application (http://forums.otterhub.org/viewtopic.php?f=64&t=27661&uid=21302&unwatch=topic&confirm_key=2J43RXOL4Q), but still have no any ideas why SOAP response for TicketGet is missed ticket Article property. OTRS 3.3. Request <s:Envelope xml...
by Warlib
25 Feb 2015, 06:32
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

Yes, I placed properties corresponding SOAP response sequence. Today I found mistake, create new WSDL file and renew zip file in my blog. It properly returns all values which return OTRS for OTRS_TicketGetResponse_Ticket class. Unfortunately in SOAP response is missed Article property (OTRS_TicketGe...
by Warlib
24 Feb 2015, 11:06
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

I wrote short article http://www.bizkit.ru/2015/02/24/2614/ where described problems with WSDL file and some recommendations. I still have some problems with several properties in OTRS_TicketGetResponse_Ticket class, and can't find suitable decision.

Thank you.
by Warlib
02 Feb 2015, 07:45
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

Just for any case. I had tried to use recommendation from the article http://www.edinkapic.com/2013/06/calling-otrs-web-services-from-net.html at the beggining of my experiments. I generated wrapper using SVCUTIL.EXE /wrapped /serializer:XmlSerializer GenericTicketConnector.wsdl but, unfortunately, ...
by Warlib
28 Jan 2015, 14:19
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

If I create session in C# app using generated by WSDL classes I got response from OTRS: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns...
by Warlib
28 Jan 2015, 12:50
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

I saw several examples of using SOAP web interfaces at different languages and they use manual SOAP XML parsing without using WSDL file. Also I used tool SOAP UI which is Java based to debug responses and deserialization is also wrong. In C# I saw that names of classes generated from WSDL file diffe...
by Warlib
28 Jan 2015, 10:33
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

Manual SOAP XML parsing which responses by OTRS is not right decision. It works, but it's wrong way.
In this case I don't understand for what purpose wsdl file was created.
by Warlib
28 Jan 2015, 08:16
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

I already published at c# firum, but unfortunately there is no any answers for now. The problem with WSDL file which is placed: https://github.com/OTRS/otrs/blob/rel-3_3/development/webservices/GenericTicketConnector.wsdl. Such kind of web interface description used from different languages and pote...
by Warlib
28 Jan 2015, 05:48
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

Re: SOAP returns data, but C# says null response

I'll pay 100 USD $ if someone solve the problem.
by Warlib
10 Jan 2015, 13:08
Forum: Developers
Topic: SOAP returns data, but C# says null response
Replies: 16
Views: 28170

SOAP returns data, but C# says null response

I created simple console application and "Add service references..." to https://github.com/OTRS/otrs/blob/rel-3_3/development/webservices/GenericTicketConnector.wsdl. Namespace is "OTRS". app.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <con...
by Warlib
10 Jan 2015, 12:55
Forum: Developers
Topic: Access to OTRS web services from .NET application
Replies: 8
Views: 24463

Re: Access to OTRS web services from .NET application

I found the solution. OTRS used SOAP 1.2 version. basicHttpBinding support SOAP 1.1 version. So, right app.config when OTRS works on Apache with Windows authentication is: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> </configSections> <startup> <suppor...
by Warlib
09 Jan 2015, 13:03
Forum: Developers
Topic: Access to OTRS web services from .NET application
Replies: 8
Views: 24463

Re: Access to OTRS web services from .NET application

I found one problem. When I request using address http://server/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnector, the server was redirector to another address. So, when I changed in app.config endpoint address for direct adddress, the situation is getting better, I got another error: M...
by Warlib
07 Jan 2015, 21:32
Forum: Developers
Topic: Access to OTRS web services from .NET application
Replies: 8
Views: 24463

Access to OTRS web services from .NET application

Hello, I'm stuck with accessing to OTRS web services (via SOAP) from .NET application. I have OTRS installed over Apache/2.2.22 (Linux/SUSE) with Active Directory integration to authenticate users. I used WSDL файл from OTRS github to create needed classes to access OTRS web services. Then I create ...