Cloud + API in Java Connector

I write a Java cloud connector that also uses the Eloqua API.  Using the wizard of Axis2 Codegen for Eclipse, I generated files from the files, WSDL (first to https://secure.eloqua.com/API/1.2/Service.svc?wsdl, then https://secure.eloqua.com/API/1.2/ExternalActionService.svc?wsdl).  During the generation of the ExternalActionService WSDL files, some of the files from the first WSDL got crushed.  At first, I thought it was a big deal, and that the contents of the files would be the same.

During execution of the code, it became clear that each WSDL generated a different type of EntityType.java.  One of the WSDL API required that you create new instances of the EntityType and assign values as follows:

EntityType entityType = new EntityType();
entityType.setID(0);
entityType.setName("Contacts");
entityType.setType("Base");

One of the ExternalActionService required WSDL that you use static constants as follows:


EntityType entityType = EntityType.Contacts;

Yet once, I thought that maybe it wouldn't matter and the two files generated styles could be interchangeable, but it wasn't the case.  When calls via the ExternalActionServiceStub using the version ExternalActionService of EntityType everything works fine, but then make calls via the EloquaStub a deserialization exception is thrown.  A similar exception is thrown when you use the version of the EntityType API with the ExternalActionServiceStub.

My question is this:

Is it possible to have the API and Cloud Connector files generated in the same project?  Or I have to have the two separated, even if there are many files that are (or think I should be) the same?

Alex,

You must create a separate customer / class for each WSDL.

I know that you use a clinet to manage both.

So try to keep them separated.

Nader

Tags: Marketers

Similar Questions

  • vWorkspace 7.6. Java Connector and JRE update 31 8

    Hello

    After the release of JRE 8 31 update (which, by default, disable ssl 3.0) Clients cannot connect through it security more.

    disable SSL connect 3.0 on the server through the registry-> no connector Java or Windows.

    HKey_Local_Machine\System\CurrentControlSet\Control\SecurityProviders \SCHANNEL\Protocols\SSL 3.0\Server

    I use pnsslcli.dll Version 8.0.306.1565 (updated to 8.1 Support Windows Clients)

    I also tried to replace the Java Client with the latest Jar-files of 8.5 Java Connector, without success.

    Currently, I advise users to use the Windows connector or stay with Java update 25 8.

    concerning

    Markus

    Hi Markus,.

    Ok. As Andrew said, if you disable SSLv3 on the gateway Secure-IT machine, then you need the appropriate version of the connector: 8.0 build 1565 or 8.5. What about Java - I stay away from it and use a platform-specific connector (Windows, Linux, Mac, iOS, Android) instead.

    Java Connector is used usually when nothing else does not work or there are problems to get a suitable connector installed on the client computer (as the version of the OS not supported).

    Ian

  • Java connector and env variable

    Hello

    When we connect to RDSH farm with java connectore we get an environment CLIENTNAME a variable IP address of the client machine, but when we connect to RDSH farm with connectore ordinary we get a CLIENTNAME variable a host name of the client machine.

    We use a published application that depends on the good CLIENTNAME variable (it must be a host name, not IP)

    Is it possible to force the java client CLIENTNAME hostname variable setting?

    Thank you

    Robert

    Hello Robert,.

    According to me, the problem which translates the behavior you described has identified as a defect in the current vWorkspace Java Connector. We have a default open with the description "Java connector has not managed a correct information on the connector of the station /" and the 213704 ID. This issue is considered by the development team and is currently scheduled to be fixed in the next version Java Connector vWorkspace.

    Best regards

    David

  • Server java Connector running as a service

    Hello

    We want to run the server java connector DBAT as a service (just as we have for .net server connector) on a Windows Server instead of from, he command prompt and opening windows all the time. Anyone working on this before?

    Is there a way we can achieve?

    Any help would be appreciated.

    Thank you

    Hey Kevin,

    I was able to start JavaConnector server as a Windows service by

    (1) install the 32-bit JRE folder C:\Java

    (2) pointing environmental variables to the location of java (JAVA_HOME and JRE_HOME)

    (3) copy the server java connector on C:\ConnectorServer media

    and execution of the install of connectorserver.bat from the elevated command prompt.

    Thank you

  • How to add email Validation to the cloud for progressive profiling connector

    Hi all

    Need your help for the same

    Thank you

    Hello!

    Progressive profiling you would actually want to implement a cloud rather than a connector component. FreshAddress and LeadSpend have both provide by e-mail of the components of validation that you can simply drag and drop on your landing pages.

    Theoretically you should be able to implement the progressive profiling and validation of email components at the same time. I have not tested this myself use case, but have had success running the Demandbase and FreshAddress on the same LP components.

    I hope this helps!

    Jason

  • Use the java connector for the connector database?

    Hello

    I'm running on IOM 11gr2ps2 and need to use the database connector.  We installed the .net connector server to operate with the connector AD.

    The Oracle of https://docs.oracle.com/cd/E22999_01/doc.111/e20277.pdf documentation gives us an option to either install a java connector server to work with the database connector or install the IOM database connector without using a java connector server.

    The documentation says "execution of a connector on the connector server.

    allows to transmit queries put in service and reconciliation through the firewall in a

    as defined by the connector server.

    As I already have a connector server .net for AD, I would lean towards the installation of the java connector server.  In this way architecture remains consistent.

    Please, share your ideas.

    Thank you

    Khanh

    Table of database connector uses the Java Connector server, or it can be deployed directly in the container of the IOM.  If you have problems jar or different library due to database formats, you can use the connector server to isolate libraries and do not have to figure out how to make IOM in collaboration with several libraries.  It can also take some of the load on your server to IOM for the transformation.  I suggest to use the server connector for the isolation of the newspaper as well.

    -Kevin

  • Java Connector server - run as service under Windows

    Hello

    For some reason I'm not able to install the java Connector Server as a service on my Windows Server.
    It does not give a message of success connectorserver.bat/install, but it is not displayed.

    I can run and use it with the command connectorserver.bat/Run fine

    Also, the .net version installs fine as a service.

    Any ideas out there?

    -Lars

    Hello Lars,.

    I get the same error in our environment and resolve the error with the installation of java jdk 1.6 for 32-bit Windows environment.

    Concerning

    Ozge

  • API / method Java call to check if the page is placed in the fact

    Hi all

    Will there be any appeal of the STANDARD API to check if the page is already placed in the site tree? Ran a search on documentation and could not find. Quick entries will be really useful.

    Thank you.

    Hello Mohan,

    See this other thread where someone asked the same question recently:

    Re: get a page with java ncode

    See Phil recommending using TreeManager footnote.

    -Mark

  • Cloud for SIC code connector?

    Y at - it a cloud connector which will add code CTI to contacts or companies I have Eloqua?

    Hello Jill,

    I will reply on behalf of Shari. SureShot Media implements the Demandbase Company profile Cloud connector. With this connector, Demandbase and Eloqua customers will be able to improve their data with the Demandbase company profile information. SureShot he exercised through final testing and should be available soon. If you would like more information, or want to register for a beta version of the product, please contact us offline to [email protected] thank you

    Amit Varshneya

  • How does the cloud at the end connector?

    Hello world

    As I am new to cloud connectors, I am curious to know how to work the connectors.

    Can someone help me understand how step of connector (generator program) cloud called the custom logic written to external action. I think it should create a configuration page that is connected to the cloud connector step, where the identification information, field mapping etc. are configured. I guess that custom logic is not included in the Configuration page.

    What to do next! This information does get stored in the external database and based on the stage builder instancename and unique program ID these configurations are retrieved.

    Hit the button "configure" step of Cloud connector also, opens the URL that is configured in the Cloud Connector Manager. Thus, when the stream of contacts through this stage how they get processed? While the configuration page is configured in the step, but not the URL of the custom logic.

    Thank you

    Shashank Sharma

    Hello Shashank,

    Here is the way that they work frame connector Cloud:

    1. the user has implemented a program Builder program that contains a step of Cloud Connector.

    2. the user configures the step using the Configuration screen for your connector (that you provide).  Seebuilding Cloud connectors: Configuring Page for more details on this.

    3. once Setup is complete, members begin to flow into the configuration step, where they are waiting for your application to 'interrogate' in and find them.

    4. when members are found, your application then treats and marks them as being completed.

    5. when members of the batch are processed, they move to the next step in the program.

    Does make sense?

    T.J.

  • How to get local values using the API of Java OLAP?

    http://download.Oracle.com/docs/CD/E14072_01/OLAP.112/e10794/overview-summary.html#Vals

    The third part of a unique value is the local value. In the previous example, the local value is CY2001, which is the identifier for the year 2001 in the overall scheme. Java Oracle OLAP API has the classes and methods that you can use to get the local values of dimension members. See the descriptions of the classes MdmPrimaryDimension and MdmDimensionMemberInfo for more information on the unique values and the.

    How to get local values for a dimension or hierarchy or a level using Java OLAP API?

    I can not find how...

    For example, I would like to get the list of members for each level (in my application: countries, States, cities)

    Thanks in advance,
    JP

    The following code assumes that you have an object MdmPrimaryDimension, dimension and a sense of routine, dumpCursor(), that takes an oracle.olapi.data.Source object.

    Find the objects of metadata
    Hierarchy of MdmLevelHierarchy = dimension.getDefaultHierarchy ((MdmLevelHierarchy));
    MdmAttribute localValue = dimension.getLocalValueAttribute ();
    The list of levels of = hierarchy.getLevels ();

    Print the members of each level
    for (MdmHierarchyLevel level: levels)
    {
    System.out.println ("Level" + level.getName ());
    System.out.println ();
    Source querySource = localValue.getSource () .joinHidden (level.getSource ());
    dumpCursor (querySource);
    }

    In general, it is more common to want to print descriptions of members. For this, you can replace

    MdmAttribute localValue = dimension.getLocalValueAttribute ();

    with

    MdmAttribute valueDesc = dimension.getValueDescriptionAttribute ();

    How would you say

    Source querySource = valueDesc.getSource () .joinHidden (level.getSource ());

    For the "description" and "local value".

    Source querySource = localValue.getSource () .join (valueDesc.getSource ()) .joinHidden (level.getSource ());

  • Failed to create the connection to the Oracle Java Cloud Server

    Hi all

    I'm deploying simple ADF Oracle Cloud application.

    I am transferred HR diagram to my cloud database service and now I'm trying to create a connection to the instance of oracle java cloud service

    but it's not to create a connection to the cloud server and throwing the error message


    Tests of cloud-Admin... has failed.

    listApplications failed.

    Check the username, password, domain, for example.

    Check the location of the sdk cloud & version: Tools-> Preferences-> Oracle Cloud

    0 out of 1 tests successfully.

    Here are the details MyService

    JDEV: Build JDEVADF_11.1.1.6.0CLOUD_GENERIC_121118.1600.6229

    Cloud-version: 13.2.2.0.0

    I'm sure, that I am using the appropriate powers since am capable of service cloud console java with the same credentials.

    Please help me on this.

    Thank you

    Check the location of the SDK by browsing "Tools-> preferences-> Oracle Cloud-> Cloud Service SDK Java", navigate to the folder and navigate to the directory of sup 'lib '. Check the version with the command:

    java-jar javacloud.jar - version

    Oracle Cloud Java Deployer of Service tool.

    Version: 13.2.7.0

    What is the version that was posted to you? If something else "13.2.7.0" try to download the latest version of the SDK, unzip it somewhere and point your Jdev on the new version.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • Using Lab Manager API Java code example

    VMware or anyone have a sample code for using the API in Java? I mean, I have the host name, user name, password, I would not immediately be able to use the API to write my automation tools? spend hours finding the right pots, generating all these strains and write my own code (100 lines) just for connection resembles a maddness for me...

    -J

    After posting my original answer, I remembered that I had posted a code on this forum before. It's a stripped down version is about what would later become the LabMinder code I mentioned previously.

    If you go to the post office: Re: sample SOAP API for Lab Manager in necessary Java at December 20, 2007 by Michael Ottati you can retrieve the zip file in.

    WSDL changes made by new VMware to display require 2 changes to the code for the example to complie. Two of these changes please refer to the HelloLabManager.java

    1: change the world

    VMwareX0020LabX0020ManagerX0020SOAPX0020Interface to LabManagerX0020SOAPX0020Interface

    2: change the occurrence of:

    VMware_x0020_Lab_x0020_Manager_x0020_SOAP_x0020_interface to LabManager_x0020_SOAP_x0020_interface

    I have made these changes and zipped the original example here. This has been tested now with under jdk1.6.0_11 and LM 3.0.1

  • IOM SAP role Provisioning: "java.text.ParseException: date of.

    OIM 11 g r2 ps2 is correctly provisioned accounts to a SAP system via on the SAP connector. The SAP user for the connection, all permissions recommended by oracle and more activity 22 in S_USER_GRP S_USER_GRP auth obj.

    When I try to set up an account, it works. A single role, it works fine as well. Problem occurs when I try to configure a second role or more than one at a time. I Don t know if this is a problem of the connector or if a SAP user permissions problem. The connector Gets the error:


    Feb 2, 2016-15:15:20 org.identityconnectors.framework.server.impl.ConnectionListener processOperationRequest

    "' SEVERUS: java.text.ParseException: date of:" Fri dec 31 00:00:00 GMT 9999.

    "" org.identityconnectors.framework.common.exceptions.ConnectorException: java.text.ParseException: date of: "Fri dec 31 00:00:00 GMT 9999.

    at org.identityconnectors.sap.SAPUtil.stringToDate(SAPUtil.java:72)

    at org.identityconnectors.sap.SAPCreateUpdateBase.addAttributeValues(SAPCreateUpdateBase.java:1687)

    at org.identityconnectors.sap.SAPConnector.addAttributeValues(SAPConnector.java:332)

    at org.identityconnectors.framework.impl.api.local.operations.UpdateImpl.addAttributeValues(UpdateImpl.java:118)

    at sun.reflect.GeneratedMethodAccessor2.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)

    to com.sun.proxy. $Proxy7.addAttributeValues (unknown Source)

    at sun.reflect.GeneratedMethodAccessor2.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)

    to com.sun.proxy. $Proxy7.addAttributeValues (unknown Source)

    at sun.reflect.GeneratedMethodAccessor2.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:107)

    to com.sun.proxy. $Proxy7.addAttributeValues (unknown Source)

    at sun.reflect.GeneratedMethodAccessor2.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy.java:76)

    to com.sun.proxy. $Proxy7.addAttributeValues (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.server.impl.ConnectionProcessor.processOperationRequest(ConnectionProcessor.java:287)

    at org.identityconnectors.framework.server.impl.ConnectionProcessor.processRequest(ConnectionProcessor.java:191)

    at org.identityconnectors.framework.server.impl.ConnectionProcessor.run(ConnectionProcessor.java:121)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)

    at java.lang.Thread.run(Thread.java:662)

    "" Caused by: java.text.ParseException: date of: "Fri dec 31 00:00:00 GMT 9999.

    at java.text.DateFormat.parse(DateFormat.java:337)

    at org.identityconnectors.sap.SAPUtil.stringToDate(SAPUtil.java:69)

    ... more than 33


    SAP uses the JAVA connector server. If when execute us the command connector/run with the option of language it works: ConnectorServer.bat/Run "- J - Duser.country = US - Duser.language = in.

  • Where can I find DOCs for OEM API?

    I need dev some custom tools using functions OEM provided, how can I find the related API for?

    Thank you

    Cloud API is here https://docs.oracle.com/cd/E24628_01/doc.121/e28814/cloud_part5.htm#sthref1246

    Extensibility Kit allows custom plugins/connectors https://docs.oracle.com/cd/E24628_01/doc.121/e25159/toc.htm

Maybe you are looking for