Problem invoking the api rest of VCO NSX

Mary I currently works with VCO and NSX for my license thesis and a few problems when you try to use the api NSX in a VCO workflow.

I use the built-in VCO which comes with VRA 6.2 and NSX 6.1.3 all living inside a Vcenter 5.5
I'm just getting started with this and at the moment I just want to create a workflow that performs a GET request to a < nsx-Manager-IP >/api/versions.
I do this by using workflows of VCO HTTP REST she draws vco.

First I ran 'add a host REST' and set the URL to < nsx-Manager-IP > who succeeded

Then 'Add a REST operation' with/api/versions URL model that also succeeds

To test this, I ran "invoke an operation REMAINS" and selected my newly established operation, that's where I met a wall,

This workflow fails and throws the exception: connection pool stop (Workflow: call operation of REST / REST call (item0) #6)

The thing is I'm having a very difficult time to find what means this error, so any help would be really appreciated

More information:

I tried to send the same exact request with the Postmaster and who returns the deal answer Yes at least by now I'm pretty sure that the error has something to do with something inside the VCO
Also I tried to write the address to the Manager of NSX as FULL domain name and it's IP address without change
Oscar

Connection pool closing... known, issue install the plug-in here: Technical preview of REST plugin version

.. You will probably need to re - create your host REST and operations, but after that, your calls should work.

Tags: VMware

Similar Questions

  • Unable to create the pool of IP required for configuration VXLAN using the API REST NSX

    Basically, I want to configure VXLAN using the REST API. To set up VXLAN, VMKNic IP addressing accepts DHCP or IP Pool. I decided to go with Pool of IP.

    To create a Pool of IP "NSX-DEV-IPPOOL-01', I used the REST APIs.»

    POST https:// < nsx - ip > /api/2.0/services/ipam/pools/scope/ < id data center >

    < ipamAddressPool >

    < name > NSX-IP-POOL-02 < / name >

    < LG > 24 < / LG >

    < gateway > 10.99.134.1 < / gateway >

    Lab.local < dnsSuffix > < / dnsSuffix >

    < dnsServer1 > 10.99.134.2 < / dnsServer1 >

    < dnsServer2 > < / dnsServer2 >

    < Plages_ip >

    < ipRangeDto >

    < startAddress > 10.99.134.225 < / startAddress >

    < endAddress > 10.99.134.229 < / endAddress >

    < / ipRangeDto >

    < / Plages_ip >

    < / ipamAddressPool >

    Now I can see the Pool of IP in vCenter under NSX Manager-> [NSX-Manager-IP]-> manage-> object-> Pools of IP group.

    nsx_ipPools.png

    But when configuring VXLAN, no IP pool is present.

    nsx_configurev_xlan.png

    Y at - it all the additional steps required after the addition of pool of IP using the REST API?

    Thanks in advance.

    Remove the existing IP pool.  Then recreate the pool by using the API, but instead of using with globalroot-0.

  • Using intermittent problems "invoke the node-&gt; default reset" command to delete a table

    I use the 'default' reinitalization invoke the node to clear a table after sending the data to a file. The next time that the vi is called the table should appear all items, set the default values. However sometimes the picture is not deleted and data since the previous call of the vi are still in the arrary, or at least it appears that way, since the same data for the previous time called appear in the file when new values are added to the file. New data looks good, as the data points in the table that I don't update appear with the old values. And again, it is an intermittent problem. I can solve this problem for a while in any case stop labview and re-run it.  Any ideas what's happening?

    Thank you.

    Chuck


  • problem with the API FileI/O

    I want to download an image and stored in the folder on the SD card, using the API File I / o.

    is not working with blackberry.io.file.saveFile (filePath, blob);

    Here is my code:

    filePath = "file:///store/home/user/myPicture/sample.png"; var

    $.get (url, {function (data)})

    If (data! = null) {blackberry.io.file.saveFile (filePath, data) ;}}

    Alert ("file saved");

    },

    "png");

    I have this Exception:

    java.lang.IllegalArgumentException: invalid type - class java.lang.String running on line 277:

    blackberry.io.file.saveFile(filePath,data);.

    Help me plaiz

    I managed to solve the problem

    I analyzed the api data in blob with gear

    Request.onreadystatechange = {function (callback)}
    If (request.readyState is 4
    (& (request.status == 200 | request.status == 0)) {}

    If {(request.responseBlob)
    Alert ("request." "") "'BLOB');
    blackberry.io.file.saveFile (filePath, request.responseBlob);
    Alert ("file saved");
    } else {}
    Alert ("no request");
    }
    }
    };
    Request.Send (null);
    }

  • How to generate the message body to call the API REST Eloqua?

    I can GET my contact details via the URL: https://secure.eloqua.com/Api/rest/2.0/data/contact/229?xsrfToken=80267e50-30db-4e16-9dd3-7d42ef75dc2d as below:

    GET the answer:

    {

    'type': 'Contact,'

    'currentStatus': 'Action pending ',.

    "id": "229."

    'converted': '1439800672 ',.

    "depth':"full. "

    « nom » : » [email protected] ",

    "updatedAt": "1440662349",

    "accountName": "Oracle."

    "address1": "333333333",

    'city': 'unknown ',.

    "country':"KR. "

    ' 'emailAddress': ' [email protected] ",

    "emailFormatPreference": "not specified."

    "fieldValues can only be:

    [

    {

    'type': 'FieldValue ',.
    'id': '100005.

    },

    {

    'type': 'FieldValue ',.
    'id': '100017.

    },

    {

    'type': 'FieldValue ',.
    'id': '100023.

    },

    {

    'type': 'FieldValue ',.
    'id': '100024.

    },

    {

    'type': 'FieldValue ',.
    'id': "100032,"
    'value': 'CZZOC000000000229 '.

    },

    {

    'type': 'FieldValue ',.
    'id': '100033.

    },

    {

    'type': 'FieldValue ',.
    'id': '100034.

    },

    {

    'type': 'FieldValue ',.
    'id': '100035.

    },

    {

    'type': 'FieldValue ',.
    'id': '100036 ".

    },

    {

    'type': 'FieldValue ',.
    'id': '100041.

    },

    {

    'type': 'FieldValue ',.
    'id': '100043.

    },

    {

    'type': 'FieldValue ',.
    'id': '100044.

    },

    {

    'type': 'FieldValue ',.
    'id': '100045.

    },

    {

    'type': 'FieldValue ',.
    'id': '100046.

    },

    {

    'type': 'FieldValue ',.
    'id': '100047'

    },

    {

    'type': 'FieldValue ',.
    'id': '100048.

    },

    {

    'type': 'FieldValue ',.
    'id': '100049.

    },

    {

    'type': 'FieldValue ',.
    'id': '100051.

    },

    {

    'type': 'FieldValue ',.
    'id': '100065.

    },

    {

    'type': 'FieldValue ',.
    'id': '100066.

    },

    {

    'type': 'FieldValue ',.
    'id': '100068.

    },

    {

    'type': 'FieldValue ',.
    "id': '100069."
    'value': 'in Europe.

    },

    {

    'type': 'FieldValue ',.
    'id': '100072.

    },

    {

    'type': 'FieldValue ',.
    'id': '100081.

    },

    {

    'type': 'FieldValue ',.
    "id': '100171."
    "value": "oracle.com.

    },

    {

    'type': 'FieldValue ',.
    "id': '100172."
    "value': 'Ken Jin."

    },

    {

    'type': 'FieldValue ',.
    'id': '100174.

    },

    {

    'type': 'FieldValue ',.
    'id': '100175'

    },

    {

    'type': 'FieldValue ',.
    'id': '100176.

    },

    {

    'type': 'FieldValue ',.
    'id': '100177.

    },

    {

    'type': 'FieldValue ',.
    'id': '100178.

    },

    {

    'type': 'FieldValue ',.
    'id': '100179.

    },

    {

    'type': 'FieldValue ',.
    'id': '100180.

    },

    {

    'type': 'FieldValue ',.
    'id': '100184.

    },

    {

    'type': 'FieldValue ',.
    'id': '100187.

    },

    {

    'type': 'FieldValue ',.
    'id': '100188.

    },

    {

    'type': 'FieldValue ',.
    'id': '100189.

    },

    {

    'type': 'FieldValue ',.
    'id': '100190.

    },

    {

    'type': 'FieldValue ',.
    'id': '100191.

    },

    {

    'type': 'FieldValue ',.
    'id': '100192.

    },

    {

    'type': 'FieldValue ',.
    'id': '100193.

    },

    {

    'type': 'FieldValue ',.
    'id': '100194.

    },

    {

    'type': 'FieldValue ',.
    "id': '100195."
    'value': 'KenJinL888MJ '.

    },

    {

    'type': 'FieldValue ',.
    'id': '100196.

    },

    {

    'type': 'FieldValue ',.
    'id': '100197.

    },

    {

    'type': 'FieldValue ',.
    "id': '100198."
    'value': 'unknown '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100199."
    'value': '66.0000.

    },

    {

    'type': 'FieldValue ',.
    "id': '100200."
    ' 'value': ' [email protected] "

    },

    {

    'type': 'FieldValue ',.
    "id': '100201."
    'value': 'female '.

    },

    {

    'type': 'FieldValue ',.
    'id': '100202.

    },

    {

    'type': 'FieldValue ',.
    "id': '100203."
    'value': 'Energy & Utilities '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100204."
    'value': '0.0000 '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100205."
    'value': '0.0000 '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100206 Uganda."

    },

    {

    'type': 'FieldValue ',.
    'id': '100207.

    },

    {

    'type': 'FieldValue ',.
    'id': '100208.

    },

    {

    'type': 'FieldValue ',.
    'id': '100209.

    },

    {

    'type': 'FieldValue ',.
    'id': '100210.

    },

    {

    'type': 'FieldValue ',.
    'id': '100211.

    },

    {

    'type': 'FieldValue ',.
    "id': '100212."
    'value': "day 1".

    },

    {

    'type': 'FieldValue ',.
    "id': '100213."
    'value': 'Purple '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100214."
    'value': 'unknown '.

    },

    {

    'type': 'FieldValue ',.
    'id': '100215.

    },

    {

    'type': 'FieldValue ',.
    'id': '100216.

    },

    {

    'type': 'FieldValue ',.
    'id': '100217.

    },

    {

    'type': 'FieldValue ',.
    "id': '100218."
    'value': '1.0000.

    },

    {

    'type': 'FieldValue ',.
    'id': '100219.

    },

    {

    'type': 'FieldValue ',.
    "id': '100220."
    'value': 'Purple '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100221."
    'value': 'school '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100222."
    'value': "don't like".

    },

    {

    'type': 'FieldValue ',.
    'id': '100223.

    },

    {

    'type': 'FieldValue ',.
    'id': '100224.

    },

    {

    'type': 'FieldValue ',.
    'id': '100225.

    },

    {

    'type': 'FieldValue ',.
    "id': '100226."
    "value':" ' 0 - 5 hours/week ""

    },

    {

    'type': 'FieldValue ',.
    'id': '100227.

    },

    {

    'type': 'FieldValue ',.
    "id': '100228."
    'value': 'PC '.

    },

    {

    'type': 'FieldValue ',.
    "id': '100229."
    "value':" ' 0 - 5 hours/week ""

    },

    {

    'type': 'FieldValue ',.
    'id': '100230.

    },

    {

    'type': 'FieldValue ',.
    'id': '100231.

    },

    {

    'type': 'FieldValue ',.
    'id': '100232.

    },

    {

    'type': 'FieldValue ',.
    'id': '100233.

    },

    {

    'type': 'FieldValue ',.
    "id': '100234."
    'value': '0.0000 '.

    },

    {

    'type': 'FieldValue ',.
    'id': '100235.

    },

    {

    'type': 'FieldValue ',.
    'id': '100236.

    },

    {

    'type': 'FieldValue ',.
    "id': '100237."
    'value': '2 '.

    },

    {

    'type': 'FieldValue ',.
    'id': '100238'

    },

    {

    'type': 'FieldValue ',.
    'id': '100239.

    },

    {

    'type': 'FieldValue ',.
    'id': '100240.

    }

    ],

    "FirstName": "Ken."

    'isBounceback': 'false. '

    'isSubscribed': 'true ',.

    'Name': 'Jin ',.

    'subscriptionDate': '1439800672 '.

    }

    However, I get an error response if I want to update my contact information via a call to POST the URL: https://secure.eloqua.com/Api/rest/2.0/data/contact?xsrfToken=80267e50-30db-4e16-9dd3-7d42ef75dc2d

    For example: update my "lastName" to "Kim" current value "Jin".

    POST request: <-I think it's a bad Message body that I don't know the correct format... Almost of the Eloqua REST API documents mentioned on GET rather than POST.

    {"id": "229",}

    ' 'emailAddress': ' [email protected] ",

    {'Name': 'Kim'}


    POST reply:

    [{'type' ": 'ObjectValidationError',' container': {'type': 'ObjectKey', 'objectType': 'Contact'}, 'ownership':"emailAddress","requirement": {'type': 'UniquenessRequirement', 'uniquenessScope': 'global'}, 'value' ': ' '[email protected]'}]

    Could someone tell me how to build a correct Message to the body?  Using the above example (updated an existing contact name) would be much better. Thank you!

    A POST is used to create new records in the database of Eloqua.  If you want to update an existing record, you want to use a call PUT.

  • BlackBerry 10: Problem in the API Bluetooth SPP

    Hi all

    Anyone used Bluetooth SPP API SDK 10 Blackberry?

    I used bt_spp_open to connect to a remote server SPP (paired already manually), but the API always returns ENODATA.

    bt_device_init and bt_spp_init was successfully called before the API above.

    The parameters used for the bt_spp_open were:

    (1) the address of the server, mac

    (2) (service UUID which was '0 x 1101',

    (3) true for the non-blocking mode

    Version of OS used target device: 10.0.9.388

    Anyone with experience on the use of Bluetooth API in BB10. Help, please... Thanks in advance.

    For the service book uuid, you must provide a unique UUID that identifies the partucular your server service. 0 x 1101 is not the Service Id, but the ID of the Type of Service for the SPP.

    When you register the server on a remote device (server) use you a 16 unique service uuid numbers to bt_spp_open_server. It's the same uuid that you should bt_spp_open on the client side

  • Problem when the API update for 10.2.0.1155

    Hi all

    I get error 'Change in API level' when I'm updating the API level.

    For more information please see the attached screenshot.

    Please suggest any solution for this its urgent.

    Thanks in advance.

    Similar thread with answers here...

    http://supportforums.BlackBerry.com/T5/native-development/new-10-2-Gold-install-API-error/TD-p/25468...

  • Invoke the workflow via PowerShell vCO fails after 5.5.2 set at level

    Hello

    After upgrading to 5.5.2 vCO I have problems to run PowerShell workflows using REST. I read there are a lot of changes on the REST API vCO on this new version, so I think the upgrade has something to do with the problem.

    $username = ' XXXXXX

    $upassword = "XXXXXX".

    #create headers for appeal REST vCO

    $auth = $username + ':' + $upassword

    $Encoded = [System.Text.Encoding]: UTF8. GetBytes ($auth)

    $EncodedPassword = [System.Convert]: ToBase64String ($Encoded)

    $headers = @{' authorization '=' basic $($EncodedPassword) ' ;}}

    $value = 'nothing. '

    ' $body = ' <-xmlns = execution context " http://www.VMware.com/VCO "> "

    < Parameters >

    < name of the parameter = "arg_in_0" type = "string" >

    < string > "+ $value + < / string >".

    < / parameter >

    < / Parameter >

    < / execution context > '

    $ret = WebRequest call - uri https://vcoserver:8281/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4/executions / -Headers $headers - body $body - ContentType "application/xml" - Post method

    I get the following error:

    Invoke WebRequest: HTTP 401 - Authentication complete state is required to access this resource

    type of status report

    message full authentication is required to access this resource

    Description this request requires HTTP authentication.

    VMware vFabric tc LIFE 2.9.5.SR1/7.0.50.C.RELEASE

    Thank you

    Juan.

    try changing the url of

    https://vcoserver:8281/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4/executions /.

    TO

    https://vcoserver:8281/vco/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4 / executions /.

    vCO has moved in a context of /vco/

    Avoid any new REST API.

    I also notice that in provides script it is missing from the quote for a username

    > $username = ' XXXXXX

  • Eloqua Contact Import using the APi REST in bulk does not work.

    Hello

    I'm following the 'EloquaBulkApiDocumentation' of importing contacts in Eloqua using bulk REST API. But I get the error message. I have exactly according to the JSON content that mentioned in the books.

    REMAINS first call - /api/bulk/2.0/contacts/imports/

    {

    "name': 'example of importing Docs."

    'fields': {}

    'C_FirstName': '{{Contact.Field (C_FirstName)}}.

    'C_LastName': '{{Contact.Field (C_LastName)}}.

    'C_EmailAddress': '{{Contact.Field (C_EmailAddress)}}.

    },

    "identifierFieldName": "C_EmailAddress",

    'isSyncTriggeredOnImport': 'false. '

    }

    Second call REMAINS for data:

    {

    'element':]

    {

    "FirstName": "Juan."

    'Name': 'Garcia ',.

    'emailAddress': " " [email protected] "" "

    },

    {

    "FirstName": "Tatiana"

    "Name': 'Smirnov."

    'emailAddress': " " [email protected] "" "

    }

    ]

    }

    Third, called for synchronization:

    17. here is my id of the list I got rest first Call.

    {

    'syncedInstanceUri': ' / contacts/import/17 "»

    }

    Concerning

    Chrystel.

    Here are the details of the journal:

    " < response xmlns =" https://secure.P03.Eloqua.com/API/bulk/2.0/syncs/4/logs ">

    < number > 8 < / count >

    < hasMore > false < / hasMore >

    elements <>

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.0870000Z < / converted >

    < message > managed to convert file 2014-06-23 T 22-30 - 22_User27_2f3ed1c87d33418f91205d7daee640b8.json (0 KB) with json converter. < / message >

    information < gravity > < / gravity >

    < statusCode > ELQ-00104 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1370000Z < / converted >

    < message > field (C_FirstName) is a part of the import definition, but not included in the file. < / message >

    < Gravity > warning < / gravity >

    < statusCode > ELQ-00121 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1370000Z < / converted >

    < message > field (C_LastName) is a part of the import definition, but not included in the file. < / message >

    < Gravity > warning < / gravity >

    < statusCode > ELQ-00121 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1370000Z < / converted >

    < message > identifierFieldName (C_EmailAddress) must be contained in the fields, if specified. < / message >

    error < gravity > < / gravity >

    < statusCode > ELQ-00112 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1370000Z < / converted >

    < message > field (element) is not part of the import definition and will be ignored. < / message >

    < Gravity > warning < / gravity >

    < statusCode > ELQ-00111 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1500000Z < / converted >

    < message > there is no fields mapped into the file 2014-06-23 T 22-30 - 22_User27_2f3ed1c87d33418f91205d7daee640b8.csv. < / message >

    error < gravity > < / gravity >

    < statusCode > ELQ-00127 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1500000Z < / converted >

    < message > there was a processing error import. < / message >

    error < gravity > < / gravity >

    < statusCode > ELQ-00107 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < e >

    < number > 0 < / count >

    < converted > 2014-06-23T 22: 31:25.1370000Z < / converted >

    < message > trying to unlock the file 2014-06-23 T 22-30 - 22_User27_2f3ed1c87d33418f91205d7daee640b8.csv on import for user 27 17. File has been unlocked. < / message >

    < Gravity > warning < / gravity >

    < statusCode > ELQ-00110 < / statusCode >

    < syncUri >/synchronization/26 < / syncUri >

    < /e >

    < / object >

    < deadline > 1000 < / limit >

    < offset > 0 < / offset >

    < > 8 totalResults < / totalResults >

    < / answer >

    Hi all

    I fix the problem by changing the demand for DATA service of rest. It should be like this:

    [

    {

    "FirstName": "Martin",

    'Name': 'Joseph',

    "" "emailAddress": "[email protected]"

    },

    {

    "FirstName": "Sophia"

    'Name': 'Selly ',.

    "" "emailAddress": "[email protected]"

    }

    ]

    Concerning

    Chrystel.

  • How to get the information via the API Rest Socialcast challenges?

    Hello

    Is it possible to get the challenges through socialcast REST API?

    API documentation

    I find particular endpoint of challenges.

    Can we get information of challenges as messages? I can see more details api message endpoint.

    "extensions associated with this message, which can include group data, thank you, challenges, project or town_hall"

    Message from API documentation

    Hello:

    We don't have an API of challenges available at this time. We release new API information on an ongoing basis, then please do not hesitate to consult the documentation periodically for updates.

    Thank you

    Socialcast VMware team

  • Problems about the API implementation host of 'assets' to 'maintenance '.

    Hi all

    A requirenment I need to meet is to change the host in a datacenter of 'smart host' for 'maintenance host.

    Is there an api call to achieve this goal, or other approaches? Thank you.

    Ronnie

    We use VCO to do that and use wrapper methods.

    vcHost.enterMaintenanceMode_Task

    is the name of the called method (this is the version that returns as a task) - I don't know if this is useful or not.

  • Problems with the news in bulk Api v2.0

    I recently started using the new bulk Api 2 in order to synchronize the activities of return. However, I came across a couple of major problems with some of the returned data.

    Referencing the docs:

    http://docs.Oracle.com/cloud/latest/marketingcs_gs/OMCBB/index.html#D_Reference/activity-fields.htm%3FTocPath%3DReferenc...

    1. The bounceback, subscribe and unsubscribe activities do not allow a ContactId field to use, while doing other activities. This information must be available, as you can get it from the api REST and Insight reporting. The EmailSend type allows more contact IDs, but it lacks documentation.
    2. Do return the activities of bounceback hard rebounds, not soft. Why? There are also no information that describes the reason for the bounce back for example. "mailbox unavailable" (that you fall into the other api)
    3. There is a serious bug in the information coming back from bouncebacks. Instead of the e-mail address of the recipient, I get the sender e-mail address ([email protected]) on some issues. This effectively makes it unnecessary because without the right email address or id of contact, there is no way, this goes back to original recipient.


    I'm hoping someone will be able to give an overview of these issues. Any help would be with recognition has.

    Thank you

    James Franklin


    fsakr

    TJ fields-Oracle

    Hi James,

    Regarding your questions about activities:

    (1) you are right that ContactId is not currently available to be included in these activities.  We are working on obtaining of their added in a later version.  Email address is available on these activities and can be used to link the activity to a specific contact.

    (2) currently only hard bounces are included.  We are working on adding soft bounces and the reason code in a future release.

    (3) it has not been reported previously, thanks for sharing.

  • workflow variables work in the body of the request REST NSX

    Mary, I am using the plugin from REST to communicate to the api REST of NSX and create edges and switches logic, when I created an operation to create the new advantage, I use the woekflow "build the workflow of the operation REMAINS" to get a workflow where I only change the body of the response with the appropriate xml string.

    so far everything works and as I hard code every part of the body I can create edges and switches. But I really don't understand how to change parts of the body with some user input, such as the name of edge or edge IP, because if I have for example to change the name of the edge in the body to my variable "edgeName", the edge will be named 'edgeName' :/

    Is it possible to make a chain that spans several lines in the orchestrator of javascript version?

    Thanks for the tips for all the answers

    EDIT:

    Apparently, it works if I concatenate the XML as several strings like this:crap.PNG

    and insert the variables, but it makes the border contained unreadable, is there not a more pleasant way to do?

    question number two has to do with my workflow before deadline nsx what API responds that the edge is created because vcenter takes more time to deploy my workflow wants to wait for a response.

    JavaScript:;

    OscarCap2ture.PNG

    is there a way to make the custom state to wait longer before deciding that the action has failed?

    Hi Oscar,.

    There is no "orchestrator of Javascript version." We use such standard Javascript implemented by Mozilla Rhino engine.

    In Javascript, there is something which is called E4X, or "ECMAScript for XML". which provides a more pleasant to work with XML syntax. Here is a simple example, how an XML can be built without the string concatenation:

    var edgeName = "edge1 sample name"; // or get it as input parameter
    var edgeDesc = "edge1 sample description"; // or get is an input parameter
    
    var content =
      
        {edgeName}
        {edgeDesc}
      ;
    
    System.log(content);
    

    Makes the content more readable structure, it doesn't

  • Perform a search using the API of HIS without informing the user password

    Hello

    I use the example in the doc http://docs.oracle.com/cd/E10390_01/doc/search.1018/b32515/oracle/search/query/webservice/client/OracleSearchService.html. I would like to create a custom search. However, I am facing problems because the API States that I should inform the user password. In this case, how can I make the search without entering the password? Theoretically, authentication was achieved by an SSO, and if so, how could I say to the API?

    If anyone has any suggestions,

    Kind regards

    Christian

    If your application knows with certainty that the user has been successfully authenticated by an external mechanism, then you must use the "connection proxy" function to run queries on behalf of this user.

    The proxy connection relies on a secret shared between your application and the server of ITS. This behavior is implemented by the Federation of the entities of confidence in global settings. The login name of the proxy is the name of the entity, and the password is entered directly in the page trust entities or search via the plugin of the identity, if option is selected on the trusted entities page.

  • Problem using the REST API by wavemaker

    Hello

    I have a problem using other api with wavemaker. When I do a query GET with the RESTClientin FireFox, everything is fine for example:

    get https://XXX.XXX.XXX.XXX:8281 / vco/api/result:

    1. Status Code: 200 OK
    2. Cache-Control: private
    3. Content-Type: application/xhtml+xml;charset=UTF-8
    4. Date: Sun, 06 Apr 2014 16:50:04 GMT
    5. Expires: Thu, 01 Jan 1970 00:00:00 UTC
    6. Server: Apache-Coyote/1.1
    7. Transfer-Encoding: chunked

    But when I try to connect to the same url using wavemaker I recive: the answer is not in a valid XML Format.

    I use Orchestrator 5.5 and far as I could see the token is no longer required in the header. Anyone know why I get this error message?

    Thank you!

    Well half a day looking, then finally I thought to it:

    The header should be: accept: application/xml

Maybe you are looking for

  • Enter key no longer works in the address bar after firefox 10 meetings

    I have fire fox in ver.10 last night and since then the Enter key does not work in the address bar

  • Notifications on my iMac

    I have a question my notification section when I turn it off at night I have to reset all the notifications as I want. I hit change and bring changes, then when I stopped in at night and turn it back on in the morning, she goes back to default and ha

  • "This site has been blocked by the network administrator."

    I have a home network and I'm closest to "network administrator" that we have here. I often go to a web site especially www.aaca.org. Yesterday morning, I suddenly had the message given in the title. It's in a yellow background box with a triangle wi

  • Voicemail for one user with two extensions

    Environment: Cisco Unified CM Administration system version: 7.1.3.30000 - 1 Cisco Unity Connection Administration Version 7.1.3.10000 - 68 We have one user this year who will wear two hats and will have offices in two different places. I have two ex

  • Good idea to upgrade to 8.1 with this material?

    OK, so I'm planning on upgrading to windows 64 bit 8.1 Windows 7 and I was wondering if my hardware is compatible. Intel core 2 duo e8400 3.00 ghz RAM ddr2 4 GB NVIDIA nforce 650i chipset X 2 GeForce 8800 gt SLI 120 GB SSD with win7 pro 64-bit Two ot