Search found 10 matches

by jeremy77
22 Feb 2012, 15:37
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

I'm having a problem creating tickets for customers stored in ldap. I get the following error:

TicketCreate.InvalidParameter [ErrorMessage] => TicketCreate: Ticket->CustomerUser parameter is invalid!

if I run the same script against a customer in the database it works. Any ideas?
by jeremy77
21 Feb 2012, 23:31
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

mwillstedt is your network transport set to soap or left blank. In my php example file is should be set to soap.
by jeremy77
14 Feb 2012, 16:02
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

I have been able to get the following code to post to the interface via php and soap. I'm sure it could use some refining but it works. error_reporting(E_ALL); # Please define the connection information here: $url = "http://127.0.0.1/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnecto...
by jeremy77
09 Feb 2012, 16:05
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

I discovered my problem. As per the documentation

http://doc.otrs.org/3.1/en/html/generic ... s-examples

the dynamic fields tags are outside the article and ticket tags. Once I moved the tags it worked.

Now to translate the perl code to php
by jeremy77
08 Feb 2012, 01:06
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

I created the interface at 'http://127.0.0.1/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnector/' and was able to create the ticket but still cannot add the dynamic fields? I was not able to create a php file that would generate the ticket but I did use the perl example in the otrs docum...
by jeremy77
06 Feb 2012, 18:14
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

yes i am using rpc.pl
by jeremy77
03 Feb 2012, 16:32
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Re: OTRS SOAP responses in PHP SoapClient

I've upgraded to 3.1beta5 and still cannot get this to work. The current framework seems to be using the the AgentFreeText action which I thought was being deprecated: <input type="hidden" name="Action" value="AgentTicketFreeText"/> <input type="hidden" name=&...
by jeremy77
14 Dec 2011, 17:31
Forum: Developers
Topic: OTRS SOAP responses in PHP SoapClient
Replies: 32
Views: 44951

Dynamic Fields SOAP PHP 3.1.0Beta2

Hello, I've successfully used soap and php to create tickets in otrs using the example below. I was looking for a way to also populate dynamic fields using the soap client. I've looked through a lot of the documentation and searched the web but cannot find any examples for how to work with dynamic f...
by jeremy77
10 Dec 2010, 22:08
Forum: Help
Topic: Get department and office field form LDAP for stats
Replies: 5
Views: 3519

Re: Get department and office field form LDAP for stats

The challenge seems to be posting that information to the freekey freetext pair. The LDAP data is being posted for customer_id and customer_user_id but how do I point the department and office information to the free* fields. I think if the info is inserted to the ticket table I can report on it.
by jeremy77
10 Dec 2010, 21:47
Forum: Help
Topic: Get department and office field form LDAP for stats
Replies: 5
Views: 3519

Get department and office field form LDAP for stats

We are using ldap for our customer database and authenticatoin and would like to be able to report on the deparment and office of the customer who submitted the ticket. We are able to authenticate with LDAP and it asigns the proper customer_id and customer_user_id. I asume we wil have to work with t...