Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SOAP with Troi URL Plug-in

Featured Replies

G'day!

I'm trying to build credit card processing into my database.

I'm starting out with the bank's testing environment and I'm using the demo file included with the Plug-in. I've entered the URL: https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx

I've selected "POST" and put the following in the "Extra data to send" field...

POST /vplug-in/transaction/rpc-enc/service.asmx HTTP/1.1 

Host: secure2.e-xact.com 

Content-Type: text/xml; charset="utf-8" 

Content-Length: 2813

SOAPAction: "http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/SendAndCommit" 

<?xml version="1.0" encoding="utf-8"?> 



xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 

xmlns:tns="http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/" 

xmlns:types="http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/encodedTypes" 

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 

  

    > 

      

        A00990-01

        cadsmwp

        00

        250.00

        

       4111111111111111

        

        

        

        

        

        0808

        Mister Montfort

        

        

        

        

        

        

        

        

        

        

        

        

        

        

        66

        666

        6666

        en

        

        

        

      

   

I unchecked the "Use Content-Type..." checkbox, and I've tried with and without "NotEncoded" checked (actually I've tried checking and unchecking all sorts of things!)

I'm getting back $$500, or "500 Internal Server Error"

Anybody know what could cause an error 500? Could it be a minor error as simple as getting the Content-Length number wrong??

What happens if you remove the first 5 lines? These are part of the HTTP(S) protocol, which should be handled by your plugin.

  • 3 weeks later...
  • Author

Thanks Martin,

That helps a little. The first two lines are easy, they're passed elsewhere in the plug-in, so I can forget about those. The next three lines can be set as a custom header using the "setcustomheader" function of the plug-in.

Still, I only get error 500 back. In fact even a blank message posted to https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx gives me 500 back. Only if I change the method to "Get" can I get anything other than 500.

Does this seem right? I mean, I can't imagine there's something wrong with the server, otherwise someone else should have noticed by now, but I must wonder why I am not at least getting errors in the 400's, like "bad request" or "not acceptable".

There must only be so many client problems that could cause an "internal server error" (500).

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.