Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Sagar Paswala
    SOAP XML TO Update Address and Custom field with Name and Id...
    Topic posted August 28, 2019 by Sagar Paswala, tagged SOAP 
    Title:
    SOAP XML TO Update Address and Custom field with Name and Id Configuration.
    Summary:
    Needs SOAP XML that Update Adress fields that includes City,Country,State and Custom Field with Name and ID Pair like Dorpdown
    Content:

    Hello All,

    I am Updating Contact Object Using SOAP API and want SOAP XML to update Address Field that includes all address configuration like City,State and Country.

    And Also needs help on How to update NameID,NameIDList Like Fields that have ID and Name as a pair of value

    Please Help me on this

    Version:
    Oracle Service Cloud SOAP API cloud19c
  • Guru Jay
    Retrieve File Attachment using Jscript3
    Topic posted July 25, 2019 by Guru JayGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Retrieve File Attachment using Jscript
    Summary:
    GetFileData call using Jscript
    Content:

    Hello everyone -

    I am trying to retrieve the file data from Jscript. I am using XMLHttpRequest to post the request XML of GetFileData and get back the binary data of the file attachment. I have provided the code snippet below.

    I can get the binary data response from the XMLHttpRequest though my call to SOAP end point and submission of xml in the send method goes through fine. I am wondering what I am doing wrong?  Essentially, objXMLHttpRequest.responseText does not bring me the file data that I would expect in this call.

    Thanks,

    Guru

     

    Code Snippet:
  • Manjit SIngh Arora
    Updating Quote Line Item (Opportunity Object) via...3
    Topic posted July 25, 2019 by Manjit SIngh AroraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Updating Quote Line Item (Opportunity Object) via SOAP API
    Summary:
    Not able to update quote line item
    Content:

    HI All,

    I am trying to update quote line items of opportunity object through SOAP API, i am not getting any error in response but the changes are not reflected in Agent Desktop.

    Snippet of SOAP Request.

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

        <soapenv:Header>

            <ns7:ClientInfoHeader xmlns:ns7="urn:messages.ws.rightnow.com/v1_4" soapenv:mustUnderstand="0">

                <ns7:AppID>Basic Update</ns7:AppID>

            </ns7:ClientInfoHeader>

            <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">

                <wsse:UsernameToken>

                    <wsse:Username>Admin1</wsse:Username>

                    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Admin1234</wsse:Password>

                </wsse:UsernameToken>

            </wsse:Security>

        </soapenv:Header>

        <soapenv:Body>

            <ns7:Update xmlns:ns7="urn:messages.ws.rightnow.com/v1_4">

                <ns7:RNObjects xmlns:ns4="urn:objects.ws.rightnow.com/v1_4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:Opportunity">

                    <ID xmlns="urn:base.ws.rightnow.com/v1_4" id="11" />

                    <ns4:Quotes>

                        <ns4:QuoteList>                                                                                                                                   

                                                                            <ns4:Name action="update">Quote_XYZ</ns4:Name>

                                                                </ns4:QuoteList>

                    </ns4:Quotes>

                </ns7:RNObjects>

                <ns7:ProcessingOptions>

                    <ns7:SuppressExternalEvents>false</ns7:SuppressExternalEvents>

                    <ns7:SuppressRules>false</ns7:SuppressRules>

                </ns7:ProcessingOptions>

            </ns7:Update>

        </soapenv:Body>

    </soapenv:Envelope>

     

     

  • Simone Vanotti
    OIC Use CriptJS Library
    Topic posted July 1, 2019 by Simone VanottiRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP 
    Title:
    OIC Use CriptJS Library
    Summary:
    OIC Use CriptJS Library
    Content:

    Hello,

    I need to use a CriptoJS Library in call JS in an integration ( Oracle Integration Cloud Service).  Somebody know how to do it ?

    I should write the follow code in my js call but when run the integration, It finish in error becaus does not identifier "CryptoJS":

    var signature = CryptoJS.HmacSHA1(baseString, key).toString(CryptoJS.enc.Base64);

     

    Thanks,

    Simone

  • Simone Vanotti
    OIC Netsuite Connection Timeout1
    Topic posted July 1, 2019 by Simone VanottiRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP 
    Title:
    OIC Netsuite Connection Timeout
    Summary:
    OIC Netsuite Connection Timeout
    Content:

    Hello,
    I'm using a trial version of OIC. My scope is that to create an integration between oracle HCM and Netsuite. I've create HCM connection, tested e validated with successfull it.
    When I created the Netsuite Connection with your adapter, It went in Timeout error, I tried with the Credential Authentication and with Token Based Auth in security configuration. I received ever the follow error:
    CASDK-0002 : Unable to access the host javax.xml.soap.SOAPException: Message send failed: Connection timed out (Connection timed out) ===== reqeust ======== SOAPAction:getDataCenterUrls Content-Type:text/xml; charset=UTF-8 Content-Length:261 <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><urn:getDataCenterUrls xmlns:urn="urn:platform_2019_1.webservices.netsuite.com"><urn:account>TSTDRV2123673</urn:account></urn:getDataCenterUrls></env:Body></env:Envelope>
    javax.xml.soap.SOAPException: Message send failed: Connection timed out (Connection timed out) ===== reqeust ======== SOAPAction:getDataCenterUrls Content-Type:text/xml; charset=UTF-8 Content-Length:261 <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><urn:getDataCenterUrls xmlns:urn="urn:platform_2019_1.webservices.netsuite.com"><urn:account>TSTDRV2123673</urn:account></urn:getDataCenterUrls></env:Body></env:Envelope>
    Message send failed: Connection timed out (Connection timed out) ===== reqeust ======== SOAPAction:getDataCenterUrls Content-Type:text/xml; charset=UTF-8 Content-Length:261 <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><urn:getDataCenterUrls xmlns:urn="urn:platform_2019_1.webservices.netsuite.com"><urn:account>TSTDRV2123673</urn:account></urn:getDataCenterUrls></env:Body></env:Envelope>
    Connection timed out (Connection timed out)
    The security configuration is correct because I've tested a SOAP call with the same configuration in postman and I get a success.
    Can you help me please?

    Version:
    1
  • Avadhoot Kulkarni
    Query with IN clause with one/more negative values is...
    Topic posted June 26, 2019 by Avadhoot Kulkarni, tagged SOAP 
    Title:
    Query with IN clause with one/more negative values is failing for INTEGER column
    Summary:
    WHERE clause contains mismatched data types in comparison
    Content:
    I am trying to query the following in soap v1.3 and v1.4 and its throwing error message like : WHERE clause contains mismatched data types in comparison
     
    select INTEGERCOL from GTABLE2 where INTEGERCOL in (-5,-15) order by INTEGERCOL
     
    The same query is working fine with soap version 1.2
     
    But the following query is working fine: 
    select INTEGERCOL from GTABLE2 where INTEGERCOL in (5,15) order by INTEGERCOL
     
    The query is failing if I include one/more negative numbers OR a null value in the IN clause. 
     
     
  • Manjit SIngh Arora
    Event notifications Implementation via SOAP API5.0
    Topic posted June 26, 2019 by Manjit SIngh AroraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Event notifications Implementation via SOAP API
    Summary:
    I am not able to get the response although i am able to create Event Subscription via SOAP UI
    Content:

    Hi Everyone,

    I am trying to implement EventSubscriptionNotification via SOAP whenever an contact is created in Instance. i could create instance of eventSubscription through Soap API. Also record is getting created in EventSubscription object where endpoint is set. But i am not able to get the respond at the endpoint URL.

    Could anyone suggest me detailed steps what configuration needs to be done at enpoint URL if any.

    or any detailed steps for implementing the same.

    Note*: I have followed this thread , will appreciate if anyone else has this figured out in detailed.

    Thanks!

     

     

     

    Code Snippet:
  • Robert Seletsky
    Java 11 and Connect Web Services for SOAP
    Topic posted June 25, 2019 by Robert Seletsky, tagged SOAP 
    Title:
    Java 11 and Connect Web Services for SOAP
    Summary:
    WSDL generates many classes with XMLStreamException
    Content:

    Has anyone encountered issues with Custom Integrations that use Connect Web Services for SOAP when migrating to Java 11 related to WSDL generates many classes with XMLStreamException (JAX-WS) ?

    Version:
    18B
  • Bryan Scarborough
    How to get information from an open Incident via a...Answered1
    Topic posted June 11, 2019 by Bryan ScarboroughBlue Ribbon: 750+ Points, tagged SOAP 
    Title:
    How to get information from an open Incident via a WorkspaceRibbonButton Add-In?
    Summary:
    WorkspaceRibbonButton Add-In interaction with Incident
    Content:

    Hello, 

    I am working on creating a WorkspaceRibbonButton Add-In (my first add-in), and I'm not seeing information on how to interact with the Incident that is opened.  What I am trying to to is when the button is clicked that several Tasks will be created and associated with the incident, but I'm not sure how to get information on the open incident.

    If this is in the documentation and I missed it, please let me know where.

    Thank you

    Version:
    18D
  • Jaymin kansara
    Update Custom Object record1
    Topic posted June 9, 2019 by Jaymin kansaraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Update Custom Object record
    Content:

    Hello,

    We need to update the record of custom object from Ebs to Service cloud using SOAP API. We have already created the SOAP API to update the record of custom object, please find the code snippet here below:

    <soapenv:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Update xmlns="urn:messages.ws.rightnow.com/v1_4">
     
    <RNObjects xmlns:q1="urn:generic.ws.rightnow.com/v1_4" xsi:type="q1:GenericObject">
                     <ID xmlns="urn:base.ws.rightnow.com/v1_4" id="16916" />
                         <q1:ObjectType>
                            <q1:Namespace>CO</q1:Namespace>
                            <q1:TypeName>AssetMapping</q1:TypeName>
                         </q1:ObjectType>
    <q1:GenericFields name="Handover_Status">
    <q1:DataValue>
    <q1:NamedIDValue>
    <ID xmlns="urn:base.ws.rightnow.com/v1_4" id="3" />
    </q1:NamedIDValue>
    </q1:DataValue>
    </q1:GenericFields>
      </RNObjects>
    <ProcessingOptions>
    <SuppressExternalEvents>false</SuppressExternalEvents>
    <SuppressRules>false</SuppressRules>
    </ProcessingOptions>
    </Update>
    </soapenv:Body>
     
     
    Here now we are updating custom object record by its record ID, But we are not storing the custom object record ID in Ebs. So to update from ebs we need to use one custom field of custom object which is unique in Ebs. So record of custom object should be updated by that unique field of ebs which is already stored in Service.
     
    Request you to please suggest and provide your valuable feedback.
    Code Snippet:

Filter by Date

< < November 2019 > >
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Filter by Type