Can I use SOAP calls to remotely access functions on a SOAP server?

Hi,
I've used JavaScript and SOAP with "regular Acrobat" (e.g. Acroforms) to connect to a SOAP server, followed by Acrobat automatically setting up functions that I can call from JavaScript that, courtesy of SOAP, are relayed to the SOAP server for execution.  For example, a SOAP server that implements a Temperature function.  After doing the Net.SOAP.connect, my JavaScript magically has access to the Temperature() function, which is then executed remotely on the SOAP server courtesy of SOAP protocol.
My question is: With Livecycle Designer and it's XFA-based forms, do I have the same ability to programmatically connect to a SOAP server and automatically have JavaScript functions set up that I can call on the server?  From what I've read, there are LC Submit and Execute operations which interact (e.g. exchange data) with a specified SOAP server, but it isn't clear that LC provides the ability to end up with a set of functions that I can call from my JavaScript that are then executed on the SOAP server.
Stated more simply: Does LiveCycle Designer have the ability to connect to a SOAP server and automatically set up JavaScript functions that I can call (that then get relayed to the SOAP server for execution, followed by the return of data to my XFA-based program)?
Thanks.
Dave

Hi Varma_LC and pguerett,
First, thank you both for your quick responses!  It sounds like I shouldn't have any trouble using XFA forms and SOAP together.
Let me ask a related question (not about LiveCycle & SOAP, but just about SOAP).  I'm trying to return two values from one SOAP call.  http://www.avoka.com/blog/?p=998&cpage=1#comment-1692 describes how to do this.  Unfortunately, it's not working for me.
I'm able to retrieve single values from my SOAP server just fine.  When I try to return two values, the Acrobat JavaScript debugger says both values are "UNDEFINED".  The key part of my code is:
   var IntValue =   // define an int
     soapType: "xsd:int",
     soapValue: "1"
   var NValue =
       n1: IntValue  // n1 is the parameter my SOAP server expects
   var GetTheData = service.GetAllData(NValue);  // Go get the data and populate the GetTheData object
   console.println("GetTheData = " + GetTheData.CmdError + GetTheData.CmdResults);
   Param_1V.value = GetTheData.CmdError;     // This is a text box to display the returned value
   Param_2V.value = GetTheData.CmdResults; // This is also a text box to display the returned value
Both the console.println & the two text boxes (beginning with Param) print out the same results, namely "UNDEFINED".
I ran my SOAP client and SOAP server on two different computers, and then used WireShark to look at the SOAP protocol.  The SOAP protocol looks fine, and contains CmdError and CmdResults XML opening/closing tags around the actual data I'm trying to read from the SOAP server. Plus there are GetAllDataResponse and GetAllDataResult XML opening/closing tags around the data XML tags.
I'm using Acrobat 9 and I developed my SOAP server using Windows Communication Foundation (WCF) 3.5.  The same JavaScript program that is unable to retrieve two values returns one value just fine (a different service... call, of course).  In other words, it's being done in one program, not two separate programs.  So, my singular Net.SOAP.connect call seems to be working fine.
When I do the Net.SOAP.connect, I display the returned services, and GetAllData is listed, so Acrobat JavaScript knows about this particular service.
BTW, the WCF built-in client works fine in retrieving/displaying the two returned values, correctly detecting and displaying both returned values.  Of course, the WCF client may have different "rules" than Acrobat has in terms of processing SOAP messages.  I've seen differences before between the WCF client and Acrobat.
Any insights either of you have or anyone else has would be *greatly* appreciated. I've never used try/catch to trap JavaScript errors, if there is some type of error I should logically be looking for, I would be interested in information on that as well.
Thanks!
Dave

Similar Messages

  • How can I use system call in kernel loadable module?

    Hi,
    I want to use system call (shmat, mmap,...) in kernel module.
    When kernel module is loaded, it cause system error (undefined symbol name 'shmat', 'mmap').
    How can I use system call in kernel module ?
    Thanks in advance.
    david joo

    You cannot use system calls in the kernel modules.
    Read 'Writing Device Drivers' answerbook - it lists the set of interfaces (known as DDI/DDK) that are supposed to be used instead.
    Hope this helps...
    --I.

  • Can I use this as a wireless access point for my network

    can I use this as a wireless access point for my network

    umm... use what?
    A Time Capsule? Sure. It's just like many other wireless base stations. It can run in either bridge or route mode - in bridge mode it's just like an access point linking the wired and wireless networks together.

  • After upgrade to ios5.0.1 i can't use voice calls

    After upgrade to ios5.0.1 i can't use voice calls - people simply do not hear me. Microphone seems to echo sound back instead of sending it over. Ideas?

    Try "resetting" the device...
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.

  • How can i use talking caller id without jailbreak and those wacky apps

    how can i use talking caller id without jailbreak and those wacky apps

    Talking caller ID is not a feature of the iPhone. If by "wacky apps" you mean the ones that make custom ring tones for each contact from their name, that's your best bet.

  • How to call a remote capable function module?

    Hi all,
    I want to call a bapi from a R/3 that is not available in the current system were i have my WebDynpro Abap application.
    So, i called the wizard "Service Call".
    In the Select Service step i have to input the destination and Function Module and
    Before i specified an RFC destination .
    The wizard cannot find the function.
    I read the Note:
    The function module must exist in the current system! The wizard does not support to call a remote capable function module that does not exist in the current system.
    The question is :
    How can i call remote capable function module?
    Thanks,
    Ari

    Hi,
    this link might help you : <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/22/0424ba488911d189490000e829fbbd/frameset.htm">rfc in abap</a>
    grtz
    Koen

  • I am using iPhone 5s ,I paid $188 ,but I can't use PDF to work file this function ,it is sucks app

    I am using iPhone 5s ,I paid $188 ,but I can't use PDF to work file this function ,it is sucks app.i will complain apple of you app

    iUploader app
    "The iUploader app is the only way I know of to load files such as resumes and cover letters to sites such as Monster and CareerBuilder (those having the "Browse for File" links intended for desktop use) from an iOS device. If there is another way to do it, then I'm just not aware of it. I asked for this on the Apple discussion forum months ago and now here it is! Thank you app devs for this!" https://itunes.apple.com/us/app/iuploader-free-uploads-downloads/id541315293?mt= 8

  • Can I use boot camp or other virtualization software with Snow Leopard Server?

    Can I use boot camp or other virtualization software with Snow Leopard Server?

    Boot Camp is not virtualization; it boots Windows natively on the Mac hardware. So Boot Camp would be irrelevant to running Snow Leopard Server. Parallels and VMWare Fusion both have at least "experimental" support for running Snow Leopard Server in a virtual machine on Mac OS X, though I don't know how robust it is as of this time. You might ask for opinions on the Parallels or VMWare forums.
    Regards.

  • Calling a remote enabled function module which does not exist in caller sys

    Hi,
    I have a a system ABC from which I am trying call a rfc enabled fm(Test) present in system XYZ.
    The fm(Test) does not exist in the system ABC so I am getting generation errors and dumps.
    Is there a way for me to call these remote enabled function modules which does not exist in the caller system without the obvious errors etc.
    Is there any special way.
    Thanks

    Hi,
    please check this sample:
    REPORT  zcallfm                                 .
    DATA: xv_return TYPE sysubrc.
    CALL FUNCTION 'DOESNOTEXIST'
    DESTINATION   'NOWHERE'
    EXPORTING     caller                = sy-sysid
    IMPORTING     return                = xv_return
    EXCEPTIONS    system_failure        = 1
                  communication_failure = 2
                  OTHERS                = 4.
    It shouldn't throw any generation errors in your system!
    Regards,
    Klaus

  • Can I use my old Apple remote on my new Mac

    I just replaced my old iMac with a new 27" one.    My old Mac had one of those old Apple remote controls that used a magnet to attach to the side of my machine.     Can I use it on my new computer?
    The only thing I did was pause & restart my iTunes.

    If you want to control your new iMac remotely and you own a mobile iDevice, there are remote apps you can use on both your iMac and iDevice.
    These apps work over Wifi and/or Bluetooth.
    Apple has its own remote app simply called Remote.
    Another, which I use and is very comprehensive remote app, is called Rowmote Pro by a developer called Regular & Rhythm.
    If you want complete and total remote control access to your Mac, look at Splashtop Remote.
    There is also a dedicated WifI and/or Bluetooth remote for Macs and iDevices by a company called Satechi.
    Found here.
    http://www.amazon.com/Satechi-MediaRemote-Bluetooth-Multi-Media-Control/dp/B0082 4948U/ref=sr_1_1?ie=UTF8&qid=1391729056&sr=8-1&keywords=Satechi+remote

  • Can you use Object Relational SQL to access XML content ?

    Is there a possibility to use the generated object types and collection types to conveniently access the xml data?

    Technically there is nothing to prevent you from using the object types generared when an XML Schema is registered to access and manipulate the contents of the instance documents that conform to the Schema. This would be done using the notation x.xmldata.attribute In this case x would be the object table, xmldata is the name of the instance of the SQL object type associated with the table in question.
    However we do not encourage or recommend this approach. Currently XML DB provides the application developer with DML / DDL independence. This holds true as long as you use XPATH expressions to express your DML operations. Using XPATH expressions to access the content of an XML document maintains an abstraction between the DML (XPATH) and the underlying Object Relational Storage Structure derived from the information in the corresponding XML Schema. Whereever possible, when you express a query using an XPATH expression, under the covers we attempt to re-write the query into Object Relational SQL, based on the meta data contained in the Schema, as access v
    If you use the object notation to access the content of the document you break this abstraction. Your application now needs to be aware of the physical (object relational) storage model being used to manage the instance documents.
    One of the key features of XML DB is that it allow a developer to use Schema Annotations to alter the storage model used to manage the instance documents. The most common example of this is using annotations to control the way in which collections are managed. Depending on the annotation in the schema you can store collections as a VARRAY, as a NestedTable or as a separate XMLType table. Dependong on the technique chosed the objects that are generated during the XML Schema registration process will change.
    If you use the XPATH expressions to accesss the content of your documents, and you decided to change the annotations in your schema so as to revise the way your documents are stored, XML DB will ensure your code should continue to work unchanged, regardless of which objects are generated during Schema registration. On the other hand, if you use the object notation to access the content of the documents, and then change the annotation you will have to change your code.
    I hope this clarifies the situation..

  • Can attendees use a mac computer  to access convoq asap pro 2.0

    can attendees use mac computer to access convoq asap pro 2.0 conferencing?  Seems that convoq uses flash platform

    There is no possible way to use a thunderbolt display with any MacPro or any non-thunderbolt connection. Thats why Apple still sells the LED Cinema Display.
    http://store.apple.com/us/product/MC007LL/A/apple-led-cinema-display-27-flat-pan el
    To those curious in the future about using a "retina display", no current (as of 2013) video card could support what would be "retina" on a desktop monitor. Apple's mDP connector supports a maximum resolution of 5760 × 2160, which means it cant even run a 4K monitor, and dual-link DVI supports even less.
    You would need a new display connector standard with minimum 20% more bandwidth to support a "retina" resolution of twice Apple's Cinema/Thunderbolt display.

  • What are the correct settings for my WRT54GS for using remote access on a Windows Home Server?

    I can not remotely access my Windows Home Server from outside.  What are the correct settings for my WRT54GS?

    I have opened ports 80, 443,and 4125 to PCP.  The  router address is http://192.168.1.1, my address is 221.40.138.170.
    Thank you.

  • Can i use ipad as a mobile access point

    I have a ipad 3g model and wondering if i can use is as a mobile access point or is that only possible with an ipad2?

    It's not possible on either iPad - currently only the iPhone 4 and 3GS models can be used as mobile hotspots

  • Can I use iSight as a remote camera?

    I'd like to use iSight as a remote camera and record the video to a miniDV camera in a safer location.
    I don't have a nearby Applestore to go check this idea out, does anyone know if it's possible? I have a powered FW hub, so I can power the iSight w/o a computer (I think)

     You're welcome, Mark. Have you driven an iSight from a Dazzle before, or do you know someone who has?No.
    Although I have no technical data to quote that proves this, based on reports posted in Apple Discussions, I believe that iSight is less protected against shock, vibration, dust, and humidity than my "walking-around" cameras.
    I use a camcorder or the movie setting on my digital still camera for recording movie clips when I will be moving the camera. I do not mean to imply that iSight is inordinately delicate, merely that it is not as shock resistant as cameras designed to be carried. I would be surprised if iSight would withstand the rigors of aerobatics.
    Based on what you want to do, iSight's seemingly modest shock tolerance, and the price of GL2s, I would look for a device more like the sports camcorder mentioned earlier.
    Perhaps others can offer some first-hand experience that will be relevant to what you want to do.
    Jim

Maybe you are looking for

  • Please HELP iMac 17" (non isight)

    Keeps freezing up. Haven't done anything different today than any other day. Came home from work, wanted to check email. Froze right on the spot, dashboard, nothing responds, shut off several times with power button. Just replaced this hard drive no

  • HT4528 My lock button stopped working...

    Earlier this week my lock button was sticking and this morning it completely stopped working. I have to wait for the screen to go completely off for it to lock now.

  • ECC 6 - SAP Certification Material - Controlling

    hi If anybody has SAP Certification material for Controlling for ECC 6. Kindly send to the E-mail Id - [email protected]

  • Complex Data Selection Criteria

    Is it possible to do complex Data Selection Criteria invloving more than one InfoObject in Data Selection tab of the InfoPackage? Eg  : (Controlling area = 'ABC' and Fiscal Period between 001/2005 & 003/2005) OR (Controlling area = 'AAA' and Fiscal P

  • Can someone help me with my ram... G41M-P26

    HI GUYS.... this is what is happening to me.... i bought this motherboard G41M-P26 with 4 GB DDR3 1333 ( 2x2GB )...... and the thing is... when i got in the Bios the memory tab shows me ( DDR3 1333 (667 MHz)) my desktop config...  MSI G41M-P26  C2D E