Specify URL in Soap Server Connection Wizard

Simple question I hope.
Im trying create a Web Service.
I have built it, now I am trying to assign to connection.
In the SOAP Server Connection Wizard it asks for
SOAP Servlet URL:
What am I suppossed to type in here?
I want to run it from my local machine.
I can run all the code samples fine from http://localhost:8888

If you are using OC4J then try.
http://127.0.0.1:8888/soap/servlet/soaprouter

Similar Messages

  • Soap server connection problem

    in jdeveloper 9.0.2 i am trying to develop and deploy webservice. After starting embeded oc4j engine from the command prompt i m unable to get this url http://<hostname>:8888 from the browser .
    Also facing the problem while running the new soap server connection wizard. while testing the connection i m getting this error.
    Testing connection...
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD>
    <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
    </HEAD><BODY>
    <H2>The requested URL could not be retrieved</H2>
    <HR>
    <P>
    While trying to retrieve the URL:
    <A HREF="http://<hostname>:8888/soap/servlet/soaprouter">http://kanti:8888/soap/servlet/soaprouter</A>
    <P>
    The following error was encountered:
    <BLOCKQUOTE>
    Unable to determine IP address from host name for
    <I>kanti</I>
    </BLOCKQUOTE>
    <P>
    The dnsserver returned:
    <BLOCKQUOTE>
    Name Error: The domain name does not exist.
    </BLOCKQUOTE>
    <P>
    This means that:
    <PRE>
    The cache was not able to resolve the hostname presented in the URL.
    Check if the address is correct.
    </PRE>
    <P>Your cache administrator is <A HREF="mailto:root">root</A>.
    <br clear="all">
    <hr noshade size=1>
    Generated Fri, 14 Feb 2003 13:05:51 GMT by firewall (Squid/2.4.STABLE6)
    </BODY></HTML>
         java.lang.String org.apache.soap.rpc.Call.getEnvelopeString(org.apache.soap.transport.SOAPTransport)
         org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
         org.apache.soap.rpc.Response oracle.jdevimpl.webservices.util.JDevServiceManager.invokeMethod(java.lang.String, org.apache.soap.rpc.Parameter)
         java.lang.String[] oracle.jdevimpl.webservices.util.JDevServiceManager.list()
         void oracle.jdevimpl.webservices.wizard.connection.TestConnectionPanel$2.run()
    Unable to connect to SOAPServerConnection1 (http://<hostname>:8888/soap/servlet/soaprouter)
    Connection test failed: unable to connect
    right now i m ready to use any web service either
    1 > j2ee web service .(or)
    2 > soap web service
    but both are not working .
    Pls help me on this issue.
    regards mangesh

    If you use HttpsURLConnection for this, it will work on java 1.4.1, but not on prior releases. It will (as far as I can tell from experiment) use the time that the server provides for Keep-Alive.

  • Create Application Server Connection Wizard - Connection Type

    Hi guys:
    In the "Create Application Server Connection" Wizard - the Connection Type for the WebLogic 10.x is missing??
    Thanks

    That's because WebLogic 10 went into production after JDeveloper 10.1.3 was already out.
    Try and see if the WebLogic connection that is in there still works with 10.
    If not you can just create the EAR/WAR file from JDeveloper and pick it up and deploy them with the Weblogic admin interface or with an Ant task.

  • How to specify URL in server.xml of Tomcat

    Hi Everybody,
    I need help.How to specify url in the server.xml.
    I developed one application in the Tomcat 3.3.I want to access the by entering uri(like:http:test.com).
    What are tags to enter in the server.xml.
    Right now i am accessing like:http://localhost:8080/Test/Login.jsp
    I want replace this with (www.test.com).
    This site will access from anywhere means it is going to live.
    So what are things have to do in the server.xml
    Please provide the solution.
    Regards
    Sridhar

    Hi Raktim:
    I looked around on SDN and it seems that i have found what you have been looking for.
    Kindly look at page number 24 and 25 of this page
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d46fb8a-0b01-0010-9fbe-e4b96533b222
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • Connection Wizard requires to enter user ID and password on every login

    Hello,
    We just started using SAP BPC 5.1  When connecting to a server Connection Wizard requires every user to input user ID and password. "Use My Microsoft Windows user ID and password" is grayed out.
    Have anybody experienced this problem before? Any idea how to fix this?
    Thanks,
    Roman

    If you woudl like to avoid to insert every time user and password you have to do follow actions:
    1. Into BPC application server you have to open server manager
    Options - Client Options and on that window you have to uncheck the button Enable Server to Sarbane-Oxley compliant
    2. If the installation server was done with FQDN (fully qualified domain name ) or with IP instead to use short name for server then you have to add into internet explorer of client the site:
    http://nameofbpcserver into trusted sites.
    Open internet explorer
    - tools - internet Options
    Tab Security
    Select Trusted Sites
    Select button "Sites"
    Uncheck button: "Require server verification (https)..."
    type into entry field http://nameofyourbpcserver" and add
    In this way you will have the option to use windows authentication enabled.
    Regards
    Sorin Radulescu

  • OIM 11g Server Configuration Wizard Error - Cannot Connect to Oracle DB

    I appreciate any and all suggestions or thoughts on how to best continue troubleshooting this error that I am describing below.
    I am attempting to install Oracle Identity and Access Management Suite 11g on a Windows 7 machine…in following the installation guides I have successfully installed the following Oracle Components
    - Oracle Database 11.2.0.1.0
    - Created Schemas using RCU 11.1.1.3.3
    - Oracle WebLogic Server 10.3.3.0
    - Oracle SOA 11.1.1.2.0
    - Oracle SOA 11.1.1.3.0 (Patch Set)
    - Oracle IAM SUITE 11.1.1.3.0
    Following the above installations, I created a new WebLogic Domain and as the next step am running the OIM Configuration Wizard to configure the OIM Server, however I am unable to setup a connection to the Oracle DB via the OIM Configuration Wizard. I am getting an error message when attempting to setup the connection to the Oracle Database using the OIM 11g Server Configuration Wizard:
    ERROR:*
    INST:6102 Unable to connect to the database with the given credentials.
    *+[DETAILS] Check the values. Make sure the Database is up and running and connect string, user name, and password are correct.+*
    INST:6102 Unable to connect to the database with the given credentials.
    *+[DETAILS] Check the values. Make sure the Database is up and running and connect string, user name, and password are correct.+*
    When installing the Oracle Database 11gR2 I used the following install configuration:
    Oracle base: C:\MyApps\Oracle
    Software location: C:\MyApps\Oracle\DB_HOME\11.2.0\dbhome_1
    Database file location: C:\MyApps\Oracle\DB_HOME\oradata
    Database Edition: Personal Edition (3.27 GB)
    Character Set: Unicode (AL32UTF8)
    Global database name: orcl.dev.com
    Administrative Password: Password1
    Confirm Password: Password1
    When creating my Schemas using RCU 11.1.1.3.3 I used the following Database Connection Details
    DB TYPE: Oracle Database
    HOST NAME: localhost
    PORT: 1521
    SERVICE NAME: orcl.dev.com
    USERNAME: sys
    PASSWORD: Password1
    ROLE: SYSDBA
    I used a Prefix of “DEV” when creating the schemas so Schema Owners DEV_OIM and DEV_MDS where created. Also, I configured to use the same password for all Schemas: “Password1″. So the password for DEV_OIM and DEV_MDS should be the same, “Password1″.
    REPRODUCING THE ERROR
    To reproduce the error, when I launch the Oracle Identity Management 11g Configuration Wizard I am first brought to the “Welcome” Screen. I click the [Next>] button.
    Next, I am on the “Components to Configure” screen where I select OIM Server and OIM Design Console and click the [Next>] button. (NOTE I have also tested by simply selecting only the OIM Server)
    Next, I am on the “Database” screen where I enter the connection information
    Connection String: localhost:1521:orcl.dev.com
    (NOTE I have also tested using localhost:1521:orcl)
    OIM Schema User Name: DEV_OIM
    OIM Schema Password: Password1
    MDS Schema User Name: DEV_MDS
    MDS Schema Password: Password1
    When I click the [Next>] button after entering the Database Connection details I encounter the following two errors (1 error for each logon DEV_OIM and DEV_MDS)
    INST:6102 Unable to connect to the database with the given credentials.
    INST:6102 Unable to connect to the database with the given credentials.
    TROUBLESHOOTING
    NOTE: I can successfully start the Oracle DB Services and connect via the Enterprise Console, SQL Plus, and JDBCTest Java Client…I just cannot get past this connection error in the OIM Server Configuration Wizard.
    JDBCTest.java TEST CLIENT
    NOTE: THIS IS THE JAVA TEST CLIENT THAT I AM USING TO TEST DATABASE CONNECTIVITY THRU A SPECIFIED JDBC URL AND DRIVER THAT WORKS SUCCESSFULLY.*
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    public class JDBCTest {
    public static void main(String[] args) throws Exception {
    String url = "jdbc:oracle:thin:@localhost:1521:orcl";
    String driver = "oracle.jdbc.OracleDriver";
    String user = "DEV_OIM";
    String password = "Password1";
    try {
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(url, user, password);
    // Get the MetaData
    DatabaseMetaData metaData = conn.getMetaData();
    // Get driver information
    System.out.println("");
    System.out.println("#########################################");
    System.out.println("# ***DRIVER INFORMATION***");
    System.out.println("#");
    System.out.println("# Driver Name = " + metaData.getDriverName());
    System.out.println("# Driver Version = " + metaData.getDriverVersion());
    System.out.println("#");
    System.out.println("#########################################");
    System.out.println("");
    System.out.println("");
    // Get database information
    System.out.println("#########################################");
    System.out.println("# ***DATABASE INFORMATION***");
    System.out.println("#");
    System.out.println("# Database Product Name = " + metaData.getDatabaseProductName());
    System.out.println("# Database Product Version = " + metaData.getDatabaseProductVersion());
    System.out.println("#");
    System.out.println("#########################################");
    System.out.println("");
    System.out.println("");
    // Get schema information
    ResultSet schemas = metaData.getSchemas();
    System.out.println("#########################################");
    System.out.println("# ***SCHEMA INFORMATION***");
    System.out.println("#");
    System.out.println("# Schemas:");
    while (schemas.next()) {
    System.out.println("# " + schemas.getString(1));
    System.out.println("#########################################");
    System.out.println("");
    System.out.println("");
    // Get table information
    System.out.println("Tables");
    ResultSet tables = metaData.getTables("", "", "", null);
    while (tables.next()) {
    System.out.println(tables.getString(3));
    conn.close();
    } catch (Exception ex) {
    ex.printStackTrace();
    *"lsnrctl status" COMMAND TEST SUCCESSFUL*
    When the Listener Service is on I get the following output using lsnrctl status command
    C:\> lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 21-SEP-2010 15:59:43
    Copyright (c) 1991, 2010 Oracle. All rights reserved.
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows:Version 11.2.0.1.0 - Production
    Start Date 21-SEP-2010 14:43:57
    Uptime 0 days 1 hr. 15 min. 46 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\MyApps\Oracle\DB_HOME\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    Listener Log File c:\myapps\oracle\diag\tnslsnr\\listener\alert\log.xml
    Listening Endpoints Summary…
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary…
    Service “CLRExtProc” has 1 instance(s).
    Instance “CLRExtProc”, status UNKNOWN, has 1 handler(s) for this service…
    Service “orcl.dev.com” has 1 instance(s).
    Instance “orcl”, status READY, has 1 handler(s) for this service….
    Service “orclXDB.dev.com” has 1 instance(s).
    Instance “orcl” status READY, has 1 handler(s) for this service…
    The command completed successfully

    Whenever installing oracle databases, i install the software only first. Then i setup the listener. Then i create a database instance using the dbca tool. This way all the information is added to the pre-existing listener configurations rather than trying to create the listener afterwards. Also, during the dbca database creation, i supply a full service name such as orcl.hostname and use the service name in future configurations where it asked. This usually solves any issues of the listener or database not being found correctly.
    -Kevin

  • Connecting to SOAP Server

    I posted this on the JDev board however nobody replied. Maybe someone here can help me.
    Guys, I need some help with this one. I am trying everything but no luck. I am able to invoke the web service through the browser without any problems.
    The service is running on standalone oc4j container and the url is http://127.0.0.1/Workspace1-Project1-context-root/com.reisys.soap.Calculator
    When I try to set up the connection through JDeveloper and test it the exception is
    Testing connection...
    Not using Proxy Server
    java.lang.Exception
    org.apache.soap.rpc.Response oracle.jdevimpl.webservices.util.JDevServiceManager.invokeMethod(java.lang.String, org.apache.soap.rpc.Parameter)
    JDevServiceManager.java:255
    java.lang.String[] oracle.jdevimpl.webservices.util.JDevServiceManager.list()
    JDevServiceManager.java:297
    void oracle.jdevimpl.webservices.wizard.connection.TestConnectionPanel$2.run()
    TestConnectionPanel.java:275
    Unable to connect to SOAPServerConnection1 (http://127.0.0.1/Workspace1-Project1-context-root/com.reisys.soap.Calculator)
    Connection test failed: unable to connect
    my server output has this exception
    java.lang.NoSuchMethodException: no such method 'list' on class com.reisys.soap.__Calculat
    orStatelessWrapper
    at com.reisys.soap.__CalculatorStatelessWrapper.invokeMethod(__CalculatorStateless
    Wrapper.java:87)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:108)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:248)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch
    er.java:689)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReques
    tDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j
    ava:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:
    803)
    at java.lang.Thread.run(Thread.java:534)
    any help is really appreciated!

    Make sure that the receiver webservice is up and running and in a state to receive the external calls. Confirm if the data you send is as per the requirement of the webservice and they haven't changed anything at their end.
    Regards,
    Prateek

  • Server cleanup wizard problem - unable to connect to the WSUS Server Database.

    I'm trying to run server cleanup wizard.. it starts to run and then after a while it gives me this error:
    The WSUS administration console was unable to connect to the WSUS Server Database.
    Verify that SQL server is running on the WSUS Server. If the problem persists, try restarting SQL.
    System.Data.SqlClient.SqlException -- Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    The statement has been terminated.
    Source
    .Net SqlClient Data Provider
    Stack Trace:
       at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
       at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, ExtendedPublicationState publicationState)
       at Microsoft.UpdateServices.Internal.BaseApi.Update.SearchUpdates(UpdateScope searchScope, ExtendedPublicationState publicationState, UpdateServer updateServer)
       at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetUpdates(UpdateScope searchScope)
       at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager.GetUpdates(ExtendedUpdateScope filter)
       at Microsoft.UpdateServices.UI.AdminApiAccess.WsusSynchronizationInfo.InitializeDerivedProperties()
       at Microsoft.UpdateServices.UI.AdminApiAccess.WsusSynchronizationInfo.get_NewUpdatesCount()
       at Microsoft.UpdateServices.UI.SnapIn.Pages.SyncResultsListPage.GetSyncInfoRow(WsusSynchronizationInfo syncInfo)
       at Microsoft.UpdateServices.UI.SnapIn.Pages.SyncResultsListPage.GetListRows()
    Thanks

     Some questions:
    Are there any other databases running on this Std Edition SQL service?
    [a] Yes there are, we have Kaspersky enterprise DB, Report Server DB and local application DB.
    Are there any other services running on this WSUS Server?
    [b] Yes there are, we have Active Directory, Kaspersky enterprise, SQL Server 2005, and WSUS all on the same server.
    How many days since your WSUS server was first installed?
    [c] It's been about a year now.
    What is the physical size of the SUSDB.mdf file?
    [d] 9,666,752 KB
    What is the hardware configuration of this machine, including disk drives?
    [e] Intel Xeon 1.86, 2GB Ram, HD C: 39GB - E: 25.2, running Windows Server 2003 R2 SP2.
    How many client systems are you servicing from this WSUS Server?
    [f] Around 40.
    What products/classifications are you synchronizing.
    [g] Windows XP-vista, Windows Server 2003, Office 2003-2007, SQL Server 2005.
    Okay, for starters, you have an underpowered/overextended machine running Active Directory, ASP.NET, and a database server, all on a sub 2GHz CPU with 2GB RAM, and not enough disk spindles. The machine has had WSUS running for about a year and is 9GB in size.
    There's no doubt in my mind that some of your performance issues are directly related to disk and database fragmentation.
    There's also no doubt that some of your performance issues are directly related to memory starvation.
    I'd suggest the following long-term fixes:
    1. Get a second machine. Make it a dedicated database server. Provision it accordingly to support servicing multiple database applications.
    2. Lacking #1, this machine needs more memory. It also needs more disk spindles. At a minimum the databases being serviced should be on a dedicated physical drive; ideally there would be two dedicated drives allocated for supporting database services. The
    For the short-term fixes, do this:
    1. During after-hours time, if you don't already have one, build a temporary machine that can act as a DC/GC, while you take this machine temporarily offline.
    1. Shutdown the Update Services service, SQL Server database engine, and any other services dependent on the SQL Server database engine (Kapersky, and other reporting applications). Disconnect from the network to temporarly eliminate DC traffic. (You could also shutdown the AD services, but disconnecting the network cable is ever-so-much easier.) Defragment ALL drives.
    2. Restart ONLY the SQL Server service. Obtain this SQL script to Reindex the WSUS Databases.
    3. Restart ONLY the Update Services service. Attempt the Server Cleanup Wizard again. Run it in two passes. Pass 1 performing everything except  remove unused updates. Pass 2 running only remove unused updates.
    4. After completion of the Server Cleanup Wizard, reconnect the machine to the network and resume all other services.
    5. If you're able to complete #3, secure the services of a well-qualified DBA to determine if there are any misconfigurations in your SQL Server setup that would account for why your WSUS database is 9GB in size -- such as improperly configured autogrowth parameters. Based on the products you're updating and only forty clients, 9GB is about 3x the maximum size I would expect to see in a WSUS database. It's possible this is simply caused by excess unused updates, it's possible it's caused by fragmentation, it's probable it was caused by unnecessary autogrowth of the database due to insufficient update maintenance. You'll want a DBA to assist you in shrinking that database after you successfully run the Database Maintenance and Server Cleanup Wizard.
    Lawrence Garvin, M.S., MCITP(x2), MCTS(x5), MCP(x7), MCBMSP
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2009)

  • Contribute can browse URL but cannot find it in Connection Wizard

    Here is some supporting information:
    1. I have a fully functional site on a development server
    that can be browsed via a standalone browser or via Contribute's
    internal browser.
    2. I can successfully connect, browse, and ping the site
    using the domain name or IP for the address.
    3. There is one default file named "index.html".
    4. There is no redirection occurring. In other words, the
    default file is in the root directory of the site.
    5. I have full rights to the server and network share where
    the web files reside.
    Here's what happens (on a fresh install of Contribute 3.11):
    1. I open Contribute.
    2. I successfully browse to this particular site.
    3. I press the Create Connection button.
    4. The Connection Wizard opens and I hit next to enter my
    connection information manually.
    5. The web address previously entered populates the address
    of the Website Home Page screen of the Connection Wizard, so I hit
    next.
    Here's where the Connection Wizard bombs. It tells me that
    Contribute cannot find the website and to make sure that I entered
    it correctly or to contact the website administrator for
    assistance. The action question is "Would you like to try to
    connect to the website anyway?" Hitting "No" closes the wizard.
    Hitting "Yes" takes me to the Connection Information screen of the
    wizard. I connect via Local/Network and enter the network address
    of the share and then hit Next. Contribute returns an error that it
    cannot verify my connection information.
    However, I can successfully create a connection if I use the
    IP address of the site. Although this is possible, it is
    undesirable.
    Am I missing something here? Any help is greatly appreciated!
    Thanks!

    Some suggestions/guesses guys
    kruss1971 - As the IP address works, but the domain name
    doesn't, this is some sort of DNS problem, i.e. a domain name to IP
    address conversion issue. I don't know why, but the domain to IP
    conversion is working OK to show you the files of the website, but
    at the point of verifying that connection the domain to IP
    conversion is not working. So, there are two lookups:
    1. Domain to IP - to show you the files of the website.
    Works, because is done from your local machine.
    2. Domain to IP - to verify the connection. Doesn't work -
    I'm thinking that maybe this is somehow because the DNS lookup is
    occurring from another location, i.e. external to your local
    computer, that's the difference, and that's why it doesn't work.
    Just a guess. See also:
    http://www.adobe.com/support/contribute/connections/webserver_contribute/webserver_contrib ute04.html
    I am wondering whether it's because virtual paths on the
    server are involved, and these aren't matching up.
    Contribute has to drop a file when it verfies the connection
    and the address locations all have to match up and this is what
    isn't happening.
    2) Again I am thinking virtual paths issue here.
    Just guesses. Try opening an official support query too.
    Rgds
    lukaro

  • How to change Server Name on BPC Connection Wizard in Mass

    Hi there,
    I need to know if there's a way to change Server Name in Connection Wizard on a large number of PCs, using a configuration file that can be deployed to the PCs that need the change.
    Thanks for your response.
    Cheers,
    Rodrigo

    Apparently the Server name is stored under:
    HKEY_LOCAL_USER\Software\VB and VBA Program Settings\Outlooksoft
    5\LATEST for each user who uses BPC under the data containing "SERVER"
    So this is going to help on this requirement, previous a registry backup.
    Cheers,
    Rodrigo

  • Unable to connect to soap server

    Hi,
    I m trying to build webservice using jdev but i m unable to connect to soap server.I m getting the exception 'SOAP-ENV:IOException'.
    Please check this out and send a response soon at [email protected]

    Sonal,
    Please post the entire error message and stack trace you are getting, as well as the section of your code that is causing the error. And indicate which version of JDeveloper you are using.
    Good Luck,
    Avi.

  • Load Balance reference to be default server in connection wizard

    We have a multi server environment (3 web servers - load balanced) and database and OLAP on separate servers.
    BPC 7.5 Microsoft SP6
    Servers 2998 R2
    I am able to use the fully qualified load balance reference successfully, however, I would prefer to always default the load balance reference and not server 1, 2 or 3 as a default value in the connection wizard for my user communiity? What is the correct changes to ServerInfo to make the load balance the defatul reference?
    I have attemtped to updated the server info in 6 places on a server to reference the load Balance reference.It works, but I want to default this value for all users. Is there another reference besides the items below that need updating
    1) Reporting Services instance name,
    2) Reporting Services external server name
    3) Application Server external server name
    4) Application Server virtual server name
    5) Web Server name
    6) Web Server Virtual Name
    Thanks for the insight

    Hi William
    You can remove the references to the other servers. For example AppServer2, AppServer3
    Backup the Appserver database first before making any changes, in the table AppServer.dbo.tblServerInfo you can remove the entries AppServer2, AppServer3. You will need to ensure that the Virtual IP (Loadbanced FQDN) is valid for AppServer1, etc
    The client reads the configuration values from multiple tables, but in the table AppServer.dbo.tblAppSetInfo it can only make reference to one value in the column. For Example: AppServer1, ReportServer1, etc
    So in the end, you would only need values for AppServer1, ReportServer1, OLAPServer1, WebServer1,SQLServer1, etc
    That is how you would always default to the load balanced configuration values.
    Hope this helps
    Kind regards
    Daniel

  • Axis2 and wsdl- Exception thrown when client attempting server connection

    Hi all,
    I am trying at the moment to develop an Axis2 server, and test it with a client.
    The server is to provide a soap wsdl service, returning an object request.
    I have generated server code and client code using axis2's wsdl2java tool, and all seemed fine.
    The server I created using this generated code seems to work, so far as i can tell, as I can connect to it through a browser.
    For example, using the browser I can connect to it via:
    http://localhost:8888/services/PersonInfo
    and it gives me a page showing 'Deployed Services', listing the operations available.
    but the funny thing is here that it seems to auto-direct me to another url: http://localhost:8888/axis2/services/ which I have not specified.
    For the server I am using the axis2 supplied SimpleHTTPServer. Here is the complete code excluding the actual generated code:
    public class EmbeddedAxis2Server {
        public static void main(String[] args) throws Exception {
            ConfigurationContext context = ConfigurationContextFactory.
            createConfigurationContextFromFileSystem(null, null);
            AxisService service =
            AxisService.createService(caps.integration.rhos.dk.schema.astraiaservice._2008._04._15.PersonInfo.class.getName(), context.getAxisConfiguration());
            context.getAxisConfiguration().addService(service);
            SimpleHTTPServer server = new SimpleHTTPServer(context, 8888);
            server.start();
    }I can even call the published operation using the browser, via the url:
    http://localhost:8888/axis2/services/PersonInfo/getPersonInfo
    and pass in arguments using the usual form variables syntax.
    HOWEVER!! My problem is (and maybe it is related to the url redirect strangeness I mentioned above, or maybe not), that my coded client is not able to connect.
    I generated the client stubs also using wsdl2java, and call the functions... but I get this show stopping exception:
    org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) 127.0.0.1/services/PersonInfo
         at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
         at caps.integration.rhos.dk.schema.astraiaservice._2008._04._15.PersonInfoStub.getPersonInfo(PersonInfoStub.java:142)
         at com.astraia.axisclient.Client.getPersonInfo(Client.java:44)
         at com.astraia.axisclient.Client.main(Client.java:23)Here is the client code (excluding generated stub)
        public static void getPersonInfo(){
            try
                 ConfigurationContext context = ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null);
                 PersonInfoStub stub =new PersonInfoStub(context);
                GetPersonInfoIn req =new GetPersonInfoIn();
                req.setCivilRegistrationIdentifier("CIV123");
                req.setHospitalCode("HOS123");
                req.setRequestId("123");
                req.setUserName("sean");
                GetPersonInfoOut res = stub.getPersonInfo(req);
                System.out.println(res.toString());
            } catch(Exception e){     e.printStackTrace();       System.out.println("\n\n\n");      }
        }If anyone has any idea of what this problem is about, I would love to hear about it!
    Kind Regards,
    svaens
    Edited by: svaens on Apr 28, 2008 2:11 AM

    Hi, I have an update!!!
    Another aspect of my problem (which I had forgotten to mention) was a mysterious difference in the original wsdl file, and the one that was generated by my SImpleHTTPServer when my browser contact it, and requested the wsdl. That is, when I use the url in my firefox browser
    [http://localhost:8888/axis2/services/PersonInfo?wsdl|http://localhost:8888/axis2/services/PersonInfo?wsdl]
    the wsdl that was returned to the browser was different in several ways to the original wsdl that I generated my server side java code from using the axis2-1.3 wsdl2java.sh script.
    I had noticed this, and decided to create a client using this new and strangely different wsdl, and see if this provides different results.
    It worked!!! After creating my stub java code with the new wsdl file, and the wsdl2java tool, and modifying my custom java code to match the different stub generated, the client was able to connect to the server, and return me a serialized object.
    Does this give you any clues as to what may be the real problem?
    Differences in the wsdl include:
    1. the targetNamespace attribute listed in the wsdl:definitions tag shows the namespace backwards!!
    2. The new generated wsdl file has two extra element types,
    GetPersonInfo, and GetPersonInfoResponse, + GetPersonInfoIn , GetPersonInfoOut
    while the original only game me GetPersonInfoOut & GetPersonInfoIn.
    The client code I had to change now looks like this:
    try
                ConfigurationContext context = ConfigurationContextFactory.
                createDefaultConfigurationContext();
            PersonInfoStub stub =  new PersonInfoStub(context);
                GetPersonInfo reqs =   new GetPersonInfo();
                GetPersonInfoIn req = new GetPersonInfoIn();
                reqs.setGetPersonInfoIn(req);
                req.setCivilRegistrationIdentifier("CIV123");
                req.setHospitalCode("HOS123");
                req.setRequestId("123");
                req.setUserName("sean");
                GetPersonInfoResponse res = stub.getPersonInfo(reqs);
                GetPersonInfoOut resultObj = res.get_return();
                            OMFactory fac = OMAbstractFactory.getOMFactory();
                            OMElement xml = resultObj.getOMElement(GetPersonInfoResponse.MY_QNAME, fac);
                            XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(System.out);
                            writeOMElement(xml, writer);
            } catch(Exception e){
                e.printStackTrace();
                System.out.println("\n\n\n");
            }

  • Error while creating a application server connection in jdeveloper 10.1.3.2

    When I am trying to create a connection using the wizard with the following inputs
    hostname as :- localhost
    RMI Por as 22667
    When I use the test conection receive the following error
    racle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error while getting remote MBeanServer for url: ormi://localhost:22667/default
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:502)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         ... 14 more
    Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         ... 20 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 21 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 26 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 28 more
    ---- Embedded exception
    javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         ... 20 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 21 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 26 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 28 more
    ---- Embedded exception
    java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 21 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 26 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 28 more

    Caused by: java.net.ConnectException: Connection refused
    Is the Oracle application server running?

  • 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