Using OTRS and .Net

English! place to talk about development, programming and coding
Post Reply
ApplxBridge
Znuny newbie
Posts: 1
Joined: 04 Jul 2012, 14:15
Znuny Version: 3.1.6

Using OTRS and .Net

Post by ApplxBridge »

Good Day

I am trying to create a .Net client that will consume the web services on OTRS. Steps that I have taken so far:
1)Created a web service on OTRS called "Test"
2)Selected to use "HTTP:SOAP" (the only option present) in the "OTRS as a provider"
3)Clicked on configure and set namespace to "TestNamespace" and message length to "1048576"
4)Added "SessionCreate" operation with the name "Session", incoming and outgoing data set to "Simple"

In my C# code, i am pointing to "http://localhost/otrs/nph-genericinterf ... rvice/Test". However I keep getting various error, ranging from Invalid SOAPAction to Length required.

I have almost given up trying to successfully connect and create a session or ticket.

Can anyone point me in the right direction?
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: Using OTRS and .Net

Post by Mike_B »

"Length Required" indicates you should configure the length in the Transport configuration in OTRS.
huntingbears.nl - @michielbeijen on Twitter
Post Reply