in reply to Re^2: What can be the reasons for bad request ??
in thread What can be the reasons for bad request ??

Well ... your XML is invalid:

my $xmlRequest = '<Request>'. '<NewOrder>'. '<IndustryType>EC/IndustryType>'. ...
should be
my $xmlRequest = '<Request>'. '<NewOrder>'. '<IndustryType>EC</IndustryType>'.
see the missing angle bracket after EC? But maybe that's just a posting error.

-derby

Replies are listed 'Best First'.
Re^4: What can be the reasons for bad request ??
by Sham (Novice) on Sep 10, 2007 at 10:50 UTC
    I would have jumped !!!! if it would have been the problem . Unfortunately it was not the problem, but thanks for notifying that. Thanks, SHAM....
      Hi I'm having the exact same problems as you. I've narrowed it down to the custom headers that are being built. This isnt part of the problem, but I see you are hitting the production url- not sure if you are aware, just wanted to point that out. https://orbitalvar1.paymentech.net is the testing url
        Hi Monk, Thanks for notifying. Its true,initially I was trying to hit the test link when I could not get any apropriate responses I shifted to production just for trial. I did not get what u mean by "I've narrowed it down to the custom headers that are being built". To get through the problem I looked at their perl SDK kit they have given on their site : http://www.paymentech.net/download/) it is pretty much complicated. When I passed my XML request to their testing script edriver.pl it was giving successful response. Surely I m missing something in my code to get the proper response. If u have any ideas regarding this implementation please advice. Thanks, SHAM...
      Check your header definition. Use Mime-version, rather than Mime_version (hyphen; not underscore).