Gateway Sample

Hey Martin,
It wud be gr8 if U can give some example of enabling Alternative 2 for gateways (Exclusive).
I am facing issue while evaluating condition for gateway...(Alternative2).
Probably using a Scenario as given below would be of much help to me :
A context attibute in webdynpro of type boolean,binded with Check box (stating rejected) on UI.
A exclusive gateway in Process Composer Project,wherein a gateway is used with options as Accepted and Rejected.
Accepted (Alternative 1 ) is my default gate.
In condition evaluation for Alternative 2, how do I go ahead ?

Hi Sheetal,
The SDN provides several samples (including NWDS projects) that cover your question:
https://www.sdn.sap.com/irj/sdn/nw-bpm?rid=/webcontent/uuid/006a16ad-a3ad-2b10-4e9a-af2ee5820848 [original link is broken]
Simply give it a try.
Cheers,
Martin
PS: I branched this into a new thread as the old one was about a completely different topic. Please start only one topic per thread. This allows others to follow better and the topics remain searchable in a better way.

Similar Messages

  • Trouble with Transparent Gateways Samples

    Hi,
    I have successfully installed and configured the gateway for Microsoft SQL Server on my database. Following the case studies come with the gateway installation for Microsoft SQL Server demonstration, I have no problem running case 1 through case 6. But I couldn't make the case 7 to work. Following are the errors:
    Table dropped.
    Table created.
    no rows selected
    DECLARE
    ERROR at line 1:
    ORA-00942: table or view does not exist
    [Transparent gateway for MSSQL]
    ORA-06512: at line 4
    no rows selected
    What am I missing? Any special things I need to do in order to call a procedure on SQL Server? Thanks for any help.
    Jun Zhang

    Oracle is not case-sensitive, but many other databases are. Check to make sure the GetDept procedure exists on the SQL Server side. The name must match exactly. If it does not, (for example, it is Getdept), you will need to modify the sample code accordingly.
    There are also some comments in the , such as "Output parameters of stored procedures must be initialized to an empty string." and "...the procedure's access privileges must permit access by the gateway." So, it is possible this generic code does not work for SQL Server, and needs to be adjusted slightly. Try this:
    DECLARE
    DNAME VARCHAR2(14);
    BEGIN
    DNAME := NULL;
    "GetDept"@GTWLINK(10,DNAME);
    INSERT INTO LOCAL_GTW_DEPT VALUES (10, DNAME);
    END;

  • NW Gateway Sample Apps

    Hi,
    I am planning to develop sample gateway BB application given in SDN.
    can i develop app without beam server?
    if not ,where do i get all beam releated docs and files?.
    what is the best way to try GW sample apps?
    Regards,
    Kanagaraj.

    Hi Styliani,
    I have tried NW Mobile + Gateway 1.1.
    Logically it should be possible as Gateway requires ABAP AS instance which NW Mobile is..
    Not tried myself
    Regards,
    Ram.

  • Please, soooo urgent.

    How to display image, sound and video in to dynamic page? please i need help quickly.
    thanks.

    Hi,
    I'm assuming the data is stored in the database using the interMedia object types. There are some samples on the interMedia samples page that illustrate how to do this - at least for images. The Servlet and JSP samples illustrate self-contained servlet-based and JSP-based applications that implement a simple photo album. Likewise, the PL/SQL Gateway sample illustrates the same simple photo album application using the PL/SQL Gateway and Web Toolkit. All of the samples could be modified easily to support audio and video. You'd just need to change the types and use appropriate HTML tags to render the media.
    Hope that helps.
    Regards,
    Simon
    null

  • Getting 'access is denied' error when access Flight Example sample gateway service

    Hi All, Greetings! I am new to SAPUI5. I am getting 'Access is denied' when trying to load data from the sample gateway service (Flight Example). Please help.
    Here's the entire code:
    view1.view.js
    sap.ui.jsview("ui5_proj09_flightdemo.view1", {
          getControllerName : function() {
             return "ui5_proj09_flightdemo.view1";
          createContent : function(oController) {
         var serviceURL = "https://sapes1.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/";
         var readRequestURL = "/FlightCollection(carrid='AA',connid='0017',fldate=datetime'2013-05-01T00:00:00')/?$format=xml";
           var loginoDataModel = new sap.ui.model.odata.ODataModel(serviceURL, true, "my_sapes1_userid", "my_sapes1_pwd");
           alert("Before Service Call");
           loginoDataModel.read(readRequestURL, null, null, false, 
                       function(oData, oResponse) {
                      alert("Success");
                             var result = oData.results;
                             alert(result.length);
                             if(result.length > 0){
                                 webmodel.setData({modelData: result});
                                 table.bindRows("/modelData");
                       function(oError){
                             alert("Error::"+oError.message); //getting 'access is denied' error message popup at this line
           alert("After Service Call");
              var oTable = new sap.ui.table.Table( {
      id : "oTableid", // sap.ui.core.ID
      width : "auto", // sap.ui.core.CSSSize
      rowHeight : undefined, // int
      columnHeaderHeight : undefined, // int
      columnHeaderVisible : true, // boolean
      visibleRowCount : 10, // int
      firstVisibleRow : 0, // int
      selectionMode : sap.ui.table.SelectionMode.Single // sap.ui.table.SelectionMode
      //Define the columns and the control templates to be used
      var oColumn = new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "City From"}),
      template: new sap.ui.commons.TextField().bindValue("cityFrom"),
      sortProperty: "lastName",
      filterProperty: "lastName",
      width: "200px"
      oTable.addColumn(oColumn);
      var oColumn2 = new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "City To"}),
      template: new sap.ui.commons.TextView().bindProperty("text", "cityTo"),
      sortProperty: "firstName",
      filterProperty: "firstName",
      width: "200px"
      oTable.addColumn(oColumn2);
    // oTable.bindRows("/modelData");
      oTable.placeAt("content");
    index.html
    <!DOCTYPE HTML>
    <html>
           <head>
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <script src="resources/sap-ui-core.js"
                          id="sap-ui-bootstrap"
                          data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.ui.core"
                          data-sap-ui-theme="sap_goldreflection" >
                  </script>
                  <!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->
         <script>
              sap.ui.localResources("ui5_proj09_flightdemo");
                         var view = sap.ui.view({id:"idview11", viewName:"ui5_proj09_flightdemo.view1", type:sap.ui.core.mvc.ViewType.JS});
                view.placeAt("content");
         </script>
           </head>
           <body class="sapUiBody" role="application">
                  <div id="content"></div>
           </body>
    </html>
    Regards,
    Sai

    Hi Sai,
    You can refer my blog How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse
    Please go though it and see if it helps you to resolve this issue.
    Regards,
    Chandra

  • Analog Node samples once every 5 secs and transmits straightaw​ay- How do I know data has arrived at the gateway ?

    Hi,
       My analog node is set to sample at a certain frequency, say once every 5 seconds. How do I know that the data has arrived at the gateway from the VI on my computer ? Is there an event listener for incoming data ? Really appreciate if someone can enlighten me on this.  Thank you very much !
    Regards,
    Xinke 

    Hello Xinke
    Thank you for your post, please correct me if I have misunderstood but from your description it sounds like you are looking to detect that the data is being transferred correctly from your device to the PC.
    In the LabVIEW example finder there is a section on DAQmx events under the hardware heading, I recommend that you look here, the title of the example is Acq&Graph Voltage-Int Clk-EveryN&DoneEvent, I also recommend that you play with this vi to see how you can use the events with DAQmx.
    Another way to check that your task is functioning correctly would be to create a Boolean indicator for the error status, I have created a small section of code that illustrates this.
    If you have any further questions, please get in touch.
    Regards
    Stephanie L
    Applications Engineer
    National Instruments UK and Ireland
    Attachments:
    status.vi ‏16 KB

  • Sample UI5 code to call gateway create entity

    Hello,
    can anyone provide me some sample UI5 code to call create entity gateway service.
    regards
    Kaushik

    Hi kaushik,
    As mentioned above you can use Odatamodel Create method to trigger a POST request.
    Please refer the links for more details
    SAPUI5 SDK - Demo Kit
    Odatamodel.create()
    https://sapui5.hana.ondemand.com/sdk/#docs/api/symbols/sap.ui.model.odata.ODataModel.html
    Regards,
    Jeffin

  • R12 E-Commerce Gateway. POO and POI sample files?

    Hello!
    Can anybody put here sample files for POO (ORDERS 850) and POI (ORDERS 850)? Just wanna see them. I exported POO file according to the standard settings for file, but I can't to import it (according to the standard settings for file). And this is a little bit strange for me. May be I didn't understand something.

    You can use apps.ece_utilities.verify_flatfile to check on how the application reads the file according to the defined layout and see whan might not be falling on the expected positions.

  • How to fix gateway error in a View Page?

    I have created an override view page and I need to add a button or link which should take the user to a page in different server. I am getting gateway error. The sample code as follows. Any thougts will be helpful. Thanks in advance.
    string sUrl = "<pt:gatewayLink pt:href='http://appserver/step1.asp' pt:objectID='206' pt:classID='35' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>"; HTMLAnchor myAnchor = new HTMLAnchor(sUrl); myAnchor.AddInnerHTMLString("Add a Logo"); myCell.AddInnerHTMLElement(myAnchor);

    i think, something is wrong in the approach itself.
    when you include the code, you do not need to create a new
    instance of Hmenu. Instead, you can simply use lnkBar .addChild(),
    because the this code is of your Hmenu itself.
    But i suggest you to use dataprovider for the linkbar instead
    of looping through the categories and adding the child.
    you just declare xmlData as Bindable and provide it as
    dataProvider of the linkbar.
    hope it works.

  • Questions Tags Users Badges Unanswered Ask Question 502 - Web server received an invalid response while acting as a gateway or proxy server while accessing wcf hosted in azure

    I have just a simple WCF service and which is protected by azure ACS .I am getting this error while trying to invoke the service from a client.The WCF is hosted as a simple azure website.
          502 - Web server received an invalid response while acting as a gateway or proxy server
          There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
    This is my web.config for the service and I am guessing there is something wrong with it .It is working just fine on local IIS so I am not sure what exactly is causing the issue.Can someone please have a look and see if they can find something or point me to
    a direction.
        <?xml version="1.0"?>
        <configuration>
          <configSections>
            <!--WIF 4.5 sections -->
            <section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
          </configSections>
          <system.diagnostics>
            <trace>
              <listeners>
                <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                  name="AzureDiagnostics">       
                </add>
              </listeners>
            </trace>
          </system.diagnostics>
          <appSettings>
            <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
          </appSettings>
          <system.web>
            <authentication mode="None"/>
            <customErrors mode="Off"></customErrors>
            <compilation debug="true" targetFramework="4.5" />
            <httpRuntime targetFramework="4.5"/>
          </system.web>
          <system.serviceModel>
            <services>
              <service name="SidService.Service1">
                <endpoint address="https://sidwcfservice.azurewebsites.net/sidservice.svc"
                          binding="ws2007FederationHttpBinding"
                          contract="SidService.IService1" />
              </service>
            </services>
            <bindings>
              <ws2007FederationHttpBinding>
                <binding closeTimeout="10:10:10" openTimeout="10:30:00" sendTimeout="10:30:00" receiveTimeout="10:30:00"  
                        bypassProxyOnLocal="false" transactionFlow="false" maxBufferPoolSize="20000000" maxReceivedMessageSize="20000000"   >
                  <security mode="TransportWithMessageCredential">
                    <message establishSecurityContext="true"   negotiateServiceCredential="true"  issuedKeyType="BearerKey">
                      <issuer address="https://sidaccess.accesscontrol.windows.net/v2/wstrust/13/certificate"></issuer>
                      <issuerMetadata address="https://sidaccess.accesscontrol.windows.net/v2/wstrust/mex" />
                    </message>
                  </security>
                </binding>
              </ws2007FederationHttpBinding>
            </bindings>
            <behaviors>
              <serviceBehaviors>
                <behavior>
                  <serviceAuthorization principalPermissionMode="Always"></serviceAuthorization>
                  <!-- To avoid disclosing metadata information, set the values below to false before deployment -->
                  <serviceCredentials useIdentityConfiguration="true"></serviceCredentials>
                  <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
                  <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
                  <serviceDebug includeExceptionDetailInFaults="true"/>
                  <serviceSecurityAudit  auditLogLocation="Application"   serviceAuthorizationAuditLevel="Failure" messageAuthenticationAuditLevel="Failure" suppressAuditFailure="true"/>
                </behavior>
              </serviceBehaviors>
            </behaviors>
            <protocolMapping>
              <add binding="basicHttpsBinding" scheme="https" />
              <add binding="ws2007FederationHttpBinding" scheme="https" />
              <add binding="basicHttpBinding" scheme="http" />      
            </protocolMapping>    
            <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="false" />
          </system.serviceModel>
          <system.webServer>
            <modules runAllManagedModulesForAllRequests="true">
              <add name="WSFederationAuthenticationModule" type="System.IdentityModel.Services.WSFederationAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    preCondition="managedHandler" />
              <add name="SessionAuthenticationModule" type="System.IdentityModel.Services.SessionAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    preCondition="managedHandler" />
            </modules>
            <directoryBrowse enabled="true"/>
          </system.webServer>
          <system.identityModel>
            <identityConfiguration saveBootstrapContext="true">     
              <certificateValidation certificateValidationMode="None" revocationMode="NoCheck"/>
              <issuerNameRegistry type="System.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <trustedIssuers>         
                  <add name="ACS2SigningCertificate"
                   thumbprint="DAE85FDA621FC090A8B0583we4380C52E484AE36" />
                </trustedIssuers>
              </issuerNameRegistry>  
              <audienceUris>
                <add value="https://sidwcfservice.azurewebsites.net/sidservice.svc" />
              </audienceUris>
              <securityTokenHandlers>
                <add type="System.IdentityModel.Tokens.Saml2SecurityTokenHandler, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
                  </securityTokenHandlers>   
            </identityConfiguration>
          </system.identityModel>
         <system.identityModel.services>
            <federationConfiguration>
              <cookieHandler mode="Default" requireSsl="true" />
              <!--<wsFederation passiveRedirectEnabled="true" issuer="https://localhost:123/issue/wsfed" realm="https://localhost:44300" reply="https://localhost:44300" requireHttps="false"
    />-->
              <wsFederation passiveRedirectEnabled="true" issuer="https://sidaccess.accesscontrol.windows.net" realm="https://sidwcfservice.azurewebsites.net/"  requireHttps="true" />
            </federationConfiguration>
          </system.identityModel.services>
        </configuration>
    This is the IIS log
        #Software: Microsoft Internet Information Services 8.0
        #Fields: date time s-sitename cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken
        2014-06-11 05:19:51 SIDWCFSERVICE GET / X-ARR-LOG-ID=f7e6da2f-78f0-4c27-9cae-bb1623d150d6 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 210675 863 694
        2014-06-11 05:21:07 SIDWCFSERVICE GET /sidservice.svc X-ARR-LOG-ID=dd15d3bc-3307-4b26-8787-1399a5e890ed 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - - sidwcfservice.azurewebsites.net
    200 0 0 1800 718 1044
        2014-06-11 05:21:08 SIDWCFSERVICE GET /SidService.svc wsdl&X-ARR-LOG-ID=bb415471-866f-48a1-8b7a-e01d4410779e 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445
    http://sidwcfservice.azurewebsites.net/sidservice.svc sidwcfservice.azurewebsites.net 200 0 0 2417 878 0
        2014-06-11 05:21:16 SIDWCFSERVICE GET /Sidservice.svc wsdl/$metadata&X-ARR-LOG-ID=f5c6415d-9c18-4305-aad5-9cbe4fe16d43 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 813 15
        2014-06-11 05:21:16 SIDWCFSERVICE POST /Sidservice.svc wsdl/mex&X-ARR-LOG-ID=c2e3eeee-f5d9-49bf-b988-c524679409f3 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1336 62
        2014-06-11 05:21:16 SIDWCFSERVICE GET /Sidservice.svc wsdl&X-ARR-LOG-ID=66bac0fb-476d-4104-bf4b-22d3cd55e906 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 8138 793 0
        2014-06-11 05:21:16 SIDWCFSERVICE OPTIONS /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=82bf4ff4-4842-44a6-815e-adb8fdf01d13 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 400 0 0 398 764 31
        2014-06-11 05:21:16 SIDWCFSERVICE POST /Sidservice.svc wsdl&X-ARR-LOG-ID=6d7ba68e-67cd-4596-9bf9-861cab3140c2 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1324 31
        2014-06-11 05:21:16 SIDWCFSERVICE GET /SidService.svc xsd=xsd0&X-ARR-LOG-ID=d5890f1b-793e-4b13-9c75-ccd133be1cab 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1688 887 250
        2014-06-11 05:21:16 SIDWCFSERVICE GET /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=e15347e4-a7c0-4512-b3b7-a0ddf8d4ba6b 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 857 250
        2014-06-11 05:21:16 SIDWCFSERVICE GET /SidService.svc xsd=xsd2&X-ARR-LOG-ID=377aaf45-1c59-4254-a320-6f4028bf8928 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 992 887 31
        2014-06-11 05:21:16 SIDWCFSERVICE GET /SidService.svc xsd=xsd1&X-ARR-LOG-ID=29fddc12-c18f-42b5-b232-53c9cef6d982 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 2701 887 15
        2014-06-11 05:27:16 ~1SIDWCFSERVICE POST /diagnostics/settings X-ARR-LOG-ID=984746fe-583c-46f0-a241-2817286262f5 443 - 70.37.162.148 Azure-Portal/4.5.00298.11 - - sidwcfservice.scm.azurewebsites.net 204 0 0 462 1286 234
        2014-06-11 05:33:23 SIDWCFSERVICE GET /sidservice.svc X-ARR-LOG-ID=5e5047a3-839b-467d-9d7e-8e79cfe931b7 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445
    - sidwcfservice.azurewebsites.net 200 0 0 1800 804 499
        2014-06-11 05:33:27 SIDWCFSERVICE GET /Sidservice.svc wsdl/$metadata&X-ARR-LOG-ID=af5d2b66-366f-465b-9b38-b5fa6c49d103 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 813 0
        2014-06-11 05:33:27 SIDWCFSERVICE POST /Sidservice.svc wsdl&X-ARR-LOG-ID=a93f30b4-289c-4752-9e32-ba4b23cd5590 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1324 31
        2014-06-11 05:33:27 SIDWCFSERVICE POST /Sidservice.svc wsdl/mex&X-ARR-LOG-ID=68505196-ed63-4d65-adf2-af6413f450b6 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1336 31
        2014-06-11 05:33:27 SIDWCFSERVICE GET /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=8afaa4f2-643e-4534-b8e3-59d2c3755dee 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 857 0
        2014-06-11 05:33:27 SIDWCFSERVICE GET /Sidservice.svc wsdl&X-ARR-LOG-ID=abb68806-eb59-493f-a727-016115e60357 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 8138 793 15
        2014-06-11 05:33:27 SIDWCFSERVICE OPTIONS /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=5e9ebc9a-e0e0-431a-bbb8-02204af9f10e 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 400 0 0 398 764 31
        2014-06-11 05:33:27 SIDWCFSERVICE GET /SidService.svc xsd=xsd0&X-ARR-LOG-ID=2c7a504a-3c31-4875-add8-c17fd018ff01 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1688 887 234
        2014-06-11 05:33:28 SIDWCFSERVICE GET /SidService.svc xsd=xsd2&X-ARR-LOG-ID=1727b880-7148-4d15-9e9b-0f866def7c2f 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 992 887 31
        2014-06-11 05:33:28 SIDWCFSERVICE GET /SidService.svc xsd=xsd1&X-ARR-LOG-ID=40fc3543-d6a4-46ce-af1b-5aea83fb86df 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 2701 887 110
        2014-06-11 05:42:21 SIDWCFSERVICE GET /SidService.svc X-ARR-LOG-ID=70ce2aaa-a11b-4862-878b-2a67bbeb1bc5 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1800 904 46
        2014-06-11 05:42:25 SIDWCFSERVICE GET / X-ARR-LOG-ID=4d51ab01-d247-404f-8d78-3bfda8635a3b 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 304 0 0 364 961 47
        2014-06-11 05:42:34 SIDWCFSERVICE GET / X-ARR-LOG-ID=31d335ef-604f-4653-930f-6f6cf05664b6 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 150476 1020 46
        2014-06-11 05:42:35 SIDWCFSERVICE GET /favicon.ico X-ARR-LOG-ID=2fe77edb-dcd9-4fc6-b418-8bdcf2313473 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 404 0 2 468 971 31
        2014-06-11 05:42:39 SIDWCFSERVICE GET / X-ARR-LOG-ID=bf6e0cfb-7e5b-408f-9881-37e236b98a49 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 150476 1046 15
        2014-06-11 05:42:44 SIDWCFSERVICE GET /SidService.svc X-ARR-LOG-ID=263108d8-4e68-4b52-94bd-5b87186ba45e 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1801 1048 0
        2014-06-11 05:57:41 SIDWCFSERVICE GET /sidservice.svc X-ARR-LOG-ID=d2ada703-123a-4842-b480-a150aec1080e 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445
    - sidwcfservice.azurewebsites.net 200 0 0 1800 804 967
        2014-06-11 05:57:44 SIDWCFSERVICE GET /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=d53f52a5-8a77-439c-9ae7-cc58842d456f 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 857 0
        2014-06-11 05:57:44 SIDWCFSERVICE GET /Sidservice.svc wsdl&X-ARR-LOG-ID=31b4a024-c05d-47a6-91dd-1149f28c73bd 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 8138 793 15
        2014-06-11 05:57:44 SIDWCFSERVICE GET /Sidservice.svc wsdl/$metadata&X-ARR-LOG-ID=68e0c1da-8eb2-4b0d-ad2b-33a88cde8225 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 813 0
        2014-06-11 05:57:44 SIDWCFSERVICE OPTIONS /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=9ca1a5ac-d8d3-4a41-bf7a-e118ef3a0e34 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 400 0 0 398 764 31
        2014-06-11 05:57:44 SIDWCFSERVICE POST /Sidservice.svc wsdl&X-ARR-LOG-ID=d9142d70-b052-4355-85cf-54a14e96209a 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1324 15
        2014-06-11 05:57:44 SIDWCFSERVICE POST /Sidservice.svc wsdl/mex&X-ARR-LOG-ID=19e8da83-aaaf-4ff8-b5ea-73508c494ac1 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1336 64
        2014-06-11 05:57:44 SIDWCFSERVICE GET /SidService.svc xsd=xsd0&X-ARR-LOG-ID=252dd0dd-1b84-4675-b855-750f69a49d07 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1688 887 234
        2014-06-11 05:57:44 SIDWCFSERVICE GET /SidService.svc xsd=xsd2&X-ARR-LOG-ID=cc247b32-9145-4823-9927-d417f12cb360 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 992 887 0
        2014-06-11 05:57:44 SIDWCFSERVICE GET /SidService.svc xsd=xsd1&X-ARR-LOG-ID=ae402fb1-5caf-4e76-997a-6b2551cb3d49 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 2701 887 15

    hi,
    Firstly, I suggest you could see the same error threads (http://social.msdn.microsoft.com/Forums/windowsazure/en-US/5cf817b3-1295-41d7-b156-ce7aa5e4d11e/502-web-server-received-an-invalid-response-while-acting-as-a-gateway-or-proxy-server?forum=windowsazurewebsitespreview
    ). And then, I recommend you could refer to this basic code sample(
    http://social.technet.microsoft.com/wiki/contents/articles/4027.wcf-soap-service-with-federated-authentication.aspx ). And I recommend you could download this code sample and try to use it(http://code.msdn.microsoft.com/Windows-Azure-AD-Access-0dcde385/sourcecode?fileId=71587&pathId=477793108
    Please try it.
    hope this helps.
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help: forcing use of proxy in j2me and getting value of gateway IP address

    hi everyone,
    #1
    Has anyone tried forcing the use of a proxy for a midlet? If so how did you do this? I was able to connect to a url through the emulator (ktoolbar) by changing the proxy settings under the edit-->preferences on ktoolbar but I want to make sure that my midlet enforces the use of a proxy to connect to a http url (so that I'll know it still uses the proxy even if it is already using a real java-enabled phone).
    somebody suggested to me to take a look at http://java.sun.com/j2me/docs/html/docs/Running.html
    I've tried the instructions from the url but it seems like its just the configuration you run when you test it in your emulator. Similar to changing the preferences on ktoolbar to use a proxy.
    This is what I did:
    I tried changing the config to a working proxy, compiled my midlet, download it into my java-enabled phone and tested if it can connect to a backend server. The result: I was able to get a reply from the backend, however, when I changed the configuration to a non-working proxy, I still get a reply from the backend server. This leads me to believe that the midlet uses the current internet connection profile on the phone.
    If this is the case, then that means I am dependent on the phone settings and I could not change/force the midlet to use the current connection with a proxy server I defined. I've searched the internet and have seen sample codes to use proxy servers when connecting to the intenet but they are not for j2me applications (so far). Is this a limitation of j2me? maybe there is really no way to connect using a proxy defined in an application since there is no api for it? Correct me if I'm wrong though. Is there a workaround for this?
    #2
    Another problem that I am trying to solve is to get the value of the gateway IP address defined on the phone when it connects to the internet. Is this possible? If so, how?
    Any ideas will be very much appreciated. thanks to all.
    -jess

    hi,
    does anyone have an answer to this? hope you can help. thanks again.

  • Sample portlets work in Repository page, but can't be added to a page

    Help,
    Portal 3.0.9.8.2. Apps 11.5.7 DB 8.1.7.3.0
    I installed the JPDK and could see all samples from the Portlet Repository page. Every one works fine, except the Lottery only shows preview, not the balls.
    Then I try to add a portlet to a page. When I click on the name of the provider, I get the Windows hourglass forever and have to Cancel. It does not show any portlets.
    The Apache error log shows:
    [Tue Nov 26 14:40:27 2002] [debug] opm_tbl.c(1606): OPM:selected proc is:mod=JServ,grp=OACoreGroup,host=utility31.sagpnet,bindadd=localhost,port=16020,prot=0
    [Tue Nov 26 14:40:31 2002] [debug] opm_tbl.c(1606): OPM:selected proc is:mod=JServ,grp=OACoreGroup,host=utility31.sagpnet,bindadd=localhost,port=16020,prot=0
    [Tue Nov 26 14:40:37 2002] [warn] mod_plsql: /pls/test_portal30/PORTAL30.wwexp_api_engine.action had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Tue Nov 26 14:40:43 2002] [debug] opm_tbl.c(1606): OPM:selected proc is:mod=JServ,grp=OACoreGroup,host=utility31.sagpnet,bindadd=localhost,port=16020,prot=0
    [Tue Nov 26 14:40:43 2002] [debug] opm_tbl.c(1606): OPM:selected proc is:mod=JServ,grp=OACoreGroup,host=utility31.sagpnet,bindadd=localhost,port=16020,prot=0
    TIA,
    Gary

    Hi megahertz456,
    Seems to me that Source patching is not enabled. You should have 'V1' on the left of timeline highlighted. Check this:
    https://forums.adobe.com/thread/1513966
    Thanks,
    Rameez

  • How to consume XML Gateway WS from a remote Oracle DB (10g)?

    Hi,
    I'm currently looking into consuming EBS web services, particularly the XML Gateway service from a remote database. For ease of use, I'm also using an Oracle 10g database.
    It seems there are several ways to skin a cat though. Hope you can help.
    1) Is it possible to use UTL_HTTP for this? If yes, can you please explain in detail as I have been trying to do this the past few days without success. Note, I was able to consume other web service examples, though. What url & SOAP action should I use?
    2) I built a proxy client stub using JDeveloper and deployed it to the DB. However my plsql procedure doesn't execute the java class. Any thoughts?
    Thanks,
    Charina

    Hi Charina,
    Regarding option 1), the url for the service endpoint and the value for the SOAPaction HTTP heaader are advertized in the WSDL for your service.
    The value of the utl is provided by the 'location' attribute for the soap:address element within a port.
    The value for the SOAPaction header is provided by the 'soapAction' attribute for the soap:operation element within a wsdl:binding/wsdl:operation element.
    You can have multiple ports and bindings advertized in a single WSDL. If this is the case for you, you need to make sure that the operation you are tryin to invoke is from the SOAP binding; the one with the transport attribute set to "http://schemas.xmlsoap.org/soap/http".
    Here is a WSDL snippet for illustration purposes:
      <binding name="CalculatePricePort" type="tns:CalculatePricePort">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
                      style="document"></soap:binding>
        <operation name="CalculatePrice">
          <soap:operation soapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"></soap:operation>
          <input>
            <soap:body use="literal"></soap:body>
          </input>
          <output>
            <soap:body use="literal"></soap:body>
          </output>
        </operation>
      </binding>
      <service name="CalculatePriceWS">
        <port binding="tns:CalculatePricePort" name="CalculatePricePort">
          <soap:address location="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=XXXX&amp;Password=XXXX"></soap:address>
        </port>
      </service>Note that I took an example where both attributes are not using common format.
    To try to get this working faster, you may want to try to use an existing JAVA (or .Net) client and compare the working payload with what is generated by the UTL_HTTP package. It's usually faster to work of a working sample that to double guess why it's not working.
    Hope it helps,
    -Eric

  • ODBC Gateway on Linux error - connects ok with Sybase SQL Anywhere

    OS: CentOS 5.8 64-bit
    DB: Oracle XE 11gR1 64-bit
    Gateway: Oracle Gateway for ODBC 64-bit
    Database and gateway reside on same Linux Server.
    Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
    Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
    isql tool connects without any problems.
    One LISTENER, service for db and gateway on same port.
    ===================================
    Via SQL*Plus, the following error occurs....
    SQL> select * from dual@dblink;
    select * from dual@dblink
    ERROR at line 1:
    ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from dblink
    ===================================
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH=(TNSNAMES)
    ADR_BASE = /u01/app/oracle/product/11.2.0/xe
    ==================================
    tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    dblink =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521)
    (CONNECT_DATA =
    (SID = dblink))
    (HS=OK))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    =======================
    listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = dblink)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/gtw)
    (PROGRAM = dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/opt/sqlanywhere11/lib64:/u01/app/oracle/product/11.2.0/gtw/lib)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    ========================
    initdblink.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO=dblink
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=255
    HS_LANGUAGE=american_america.we8iso8859p1
    HS_NLS_NCHAR=UTF-8
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    ========================
    Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.915
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.914
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    HOSGIP returned value of "UTF-8" for HS_NLS_NCHAR
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dblink"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dblink
    Exiting hgogprd, rc=0
    hostmstr: 0: HOA After hoagprd
    Invalid HS_NLS_NCHAR value UTF-8 specified
    Setting HS_NLS_NCHAR to Server Default 2000
    Invalid HS_NLS_NCHAR value UTF-8 specified
    Setting HS_NLS_NCHAR to Server Default 2000
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=2000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Exiting hgoinit, rc=28513
    hostmstr: 0: HOA After hoainit
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Exit Agent
    hostmstr: 0: HOA Before hoaexit
    Entered hgoexit
    HS Gateway: NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
    hostmstr: 0: HOA After hoaexit
    hostmstr: 0: RPC After Exit Agent
    =============================
    Also, does anyone know how to determine the location (full path) of the unixODBC driver manager ?
    Please assist if you can...thx.
    Edited by: user601798 on Oct 15, 2012 3:37 PM

    Let me start with the unixODBC driver:
    There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
    If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
    So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    is correct. Else you need to adopt the parameter.
    Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
    Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
    Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
    Thanks,
    Klaus

  • Anyone been able to get the sap.ca.ui.FileUpload control working with a Gateway OData service?

    Hi,
    I have been trying to get the sap.ca.ui.FileUpload control working with an OData Gateway service, specifically /IWPGW/TASKPROCESSING which is the service used by both Fiori Approve Requests and the Unified Inbox.
    I have looked at the sample application in the Explored at SAPUI5 Explored
    I have managed to replicate that and get it to work, but as soon as I switch it from a JSONModel to an ODataModel I get javascript errors from within the setModel method of the control. I have redefined that method and corrected the errors, which enables me to get a bit further, but then I hit more errors, and other strange behaviour.
    Either I am doing something completely wrong, or to me it appears as if this control is still extremely buggy and maybe either not designed to work with an ODataModel, or just hasn't been tested using an ODataModel. I'm hoping it is my mistake.
    So has anybody out there successfully managed to use this control connecting it to a Gateway OData service? If so please share your experience.
    Thanks,
    Brad

    Hi Pauline,
    Same issue I had, I switched to using a sap.m.list and handling the press as follows:
    attachmentsList.bindItems(workItemPath + "/Attachments", new sap.m.StandardListItem({
                               type: sap.m.ListType.Active,
                               title: "{FileName}",
                               description: "{CreatedByName}",
                               icon: "sap-icon://doc-attachment",
    //                         counter: "{FileSize}",
                          info: {path : "CreatedAt", formatter: dateTimeFormatter},
                          tap: function(oEvent){
                                var oContext = oEvent.getSource().getBindingContext();
                                var media_src = oContext.getProperty().__metadata.media_src;
                                sap.m.URLHelper.redirect(media_src, true);
                        }), new sap.ui.model.Sorter("CreatedAt", true));
    So sap.m.URLHelper.redirect(media_src, true); is what loads the attachment.
    See the full function handler:
    function(oEvent){
    function(oEvent){
                  var oContext = oEvent.getSource().getBindingContext();
                  var media_src = oContext.getProperty().__metadata.media_src;
            sap.m.URLHelper.redirect(media_src, true);
    This should be enough if you only want to list and display the attachments, then you don't really need the FileUploader control as that is more advanced and handles upload, display, change and deletion of files.
    I only needed to upload and display files, so I used a list to display it and created a separate upload button using the sap.ui.unified.FileUploader control.
    Hope that helps.
    Cheers,
    Brad

Maybe you are looking for