C API: Destinations!

Is there any way to query a destination (MQDestinationHandle) to get the name?
For processing, we will receive a message, and get the destination from the reply-to field in the headers. For a number of reasons we need to query the object for that property.
The JMS api allows this, at least once the object has been 'cast' as the appropriate subtype.

No, it is currently under development. Please contact Mark
Scardina if you need a timetable.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
Jie Bai (guest) wrote:
: Is C API available now?
: Thanks,
: Jie
null

Similar Messages

  • Call front-end API from WD ABAP

    Hi experts,
      I'm trying to call font-end API (Destination: SAP_SSFATGUI) from webdynpro. It giving me communication_error but if i call it from ABAP its working. Pls help.

    Hi,
      I try to call API namely ssfrfc which is provided by SAP and located in SAPGUI dir in my desktop. You also will have this API program if you installed SAPGUI. When calling this API using call function....destination 'SAP_SSFATGUI'  via WebDynpro ABAP it giving me communication_error . However no problem when using normal ABAP. Below are the coding.
    METHOD onactionact_exe .
    DATA:   ostr_output_data   TYPE  ssfparms-outtext,
            ostr_output_data_l TYPE  ssfparms-outtextlen,
            crc                TYPE  ssfparms-ssfcrc,
            lv_sysubrc         type sysubrc.
    call C function 'SSFVERSION'
      CALL FUNCTION 'SSFVERSION' DESTINATION 'SAP_SSFATGUI'
        IMPORTING
          ostroutputdata        = ostr_output_data
          ostroutputdatal       = ostr_output_data_l
          crc                   = crc
        EXCEPTIONS
          communication_failure = 1
          system_failure        = 2.
      lv_sysubrc = sy-subrc.
        write:/ OSTR_OUTPUT_DATA,
              / OSTR_OUTPUT_DATA_L,
              / CRC.

  • SMS Notification Issue with ISE 1.3

    We have a problem with SMS notification. Please find the attached snapshot of current SMS email gateway configuration. Guest is receiving notification when I am providing the exact mobile number instead of 974$mobilenumber$ in SMTP API destination address: field.
    We are running ISE 1.3 with patch level 2.
    We are using the  the default option (Global Default) SMS Gateway providers for our configuration rather creating a custom. Any luck??
    Also i would like to notice If the guest portal is a self-registration portal, we can choose the providers. But there is no such configuration if it’s a sponsored guest portal. Please find the second attachment.

    [email protected] is addressed by CSCtu25982. We do not put $mobilenumber$ while defining a SMTP-to-SMS gateway.
    <Prefix>[email protected] is being addressed by CSCus78802, which is being included in ISE 1.3 patch 3.

  • ISE and SMS notification

    Environment
    ISE 1.1.2
    As already stated in other posts in this forum, it appears there is a kind of limitation when configuring SMS Notification options via the ISE GUI interface under the "Administration ==> Web Portal Management ==> Settings ==> Sponsor ==> Language template ==> English ==> Configuring SMS Text message Notification"  panel :
    the Destination field, in this panel, can only contain explicitely the email address of the SMS Gateway;
    it cannot contain an email address with the %mobilenumber% variable, such as %mobilenumber%@domain.com ;
    this variable is never replaced by ISE;
    I read the ISE User's Guide about that part which explains the Gateway can be an Email/SMS third party service Provider such as clickatell.com ;
    but, it would have been more than nice if CISCO could take into account other kind of SMS gateways, especially those based on "off the rack" hard/soft appliances owned by the customer and whose most common way of working is by sending them an email with destination field based on the previously referred  format  : %mobilenumber%@domain.com ;
    Is this a feature that could appear soon in futures ISE releases ?
    thanks in advance

    Hello,  I'm trying with version 1.3.
    In "SMTP API destination address:"  field I have configured :  [email protected]
    In body field,  I put for example "movil:$mobilenumber$"
    Then, when testing,  ISE don't  put the phone number in "To:" field,  but it's ok in the "body" field.
    ¿I'm doing something wrong or that functionality is not supported ?

  • Dynamically define target address for logical ports (NW'04)

    Hello,
    when developing a web-service client using standalone proxy, you have to define the target address of a Web Service in the property-page for the Logical Port.
    We have the following problem. If, for any reason, the URL of the Web Service changes (i.e. the hostname or the port),  we have to rebuild the whole project and then redeploy the project.
    Is there a way to change this URL dynamically by java-code?
    Thanks in advance,
    Jarle

    Hi,
    You can get Server name Dynamically. You follow the below steps.
    1. Create a HTTP Destination in visual administrator which stores the server name and port.
    2. Access this variable in your controller init method and build your web service url with server name and port and use _setEndPoint() method
    String prefixURL = "http://";
    // your Service Address...remove the first part from service url.
    String serviceURL = "/TestService/Config1?style=document";
    DestinationService dstService = (DestinationService) obj;
    Destination destination = dstService.getDestination("HTTP","ApplicationServer");
    Properties destprop = destination.getDestinationProperties();
    HTTPDestination httpDestination = (HTTPDestination) destination;
    String serverName = httpDestination.getUrl();
    prefixURL = prefixURL + serverName;
    String testURL = prefixURL + serviceURL;
    Request<Obj> testReq = new Request<Obj>();
    testReq._setEndPoint(testURL);
    You need to import below files into your project.
    import com.sap.security.core.server.destinations.api.Destination;
    import com.sap.security.core.server.destinations.api.DestinationService;
    import com.sap.security.core.server.destinations.api.HTTPDestination;
    import java.net.HttpURLConnection;
    import java.util.Properties
    hope it solved your problem.
    Regards,
    Sridhar

  • Move Web service from one server to another

    Hi
            i am calling a web service from R3 which i have moved from one server to another what i need to do in my web dynpro application as it will call the web service from new location?
    do i need to rebuild the whole application or need to change some settings here and there?
    NOTE: webservice and function module of the web service is not changed just moved from one server to another.
    THANKS
    Ninad

    Hi,
      Try with this code. Dynamically Server will get change.
    Create a HTTP Destination in visual administrator which stores the server name and port.
    String prefixURL = "http://";     
    // your Service Address...remove the first part from service url.
    String serviceURL = "/TestService/Config1?style=document";
    DestinationService dstService = (DestinationService) obj;          
    Destination destination = dstService.getDestination("HTTP","ApplicationServer");
    Properties destprop = destination.getDestinationProperties();
    HTTPDestination httpDestination = (HTTPDestination) destination;
    String serverName = httpDestination.getUrl();
    prefixURL = prefixURL + serverName;
    String testURL = prefixURL + serviceURL;
    Request<Obj> testReq = new Request<Obj>();
    testReq._setEndPoint(testURL);
    You need to import below files into your project.
    import com.sap.security.core.server.destinations.api.Destination;
    import com.sap.security.core.server.destinations.api.DestinationService;
    import com.sap.security.core.server.destinations.api.HTTPDestination;
    import java.net.HttpURLConnection;
    import java.util.Properties;

  • How to access the SAP MDM destinations using mdm java api in 7.1

    hi,
    I have SAP MDM 7.1 SP11 and SAP Portal 7.3 and developing the custom webdynpro application using the  JAVA MDM API. I want configure the SAP MDM destinations in SAP Portal .
    How to access the MDM destinations in java code using API? and how to create the connection with MDM using the MDM destinations.
    Please provide the code for access the SAP MDM destinations in java code using MDM java api and creating the connection to MDM.
    Thanks

    Jun,
    Thanks for the reply and api information.
    I have got this api information from the following sap documentation. But i am looking for the code by implementing this class and creating the mdm connection.
    Creating an MDM Connection Using Java Code - SAP NetWeaver Master Data Management (MDM) - SAP Library
    if any thing can you share it.
    Thanks

  • Destination Service API - missing indirect class reference

    I'm trying to use the destination service api as described in the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/17/d609b48ea5f748b47c0f32be265935/content.htm">documentation</a>, but Eclipse can't compile the code due to an indirectly referenced class called com.sap.security.core.server.util0.IDEException.
    References to com.sap.exception, security.class and tc/sec/destination/interface have already been set. According to the documentation, there should also be a reference to tc/sec/destination/service, but I don't have such an option in the context menu "Add Additional Libraries".
    So, where do I find the missing IDEException?
    Best regards,
    Frank

    The class com.sap.security.core.server.util0.IDEException is in library com.sap.exception. That's correct. Don't worry about that.
    You have to add those 3 additional libraries to your EJB Project with the right-click over project option:
    security.class
    tc/sec/destination/interface
    com.sap.exception.
    You have to add 4 references in your application-j2ee-engine.xml: : 3 to those 3 libraries and another one to the service, which doesn't appear in the popup list. Type it manually. The correct name is "tcsecdestination~service" (not /), and reference target type is "service".
    If this doesn't work, you can add to the 'java build path' of your EJB Project the libraries:
    tc_sec_destinations_interface.jar
    tc_sec_destinations_service.jar
    ... you can find them into the path of your server:
    /usr/sap/<SID>/JC00/j2ee/cluster/server0/bin/interfaces
    /usr/sap/<SID>/JC00/j2ee/cluster/server0/bin/service
    (some people has had problem with correct versions)
    If you are using DCs, you have to add those 3 libraries as Used DCs in your EJB Project. And set the 4 references in application-j2ee-engine.xml
    Hope this helps you. Don't forget the reward points
    Best regards.

  • Destination Service API jar

    hello experts,
    I want to use Destination Service API in my program.  but i am unable to find required jar file to use this service.  what is the required jar file for using DestinationServiceAPI. and from where can i download this required jar file?
    Thanks,
    jak

    Hi,
    Please find the below lnk that help you about DestinationService API
    http://help.sap.com/saphelp_nw04s/helpdata/en/17/d609b48ea5f748b47c0f32be265935/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a6/e1ac1c1d25ac4d8aeb4760de5a9076/frameset.htm
    Raghu

  • [svn:cairngorm3:] 16634: Extended API to history and wizards to expose next and previous indices and destinations , improve error localization in Waypoint processors

    Revision: 16634
    Revision: 16634
    Author:   [email protected]
    Date:     2010-06-23 08:57:57 -0700 (Wed, 23 Jun 2010)
    Log Message:
    Extended API to history and wizards to expose next and previous indices and destinations, improve error localization in Waypoint processors
    Modified Paths:
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract History.as
        cairngorm3/trunk/libraries/Navigation/test/com/adobe/cairngorm/navigation/history/Waypoin tHistoryTest.as
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/presentation/Navigation Bar.mxml

  • [svn:cairngorm3:] 16635: Extended API to history and wizards to expose next and previous indices and destinations , improve error localization in Waypoint processors

    Revision: 16635
    Revision: 16635
    Author:   [email protected]
    Date:     2010-06-23 09:56:15 -0700 (Wed, 23 Jun 2010)
    Log Message:
    Extended API to history and wizards to expose next and previous indices and destinations, improve error localization in Waypoint processors
    Modified Paths:
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract WaypointHistory.as
        cairngorm3/trunk/libraries/Navigation/test/com/adobe/cairngorm/navigation/history/Waypoin tHistoryTest.as

  • [svn:cairngorm3:] 16632: Extended API to history and wizards to expose next and previous indices and destinations , improve error localization in Waypoint processors

    Revision: 16632
    Revision: 16632
    Author:   [email protected]
    Date:     2010-06-23 07:27:14 -0700 (Wed, 23 Jun 2010)
    Log Message:
    Extended API to history and wizards to expose next and previous indices and destinations, improve error localization in Waypoint processors
    Modified Paths:
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract History.as
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract WaypointHistory.as
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/waypoint/decorat or/ContainerDestinationRegistration.as
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/wizard/AbstractW izard.as
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/application/ContentDest ination.as
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/presentation/ContentVie wStack.mxml
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/presentation/Navigation Bar.mxml
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/messages/presentation/Messag esView.mxml
        cairngorm3/trunk/libraries/NavigationSpringASTest/src/sample1/messages/presentation/Messa gesView.mxml
        cairngorm3/trunk/libraries/NavigationSwizTest/src/sample1/messages/presentation/MessagesV iew.mxml
    Removed Paths:
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/messages/presentation/MyStat eWizard.mxml
        cairngorm3/trunk/libraries/NavigationSpringASTest/src/sample1/messages/presentation/MySta teWizard.mxml
        cairngorm3/trunk/libraries/NavigationSwizTest/src/sample1/messages/presentation/MyStateWi zard.mxml

  • How do I open to a specific page or destination in a pdf file using Buddy API Xtra?

    Hello,
    I'm working with a CD ROM catalog that utilizes the Buddy API Xtra to open PDF files when a link is clicked. The client would like to be able to open to a specific page within a pdf file.
    I can open a pdf file using the Buddy API baOpenfile() function but I'm having trouble opening to a specific page when I add #page=4:
    baOpenfile("@\pdfs\Powder Cores\Magnetics_Powder_Core_Catalog_2011.pdf#page=4","normal")
    I've also tried working with the code below which seems to me like it should work... I didn't realize that the "open..." part of it was a function in Director.
    on mouseUp me
      pageNum = 4
      theApp = baShortFileName(baFindApp("pdf"))
      theDoc = baShortFileName("@\pdfs\Powder Cores\Magnetics_Powder_Core_Catalog_2011.pdf")
      theArgs = "/s /A page=" & string(pageNum)   & "&pagemode=bookmarks"
      -- (translates to "/A page=4" in this example)
      open theApp && theArgs && theDoc
    end
    Thoughts?
    Thank you in advance!

    Thank you Dee! This works perfect!
    It would be cool to know how to use bashell() for this.
    The help files give the following examples:
    Result = baShell( Operation, Filename, Args, WorkDir, State )
    ok = baShell( "open", "c:\windows\notepad.exe", "myfile.txt" , "", "normal" )
    ok = baShell( "edit", "myfile.htm" , "", "", "normal" )
    So I tried:
    on mouseUp me
      -- Close the program group
      tWindowList = baWindowList( "" , "pdf" , false )
      if tWindowList <> [] and count(tWindowList) > 0 then  baCloseWindow(tWindowList[1])
      pageNum = 4
      theApp = baFindApp("pdf")
      theDoc = _movie.path & "pdfs\Powder Cores\Magentics Powder Core Catalog.pdf"
      theArgs = "/A "&QUOTE&"page="&string(pageNum)&"=OpenActions"&QUOTE
      baShell( "open", theApp, theDoc , theArgs, "normal" )
    end
    It opens the pdf file without going to a specific page. Any thoughts as to why it wouldn't accept theArgs?
    Thanks again!

  • How to get crawler destination folder path through api

    with following code i am getting crawler folder source path
    com.plumtree.openfoundation.util.IXPPropertyBag propertyBag = oPTCrawler.GetStartLocation();
                   String oldFolder = propertyBag.ReadAsString("PTC_UNIQUE");
    how to get the destination folder path ?
    any help appreciated

    i would like to get the values from PT_TAX_DESTFOLDERS
    <A N="PT_TAX_DESTFOLDERS"><I N="DIMS">1</I><I N="MAX0">0</I><I N="0">1324</I></A>
    1324 being the folder id
    when trying
    com.plumtree.openfoundation.util.IXPPropertyBag propertyBag = oPTCrawler.GetStartLocation();
                   Object[][] propertyBags = (Object[][])propertyBag.ReadAsObject1DArray("PT_TAX_DESTFOLDERS");
    i am getting null

  • Logical Destinations in Web Dynpro Java

    Hi!
    Is it possible to access logical HTTP destinations maintained in SAP NetWeaver Administrator via Configuration Management -> Security ->Destinations in Web Dynpro Java source-code.
    I would like to use such a destination to configure an URL target for a IWDFrame UI element.
    Thank you very much in advance!
    Regards,
    Thomas

    I found out that there is a [Destination Service API|http://help.sap.com/saphelp_nwce711/helpdata/en/8b/8e7dac1e661d44bf2a676fd3948cc6/content.htm] for this purpose. Unfortunatly I am still not able to provide the required components security.class and tc/sec/destinations/interface to the web dynpro component. Maintaining them via Project Properties -> Web Dynpro is not allowed any more, and I couldn't find them in the DC perspective to add them as DC dependency.
    Has anybody got an idea where these two libraries have gone?
    Regards,
    Thomas
    PS: The 7.0 procedure, which can be found in various posts, doesn't seem to work any more for CE 711.

Maybe you are looking for