OTRS 5.0.3 Webservice Error

Moderator: crythias

Post Reply
mohsinkhan009
OTRS newbie
Posts: 64
Joined: 02 Sep 2015, 08:47
OTRS Version?: OTRS-Rel-5

OTRS 5.0.3 Webservice Error

Post by mohsinkhan009 »

Facing issue in SSO (Single Sign On):- OTRS login link is integrated in .Net application on clicking on OTRS login link Agent will be able to login into OTRS with the logged in credentials

Below is the output of Web service output got
$VAR1 = {
'CONTENT_LENGTH' => '516',
'CONTENT_TYPE' => 'application/xml',
'DOCUMENT_ROOT' => '/var/www/html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_ACCEPT' => 'application/xml',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_EXPECT' => '100-continue',
'HTTP_HOST' => '10.x.x.x',
'HTTP_SOAPACTION' => 'SessionCreate',
'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin',
'PATH_INFO' => '/Webservice/GenericTicketConnector7',
'PATH_TRANSLATED' => '/var/www/html/Webservice/GenericTicketConnector7',
'QUERY_STRING' => '',
'REMOTE_ADDR' => 'x.5.x.x',
'REMOTE_PORT' => '52985',
'REQUEST_METHOD' => 'POST',
'REQUEST_URI' => '/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnector7',
'SCRIPT_FILENAME' => '/opt/otrs/bin/cgi-bin/nph-genericinterface.pl',
'SCRIPT_NAME' => '/otrs/nph-genericinterface.pl',
'SERVER_ADDR' => '10.x.x.x',
'SERVER_ADMIN' => 'root@localhost',
'SERVER_NAME' => '10.x.x.x',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (Red Hat) Server at 10.x.x.x Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.2.15 (Red Hat)'
};

[Thu Dec 3 17:59:40 2015][Error][Kernel::GenericInterface::Debugger::DebugLog][232] DebugLog error: Summary: Invalid SOAPAction '' Data : No data provided.

Attached is my generic connector created

Note:- after debugging found that user credentials pass from the webservice are not comming in the OTRS

any help will be appreciated.
You do not have the required permissions to view the files attached to this post.

mohsinkhan009
OTRS newbie
Posts: 64
Joined: 02 Sep 2015, 08:47
OTRS Version?: OTRS-Rel-5

Re: OTRS 5.0.3 Webservice Error

Post by mohsinkhan009 »

Below is xml file with error :-

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope soap:encodingS
tyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:
xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ... ody><Fault xmlns="http://www.otrs.org/TicketConnector/SessionCreate"
><faultcode>Server</faultcode><faultstring>Invalid SOAPAction ''</faultstring></Fault></soap:Body></soap:Envelope>

mohsinkhan009
OTRS newbie
Posts: 64
Joined: 02 Sep 2015, 08:47
OTRS Version?: OTRS-Rel-5

Re: OTRS 5.0.3 Webservice Error

Post by mohsinkhan009 »

Issue resolve by changing the code in SOAP.pm module

Post Reply