APIs to read SOA configuration

Hi,
I want to access SOA Manager related API for building a checktool.
Are there any APIs to get all Service Groups and all Services under that Service Group.
Also how to test the 'ping webservice' .. through code ?
Any help is appreciated.
Thanks, Advay

Hi Advay,
I'm assuming that your checktool would read through all the web service config to ensure that there are no inconsistencies?
The closest I came to seeing an API of this nature (or something that may point to it's existence) is SAP Note 1319507. Under the security related information section mention is made of 'WS Configuration API Access'. Maybe it's a start for you but I never found anything else on the subject.
Regards, Trevor

Similar Messages

  • Returning Invalid type when reading auto configuration script

    Hi Everyone,
    I�m using the JDK 1.5 plug-in API for reading the proxy settings. It working fine for HTTP and DIRECT connection, but it�s not working with automatic configuration script. I followed the below procedure for reading the settings
    1. Installed and configured the Apache HTTP Server as a proxy server.
    2. Created a �proxy.pac� file and placed it in the �C:\WINDOWS� folder. Content of the file is given below.
    function FindProxyForURL(url, host)
    if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
      return "PROXY 192.168.1.165:80";
    else
      return "DIRECT";
    }3.Changed the Internet setting in IE by specifying the proxy automatic configuration location as �file://c:/windows/proxy.pac�
    4.Accessed the browser and it�s working fine as I can see in the apache log file.
    5.When I executed the below code it showing me the proxy connection as the Direct one.
    private static void detectProxyUsingJDK15()
        try
          System.setProperty("java.net.useSystemProxies", "true");
          List list = ProxySelector.getDefault().select(new URI(PROXY_DETECT_URL));
          for (Object aList : list)
            Proxy proxy = (Proxy) aList;
            System.out.println("Proxy : "+proxy);
            InetSocketAddress address = (InetSocketAddress) proxy.address();
            System.out.println("address : "+address);
            if (address == null)
              System.out.println("Proxy not defined");
            else
              System.out.println("" + address.getPort());
              System.out.println("" + address.getHostName());
              System.out.println("" + proxy.type().toString());
        catch (Exception e)
          e.printStackTrace();
      }Please note that when I executed the above code after changing the settings IE by disabling the automatic configuration script and giving the proxy server details it showed me the proxy connection as HTTP
    If anyone has any idea on how to fix this issue then please let me know
    Thanks

    Try to configure Java consolle to use the .pac file and not to use "browser setting"
    OA

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • Airport Utility 5.2 and 5.2.1 cannot read /edit configuration of AEBS 7.2.1

    *THE PROBLEM ON my Mac:*
    I am using an ethernet connection directly to a brand new AEBS from:
    iMac Intel Core 2 Duo, 2BG RAM
    X 10.4.10
    airport turned off
    Airport Utility detects the base station but cannot read the configuration to edit and setup. And displays the following error:
    "An error occurred while reading the configuration.
    Please make sure your AirPort base station is plugged in and in range of your computer or connected via Ethernet and try again. (-5)"
    The AEBS does assign any machine connected via ethernet an IP address to allow internet access.
    *THE PROBLEM ON WINDOWS:*
    I have the nearly the same problem when using my Windows XP pro laptop connected via ethernet using Airport Utility for Windows ver 5.2 and 5.2.1
    Airport Utility detects the base station, but when attempting to access the configuration, the Error message is practically the same with a different error code:
    "An error occurred while trying to access the base station. Make sure your network connection is valid and try again. Error -6742
    *STEPS ATTEMPTED TO REMEDY THE PROBLEM (w/out success):*
    I have read the posts that say to turn off IPv6 on Mac, did that but with no success.
    Others did a simple hard reset on the AEBS, I tried that too.
    I've tried connecting to the AEBS directly with all other network devices (modem, other routers, etc) disconnected and turned off just incase there was some compatibly issue... no work. I even tried all the different ports.
    Any other suggestions would be appreciated. Can I walk into a Apple retail store and ask them to check the the AEBS to see if they can access the configuration?
    Just to be fair...
    (For people who have only read this post, turning off the IPv6 worked for some people, and just doing a hard reset for others).

    I finally figured it out. I had exactly the same problem when Airport Utility detected the base station but could not read the configuration to edit and setup, displaying the following error:
    "An error occurred while reading the configuration.
    Please make sure your AirPort base station is plugged in and in range of your computer or connected via Ethernet and try again. (-5)"
    I tried everything (Unfortuantely it is impossible to consult to an Apple genius around here). Even the hard reset didn't work. That is what I did: I pulled off the power cord, and put it back again WHILE HOLDING DOWN THE RESET BUTTON with a pin. Only after that the amber light went on twinkling, and I could access it via the Airport utility. All the settings were reset so I just had to reconfigure it. Hope it works for you too.

  • "An error occurred while reading the configuration"

    I updated my Time Capsule (1tb, old) with the new software last night (to 7.4.1 from 7.3.2). The upgrade process seemed to work fine. I then tried to go into the TC with Airport Utility 5.4.1 and when I click on the TC, I get a message that says, 'An error occurred while reading the configuration. Make sure your Apple wireless device is plugged in and in range of your computer or connected via Ethernet and try again. (-5). I've rebooted the TC. I have plugged into it directly.
    It now asks me for my password. I type it in and then I get the message. Any suggestions? Downgrade? Re-run the upgrade? Reset the TC?

    foohan,
    I had this same error, and I did have to reset (hold down the reset button for 5 seconds) my AirPort Extreme and Time Capsule to get past it. I noticed two things, though.
    1. If I tried to connect to my Time Capsule from Finder, I got an error. But if I clicked the "Connect As" button, it asked for my password again, and I could get to all of my files to back them up.
    2. All of my files were still on my Time Capsule after I reset it. I use it for remote file storage, not Time Machine, so I can't tell you if Time Machine backups will pick up where they left off.
    Hope this helps.

  • Can't read AExp Configuration- is it dead?

    Hi- had a network with an AEBS connected to the internet and an AExp as a client connected to my stereo for streaming music. All was working perfectly. I moved apartment- renamed network. At the same time I got a new Powerbook so moved from Panther to Tiger.
    The network is fine for internet access, but I the AExp has stopped working. I can see it in AAU, and in iTunes it is an option to select. However:
    1. In iTunes if you select it you get a box trying to connect which gives up after about a minute or two
    2. In AAU it sees it but when you hit configure it waits for a while before coming back and saying it can't read the configuration
    I've tried a factory reset. Was able to rename it, but back to the old problem.
    I've tried to install new firmware- again, same problem- it sees it but can't update the firmware. Have also tried to connect via an ethernet cable to update and configure- but no joy.
    Is it dead? I think I'm within warranty by about two weeks

    This all suggests the problems are being caused by an incorrect network setup - not a defective Airport Express.
    Make sure your cable/DSL modem is cabled to the AEBS ethernet WAN port (the one labelled with the "circle of dots" icon). Some people make the error of connecting the modem to the AEBS LAN port - which won't work properly.
    Also, check the configuration of the AEBS with the Airport Admin Utility - make sure that (under the Network tab) you have checked the boxes to "Distribute IP addresses" and "Share a single IP address using DHCP and NAT".
    When setting up the Airport Express with the Airport Admin Utility, select to set up the Airport Express to "join" an existing wireless network. Do NOT select the option to have the Airport Express "extend" an existing wireless network - unless the intent is to use the Airport Express to increase the wireless range of the AEBS.

  • Can't read airport configuration

    I have an Airport Extreme base station (802.11g), which I use with Airport Utility 5.3.1 on my MacBook Pro (OS X 10.4.11). My internet connection is actually working fine, but when I tried to access the Airport settings because houseguests were having trouble using our wireless network, Airport Utility found the base station but could not read the configuration (error message -6753). I reset Airport, with the same result (except that now I can't rename the network or reset the password, because I cannot access the settings). I have also been unable to download the latest firmware for the same reason. So -- I can use Airport for internet access, but should I ever need to change the settings (as I was trying to do this evening), I'd be out of luck. Any thoughts?

    Try connecting your laptop directly to the AEBS with an ethernet cord (you might have to reset the base station again).

  • Oblix_OBWebGate_AuthnAndAuthz: ..- Unable to read log configuration file.

    Hi All,
    I have a painful problem with Oracle 10g Webgate. I am using Oracle_Access_Manager10_1_4_3_0_linux64_APACHE22_WebGate to procted Apache resource. I have some problem in Custom Authentication plugin. which is not still resolve(https://forums.oracle.com/thread/2549716).   
    Now I have apply patch BP9 (Oracle_Access_Manager10_1_4_3_0_BP09_Patch_linux64_APACHE22_WebGate) for Webgate, Now I have a new issue, I am unable to get the logon page of OAM when I try to access my Apache resource.
    The Error Message in the browser is:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Apache/2.2.3 (Oracle) Server at apache.tigerit.com Port 80
    In the error log file of  Apache I have found
    [Sun Jun 23 11:53:17 2013] [error] [client 192.168.1.156] Oblix_OBWebGate_AuthnAndAuthz:  Error: /opt/netpoint/webgate/access/oblix/config/oblog_config_wg.xml - Unable to read log configuration file.
    [Sun Jun 23 11:53:17 2013] [error] [client 192.168.1.156] Oblix_OBWebGate_AuthnAndAuthz:  Error: /opt/netpoint/webgate/access/oblix/config/oblog_config_wg.xml - Unable to read log configuration file.
    [Sun Jun 23 11:53:20 2013] [error] [client 192.168.1.156] Oblix_OBWebGate_AuthnAndAuthz:  Error: /opt/netpoint/webgate/access/oblix/config/oblog_config_wg.xml - Unable to read log configuration file.
    [Sun Jun 23 11:53:35 2013] [error] [client 192.168.1.156] Oblix_OBWebGate_AuthnAndAuthz:  Error: /opt/netpoint/webgate/access/oblix/config/oblog_config_wg.xml - Unable to read log configuration file.
    [Sun Jun 23 11:53:35 2013] [error] [client 192.168.1.156] Oblix_OBWebGate_AuthnAndAuthz:  Error: /opt/netpoint/webgate/access/oblix/config/oblog_config_wg.xml - Unable to read log configuration file.
    [Sun Jun 23 11:53:35 2013] [error] [client 192.168.1.156] Oblix_OBWebGate_AuthnAndAuthz:  Error: /opt/netpoint/webgate/access/oblix/config/oblog_config_wg.xml - Unable to read log configuration file.
    Can Anyone help me regarding this issue...
    Thanks
    Tamim Khan

    Hi Colin,
    Thanks for your help, You are right I have change the permission of /opt/netpoint/webgate/access/oblix/lib/libxmlengine.so.
    Now I am able to access the logon page of the access manager.
    But the problem as I mention in (https://forums.oracle.com/thread/2549716) my ObSSOCookie value is still loggedcontinue.
    My Authentication return (ExecutionStatus.SUCCESS) Successful from the Java Code , and I am unable to login in the application. The thing is I can't manipulate ObSSOCookie from Java code.
    I have apply Patch 12363955 to resolve this issue. But this patch is now to resolve this issue.
    Have you any idea how to resolve this issue.
    Thanks
    Tamim Khan

  • Api for reading .cfg files

    Hello everyone,
    Once I saw an api for reading typical .cfg files, in which ## are comments, [xx] are labels... Now I need to use it but I don't remember the api any more.
    Can somebody tell me which class do I have to use?
    Thanks a lot

    Now I need
    to use it but I don't remember the api any more.http://java.sun.com/docs/
    There is nothing that I'm aware of in the api that has the same functionality as MFC GetPrivateProfileString(...)
    You could use a properties files like most other people, otherwise you are going to have to implement it yourself.

  • Attaching USB Drive - Can't read AP configuration file, kills internet

    Current network:
    Airport Extreme (Sim Dual-Band)
    Mac Pro (wired Ethernet)
    MacBook Pro (wired or WiFi N)
    MacBook (WiFi N)
    2 x iPhones (WiFi G)
    Airport Extreme in use for several months with no problems. All Macs can read/write it's configuration.
    I hooked up a 1TB My Book USB HD to the Airport Extreme via USB. All three Macs (Mac Pro, MacBook Pro, MacBook) could see and read/write to the new drive. The Airport Extreme appeared in Airport Utility on all three Macs. Wired, WiFi N + G internet continued to work great... however none of the Macs could read the configuration file of the Airport Extreme. If I unplugged the USB drive all the Macs could read and write to the configuration file.
    I plugged the USB drive back in and left it overnight. This morning, everything continued to work, with the exception that none of the computers could read the configuration of the AP.
    Around 10am today the Macs/iPhones could no longer connect to the internet. I disconnected the USB drive and now the internet works again.

    Hey David,
    I know you said you read a lot of posts already and none of the other solutions worked, but just in case, if you haven't already I would run through the steps in here:
    Apple Computers: Troubleshooting the slot-loading SuperDrive
    http://support.apple.com/kb/HT2801
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • Java API for reading Excel Files.

    Hi,
    Can you please suggest me any api for reading excel files.
    Right now i am using jxl.jar for this purpose but i am searching for an open source java api better than this.
    Whether POI gives better than this ?
    Thanks,
    Amit Shah.

    Can you please suggest me any api for reading excel
    files.
    Right now i am using jxl.jar for this purpose
    but i am searching for an open source java api better
    than this.
    Whether POI gives better than this ?i don't know about jxl but poi has several features which an excel can contain and it has been vastly improved in the past few versions.

  • Reading 90xx configuration switches

    Has anyone an example of how to read the configuration switches from the cRIO-90xx controllers. I want to read the status of the USER1 setting but haven't been able to find an example or a way to achieve this.
    Thanks
    Tony

    Hi Tony,
    You need to use the RT Read Switch.vi, located on the RT utilities palette. (See screen shot).
    Note: You can only read the switch from the RT target, I attach an example RT VI in LV 8.2.1 format.
    Regards
    JamesC
    NIUK and Ireland
    Message Edited by JamesC on 05-01-2007 10:11 AM
    Attachments:
    User1_Switch_State.vi ‏14 KB
    User1_Switch_State.PNG ‏100 KB

  • How to read the configuration for SAP GUI elements in Plant Maintenance module from SPRO and leverage the same in NWBC for HTML.

    Dear Members,
    Greetings for the day!
    I am working on NWBC for HTML in Plant Maintenance module.
    We have configured some changes in SPRO for customizing the UI elements( like visibility, mandatory ) like tabs and fields in transactions like IW21( Create Notification).
    As of now separate parallel configuration needs to be carried out in NWBC for HTML in PM module to achieve the same UI features for creating notifications and this is time consuming.
    Is there any way to read the configuration done in SPRO for the SAP GUI's and leverage the same in NWBC for HTML.
    Appreciate your time in responding to this.
    Thanks & Regards,
    Ram.

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • I can not open Firefox. Keep getting the error message "Failed to read the configuration file. Please contact your system administrator." What do I do?

    I can not open Firefox. I keep getting the message "Failed to read the configuration file. Please contact your system administrator." I have tried uninstalling Firefox and then reinstalling it but without success. What should I do?

    Which Fx version? When you uninstalled Fx, did you <b>reboot</b> computer before reinstall?
    Also, check for / delete any leftover files in the Fx programs install folders, before reinstall?
    Is your profile in the default location or custom location?
    Have you tried creating a <u>new, <b>completely</b> clean profile</u> - to test (then make sure to select that profile to start Fx - from the Profile Manager)? (no addons or plugins installed).
    Does the user acct (that Fx fails under) have access ("rights") to all locations - especially for Fx profiles location?

  • Failed to read the configuration file. Fresh install on windows 7

    I have just downloaded and installed firefox on my windows 7 computer. No errors on the install. When I try to launch Firefox I get this dialog box. Configuration Error - Failed to read the configuration file. Please contact your system
    administrator.

    Check for the presence of a mozilla.cfg file in the Firefox program folder to initialize some prefs.
    This also involves the presence of a .js (JScript) file, probably in "defaults\pref" folder, that specifies to process this mozilla.cfg file.
    If you have .js files apart from the channel-prefs.js file, that sets app.update.channel, in the defaults\pref folder then open this file in an editor like Notepad and please post its content.
    Also please post the content of the mozilla.cfg file.
    There shouldn't be a mozilla.fcg file present unless you've created it yourself to initialize some prefs.
    If you have this mozilla.cfg file then best is to do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    *http://kb.mozillazine.org/Preferences_not_saved#Other_solutions

Maybe you are looking for

  • Process file in PI 7.1 with Integrated configuration.

    Hi All, I am facing some issue that .  I am using file to file scenario with no ESR involvement.  we are routing the file through PI only.  But I want to route the file based on file name for eg.  Here we have one sender and mutiple receiver. Suppose

  • How to get waves maxx audio, dolby sound room for other toshiba laptops?

    Hi, I have a A205-S5803 toshiba notebook that previously had vista , then xp, now windows 7 32 professional. I had a problem with xp where the sound volume was quite low even though turned up all the way. However, when I installed windows 7 professio

  • How do I get an audio signal to let me know I have new e-mail?

    I am trying to find out if Firefox has the capability of sending an aural tone or signal whenever a new e-mail arrives.

  • Creating ANE - Problem with creating the android package

    I get the following error when trying to start an App with a ANE creatd by myself based on http://www.adobe.com/devnet/air/articles/ane-android-devices.html: dx tool failed: UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already

  • How do I get iCloud to work on my iphone

    I cannot seem to set up iCloud on my iphone. Apple updated my phone yesterday to 6. I have lost my calendar and text messages only and have no way of retrieving it as itunes had a technical problem happening, while I was doing my back up.  Apple supp