title: OTRS Webservice as Requestor Test
body: <p>I'm new to OTRS (3.2) and also new to PERL but I have been given the task of setting up OTRS so that it will make a call to our remote webservice so a record can be created on our end when a ticket is set as "Closed".
  I set up various dynamic fields so the customer service rep can fill in additional data that will be passed into the webservice call along with ticket details.
  I couldn't get the webservice call to trigger when the ticket was "Closed" but I did get it to trigger when the "priority" was changed so I'm just using that now to test the webservice.
  I'm just using the Test.pm and TestSimple.pm files that were included with OTRS.</p>
  
  <p>When I look at the Debugger for the Webserice, I can see that the calls were being made:</p>
  
  <pre><code>   $VAR1 = {
        'TicketID' =&gt; '6'
     };
  </code></pre>
  
  <p>My webservice currently just has one method "create" which just returns true for testing.</p>
  
  <p>however I get the following from the Test.pm </p>
  
  <p>"Got no TicketNumber (2014-09-02 09:20:42, error)"</p>
  
  <p>and the following from the TestSimple.pm</p>
  
  <p>"Error in SOAP call: 404 Not Found at /TARGET/SHARE/var/otrs/Kernel/GenericInterface/Transport/HTTP/SOAP.pm line 578 (2014-09-02 09:20:43, error)</p>
  
  <p>I've spent countless hours on Google but couldn't find anything on this. All I could find is code for the Test.pm and TestSimple.pm but nothing really helpful to help me create a custom invoker for my needs and configure the webservice in OTRS to get it to work.</p>
  
  <p>Does anyone have any sample invokers that I can look at to see how to set it up?</p>
  
  <p>Basically I need to pass the ticket information along with my custom dynamic fields to my webservice. From there I can create the record on my end and do whatever processing.
  I'm not sure how to setup the Invoker to pass the necessary ticket fields and dynamic fields and how to make it call a specific method in my remote webservice.</p>
  
  <p>I guess getting the Test.pm and TestSimple.pm to work is the first step then I can modify those for my needs. I have not used PERL at all so any help is greatly appreciated.</p>