Handling Dynamic pay loads using a Single URL

Hi All,
I need to integrate SAP R/3 to a Third party web portal using SAP XI. Portal will communicate with 15+ messages. The third party portal is asking me to provide a single URL to send tje XML Messages. the problem is each message is having different structure from other. We have to recognize the message by seeing the header. The header (root node) will contain message number (like Msg01, Msg02, Msg03 and so on...) , . They have provided us a XSD file, which contains all the messages as complex type , which i can able to upload as External Definitaion. But in the message interface only one message i can use at a time as output message. i,e msg01 or msg03 or msg03 etc... . But the third part portal will send any of message out of 15 messages. So how can i generate single URL to accept dynamically any of 15 message. Also i am getting a confusion which sender adapter to use . Can anybody guide me how to handle this situation?

Hi,
you can use one java mapping in the advanced receiver determination as I mentioned. Which does not need to have a unified message format.
Enhanced Receiver Determination
Use
You use an enhanced receiver determination to have a mapping program determine the receivers of the message dynamically at runtime. Instead of creating the receivers in the receiver determination manually, you assign a mapping to the receiver determination and this returns a list of receivers at runtime.
A typical usage case is if you do not yet know the names of the receivers at configuration time. In this case, you can define a mapping program, for example, which reads a list of receivers from a table or from the payload of the message at runtime.
After Java Mapping you have already assigned the 15+ different messages to the right receiver you intend to send the request. You can just carry on with normal configuration from here, perform mapping if you need in the interface determination step. etc. Since you don't have one unified Message format for the 15 different messages, you probably need implemented all mappings in Java. Because message mapping does not work, since you have only one outbound interface from Portal (15 different requests are labeld with same interface name). Nevertheless, with java mapping it is not a problem to check the root node at first and carry out the wished mapping.
Summarize here a bit:
1. defined ONE Message Outbound interface e.g. MI_OUT_Portal for different Portal request (you could define this interface based on some random MT, does not matter at this point)
2. define one Interface mapping which map the MI_OUT_Portal to Receivers, Receivers is located in SAP BASIS (standard XI content from SAP)
In this interface you should have to refer one java mapping which read the XML payload from portal request and find out who is the receiver. This should be quite easy. You could even configure it in one external Database which msg goes to which receiver and find out it in the runtime.
3. You need mapping from different message typ to the wished receiver, these 15 request messages will probably has 15 different inbound interfaces, you will need 15 different interface mapping if every request message has to be mapped  before it can pass through to the receiver application. These mappings could be done in one java mapping again.
4. configure Receiver Determination with advanced RD in Configuration with the Interface mapping which implemented in step2
5. configure Interface determination and receiver agreement
regards,
Hai

Similar Messages

  • Routing of messages to different interfaces via HTTP using one single URL.

    Hi all,
    I'm working on an inbound scenario. Messages are coming to SAP via HTTP adapter and i'm using a unique URL of every interface. But what is required is one single URL for all interfaces without any dropbox in PI, i.e. all messages will be pushed to one URL and i have to route them to their respective interfaces, there is no storage involved in PI box.

    Shamit2903 wrote:
    Hi all,
    >
    > I'm working on an inbound scenario. Messages are coming to SAP via HTTP adapter and i'm using a unique URL of every interface. But what is required is one single URL for all interfaces without any dropbox in PI, i.e. all messages will be pushed to one URL and i have to route them to their respective interfaces, there is no storage involved in PI box.
    logically this is not a possibility.
    But in case you are looking at a generic interface then you will have to handle this using;
    1.  a generic Data type to accommodate all required structures
    2. use conditional routing in configuration to execute further transformations.
    I wouldnt recommend this though.

  • Is there a way to use a single URL to display the dashboard?

    I would like to use a URL to display the dashboard independent of the Forum pages. Can this be done?
    Scott Richardson
    National Instruments

    Scott Richardson (NI) -
    Yes, there is a URL that will display the dashboard.
    forums.ni.com/ni/assistant
    Have a great day,
    Molly K.
    Web Support & Operations Manager
    National Instruments

  • Dynamic class loading in J2ME

    Hi all,
    Couple of questions. Is dynamic class loading using classloaders supported in any, if not all versions of J2ME? I guess I should ask first, what exactly does J2ME cover? I see KVM, but do watches and PDA's, set top boxes, refrigerators and so forth all run the same J2ME JVM? Or are their "less feature full" versions? I was hoping the J2ME spec would be the "lowest common denominator" to program for, but I thought I read somewhere that small devices like watches may even have a "smaller" J2ME JVM or something, less capable. So can I write code for J2ME and it will run on all small devices like cell phones, pda's, and so forth? Or is there another J2ME version, perhaps small than J2ME.
    So, from what I have found so far, it appears dynamic class loading is done at startup from a DB (of sorts) as opposed to being able to dynamically find/load classes. If this is so, is there any way to support downloading and reloading new classes like you can with J2SE, such as the hot-swap feature of web servers? Does Class.forName() at least work in that you can "replace" a class with a new version, even if it is not able to have a separate classloader instance? My guess is that J2ME supports only a single classloader space, but I thought I read somewhere that Class.forName() is available. J2ME API shows it I believe, but I could be wrong.
    Any help on this topic would be appreciated.
    Thanks.

    Dynamic class loading is not available in most (if not all) J2ME profiles and configurations. Class.forName() is available (at least in the MID profile), but not to be used for dynamic class loading. It can be used when using device-specific APIs where you can try to load a class containing device specific methods (for example a class that works only on certain Nokia phones, and has methods playSound() and vibrate(), which are not available in MIDP), and if you catch a ClassNotFound exception you can load a class that doesn't use the device specific APIs and contains stubs of the methods, or you can disable certain features in you application that need those features. For an example implementation you can have a look at Nokia's Block Game example (available from their developer site - http://www.forum.nokia.com/main.html).
    As for your other more general questions about different JVM's and such, you should read all about the different configurations and profiles available in J2ME (plenty of information using in the J2ME link on this site).

  • Dynamic Class Loading (RMI)

    Hi,
    i have my rmi server, implementing objects,stubs and skeleton classes deployed in my Tomcat server and they are stored under the tomcat root folder.
    In anoather jvm iam trying to load the classes thru the below code.
    java -Djava.rmi.server.codebase=http://ssd8/tomcat-3.2.4/install_dir/webapps/ROOT/WEB-INF/rmicode stockMarketClient
    ssd8 is the hostname(machine) which contains all my rmi server files.
    and stockmarketclient is my rmi client.
    Iam getting the java.lang.noclassdeffound error.
    what may be the problem???
    Should i have the security policy file in the client machine.

    Please Do tell me if any of the following worked I'll be greatly obliged
    1) Try this
    java -Djava.rmi.server.codebase=http://servername/dir1/dir2/ RMIServer
    This / thing at the end of the URL is very important
    2) This is how I did it just Today
    Dynamic Class Loading Using RMI
         Server Side
    1) Main Interface
    2) Implementing Class
    3) Stub & Skel                    (RMI Server & Web Server)
    4) All Other Classes used by the Server
         Web Server Side
    1) Main Interface
    2) Stub & Skel                    (RMI Server & Web Server)
    3) All Other Classes (not Main Client Class)
         Client Side
    1) Main Interface
    2) Main Client Class
    3) Stubs
    4) Security Manager
         RUNNING
    SERVER
         java DataServerImpl
    CLIENT
         java DataClient xyz
    Note
    Make Calls as follows
    System.setSecurityManager(new LaxSecurityManager());
    DataServer server = (DataServer) Naming.lookup("rmi://localhost:1099/DataServer");
    Runnable r = (Runnable)server.getNewClass();
    r.run();
    DON'T make Calls as follows
    System.setSecurityManager(new LaxSecurityManager());
    DataServer server = (DataServer) Naming.lookup("rmi://localhost:1099/DataServer");
    NewClass obj = server.getNewClass();
    obj.run();
    if done as above provide the Class NewClass to the Client as well ( whole purpose defeated)
    Code
         // SecurityManager
    import java.rmi.*;
    import java.security.*;
    public class LaxSecurityManager extends RMISecurityManager
         // All Checks are routed through this method
         public void checkPermission(Permission p)
              // do nothing
         // Main Interface
    import java.rmi.*;
    public interface DataServer extends Remote
         public boolean login(String usr_name,char[] pass_wrd) throws RemoteException;
         public Object getNewClass() throws RemoteException;
         // Main Server
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    public class DataServerImpl /*extends UnicastRemoteObject*/ implements DataServer
         static
              try
                   LocateRegistry.createRegistry(1099);
              catch(Exception e)
                   System.err.println("Static " + e);
         public boolean login(String usr_name,char[] pass_wd) throws RemoteException
              System.out.println("Welcome " + usr_name);
              if( pass_wd == null || pass_wd.length == 0 || pass_wd.length > 10 )
                   return false;
              return true;
         public Object getNewClass() throws RemoteException
              System.out.println("Returning New Class");
              return new NewClass();
         public DataServerImpl() throws RemoteException
              try
                   System.setProperty("java.rmi.server.codebase","http://localhost:8080/");
                   UnicastRemoteObject.exportObject(this);
                   Naming.rebind("DataServer",this);
              catch(java.net.MalformedURLException e)
                   System.err.println("DataServerImpl " + e);
                   return;
              System.out.println("Server Registered");
         public static void main(String[] args) throws Exception
              new DataServerImpl();
         // Class Moving Around the Network
    public class NewClass implements java.io.Serializable,Runnable
         int num;
         public void run()
              System.out.println("Start the Server with Number = " + num);
         public NewClass()
              num = (int)(Math.random()*1000);
         public String toString()
              return num + "";
         // Client
    import java.rmi.*;
    public class DataClient
         public static void main(String[] args) throws Exception
              System.setSecurityManager(new LaxSecurityManager());
              String pass = new String();
              if(args.length == 0)
                   System.err.println("usage: java DataClient PassWord");
                   System.exit(1);
              else
                   pass = args[0];
              DataServer server = (DataServer) Naming.lookup("rmi://localhost:1099/DataServer");
              Runnable r = (Runnable)server.getNewClass();
              r.run();
    All the Best

  • Dynamic class loading problem using unknown JAR archive and directory names

    I read the following article, which enlightened me a lot:
    Ted Neward: Understanding Class.forName().
    However, it took me some while to understand that my problem is the other way around:
    I know the name of the class, I know the name of the method,
    but my program/JVM does not know where to load the classes from.
    Shortly, my problem is that the server engine that I am writing
    uses two different versions of the same library.
    So I am trying out the following solution:
    My program is named TestClassPathMain.java
    Assume the two libraries are named JAR1.jar and JAR2.jar
    and the class/instance method that should
    be exposed to TestClassPathMain.java by them is named
    TestClass1.testMethod().
    As long as I was depending on just one library,
    I put JAR1.jar in the classpath before starting java,
    and I was happy for a while.
    At the moment I got the need to use another version of
    TestClass1.testMethod() packaged in JAR2.jar,
    a call would always access JAR1.jar's
    TestClass1.testMethod().
    I then decided to remove JAR1.jar from the classpath,
    and programmatically define two separate ClassLoaders, one for use
    with JAR1.jar and the other for use with JAR2.jar.
    However, the problem is only partly solved.
    Please refer to the enclosed code for details.
    (The code in the JAR1.jar/JAR2.jar is extremely simple,
    it just tells (by hardcoding) the name of the jar it is packaged in
    and instantiates another class packaged in the same jar using
    the "new" operator and calls a method on it. I don't enclose it.)
    The TestClassPathMain.java/UC1.java/UC2.java code suite was
    successfully compiled with an arbitrary of JAR1 or JAR2 in the classpath,
    however removed from the classpath at runtime.
    (I know that this could have been done (more elegantly...?) by producing an Interface,
    but I think the main problem principle is still untouched by this potential lack of elegancy(?))
    1) This problem should not be unknown to you experts out there,
    how is it generally and/or most elegantly solved?
    The "*** UC2: Variant 2" is the solution I would like best, had it only worked.
    2) And why arent "*** UC2: Variant 2" and
    "*** static UC2: Variant 2" working,
    while "*** Main: Variant 2" is?
    3) And a mal-apropos:
    Why can't I catch the NoClassDefFoundError?
    The output:
    *** Main: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** Main: Variant 2 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 2 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** UC1: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** UC1: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** static UC2: Variant 2 JAR 1 ***:
    Exception in thread "main" java.lang.NoClassDefFoundError: TestClass1
            at UC2.runFromJarVariant2_static(UC2.java:56)
            at TestClassPathMain.main(TestClassPathMain.java:52)
    TestClassPathMain.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class TestClassPathMain {
        public static void main(final String args[]) throws MalformedURLException, ClassNotFoundException, InstantiationException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
                // Commented out because I cannot catch the NoClassDefFoundError.
                // Why?
                try {
                    final TestClass1 testClass1 = new TestClass1();
                    System.out.println(
                        "\nThe class TestClass1 is of some unexplicable reason available." +
                        "\nFor the purpose of the test, it shouldn't have been!" +
                        "\nExiting");
                    System.exit(1);
                } catch (NoClassDefFoundError e) {
                    System.out.println("\nPositively confirmed that the class TestClass1 is not available:\n" + e);
                    System.out.println("\n\nREADY FOR THE TEST: ...");
                // Works fine
                System.out.println("\n*** Main: Variant 1 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 1 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                System.out.println("\n*** Main: Variant 2 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 2 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                final UC1 uc1 = new UC1();
                System.out.println("\n*** UC1: Variant 1 JAR 1 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC1: Variant 1 JAR 2 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                System.out.println("\n*** static UC2: Variant 2 JAR 1 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** static UC2: Variant 2 JAR 2 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                final UC2 uc2 = new UC2();
                System.out.println("\n*** UC2: Variant 2 JAR 1 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC2: Variant 2 JAR 2 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
        private static void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
        private static void runFromJarVariant2(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    UC1.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC1 {
        public void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
    UC2.java
    import java.lang.reflect.InvocationTargetException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC2 {
        public void runFromJarVariant2(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
         * Identic to the "runFromJarVariant2" method,
         * except that it is static
        public static void runFromJarVariant2_static(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    }

    2. i need to load the class to the same JVM (i.e. to
    the same environment) of the current running
    aplication, so that when the loaded class is run, it
    would be able to invoke methods on it!!!
    ClassLoader(s) do this. Try the URLClassLoader.
    (I was talking about relatively esoteric "security"
    issues when I mentioned the stuff about Class objects
    "scope".) You might use the URLClassLoader kind of
    like this.
    Pseudo-code follows:
    // setup the class loader
    URL[] urls = new URL[1];
    urls[0] = new URL("/path/to/dynamic/classes");
    URLClassLoader ucl = new URLClassLoader(urls);
    // load a class & use make an object with the default constructor
    Object tmp = ucl.loadClass("dynamic.class.name").newInstance();
    // Cast the object to a know interface so that you can use it.
    // This may be used to further determine which interface to cast
    // the class to. Or it may simply be the interface to which all
    // dynamic classes have to conform in your program.
    InterfaceImplementedByDynamicClass loadedObj =
        (InterfaceImplementedByDynamicClass)tmp;It's really not as hard as it sounds, just write a little test of
    this and you will see how it works.

  • Reg@ Dynamic invocation of Webservices using an Single Invoke

    Hi ,
    I am trying to implement Dynamic invocation of webservices using a single Invoke .
    Say , i have three webservices = WebA,WebB and Webc .Based on Logic , i need to invoke either of the webservice with an single Invoke .
    In [  ws-addressing.xsd ] there are different elements ,"Address" is for endpoint URL.PortType??ServiceName ?? .
    If i need to make use of this XSD can any one help me to map the WSDL components to this XSD Or lease suggest options if any ??
    Regards ,
    Naga

    http://blogs.oracle.com/dasoa/2010/09/11g_dynamic_partnerlink_example.html
    see the article he's refering too
    eventually you need something like :
    <assign>
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://localhost:9700/orabpel/default/UnitedLoan</Address>
    <ServiceName
    xmlns:ns1="http://services.otn.com">ns1:UnitedLoan</ServiceName>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    </assign>

  • Using a single CSS to load balance multiple services

    Is it possible to use a single CSS to load balance 3 different services (server farm) ? That mean the CSS need to advertise 3 VIP
    I'm thinking of two scenarios:
    1 - configure the CSS to use 4 interfaces: 1 to public, 3 to private (each interface will plug-in to a different vlan/server farm)
    2 - configure the CSS to use 2 interfaces: 1 to public, 1 to private (all 3 server farms are in the same vlan)
    Will both scenarios work ?
    Thanks
    --Phillip.

    Hi Phillip,
    both scenarios will work. One CSS can certainly manage more than 3 services! You can even use just one VIP for all traffic, then just create the proper rules to send specific traffic to the corresponding service(s). No need for 3 VIPs.
    Regards
    -juerg

  • Why do we use only dynamic class loading for JDBC drivers

    Hi,
    My JDBC experience is that we always use dynamic class loader for drivers.
    If we have a well defined package from a vendor, why do we use this dynamic class loading feature for drivers??

    chandunitw wrote:
    Hi,
    My JDBC experience is that we always use dynamic class loader for drivers.
    If we have a well defined package from a vendor, why do we use this dynamic class loading feature for drivers??Oftentimes, the driver class name is set in a configuration file, not in code. So the thing which processes the configuration file has no idea ahead of time which driver or drivers it will support, so it is not coded specifically for any. So it loads the driver by reflection, since it is given the class name as a string it can use with the reflection API.

  • Load and delete single songs on iphone/ipad using itunes match iOS6

    Hi,
    in the past (iOS5) it was possible to load and delete single songs on my device additional to stream them with WLAN (the were also stored physically on my device :-(((
    with iOS6 the songs are not stored on my device via streaming :-)))) but if I want some music physically on my iOSdevice it's only possible to load the whole album and not only a single song. I don't know to delete songs/albums anyway :-(((
    Did Apple cancled this possibilties?!?!:-((((

    On my iPhone 4 using iOS 6, when I turn off iTunes Match, all the songs on the phone disappear so I can't delete them. However, when syncing with iTunes 11, it shows the songs still taking up memory. And that's with music syncing turned off. It appears that my only solution is to restore the phone. However, iTunes 11 appears to be hung now for over 15 minutes.

  • Single URL for internal and external CRM access when using IFD

    Hello,
    At one of our client site I have setup IFD on CRM 2011. This IFD is behind TMG. My client is a big corporation therefore all CRM components including CRM, ADFS and SQL are on separate servers.
    I have configured IFD using single url https://orgname.contoso.com Their IT staff wants to know why can't they use single URL for internal and external access where internal users are nto prompted for authentication
    when logging on to the CRM server. I know you can do URL re-write in ADFS but they want to know the reason "why internal users can't use the same IFD URL and don't get prompted for their credentials". Text below is from their IT staff.

    There are several approaches to your question.  You need to set up both an internal and an external relying party trust. If you use the external URL, it will always direct you to the signin page, if you use the internal URL, it will resolve you single
    sign on.
    I've configured IFD for CRM multiple times, and this is how it works. CRM looks at the URL. If you use the external URL (org.domain.com), it will prompt for credentials. So what you are asking for, a single URL that works single sign on internally and prompts
    externally really isn't possible.
    What I recommend is:
    1. make the external URL available internally
    2. Configure all outlook clients against the external URL, that way you won't have to reconfigure when someone goes internal to external
    3. Have users who are primarily internal use the internal URL for the web client, which will resolve single sign on
    4. Have users who are primarily external use the external URL for the web client
    For #1, since you only need to enter the credentials when you first configure CRM, it is in all effects single sign on.
    One thing I haven't tried that may work is using IIS redirect internally to redirect the external URL to the internal URL. There is also a powershell script in the IFD guide that you can use to make the outlook client switch between the internal and external
    URL's, but nothing that will give you a single URL that works as the internal relying party trust when internal and the external relying party trust when you are external.

  • Dynamic Class Loading and Stubs

    How Dynamic Class Loading is used on Java RMI, since stubs are generated on clients using Reflection API?
    I was reading Dynamic code downloading using JavaTM RMI (http://java.sun.com/javase/6/docs/technotes/guides/rmi/codebase.html), it seems to be out of date.
    For example, "The client requests the class definition from the codebase. The codebase the client uses is the URL that was annotated to the stub instance when the stub class was loaded by the registry. Back in step 1, the annotated stub for the exported object was then registered with the Java RMI registry bound to a name."

    "Enhancements in J2SETM 5.0
    Dynamic Generation of Stub Classes
    This release adds support for the dynamic generation of stub classes at runtime, obviating the need to use the Java(tm) Remote Method Invocation (Java RMI) stub compiler, rmic, to pregenerate stub classes for remote objects. *Note that rmic must still be used to pregenerate stub classes for remote objects that need to support clients running on _earlier versions_.*
    When an application exports a remote object (using the constructors or static exportObject methods(1) of the classes java.rmi.server.UnicastRemoteObject or java.rmi.activation.Activatable) and a pregenerated stub class for the remote object's class cannot be loaded, the remote object's stub will be a java.lang.reflect.Proxy instance (whose class is dynamically generated) with a java.rmi.server.RemoteObjectInvocationHandler as its invocation handler.
    An existing application can be deployed to use dynamically generated stub classes unconditionally (that is, whether or not pregenerated stub classes exist) by setting the system property java.rmi.server.ignoreStubClasses to "true". If this property is set to "true", pregenerated stub classes are never used.
    Notes:
    * If a remote object has pre-5.0 clients, that remote object should use a stub class pregenerated with rmic or the client will get an ClassNotFoundException deserializing the remote object's stub. Pre-5.0 clients will not be able to load an instance of a dynamically generated stub class, because such a class contains an instance of RemoteObjectInvocationHandler, which was not available prior to this release.
    * Prior to the J2SE 5.0 release, exporting a remote object would throw a java.rmi.StubNotFoundException if the pregenerated stub class for the remote object's class could not be loaded. With the added support for dynamically generated stub classes, exporting a remote object that has no pregenerated stub class will silently succeed instead. A user deploying a server application to support pre-5.0 clients must still make sure to pregenerate stub classes for the server's remote object classes, even though missing stub classes are no longer reported at export time. Such errors will instead be reported to a pre-5.0 client when it deserializes a dynamically generated stub class.
    (1) The static method UnicastRemoteObject.exportObject(Remote) is declared to return java.rmi.server.RemoteStub and therefore cannot be used to export a remote object to use a dynamically generated stub class for its stub. An instance of a dynamically generated stub class is a java.lang.reflect.Proxy instance which is not assignable to RemoteStub."
    http://java.sun.com/j2se/1.5.0/docs/guide/rmi/relnotes.html

  • Safari won't load/can't find url or url invalid

    I'm having issues with Safari either unable to load a page, saying url is invalid or ? in boxes where pics are supposed to be. It's the worst for pages on Apple.com and Facebook.  Below are the errors/warnings system log and I apologize but I'm not sure what any of this means other than it's an error.  Also, I've put in a case with Apple Support unfortunately, my cell coverage at home ***** & every time Apple Support tries to reach me my phone drops the call.  So any help would be greatly appreciated.  Thank you.   I know it's a lot to read, sorry.
    Jun  5 02:16:04 Candice-Gosneys-MacBook-Pro Safari[731]: IPCClient: Server port 0 is invalid; looking it up again...
    Jun  5 02:30:39 Candice-Gosneys-MacBook-Pro Safari[731]: Periodic CFURLCache Insert stats (iters: 361) - Tx time:0.353626, # of Inserts: 1, # of bytes written: 25, Did shrink: NO, Size of cache-file: 182982656, Num of Failures: 0
    Jun  5 02:36:51 Candice-Gosneys-MacBook-Pro configd[13]: network configuration changed.
    Jun  5 02:37:07 Candice-Gosneys-MacBook-Pro [0x0-0xb00b].com.hp.HPEventHandler[141]: on write, error=-1
    Jun  5 02:37:07: --- last message repeated 2 times ---
    Jun  5 02:37:07 Candice-Gosneys-MacBook-Pro loginwindow[36]: DEAD_PROCESS: 36 console
    Jun  5 02:37:07 Candice-Gosneys-MacBook-Pro shutdown[955]: halt by candicegosney:
    Jun  5 02:37:07 Candice-Gosneys-MacBook-Pro shutdown[955]: SHUTDOWN_TIME: 1307266627 949466
    Jun  5 02:37:07 Candice-Gosneys-MacBook-Pro SystemStarter[29]: "/Library/StartupItems/HP IO/StartupParameters.plist" failed sanity check: path was created after boot up
    Jun  5 02:37:08 Candice-Gosneys-MacBook-Pro mDNSResponder[35]: mDNSResponder mDNSResponder-258.18 (Feb 17 2011 20:04:38) stopping
    Jun  5 02:37:08 Candice-Gosneys-MacBook-Pro DirectoryService[15]: BUG in libdispatch: 10J4138 - 1960 - 0x10004004
    Jun  5 02:37:08 Candice-Gosneys-MacBook-Pro WindowServer[69]: hidd died. Reestablishing connection.
    Jun  5 02:37:08 Candice-Gosneys-MacBook-Pro WindowServer[69]: Unable to create event queue via hidd: (0x10000003)
    Jun  5 11:40:16 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
    Jun  5 11:40:24 localhost configd[13]: bootp_session_transmit: bpf_write(en1) failed: Network is down (50)
    Jun  5 11:40:24 localhost configd[13]: DHCP en1: INIT-REBOOT transmit failed
    Jun  5 11:40:24 Candice-Gosneys-MacBook-Pro configd[13]: setting hostname to "Candice-Gosneys-MacBook-Pro.local"
    Jun  5 11:40:24 Candice-Gosneys-MacBook-Pro configd[13]: network configuration changed.
    Jun  5 11:40:30 Candice-Gosneys-MacBook-Pro mDNSResponder[35]: mDNSResponder mDNSResponder-258.18 (Feb 17 2011 20:04:38) starting
    Jun  5 11:40:30 Candice-Gosneys-MacBook-Pro bootlog[47]: BOOT_TIME: 1307299216 0
    Jun  5 11:40:33 Candice-Gosneys-MacBook-Pro com.apple.usbmuxd[28]: usbmuxd-211 built on Jan 13 2011 at 04:20:21 on Jan 13 2011 at 04:20:21, running 64 bit
    Jun  5 11:40:33 Candice-Gosneys-MacBook-Pro blued[16]: Apple Bluetooth daemon started
    Jun  5 11:40:33 Candice-Gosneys-MacBook-Pro /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[36]: Login Window Application Started
    Jun  5 11:40:33 Candice-Gosneys-MacBook-Pro com.apple.kextd[10]: Can't load /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSu pport.kext - no code for running kernel's architecture.
    Jun  5 11:40:33 Candice-Gosneys-MacBook-Pro com.apple.kextd[10]: Failed to load /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSu pport.kext - (libkern/kext) requested architecture/executable not found.
    Jun  5 11:40:33 Candice-Gosneys-MacBook-Pro com.apple.kextd[10]: Load com.apple.driver.InternalModemSupport failed; removing personalities.
    Jun  5 11:40:35 Candice-Gosneys-MacBook-Pro com.apple.SystemStarter[29]: Starting HP IO Monitor
    Jun  5 11:40:35 Candice-Gosneys-MacBook-Pro configd[13]: network configuration changed.
    Jun  5 11:40:35: --- last message repeated 1 time ---
    Jun  5 11:40:35 Candice-Gosneys-MacBook-Pro com.apple.SystemStarter[29]: Starting HP Trap Monitor
    Jun  5 11:40:35 Candice-Gosneys-MacBook-Pro XProtectUpdater[26]: NSURLConnection error: Error Domain=NSURLErrorDomain Code=-1009 UserInfo=0x102c04480 "This computer’s Internet connection appears to be offline." Underlying Error=(Error Domain=kCFErrorDomainCFNetwork Code=-1009 UserInfo=0x102c04020 "This computer’s Internet connection appears to be offline.")
    Jun  5 11:40:35 Candice-Gosneys-MacBook-Pro com.apple.launchd[1] (com.apple.xprotectupdater[26]): Exited with exit code: 255
    Jun  5 11:40:36 Candice-Gosneys-MacBook-Pro loginwindow[36]: Login Window Started Security Agent
    Jun  5 11:40:36 Candice-Gosneys-MacBook-Pro loginwindow[36]: Login Window - Returned from Security Agent
    Jun  5 11:40:36 Candice-Gosneys-MacBook-Pro loginwindow[36]: USER_PROCESS: 36 console
    Jun  5 11:40:36 Candice-Gosneys-MacBook-Pro com.apple.launchd.peruser.501[108] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    Jun  5 11:40:37 Candice-Gosneys-MacBook-Pro com.apple.launchd.peruser.501[108] (com.apple.Kerberos.renew.plist[129]): Exited with exit code: 1
    Jun  5 11:40:38 Candice-Gosneys-MacBook-Pro com.apple.usbmuxd[28]: HandleUSBMuxDictionary client 0x101e004e0-iTunesHelper/com.apple.iTunesHelper using library usbmuxd-211 built on Jan 13 2011 at 04:19:31, running usbmuxd-211 built on Jan 13 2011 at 04:20:21
    Jun  5 11:40:38 Candice-Gosneys-MacBook-Pro HPEventHandler[139]: display_config_sync_mux_end_proc: not active (0x4272900)
    Jun  5 11:40:38 Candice-Gosneys-MacBook-Pro [0x0-0xa00a].com.hp.HPEventHandler[139]: Sun Jun  5 11:40:38 Candice-Gosneys-MacBook-Pro.local HPEventHandler[139] <Warning>: display_config_sync_mux_end_proc: not active (0x4272900)
    Jun  5 11:40:52 Candice-Gosneys-MacBook-Pro WindowServer[69]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jun  5 11:40:52 Candice-Gosneys-MacBook-Pro com.apple.WindowServer[69]: Sun Jun  5 11:40:52 Candice-Gosneys-MacBook-Pro.local WindowServer[69] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jun  5 11:40:54 Candice-Gosneys-MacBook-Pro configd[13]: network configuration changed.
    Jun  5 11:40:54 Candice-Gosneys-MacBook-Pro ntpd[25]: bind() fd 25, family 30, port 123, scope 5, addr fe80::e2f8:47ff:fe17:144a, in6_is_addr_multicast=0 flags=0x11 fails: Can't assign requested address
    Jun  5 11:40:54 Candice-Gosneys-MacBook-Pro ntpd[25]: unable to create socket on en1 (5) for fe80::e2f8:47ff:fe17:144a#123
    Jun  5 11:45:59 Candice-Gosneys-MacBook-Pro Safari[158]: bug report sent successfully
    Jun  5 11:47:44 Candice-Gosneys-MacBook-Pro Safari[158]: kCGErrorIllegalArgument: CGSFlushSurfaceWithOptions
    Jun  5 11:47:44 Candice-Gosneys-MacBook-Pro Safari[158]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jun  5 11:47:44 Candice-Gosneys-MacBook-Pro [0x0-0x10010].com.apple.Safari[158]: Sun Jun  5 11:47:44 Candice-Gosneys-MacBook-Pro.local Safari[158] <Error>: kCGErrorIllegalArgument: CGSFlushSurfaceWithOptions
    Jun  5 11:47:44 Candice-Gosneys-MacBook-Pro [0x0-0x10010].com.apple.Safari[158]: Sun Jun  5 11:47:44 Candice-Gosneys-MacBook-Pro.local Safari[158] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jun  5 11:49:03 Candice-Gosneys-MacBook-Pro Safari[158]: INSERT-HANG-DETECTED: Tx time:6.533589, # of Inserts: 0, # of bytes written: 0, Did shrink: YES
    Jun  5 11:50:08 Candice-Gosneys-MacBook-Pro hdiejectd[181]: running
    Jun  5 11:50:37 Candice-Gosneys-MacBook-Pro /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[135]: No valid tickets, timing out
    Jun  5 11:51:44 Candice-Gosneys-MacBook-Pro Software Update[189]: SWU: scan found 0 products:
    Jun  5 11:51:58 Candice-Gosneys-MacBook-Pro com.apple.launchd[1] (com.apple.suhelperd[191]): Exited with exit code: 2
    Jun  5 11:58:38 Candice-Gosneys-MacBook-Pro com.apple.diskmanagementd[383]: Can't access "efi-boot-device" NVRAM variable
    Jun  5 12:00:21: --- last message repeated 3 times ---
    Jun  5 12:00:51 Candice-Gosneys-MacBook-Pro Apple80211 framework[379]: ACInterfaceGetPower called with NULL interface
    Jun  5 12:00:51 Candice-Gosneys-MacBook-Pro Apple80211 framework[379]: ACInterfaceCopyCurrentSSID called with NULL interface
    Jun  5 12:00:51 Candice-Gosneys-MacBook-Pro Apple80211 framework[379]: ACInterfaceGetPower called with NULL interface
    Jun  5 12:02:51: --- last message repeated 4 times ---
    Jun  5 12:04:18 Candice-Gosneys-MacBook-Pro SecurityAgent[411]: com.apple.desktopservices|2011-06-05 12:04:18 -0700
    Jun  5 12:05:06 Candice-Gosneys-MacBook-Pro UnmountAssistant[427]: Volume unmounted successfully
    Jun  5 12:05:16 Candice-Gosneys-MacBook-Pro hdiejectd[181]: quitCheck: calling exit(0)

    Quit Safari.
    Check for Login Items:  Open System Preferences/Accounts then select the Login Items tab. Delete any files or apps you have listed there.
    And go to /Library/Startup Items. Move any files in the Startup Items folder to the Trash. Relaunch Safari to test.
    Quit Safari. Open a Finder window select your Home folder in the Sidebar on the left. Then open the Library folder, then the Caches folder, then the com.apple.Safari folder. Move the cache.db file from the com.apple.Safari folder to the Trash. Relaunch Safari.
    From the menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset. Quit then relaunch Safari to test.
    From your Safari menu bar click Safari / Preferences then select the Security tab. Deselect: Enable plug ins Quit then relaunch Safari. If Safari loads web pages, follow the troubleshooting help here. Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    Check Safari / Preferences - Extensions. If you have any installed, turn that off, quit, relaunch Safari.
    Try Safari in another user account. Same problem there, log back into your admin account, launch Disk Utility. Verify the startup disk. If it needs repairing, help here for Using Disk Utility to Verify and Repair Disks
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 15% free disk space.

  • Is it possible to use a single iPhone with two contact numbers via dual sim or an app?

    Is it possible to use a single iPhone with two contact numbers via dual sim or an app?
    This would be a useful feature for personal and company numbers but using one mobile, rather than carrying two devices or diverting calls.

    Then go ahead and try it.  You'll find it's probably a load of crap.
    You want 2 numbers, then use Google Voice or TalkaTone
    Those are US based only Apps or numbers so no good. I won't be wasting money by just trying something either, especially because using a dual sim would mean purchasing another sim card on either pay as you go or monthly contact.

  • Using a single master data infoobject for multiple fields

    Hello experts. Today I ran un with the following problem: I am modelling an Infocube and will be receiving a flat file with several fields, of which 3 of them give information about sales representatives.
    For each transaction there are 1-3 sales representatives involved, and this is reflected in the file I am going to be loading. If only one representative is involved, it means that he was in charge of a complete negotiation, and his code will be found in all three fields, if two representatives are involved, it means that one was in charge of one part of the negotiation, while the other was in charge of the rest, and according to what they were in charge, their code will appear in one or two of the fields. If three representatives are involved, each one's code will appear on the field corresponding to the part of the negotiation they were in charge of handling.
    I already have the sales representative's codes as master data, but I was wondering how I can have those three fields map into the same InfoObject, if that is possible at all. Maybe in the transformation I map them to the same object? Also, what happens when you create the Data Source? As far as I know, each field in the Data Source must be unique, which makes it impossible to use my ZSALESREP InfoObject for the three fields, at least at Data Source level. What can I do in this case?

    Hi  Pedro Olvera,
    You need 3 infoobjects in datasouce to load 3 different fields.
    If you want load to a single infoobject, you can map accordingly in transformation, bult last field overwrites previous one.
    Its better to maintain 3 fields in cube. Create 2 more sales Reps(ZSALESREP1 & ZSALESREP2) with Reference to ZSALESREP then you no need to maintain master data for ZSALESREP1 & ZSALESREP2.
    Use these 3 fields for modeling.
    Hope it Helps
    Srini
    [Dont forget to close the call by assigning poings.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82]

Maybe you are looking for

  • Multiple Users CANNOT access folders

    I recently created multiple users on my IMAC G4 (10.3.9). The additional users CAN access applications when logged in to their individual accounts. They CANNOT create new folders or access USB drives. The new folder command is dimmed. Recommendations

  • How can I tell if a photo is in an album?

    I am trying to organize my photos. I want to group them by albums. As I look through the Events or the Photos, how can I tell if a particular image has already been assigned to an album, and which album?

  • Advice on Security Model Architecture..

    Hi all, Just looking for the advice of the experts :) I am working on the security model architecture for multi-tiered java application. The application architecture breaks down roughly as follows: Presentation Layer (JSP/Java) Business Layer (Java)

  • How come the "on my iphone" tab won't appear at the top

    I'm using a iPhone 5c and I have been trying to get the tab to appear by uninstalling it and then re installing it. This happened after I updated to the 11.3.0.54 version. Please someone help. Thanks in advance I'm using Windows 8.

  • Help battery does not charge

    My iPhone does not charge unless I turn it off what i do ?