SOAP Server Side

Hi guys, I already know a few about SOAP technologies (only in theory) and now I need some pratice.....
I need to develop a SOAP service wich will expect some callback calls, let me explain better:
There are to machines A and B
I need to register my application A (in the machine A) into the B Server
I need to register a url and a callback function in the server B
When something occurs the server B call the "callbackfunction" in the server A
Summarize:
The client side has a temperature monitor programming and the server B has a connection with the "temperature measure device". so I register my client in the B server and every time the temperature changes I will call a "method" in the client A application
How can I do this?!?! Some directions will be very welcome
[]'s
Thanks all
Giscard

It is the problem for me too. I used Apache SOAP, and I think it is the only way to realize this. At least, nobody posted an answer here, when I asked the same question. It is very sad, but I'm afraid J2EE has not mechanism to provide server-side support of SOAP. This aspect gently omissed in all Java tutorials.
It's very nice :)

Similar Messages

  • SOAP server side ... how to ... ?

    Hi,
    I'm new to the soap technology.
    I want to write a java application that use SOAP.
    I've downloaded JAXM to implement the client side :
    SOAPMessage response = con.call(message,endpoint);
    But I don't know what I must do to the server side ?
    A servlet ? What must I invoke on the server ?
    (I have IIS with servletexec, but I don't know if a servlet is necessary???)
    I just want to implement a server side that answer the SOAP request.
    Please,
    any information about server side
    or a little "startpoint" to begin is welcome.
    Very thanks.

    A good place to start are the tutorials and sample code that are found at:
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer1/?dwzone=ws
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer2/?dwzone=ws
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer3/?dwzone=ws
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer4/?dwzone=ws
    The second and third parts were the best - best coding samples. Also you might want to check out the Apache SOAP website - have you got your SOAP API? It can be found on:
    http://xml.apache.org/soap/index.html
    Also, the Apache SOAP website has a good bunch of info:
    http://xml.apache.org/soap/docs/index.html
    You'll need to have the SOAP, xerces.jar, and a few other things to fully implement SOAP. I've put together several client/server apps using different types of requirements.
    Does this help??

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • Wanting to write a SOAP server.

    I'm a Java programmer of 8 years experience, worked in J2EE, good knowledge of the usual XML APIs, the HTTP protocol etc, just so we know where we're starting...
    I'd like to write a SOAP server to expose certain routines to a Java client. Obviously I'd be writing the client side which would be in a web app.
    Now, the server side must be in this 3GL, non-OO proprietary language which my employer is wedded to (Synergy DBL). All the data are in that proprietary language's ISAM files. This is a requirement.
    That language has an XML parser, and an HTTP API, so I can read, parse, generate and send XML documents.
    Am I right in thinking that I don't need to write a WSDL description of the web service? That is generally used to generate Java sketeon/stub routines is it not?
    There exists a proprietary form of exposing certain DBL methods, and the interface is described by an XML document, for example as a proof of concept, I am exposing this method:
    <?xml version='1.0'?>
    <component name="fclasp" repository="/usr2/fclenv/51A/DATA/SYS/FCLmain.ism" smc="/usr2/fclenv/51A/DATA/SYS/" >
      <structure name="Asp_wt_filters" size="126" >
        <field name="Buyer_name" type="alpha" size="35" />
        <field name="Buyer_ref" type="alpha" size="15" />
        <field name="Supplier_name" type="alpha" size="35" />
        <field name="Supplier_ref" type="alpha" size="15" />
        <field name="Country_code_1" type="alpha" size="2" />
        <field name="Country_code_2" type="alpha" size="2" />
        <field name="Country_code_3" type="alpha" size="2" />
        <field name="Country_code_4" type="alpha" size="2" />
        <field name="Start_status" type="decimal" size="1" />
        <field name="End_status" type="decimal" size="1" />
        <field name="Start_date" type="user" size="8" />
        <field name="End_date" type="user" size="8" />
      </structure>
      <interface name="asp">
        <method name="asp_wt_list" id="asp_wt_list" elb="ELB:ASPLIB" >
          <methodresult type="integer" size="4" />
          <param name="p_request_mode" type="integer" size="4" />
          <param name="asp_wt_filters" type="structure" structureName="Asp_wt_filters" />
          <param name="p_output_format" type="integer" size="4" />
          <param name="r_tracking_ref" type="alpha" size="7" dir="out" />
          <param name="r_desc_buffer" type="alpha" size="660" dir="out" />
          <param name="r_data_buffer" type="alpha" size="660" dir="out" />
          <param name="r_break_flag" type="integer" size="4" dir="out" />
          <param name="r_break_reason" type="alpha" size="100" dir="out" />
          <param name="r_no_fields" type="integer" size="4" required="no" dir="out" />
          <param name="r_field_positions" type="integer" size="4" dim="1" required="no" dir="out" />
          <param name="r_field_lengths" type="integer" size="4" dim="1" required="no" dir="out" />
        </method>
      </interface>
    </component>You can see it is a very primitive WSDL descriptor - it describes compound data types, and the methods in an interface.
    Could I use the SAAJ API to call that routine from the Java/web tier? The SAAJ API just looks like a simplified XML API, not much to do with SOAP, and SOAP looks like it just sends arbitrary XML documents inside the soap Body.
    How, in SAAJ, do I create a standard SOAP message to represent an invocation of that method?
    I plan to generate a Java proxy to implement the interface, but I need to know how to work SOAP with SAAJ, so then I can examine the generated XML, and parse it appropriately in a generated Synergy DBL skeleton at the server end.
    Another consideration, is that in the current "RPC", a sessoni is established between client and server, and state is preserved between calls. The above method returns data from a query line by line in subsequent calls. Obviously this needs some kind of routing servlet to handle ths incoming SOAP packet and maintain correlation between client, and a specific instance of a DBL Synergy SOAP server to which it redirects requests..
    If anyone can help with suggestions, tips, links, whatever I'd be very grateful. I'm finding this a bit of a steep learning curve - none of the online resources go into SOAP ni any meaningful way, it's all just a skim saying how it's a simple form of RPC. But I need to know how to drive it!

    Would it help if you are shown how a SAAJ client can contact a WSDL Webservice.
    >
    How, in SAAJ, do I create a standard SOAP
    message to represent an invocation of that method?Would it help if you are shown how a SAAJ client can contact a WSDL Webservice. You will have to download JWSDP 1.4 for that. And then i can provide more info on how to write the SAAJ client. Also look at JWSDP 1.4 Tutorial, it will give you a lot of useful information.
    Another consideration, is that in the current "RPC", a
    sessoni is established between client and server, and
    state is preserved between calls. The above method
    returns data from a query line by line in subsequent
    calls. Obviously this needs some kind of routing
    servlet to handle ths incoming SOAP packet and
    maintain correlation between client, and a specific
    instance of a DBL Synergy SOAP server to which it
    redirects requests..Have you read the SOAP version 1.2 Part 0: Primer document. It gives useful insights into how to do such things.
    http://www.w3.org/TR/soap12-part0/
    >
    If anyone can help with suggestions, tips, links,
    whatever I'd be very grateful. I'm finding this a bit
    of a steep learning curve - none of the online
    resources go into SOAP ni any meaningful way, it's all
    just a skim saying how it's a simple form of RPC. But
    I need to know how to drive it!The SOAP 1.2 primer also explains how SOAP is a simple form of RPC (very nicely).

  • Dynamic Invocation: Error The SOAP PA receives a SOAP Fault from SOAP serve

    Hi All,
    I am trying to run the sample code "Dynamic Invocation of Oracle9i Web Services using Oracle UDDI registry"
    I was able to run the web services, publish them, and inquiry them using local UDDI registry.
    However, while invoking any method provided by the web services using the inovk method I get the following error
    oracle.j2ee.ws.client.WebServiceProxyException: Invocation failed 5,100: The SOAP PA receives a SOAP Fault from SOAP server
    Can anybody help me please?
    Regards,
    S.Al Shamsi

    It looks like the problem is occuring on the server side. I guess you have included the stacktrace from the client, can you get hold of the server side stacktrace?

  • Updating form with server-side scripts

    Hi
    For security reasons, we want to do a web service call with only server side scripts. That way we have full control over the access to the wsdl and no problems with the security.
    However, if I try to run the scripts on server-side I get no update of the data in the form... so what to do to solve that problem? Anybody with experience from that?

    To make a small update I've been messing around with various different things to be able to achieve the goal. One of the initial problems was that the Designer actually manages to create two different SOAP addresses, one of them is the correct and secure way and the other one is direct to the data source, which would be an unsecure and blocked route. That changed things a bit when I realized that.
    But still, the problem remains. If I run the script Client-Side, it works but is not an acceptable solution. If I run it Server-Side, it can't read the data and doesn't recognize the call to SOAP.connect()...
    Does anybody have any experience in webb service connection with server side scripts?

  • How to get session.maintain property on server side?

    Is there a way to trap javax.xml.rpc.session.maintain property on the server side in JAX-RPC compliant web service implementation? I would like to know if the client has enabled session.maintain property to true (which false by default). If not, can I specify the web service to be of "Application" or "Session" scope during deployment time? It used to be the case for Apache SOAP processor. I do not see any mention of that in the JAX-RPC spec.
    Thanks for any pointers.
    -Anirban.

    When I first started to work with JAXRPC I had questions about how web services maintained session across multiple calls and also if it was
    possible to maintain session across multiple web services. I downloaded
    the JAXRPC runtime implementation source code and tell you what I found.
    There is a HttpClientTransport class that handles the actual HttpConnection to the server. It checks to see if maintain session is
    set to true or false. If it is set to true it appends the JSESSIONID to the header variables of the request.
    The very first call gets a response back with header variable
    Set-Cookie: JSESSIONID=blahblahblah
    The HttpClientTransport looks for it and if it finds it takes the cookie and stores it somewhere. Every call after that will check to see if session maintain is true or false. If true, it will send
    the header:
    Cookie: JSESSIONID=blahblahblah
    Hope that helps.
    Mike

  • Server side session management

    Hi All,
    I am trying to achieve server side session management following is my code.
    public static void main(String[] args) {
    crmod_activity.proxy.ActivityClient myPort=null;
    try {
    myPort = new crmod_activity.proxy.ActivityClient();
    myPort.setUsername("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
    myPort.setPassword("XXXXXXXXXX");
    System.out.println("calling " + myPort.getEndpoint());
    ActivityQueryPage_Input aqi=new ActivityQueryPage_Input();
    ActivityQueryPage_Output aqo=new ActivityQueryPage_Output();
    QueryType qt=new QueryType();
    qt.set_value("");
    ListOfActivityQuery loaq=new ListOfActivityQuery();
    ActivityQuery aq=new ActivityQuery();
    aqi.setListOfActivity(loaq);
    aq.setActivity(qt);
    loaq.setStartrownum(new BigInteger("0"));
    loaq.setPagesize(new BigInteger("20"));
    loaq.setRecordcountneeded(true);
    loaq.setActivity(aq);
    aqi.setListOfActivity(loaq);
    aqi.setIncludeSubBooks("No");
    aqi.setViewMode("Manager");
    loaq.setActivity(aq);
    ListOfActivityData load = myPort.activityQueryPage("",loaq,"","LDC","false","Manager");
    System.out.println(""+load.getRecordcount());
    } catch (Exception ex) {
    ex.printStackTrace();
    Following is the exception i get
    javax.xml.rpc.soap.SOAPFaultException: Server
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:555)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at crmod_activity.proxy.runtime.Activity_Stub.activityQueryPage(Activity_Stub.java:142)
         at crmod_activity.proxy.ActivityClient.activityQueryPage(ActivityClient.java:107)
         at crmod_activity.proxy.ActivityClient.main(ActivityClient.java:83)
    Which is given when the code was not able to create session.
    Please advice.
    Regards,
    JM

    How would the first change break backwards compatability? You are not changing the package access or anything. You are just changing whether or not the inner class has a reference to a parent. Even if someone extended this class, would they really need a reference to the parent?
    It seems like a minor (if any) compatability issue. Please reconsider your decision to not change it.

  • Error while saving a workflow via sharepoint designer: Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.

    While saving a workflow using SharePoint designer on a SharePoint site, I get the following error: 
    Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
    Steps to recreate error:
    Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
    Access the list using SharePoint Designer 2013, in the workflow section, click new workflow. 
    In the new workflow dialog, enter workflow details, click save (see screenshot below).
    Error message is displayed as below:
    After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
    Workaround
    When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
    Notes
    Workflow Manager 1.0 is installed.
    The site has been registered with Workflow manager using Register-SPWorkflowService
    cmdlet.
    Any clue on why is this happening?

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How could I clear all my data(bookmarks) on Mozilla server side in new version of Sync (Firefox Account)?)

    Problem is the same as https://support.mozilla.org/en-US/questions/1000745?esab=a&as=aaq
    Also, there was no solution has been given in discussion.
    So, problem that noone could delete all data which have been synced with new Firefox account services.
    I've disconnected all my devices from previous (old) firefox sync system (which worked perfectly on several devices), after that i gone on link https://account.services.mozilla.com/ and deleted all my sensitive data.
    After I've created firefox account in new firefox sync system ( https://accounts.firefox.com ), and all my data (bookmarks exactly) now present in browser twice.

    I have a problem with over 12,000 unwanted bookmarks in my 4 PCs (all standard Mozilla bookmarks that have been replicated). So if I would like to purge my server side data. If I do this by deleting my Sync account can I re-use my same email address to re-open a "new" Sync account?

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • Contribute changing relative path for server-side include

    I am using Contribute CS3, version 4.1, and my pages crash
    every time a send a draft for review, because Contribute is
    rewriting a relative URL in a server-side include.
    The server-side include (before I send for review) reads:
    <!--#include file="../foo/bar.fileextention"-->
    After I edit other portions of the page and send the draft
    for review, it reads:
    <!--#include file="http:
    //www.servername.com/foo/bar.fileextension"-->
    Which results in the draft being unreadable.
    Is there any way to tell Contribute not to monkey with this
    URL? I have hunted, read the forums, checked the knowledge base,
    and coming up empy.
    Thanks in advance for any help you can provide!! I really
    appreciate it!
    -Nicholas

    Answering my own question.
    I researched this complete forum and with taking ideas from
    different posts, I was able to figure this out. I thought I would
    post it for anyone else needing to know the answer in one place:
    Include tags must read:
    <!--#include virtual="includes/fileName.html"-->
    (Include file is NOT a real HTML doc -- no tags in file
    except for CSS, as it would be used if not using Contribute.)
    No reference to .dwt needed nor Template created.
    No Edit instance tags needed anywhere.
    Contribute user navigates to page:
    [Upper right corner] Click Choose...
    [In my structure] User opens includes folder (double clicks)
    User selects THE file (clicks OK)
    User clicks on Edit Page button
    (Text is now editable.)
    User edits text.
    User clicks on Publish button.
    Worked for me several times trying.
    - Janet

  • Team Foundation Server 2013.2 - SharePoint 2013 SP1 - Missing Server Side Dependencies

    Environment:
    TFS 2013.2 (update 2) on Windows Server 2012 R2, with MS SQL Server 2014 on the same machine;
    SharePoint 2013 SP1 (with April 2014 update) on Windows Server 2012 R2
    MS SQL Server 2014 on Windows Server 2012 R2 (Used by SharePoint)
    Title 
     Missing server side dependencies.  
    Severity 
     1 - Error  
    Category 
     Configuration  
    Explanation 
    [MissingSetupFile] File 
    [Features\TfsDashboardAgileReports\Reports\Bug Progress.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
    file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File 
    [Features\TfsDashboardAgileReports\Reports\Bug Reactivations.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
    this file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File 
    [Features\TfsDashboardAgileReports\Reports\Bug Trends.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
    file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
    And dozen more similar entries
    The server is not in production, so I don't know if this error would cause any problems or not.
    How to resolve this?
    Thanks!
    Fat Dragon

    Hi
    A colleague and I are looking at a similar issue on TFs 2010 upgraded to TFS 2013 which I guess is slightly different mssing dependencies given the project template. we're using
    [MissingSetupFile] File [Features\TfsDashboardBaseUI\default.aspx] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
    file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File [Features\TswaWebParts\WebParts\CompletedBuilds.webpart] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
    this file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File [Features\TswaWebParts\WebParts\GoToWorkItem.webpart] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
    this file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
    Will logon in a couple of days to test "Fat Dragon's" approach ( unless someone tells me different)
    Daniel
    Freelance consultant

  • Reappears Missing Server Side Dependencies in Sharepoint Foundation 2013 Health Analyzer

    Hi all,
    I am a little bit confused why I am getting missing server side dependencies again and again. The missing server side dependencies shows the errors of "MissingSetupFiles". When I click on "Reanalyze Now" button,
    the error vanishes from the Health Analyzer page. But after one day it reappears again and shows "Missing Server Side Dependencies", When I again click on "Reanalyze Now" the error of "Missing Server Side Dependencies" goes
    away.
    But after one or two days, the error comes up again.
    Can you please help me why this is happening.
    Thanks for help.

    Hi Vishwajeet,
    You are able to use SharePoint Feature Administration from Codeplex to clean up the Missing Features. You can do it by clicking here.
    Also , you  are able to use PowerShell to resolve it. More  detailed information, click here.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/cc0b3ac7-1eb7-4e5b-9334-8c556e4c8b23/test-spcontentdatabase-errors-in-sharepoint-2010
    http://www.jeffscorner.org/blog/post/SharePoint-2013-%E2%80%93-Missing-server-side-dependencies-%E2%80%93-MissingWebPart-Webpart-class.aspx
    http://www.heyweb.net/2011/08/fixing-missing-server-side-dependencies-missingfeature/
    I hope this helps.
    Thanks,
    Ketak

  • 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

Maybe you are looking for