2 Replies Latest reply: Oct 28, 2013 5:51 PM by L. Swihart RSS

    Access local USB device (signature capture)

    jtyreman

      HI all, got a pretty complex question hopefully someone out there will be able to help me out, if I have a local PC that makes a request to soa suite to a standard service how can I invoke a usb device from that local PC Within that composite? Is there any way to do this either within bpel or Java? Thanks

        • 1. Re: Access local USB device (signature capture)
          RajaSekharReddy.M

          Hi ,

          BPEL runs on the SOA server . So you can't process the information on the client machine using BPEL .

           

          I think you can do it with java . Get the content as a binary data in java using the api's provided by the device manufacturer and then invoke the web service likely the BPEL which takes the binarydata as input and you can process it from there

          • 2. Re: Access local USB device (signature capture)
            L. Swihart

            SOA suite is for processing data, business rules and hooking into other applications / systems to keep the information moving in real-time (ideally).

             

            You could do this many ways.

             

            I would look into using something like python, setup a rest webservice that executes a local command to mount the usb device and process the data.  This can of course be done in java or a host of other languages... You need to specify what you're trying to do w/ the device, is there an api ?

             

            Please lend some more info! Sounds mysterious and interesting!?

             

            -Luke