Spml2 :: Living la vida loca

Hej, I just installed spml2 on the idm 7.1.1.2 and i runned some examples so far looks pretty nice... but I have no idea how to get information back.... I tried this for example:
   String url = "http://--------------/idm/servlet/openspml2";
            SessionAwareSpml2Client client = new SessionAwareSpml2Client( url );
            // login
            ListTargetsResponse targetsResponse = client.login("configurator", "configurator");
             * List Targets
            System.out.println(targetsResponse.toString());And i get a nice: org.openspml.v2.msg.spml.ListTargetsResponse@6aa33fc1
So it did some work.... my point is how in hell I can get some result out of this.... I tried a lot of different thingies with no success...

Try some or all of the following:
System.out.println("Result: " + targetsResponse.getStatus());
System.out.println("Error: " + targetsResponse.getError());
System.out.println("ErrorMessage: " + targetsResponse.getErrorMessages());
System.out.println("Request ID: " + targetsResponse.getRequestID());
System.out.println("SessionID: " + targetsResponse.findOperationalNVPByName("session").getValue());
System.out.println("FULL Login Response: " + targetsResponse.toXML(new ReflectiveXMLMarshaller()));

Similar Messages

  • Error when running EXE but not from editor. How do I find it?

    When I run my app from the editor, the program works fine. But when I try to run the EXE, I get an "index out of range" error. (???)
    I examined my code extensively but I can't figure out for the life of me where the error's coming from.
    Any advice on how to track it down? Thanks.

    Find out what is using indexes then correct whichever code is using indexes. Apparently you have not examined your code extensively enough.
    Can't you see details of the error and find what line the error occured on?
    La vida loca
    Monkeyboy brings an interesting point.
    Try wrapping all of your code in a try-catch block and msgboxing the stacktrace, that way you can find the line.
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

  • Needs help.....Please about using different classes

    I don't know how to use differenet classes.
    Please tell me how to write class to suit Start. This stuff me up. Please .... help me
    <<My program>>
    //Start
    public class Start
    {  private Artist[] Artists;
    private Record[] records;
    private Person[] Manager;
    private TextMenu makeMenu = new TextMenu();
    public static void main(String[] args)
         Start studio = new Start();
    studio.menu();
    public Start()
    {  //Person.Manager(ManagerName,HouseNumber,StreetNumber,PhoneNumber)
         Manager = new Person[1];
         Manager[0] = new Person("Yangfan",88,"Young ST",11118888);
         //Artist(GroupID,ArtistName,HouseNumber,StreetNumber,PhoneNumber)
         Artists = new Artist[5];
    Artists[0] = new Artist(1,"Backstreet Boys",58,"Music ST",99998888);
    Artists[1] = new Artist(2,"Santana",68,"Music ST",99998899);
    Artists[2] = new Artist(3,"Macy Gray",78,"Music ST",55558888);
    Artists[3] = new Artist(4,"Ricky Martin",88,"Music AVE",77778888);
    Artists[4] = new Artist(5,"Did Rock",55,"Music Road",66667777);
    //Record(RecordingID,RecordName,Artist,StartTime,FinishTime,RecordingDate,GuestArtist1,GuestArtist2)
    records = new Record[6];
    records[0] = new Record(1,"I want it that way",Artists[0],11,12,"05/08/2001",Artists[1],Artists[3]);
    records[1] = new Record(2,"Smooth",Artists[1],11,12,"05/08/2001",Artists[1],"");
    records[2] = new Record(3,"Do something",Artists[2],11,"05/08/2001",Artists[3],"");
    records[3] = new Record(4,"Livin La Vida Loca",Artists[3],11,12,"05/08/2001",Artists[1],Artists[3]);
    records[4] = new Record(5,"Bawitdaba",Artists[4],11,13,"05/08/2001",Artists[1],"");
    records[5] = new Record(6,"The one",Artists[0],11,14,"05/08/2001",Artists[1],"");
    public void menu()
    {  String[] choices = {">>>List Manager Details",">>>List All Artist Names",">>>List An Artist Telephone-Number",">>>Show Details For One Recording",">>>Add A New Recording",">>>List The Recording Costs For All Artists",">>>List Artist's Reocording",">>>Exit Program"};
    while (true)
    {  switch (makeMenu.getChoice(choices))
    {  case 1: showAllArtists();
    break;
    case 2: showAllRecords();
    break;
    case 3: System.exit(0);
    break;
    case 4: System.exit(0);
    break;
    case 5: System.exit(0);
    break;
    case 6: System.exit(0);
    break;
    case 7: System.exit(0);
    break;
    case 8: System.exit(0);
    break;
    default:
    public void showAllArtists()
    {  int numArtists = Artists.length;
    for(int i = 0; i < numArtists; i++)
    {  Artists[i].displayArtistDetails();
    public void showAllRecords()
    {  for (int i = 0; i < records.length; i++)
    {  System.out.println();
    records.printRecordDetails();
    <<Assignment>>
    Due - midnight, Wednesday August 22nd
    This assignment will test your knowledge of Java programming using classes, encapsulation and javadoc.
    The base requirements
    Write a complete Java class to manage a Digital Recording Studio. The studio wants to keep a list of all Artists that use the studio and also wishes to keep track of all Recordings that have been made. An important function of the program is to calculate the time spent making a recording and charge the Artist for the time used.
    You must create at least the following classes, Start, Studio, Person, Artist, Recording, Address. You may create other classes if needed as well
    Start will contain main(), create one instance of a Studio and execute a Menu of commands to test your code. Studio should contain a studio name, an array of Artist and an array of Recording plus the studio manager (a Person). Each Artist should contain the name of the group and an Address. Each Person will have a name and a home address. Each recording will have a Title (usually song title), an Artist (only one), and a list of guestArtist (they are Artist�s but will not receive royalties) the number of the CD the recording is stored on (numbers are numerical and recordings are saved on CD-R), plus the recording start and finish times for the recording session (suggest you use Java Date class � refer to the API). An Address will contain, house number (integers only), a street name and a telephone number. There is no need to store city and country.
    To enter a set of data for testing your program � main() should call a method in the Start class that will fill in a set of values by creating objects and filling in values by calling methods in each class. This is the ONLY method allowed to be longer than 1 page long � normally we would read the data from a file but there are no O-O principles that can be learnt with simply filling in data values. It is suggested to create say at least 4 Artist�s and 6 Recordings (at least one with 1 guest Artist and one with 2 guestArtist�s)
    A menu for testing your program should be provided (it is suggested to put the Menu into a separate class as you need at least 3 menus). While other commands are possible, only the following ones will receive marks.
    Menu commands needed are
    List the Managers name, address and telephone number
    List all Artist Names
    List an Artist telephone number (a sub menu showing valid Artist�s is required)
    Show all details for one Recording ( sub menu of valid Recordings will be needed and remember there can be more than one guestArtist)
    Add a new Recording, user will need to be prompted for all details.
    List the recording costs for all Artists � show each Artist on a separate line with their name and total amount, charge for using the studio is $1000 per hour or part thereof, example for a 1 hour and 10 minute recording the Artist will be billed for 2 hours.
    List all the Recording�s one Artist has worked on (sub menu of Artists needed), the list should show whether they were the Artist or a guestArtist
    Exit program
    Use fixed sizes for arrays, suggest 20 is suitable for all arrays. Java can handle dynamic data structures (where the number of elements can grow or shrink), but that is beyond a first assignment.
    Do NOT make ANY methods static - this defeats the Object Oriented approach and will result in ZERO marks for the entire assignment.
    Data MUST be encapsulated, this means that all the data relating to an object are to be stored INSIDE an object. None of the data detail is to be globally available within your program - hence do not store Artist names in either Studio or Recordings � just store a reference instead. Do NOT create ID numbers for Artists, you should use References instead � for many students this will be the hardest part as you have to use Objects, not program in a C style to solve the problem. Note that if there are any non-private data in classes then zero will given for marks for encapsulation.
    Good programming style is expected (see web page or lecture notes). In particular, you must use javadoc to generate a set of html pages for your classes. Make sure you use the special javadoc style comments in your source code. Marks will be granted for both using javadoc and also for including sensible javadoc comments on each class and each public method.
    What to Hand In
    Read the turnin page, basically the .java files, a readme.txt to tell the marker which file the program starts from plus the javadoc (html) files. Do NOT send .class files (if you do send these we will delete them and recompile your program), do NOT compress with gtar, tar, zip or use any other tool on your files. Turnin automatically compresses all your files into a single archive for us to mark.
    The simplest way to turnin all your files is to place all files in one directory then just use the *.* wildcard to turn in all files within that one directory.
    You must turnin all files that are not part of Java 1.3. In particular, you are allowed (actually encouraged) to use EasyIn or SavitchIn but should include the one you use in the files you submit. It is STRONGLY suggested that you copy all the files into another directory, test it works there by compiling and executing then turnin files from that directory. A common problem is students adding comments at the last minute then not testing if it still compiles. The assignment will be marked as submitted � no asking later for leniency because you added comments at the last minute and failed to check if it still worked.
    If the tutors are unable to compile your submission, they will mark the source code but you will lose all the execution marks. Sorry, but it is your responsibility to test then hand in all files.
    Comments
    For CS807 students, this program should be fairly easy if it was to be programmed in C (you would use several struct). The real art here is to change over to programming objects. Data is contained in an object and is not global. This idea is essential to using Java effectively and is termed encapsulation. Instead of using function(data), you use objectName.method( ). Effectively you switch the data and functions around, the data has a method (function) attached to it, not the other way around as in C (where you have a function and send data to it).
    While there will be some marks for execution, the majority of the marks will be given for how well you write your code (including comments and documentation) and for how well you used O-O principles. Programs written in a C style with most of the code in one class or using static will receive ZERO marks regardless of how well they work.
    You are responsible for checking your turnin by reading the messages turnin responds with. Failure to read these messages will not be an acceptable excuse for submitting an incorrect assignment. About 2% of assignments sent to turnin are unreadable (usually empty) and obtain 0.
    Late submissions
    Late submissions will only be accepted with valid reasons for being late. All requests for assignment extensions must be made via email to the lecturer. Replies for acceptance or refusal will made by email. Instant replies are unrealistic (there is usually a flood of queries into my mail box around assignment due dates) and the best advice is to ask at least 4 days in advance so that you will have a reasonable chance of getting a timely reply and allow yourself enough time to submit something on time if the extension is not granted.
    ALL late submissions will be marked LAST and will NOT be sent to tutors for marking until all other assignments have been marked. As an example, if you submit late and your assignment is not yet marked by the time assignment 2 is due then it will be pushed to the end of the marking pile as the assignments that were submitted on time for assignment 2 will take priority.
    If you make a second submission after the submission date, only the first submission will be marked. We will not mark assignments twice! You can update your submission BEFORE the submission date if you need to - this will just overwrite the first submission. The latest time for a late submission is 5pm on the Wednesday after the due date. This is because, either a solution will be handed out at that lecture or details of the assignment will be discussed at the lecture. I cannot accept any assignment submissions after that time for any reason at all including medical or other valid reasons. For those who are given permission to be later than the maximum submission time � a different assignment will be handed out. Remember, if you decide to submit late you are VERY UNLIKELY to receive feedback on your assignments during semester.
    Assignments will be removed from turnin and archived elsewhere then forwarded to tutors for marking on the morning after the assignment is due. A different tutor will mark each of your assignments � do not expect the tutor you see at the tutorials to be your marker.
    Marks will be returned via email to your computer science yallara account � ideally within 2 weeks. I will send marks out when I receive them so do not send email asking where your marks are just because a friend has theirs. If you want your email forwarded to an external account, then place a valid .forward file into your yallara account. The Help Desk on level 10 can assist you in setting this up if you do not know how to do it.

    I have seen other people who have blatantly asked for
    other people to do their homework for them, but you
    are the first person I've seen to actually cut and
    paste the entire assignment as it was handed to you.
    Amazing.
    Well, unlike some of the people you're talking about, it seems like zyangfan did at least take a stab at it himself, and does have a question that is somewhat more sepcific that "please do this homework for me."
    Zyangfan,
    marendoj is right, though. Posting the entire assignment is kind of tacky. If you want to post some of it to show us what you're trying to do, please trim it down to the essential points. We don't need to see all the instructor's policies and such.
    Anyway, let me see if I understand what you're asking. You said that you know how to write the code, but only by putting it all in one class, is that right? What part about using separate classes do you not understand? Do you not know how to make code in one class aware that the other class exists? Do you not know how code in class A can call a method in class B?
    Please be a bit more specifice about what you don't understand. And at least try using multiple classes, then when you can't figure out why something doesn't work, explain what you did, and what you think should have happened, and what did happen instead.
    To get you started on the basics (and this should have been covered in your course), you write the code for two classes just like for one class. That is, for class A, you create a file A.java and compile it to A.class. For class B, you create a file B.java and compile it to B.class. Given how rudimentary you question is, we'll skip packages for now. Just put all your class files in the same directory, and don't declare packages in the .java files.
    To call a method in class B from code that's in class A, you'll need an object of class B. You instantiate a B, and then call its methods.
    public class B {
      int count;
      public B() { // constructor
      public void increment() {
        count++;
    public class A {
      public static void main(String args[]) {
        B b = new B();
        b.increment();
    }Is this what you were asking?

  • Are you drawing text at an angle with TextRenderer?

    This is a question for folks that are aware of the difference in quality of output between TextRenderer.DrawText and (Graphics.DrawString + Graphics.TextRenderingHint = Text.TextRenderingHint.AntiAlias). It is an issue that has been discussed by others,
    elsewhere, without resolution, and I'm simply asking if anyone has come up with a workaround.
    I want to render text in the quality of TextRenderer.DrawText, at right angles or upside down. TextFormatFlags.PreserveGraphicsTranslateTransform ignores calls to RotateTransform on the Graphics object that exposes IDeviceContext to DrawText, and DrawText doesn't
    play nicely with bitmaps.
    Has anyone figured out a way to draw text at the same quality provided by TextRenderer.DrawText, at an angle other than 0 degrees?
    (For those who need a back story to prove to you that I cannot use a Label or Graphics.DrawString for this, here you go.
    There is a cat stuck in a tree in my back yard. I would like to rescue him, but there is a troll standing between me and the tree. He's a nasty troll, but on TV he plays a happy-go-lucky helpful troll, so when I call the police to complain, they just laugh
    at me. "Ha! You can't fool us! We watch TV!"
    The troll will allow me to reach the cat if I provide him with a UserControl that renders text at the same quality as the Windows.Forms.Label control, but at angles 90, 180 and -90 degrees. He is a clever troll in that he notices details between shoddy and
    neat; rough and smooth; ugly and pretty; cat and honey badger. Therefore, I have not been able to fool him into thinking that ugly text is pretty by asserting that ugly text is pretty. Argh. I dislike this troll.)

    And this has to do with
    Usability Steven's
     issue in what fasion and why are you responding to somebody elses issue
    Mick Doherty? Or is this just for my information?
    La vida loca
    Hi Monkey
    This was mainly for info, but the OP did question the difference between GDI and GDIPlus methods of drawing rotated text. Your example only provides a GDIPlus method.
    GDI does not respect the Graphics objects rotations, but so long as the PreserveGraphicsTranslateTransform flag is set it will respect Translations.
    Here's a simple example to highlight the issue:
    Public Class Form1
    Public Sub New()
    ' This call is required by the designer.
    InitializeComponent()
    ' Add any initialization after the InitializeComponent() call.
    Me.SetStyle(ControlStyles.ResizeRedraw, True)
    End Sub
    Private Sub Form1_Paint(sender As System.Object, e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
    Dim testString As String = "My Test String"
    Dim angle As Single = 0
    If Me.CheckBox1.Checked Then angle = 180
    Using testFont As New Font("Arial", 24, FontStyle.Regular, GraphicsUnit.Point)
    Dim rc As Rectangle = Me.ClientRectangle
    rc.Offset(0, -24)
    Me.DrawRotatedGDIText(e.Graphics, testString, testFont, rc, Color.Red, angle)
    rc.Offset(0, 48)
    Me.DrawRotatedGDIPlusText(e.Graphics, testString, testFont, rc, Color.Black, angle)
    End Using
    End Sub
    Private Sub CheckBox1_CheckedChanged(sender As System.Object, e As System.EventArgs) Handles CheckBox1.CheckedChanged
    Me.Invalidate()
    End Sub
    Private Sub DrawRotatedGDIText(graphics As Graphics, text As String, font As Font, bounds As Rectangle, color As Color, rotation As Single)
    Dim sz As Size = TextRenderer.MeasureText(text, font)
    Dim centre As Point = bounds.Location
    centre.Offset(bounds.Width \ 2, bounds.Height \ 2)
    Dim offset As Point = New Point(-sz.Width \ 2, -sz.Height \ 2)
    graphics.TranslateTransform(centre.X, centre.Y)
    graphics.RotateTransform(rotation)
    TextRenderer.DrawText(graphics, text, font, offset, color, TextFormatFlags.PreserveGraphicsTranslateTransform)
    graphics.ResetTransform()
    End Sub
    Private Sub DrawRotatedGDIPlusText(graphics As Graphics, text As String, font As Font, bounds As Rectangle, color As Color, rotation As Single)
    Dim sz As Size = graphics.MeasureString(text, font).ToSize
    Dim centre As Point = bounds.Location
    centre.Offset(bounds.Width \ 2, bounds.Height \ 2)
    Dim offset As Point = New Point(-sz.Width \ 2, -sz.Height \ 2)
    graphics.TranslateTransform(centre.X, centre.Y)
    graphics.RotateTransform(rotation)
    Using myBrush As New SolidBrush(color)
    graphics.DrawString(text, font, myBrush, offset)
    End Using
    graphics.ResetTransform()
    End Sub
    End Class
    Here you can see the GDI string (red text) is rendered differently to the GDI Plus string (black text) i.e. the GDI Plus text is longer. Both strings have been rendered to the correct location as set by the graphics transformation:
    Here a Rotation to the graphics object has been performed, but the GDi method has totally ignored it:
    As a rule, Win32 based controls render with GDI rather than GDI+ and so if we wish to draw a custom control which appears similar to a Win32 based control we need to render with GDI. If you've ever tried to ownerdraw a tabcontrol then you will have noticed
    that the text does not always fit on the tabs if we've used GDI+. using GDI the text fits perfectly, but when we side align the tabs the text does not rotate. We can, as the OP has done, draw unrotated text to a bitmap and then rotate the bitmap and this
    works well if we have a solid background. If we have a textured background however, this method is not acceptable.
    Mick Doherty
    http://dotnetrix.co.uk
    http://glassui.codeplex.com

  • Save plain text file

    How can I create a text file that is not in a UTF format and is just plain text?
    This is the code I have but it creates the text in UTF8
    Private Sub PlacefileUpdate_Tick(sender As Object, e As EventArgs) Handles PlacefileUpdate.Tick
    Dim FILE_NAME As String = "X:\Data\polygon_placefile.txt"
    My.Computer.FileSystem.WriteAllText(FILE_NAME, "", False)
    If Verticies.Items.Count = 8 Then
    Dim i As Integer
    Dim aryText(14) As String
    aryText(0) = "Title: Polygon"
    aryText(1) = "Threshold: 999"
    aryText(2) = "RefreshSeconds: 1"
    aryText(3) = ""
    aryText(4) = "Color: 255 255 255"
    aryText(5) = "Line: 3, 0, Polygon"
    aryText(6) = Verticies.Items(0)
    aryText(7) = Verticies.Items(1)
    aryText(8) = Verticies.Items(2)
    aryText(9) = Verticies.Items(3)
    aryText(10) = Verticies.Items(4)
    aryText(11) = Verticies.Items(5)
    aryText(12) = Verticies.Items(6)
    aryText(13) = Verticies.Items(7)
    aryText(14) = "End:"
    Dim objWriter As New System.IO.StreamWriter(FILE_NAME, True)
    For i = 0 To 14
    objWriter.WriteLine(aryText(i))
    Next
    objWriter.Close()
    End If
    End Sub
    Regards, Carter Humphreys

    ASCIIEncoding Class - From link in previous post.
    Maybe you are viewing the text with an application not set for ASCII encoding.
    La vida loca
    Notepad. All I know is that it that the current code I have creating a UTF8 format and what I have that works is ASCII encoding. 
    Regards, Carter Humphreys

  • How to create a collaboration room from EJB tier.

    Hi.
    I have created a EJB Stateless Session Beans, and I want to create a room using the API of KM.
    I have used the code mentioned in this URL: http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.htm
    It works fine it is called from Web Dynpro.
    I have added in my application-j2ee-engine.xml of the J2EE Proyect.
    <application-j2ee-engine>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.km.application</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.netweaver.coll.shared</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.security.api.sda</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    It was deployed correctly, but when I tried to call the method the server sent me this exception:
    Caused by: javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
    at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSBean.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSBean.java:188)
    at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.java:991)
    ... 25 more
    javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
    I hope that somebody can help me
    Regards  in advance.
    Manuel Loayza
    Living La Vida JAVA

    Hi Sudha,
    Bydefault sap provided four room categories and if you wish to create new room categories simply rename them and give meaningful names. If you want more info browse following links which are useful to resolve issue
    1. default_category
    2. category_1
    3. category_2
    4. category_3
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/50167b97c01193e10000000a155369/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/85/f58ece033b3349ae5509d2ea29e23b/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/b02cf332caa74b822def646a04529f/frameset.htm
    Please reward points.
    Cheers
    dev

  • How to create a collaboration room of the SAP Portal from EJB tier.

    Hi.
    I have created a EJB Stateless Session Beans, and I want to create a room using the API of KM.
    I have used the code mentioned in this URL: http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.htm
    It works fine it is called from Web Dynpro.
    I have added in my application-j2ee-engine.xml of the J2EE Proyect.
    <application-j2ee-engine>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.km.application</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.netweaver.coll.shared</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.security.api.sda</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    It was deployed correctly, but when I tried to call the method the server sent me this exception:
    Caused by: javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
    at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSBean.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSBean.java:188)
    at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.java:991)
    ... 25 more
    javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
    I hope that somebody can help me
    Regards  in advance.
    Manuel Loayza
    Living La Vida JAVA

    After playing with WebDynPro and PDK  - finally I have a simple list showing.  This simple example has provided me with a good starting point - it is a pity that SAP do not provide such simple examples to allow you to get your head around the concepts.
    I used the SAP NetWeaver Developer Studio to produce a version of my example using a WebDynPro and a JSPDynPage (PDK). Deployed to my EP6 server and then created iVews to show then in the appropriate theme.
    My thoughts on this now are that both WebDynPro and PDK have merits - both achieve same end result with various affects.  WebDynPro is clunky and PDK is not tighly integrated with the Studio (unlike the .NET one).
    To use the PDK you need to understand the TAGs and the SAPDesignGuild website helps  - but would be better if the Studio presented a graphical interface much like DreamWeaver does.
    SAP's direction seems to be with WebDynPro and no longer PDK  - wonder if this is truely the case ?.  SAP does have a lot of work to do in my opinion to get both products up to scratch from a useability point of view.

  • Getting WLS host url and port number

    Hello Experts,
    I need to forward an authenticated request to JAAS LoginModule. How can I get wls host name and port numbe in the LoginModule?
    Thank you in advance,
    Thanks for reading my post

    Hi friends.
    I have used the last post, but it is not working.
    Mat be the API had changed.
    What class or interface could give me this data in web dynpro component?
    Too, I'm using the SAP NetWeaver Developer Studio
    Version: 2.0.16
    Build id: 200602130353
    Thank you.
    Manuel Loayza
    Living La Vida JAVA
    Edited by: Manuel  Loayza Gahona on Jul 23, 2008 6:54 PM

  • Plz help in the code

    I want to increase the number reduce the number specified in the textbox2 
    Dim ip1 As Integer = TextBox1.Text
    Dim ip2 As Integer = TextBox2.Text
    'Dim ip3 As Integer = TextBox1.Text
    'Dim ip4 As Integer = TextBox2.Text
    For i = ip1 To ip2
    ListBox1.Items.Add(i)
    next

    I don't know what "scan ip range" means. Also I haven't worked with IP addresses in a long time.
    So if you mean you want to get all IP addresses between 1.5.7.6 and 1.0.0.1 then do the match for that. Get the integer from 1.0.0.1 then get the integer for 1.5.7.6. Reduce the integer for 1.5.7.6 by one and get the IP address for that integer and so on
    until that integer equals the integer for 1.0.0.1. Unless that is not what you mean. And whatever "ip range" you come up with may contain invalid IP addresses since broadcast and network addresses may be included in the mix for all I know.
    La vida loca
    I want an example bro
    You want because that is simpler than learning through research.
    Also I am not your Bro. And I live in the desert now so I no longer hang out at the beach or windsurf so the word bro is unecessary as most people do not use it unless you are around a certain crowd which talks like they're hip or something. So don't call
    me bro.
    Here is an example.
    A ListBox can not apparently display all of the results without becoming unstable which I will not attempt to explain what occurs. You can try a ListBox if you want.
    Although with the previous code I provided you should have had the willpower and thoughtfulness to research on your own on how to use it rather than saying you want anybody else (specifically bro) to write the code for you. Which by doing so shows no effort
    on your part to learn. As if rather than writing code you are only capable of copying and pasting code and can not learn how code works in order to use it to perform what you want to do. So either you are attempting to program outside of your skillset range
    meaning you need to increase your scope of knowledge in various areas or perhaps you don't have the capability to program if you are unwilling to increase your scope of knowledge to raise your skillset to where it needs to be for what you want to program for.
    Also because of the time it takes this code to run for the two IP addresses you provided it would be a good idea to use threading to offload various code into a separate thread as this freezes the UI until the code ends after displaying the result.
    I will not do this for you.
    Option Strict On
    Imports System.Net
    Imports System.IO
    Imports System.Text
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
    Label1.Text = "Waiting"
    Label2.Text = "Waiting"
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    If ParseIP(TextBox1.Text) = True Then
    If ParseIP(TextBox1.Text) = True Then
    Label1.Text = "Waiting"
    Label2.Text = "Waiting"
    Dim SB As New StringBuilder
    Dim TBox1IPLong As Long = ConvertIPToLong(TextBox1.Text)
    Dim TBox2IPLong As Long = ConvertIPToLong(TextBox2.Text)
    If TBox1IPLong > TBox2IPLong Then
    Label1.Text = "Nr IP Addresses is " & (TBox1IPLong - TBox2IPLong).ToString & "."
    Label2.Text = "IP scan results for ip address" & _
    vbCrLf & TextBox1.Text & " to " & TextBox2.Text & "."
    TBox1IPLong -= 1
    Do Until TBox1IPLong = TBox2IPLong
    SB.Append(ConvertLongToIP(TBox1IPLong) & vbCrLf)
    TBox1IPLong -= 1
    Loop
    Else
    Label1.Text = "Nr IP Addresses is " & (TBox2IPLong - TBox1IPLong).ToString & "."
    Label2.Text = "IP scan results for ip address" & _
    vbCrLf & TextBox2.Text & " to " & TextBox1.Text & "."
    TBox2IPLong -= 1
    Do Until TBox2IPLong = TBox1IPLong
    SB.Append(ConvertLongToIP(TBox2IPLong) & vbCrLf)
    TBox2IPLong -= 1
    Loop
    End If
    RichTextBox1.Text = SB.ToString
    Else
    MessageBox.Show("TextBox2 contains invalid IP address. Try again.")
    Exit Sub
    End If
    Else
    MessageBox.Show("TextBox1 contains invalid IP address. Try again.")
    Exit Sub
    End If
    End Sub
    Private Function ParseIP(Item As String) As Boolean
    Dim TestIP As IPAddress
    Dim Result As Boolean = IPAddress.TryParse(Item, TestIP)
    Return Result
    End Function
    Private Function ConvertIPToLong(Item As String) As Long
    Dim BinaryOctet As String = ""
    Dim CompleteBinary As String = ""
    Dim ItemSplit() As String = Item.Split("."c)
    For i = 0 To ItemSplit.Count - 1
    BinaryOctet = Convert.ToString(CLng(ItemSplit(i)), 2)
    If BinaryOctet.Count < 8 Then
    Do Until BinaryOctet.Count = 8
    BinaryOctet = BinaryOctet.Insert(0, "0")
    Loop
    End If
    CompleteBinary &= BinaryOctet
    Next
    Dim Result As Long = Convert.ToInt64(CompleteBinary, 2)
    Return Result
    End Function
    Private Function ConvertLongToIP(Info As Long) As String
    Dim Temp As String = Convert.ToString(Info, 2)
    If Temp.Count <> 32 Then
    Do Until Temp.Count = 32
    Temp = Temp.Insert(0, "0")
    Loop
    End If
    Dim Result As String = CStr(CInt(Convert.ToInt32(Temp.Substring(0, 8), 2))) & "." & _
    CStr(CInt(Convert.ToInt32(Temp.Substring(8, 8), 2))) & "." & _
    CStr(CInt(Convert.ToInt32(Temp.Substring(16, 8), 2))) & "." & _
    CStr(CInt(Convert.ToInt32(Temp.Substring(24, 8), 2)))
    Return Result
    End Function
    End Class
    La vida loca

  • Getting current portal url and port no

    Dear all,
    Please let me know how to get the current portal hostname and port no .  We are  accessing the port thru <b>virtual hostname</b> and not by physical server name. We are using EP 7.0 SP10 . I need this  virtual hostname and port no to build the url to access the images stored in server from Web Dynpro. I have created http alias for the images folder in the server. I need to build the url like  <http>://<hostname>:<port>/<image alias name>/***.jpg  to access the images from server.
    Pls also share any other suggestions to access the images from the sever thru web dynpro
    Thanks in Advance.
    Regards
    Vasudevan

    Hi friends.
    I have used the last post, but it is not working.
    Mat be the API had changed.
    What class or interface could give me this data in web dynpro component?
    Too, I'm using the SAP NetWeaver Developer Studio
    Version: 2.0.16
    Build id: 200602130353
    Thank you.
    Manuel Loayza
    Living La Vida JAVA
    Edited by: Manuel  Loayza Gahona on Jul 23, 2008 6:54 PM

  • Trouble Installing Visual Studios 2013 Community on Windows Standard 7 Embedded.

    Hi there,
    I'm not sure if this is solvable or not, but I cannot seem to get MS Windows Standard 7 Embedded to run Visual Studios 2013.  I have been able to make it work fine on Win7 HP, and on Win 8.1, but it seems to not be compatible with the Win Standard 7
    Embedded.  I was thinking that I may have to use an older version of Visual studios, but I'm not sure, thanks in advance for the help. 

    Hi there,
    I'm not sure if this is solvable or not, but I cannot seem to get MS Windows Standard 7 Embedded to run Visual Studios 2013.  I have been able to make it work fine on Win7 HP, and on Win 8.1, but it seems to not be compatible with the Win Standard 7
    Embedded.  I was thinking that I may have to use an older version of Visual studios, but I'm not sure, thanks in advance for the help. 
    You don't provide much of an explanation to go on with regard to what is occuring which will not allow Visual Studio 2013 community edition to run on WS7E.
    Is .Net Framework 4.5 already installed on WS7E? Did VS 2013 Community install with no issues on WS7E? Are any errors occuring? If WS7E has event logs have you checked those?
    I have no idea about WS7E or if you have to create an image that will run VS 2013 Community.
    La vida loca
    I tried to upload a screen shot but apparently I have yet to be verified human, but I will try to describe what it looked like.  When I ran the .exe from downloads it came up with a window that said to fix the following errors before attempting to install.
     The first error said that visual studios requires a computer with a newer version of windows.  The next problem said that visual studios works best with internet explorer 10, but I can't get an updated version of explorer because it is not compatible
    with my system.  I can try another version of windows, or a different version of visual studios; however, I can only run windows 7 or earlier, windows 8 is not compatible with my pc. 

  • Does Lightroom support camera tethering?

    I looked through the forum and could not find this.
    Does Lightroom allow digital camera capture by tethering the camera to a computer like Camera Control Pro for Nikon's and Kodaks Camera Manager?
    If it does, this most likely will be our new and great workflow. Currently when using both Nikons and Kodaks we have to use four (or more) separate software programs to capture the image, adjust the image (if necessary) crop & retouch the image, and upload it to our laboratory.
    Looking for the vida loca.

    If it matters, we too would like to see tethering improved, especially for Nikons.
    Nikon has stopped supporting their Capture (V 4.x) software. Capture wasn't the greatest package but it served a purpose as the front line, 'real time' camera to screen program. Capture does not support the newest NEFs found in the D80, (and others?)! The replacement, Capture NX, does not support tethered shooting or browsing for that matter. NX has some interesting ideas but no tethering, no browser, it is useless to us? Nikon's new Camera Control Pro downloads the pics from the camera to the computer but leaves them there... no further processing.
    We are forced to find another solution. There are not too many to choose from besides LR. Capture Pro is pretty dear, Bibble's capture, while slick, directly from camera to browser, it is not too stable or reliable! Sorry guys but we can not be rebooting / making excuses while the customer is waiting. I haven't found anything else for a Nikon.
    Our business really needs good tethering as we usually shoot with the customer in the studio expecting to take home some prints. Besides 'real time' viewing, which is a real plus with the customers, tethering also eliminates the steps, and time needed to stop shooting and download images to the computer. It also makes for a real smooth two person operation.
    So, I (we), hope the LR crew is working on a direct import for all raw formats. The LR tethering could use a speed boost. Just eliminating the third party capture software and extra file move would be a big help.
    Net & Den
    Netties Petties LLC

  • Visual Basic Forum - Is it just me or is the Forum not updating when a post is answered so the post bumps to the top of the first page?

    Maybe this is an issue with my webbrowser, though I doubt it, or maybe it's an issue with all forums currently due to some new "update" that again requires testing by microsoft end users in order for microsoft to debug issues the end users have
    to find for them.
    La vida loca

    Maybe this is an issue with my webbrowser, though I doubt it, or maybe it's an issue with all forums currently due to some new "update" that again requires testing by microsoft end users in order for microsoft to debug issues the end users have
    to find for them.
    La vida loca
    Hi,
    Thanks for your pointing this issue.
    I have helped you move this thread to Forums Issues forum to get submit this issue.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with linkToURL

    Hi people.
    I`m developing a Web Dynpro for Java. I have problems with the component linkToURL component.
    The server sent me this exception:
       com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=http://plngdev:56000/irj/go/km/docs/documents/Legal/C000000139-FINAL/T000000070-CIVIL-ABSTENERSE DE REALIZAR CUALQUIER ACTO QUE IMPLIQUE AFECTACION DE SERVIDUMBRES/OCURRENCIAS-ANTECEDENTES/page.htm
    I don't know what the problem is?.
    May be the URL should be with scape characters for blank and specialsspaces?.
    Regards in advanced.
    Manuel
    Living La Vida JAVA

    The problem was solved with the replacement of the blank spaces with underscore character. Also I have used the static method encode on  java.net.URLEncoder class.
    Thanks.

  • Save listbox items to file with date in filename

    Im trying to setup a small program to where when you save listbox items, it saves to a file with a specific name. All works fine, no problems.  What I need to do is hen you click save, it saves the file with the specific name BUT with the date &
    time added to the filename. 
    Example: filename-date-time.txt
    Currently, Im only able to save as  filename.txt
    So when you save the list again, it just overwrites the file already there.
    Here is what I have:
    IO.Directory.CreateDirectory("C:\foldername")
    Dim w As New IO.StreamWriter("C:\foldername\filename.txt")
    Dim i As Integer
    For i = 0 To ListBox1.Items.Count - 1
    w.WriteLine(ListBox1.Items.Item(i))
    Next
    w.Close()
    MsgBox("List has been saved to C:\foldername\filename.txt", MsgBoxStyle.OkOnly)
    What do I need to add to this line: Dim w As New IO.StreamWriter("C:\foldername\filename.txt")   So that it can save it with the date & time?

    Dim w As New IO.StreamWriter("C:\foldername\filename " & Now.ToString(" MM/dd/yyyy hh:mm:ssf") & ".txt")
    Custom Date and Time Format Strings
    Format specifier
    Description
    Examples
    "d"
    The day of the month, from 1 through 31.
    More information:
    The "d" Custom Format Specifier.
    2009-06-01T13:45:30 -> 1
    2009-06-15T13:45:30 -> 15
    "dd"
    The day of the month, from 01 through 31.
    More information:
    The "dd" Custom Format Specifier.
    2009-06-01T13:45:30 -> 01
    2009-06-15T13:45:30 -> 15
    "ddd"
    The abbreviated name of the day of the week.
    More information:
    The "ddd" Custom Format Specifier.
    2009-06-15T13:45:30 -> Mon (en-US)
    2009-06-15T13:45:30 -> Пн (ru-RU)
    2009-06-15T13:45:30 -> lun. (fr-FR)
    "dddd"
    The full name of the day of the week.
    More information:
    The "dddd" Custom Format Specifier.
    2009-06-15T13:45:30 -> Monday (en-US)
    2009-06-15T13:45:30 -> понедельник (ru-RU)
    2009-06-15T13:45:30 -> lundi (fr-FR)
    "f"
    The tenths of a second in a date and time value.
    More information:
    The "f" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 6
    2009-06-15T13:45:30.05 -> 0
    "ff"
    The hundredths of a second in a date and time value.
    More information:
    The "ff" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 61
    2009-06-15T13:45:30.0500000 -> 00
    "fff"
    The milliseconds in a date and time value.
    More information:
    The "fff" Custom Format Specifier.
    6/15/2009 13:45:30.617 -> 617
    6/15/2009 13:45:30.0005 -> 000
    "ffff"
    The ten thousandths of a second in a date and time value.
    More information:
    The "ffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175000 -> 6175
    2009-06-15T13:45:30.0000500  -> 0000
    "fffff"
    The hundred thousandths of a second in a date and time value.
    More information:
    The "fffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175400 -> 61754
    6/15/2009 13:45:30.000005 -> 00000
    "ffffff"
    The millionths of a second in a date and time value.
    More information:
    The "ffffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175420 -> 617542
    2009-06-15T13:45:30.0000005 -> 000000
    "fffffff"
    The ten millionths of a second in a date and time value.
    More information:
    The "fffffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175425 -> 6175425
    2009-06-15T13:45:30.0001150 -> 0001150
    "F"
    If non-zero, the tenths of a second in a date and time value.
    More information:
    The "F" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 6
    2009-06-15T13:45:30.0500000 -> (no output)
    "FF"
    If non-zero, the hundredths of a second in a date and time value.
    More information:
    The "FF" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 61
    2009-06-15T13:45:30.0050000 -> (no output)
    "FFF"
    If non-zero, the milliseconds in a date and time value.
    More information:
    The "FFF" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 617
    2009-06-15T13:45:30.0005000 -> (no output)
    "FFFF"
    If non-zero, the ten thousandths of a second in a date and time value.
    More information:
    The "FFFF" Custom Format Specifier.
    2009-06-15T13:45:30.5275000 -> 5275
    2009-06-15T13:45:30.0000500 -> (no output)
    "FFFFF"
    If non-zero, the hundred thousandths of a second in a date and time value.
    More information:
    The "FFFFF" Custom Format Specifier.
    2009-06-15T13:45:30.6175400 -> 61754
    2009-06-15T13:45:30.0000050 -> (no output)
    "FFFFFF"
    If non-zero, the millionths of a second in a date and time value.
    More information:
    The "FFFFFF" Custom Format Specifier.
    2009-06-15T13:45:30.6175420 -> 617542
    2009-06-15T13:45:30.0000005 -> (no output)
    "FFFFFFF"
    If non-zero, the ten millionths of a second in a date and time value.
    More information:
    The "FFFFFFF" Custom Format Specifier.
    2009-06-15T13:45:30.6175425 -> 6175425
    2009-06-15T13:45:30.0001150 -> 000115
    "g", "gg"
    The period or era.
    More information:
    The "g" or "gg" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> A.D.
    "h"
    The hour, using a 12-hour clock from 1 to 12.
    More information:
    The "h" Custom Format Specifier.
    2009-06-15T01:45:30 -> 1
    2009-06-15T13:45:30 -> 1
    "hh"
    The hour, using a 12-hour clock from 01 to 12.
    More information:
    The "hh" Custom Format Specifier.
    2009-06-15T01:45:30 -> 01
    2009-06-15T13:45:30 -> 01
    "H"
    The hour, using a 24-hour clock from 0 to 23.
    More information:
    The "H" Custom Format Specifier.
    2009-06-15T01:45:30 -> 1
    2009-06-15T13:45:30 -> 13
    "HH"
    The hour, using a 24-hour clock from 00 to 23.
    More information:
    The "HH" Custom Format Specifier.
    2009-06-15T01:45:30 -> 01
    2009-06-15T13:45:30 -> 13
    "K"
    Time zone information.
    More information:
    The "K" Custom Format Specifier.
    With DateTime values:
    2009-06-15T13:45:30, Kind Unspecified ->
    2009-06-15T13:45:30, Kind Utc -> Z
    2009-06-15T13:45:30, Kind Local -> -07:00 (depends on local computer settings)
    With DateTimeOffset values:
    2009-06-15T01:45:30-07:00 --> -07:00
    2009-06-15T08:45:30+00:00 --> +00:00
    "m"
    The minute, from 0 through 59.
    More information:
    The "m" Custom Format Specifier.
    2009-06-15T01:09:30 -> 9
    2009-06-15T13:29:30 -> 29
    "mm"
    The minute, from 00 through 59.
    More information:
    The "mm" Custom Format Specifier.
    2009-06-15T01:09:30 -> 09
    2009-06-15T01:45:30 -> 45
    "M"
    The month, from 1 through 12.
    More information:
    The "M" Custom Format Specifier.
    2009-06-15T13:45:30 -> 6
    "MM"
    The month, from 01 through 12.
    More information:
    The "MM" Custom Format Specifier.
    2009-06-15T13:45:30 -> 06
    "MMM"
    The abbreviated name of the month.
    More information:
    The "MMM" Custom Format Specifier.
    2009-06-15T13:45:30 -> Jun (en-US)
    2009-06-15T13:45:30 -> juin (fr-FR)
    2009-06-15T13:45:30 -> Jun (zu-ZA)
    "MMMM"
    The full name of the month.
    More information:
    The "MMMM" Custom Format Specifier.
    2009-06-15T13:45:30 -> June (en-US)
    2009-06-15T13:45:30 -> juni (da-DK)
    2009-06-15T13:45:30 -> uJuni (zu-ZA)
    "s"
    The second, from 0 through 59.
    More information:
    The "s" Custom Format Specifier.
    2009-06-15T13:45:09 -> 9
    "ss"
    The second, from 00 through 59.
    More information:
    The "ss" Custom Format Specifier.
    2009-06-15T13:45:09 -> 09
    "t"
    The first character of the AM/PM designator.
    More information:
    The "t" Custom Format Specifier.
    2009-06-15T13:45:30 -> P (en-US)
    2009-06-15T13:45:30 -> 午 (ja-JP)
    2009-06-15T13:45:30 ->  (fr-FR)
    "tt"
    The AM/PM designator.
    More information:
    The "tt" Custom Format Specifier.
    2009-06-15T13:45:30 -> PM (en-US)
    2009-06-15T13:45:30 -> 午後 (ja-JP)
    2009-06-15T13:45:30 ->  (fr-FR)
    "y"
    The year, from 0 to 99.
    More information:
    The "y" Custom Format Specifier.
    0001-01-01T00:00:00 -> 1
    0900-01-01T00:00:00 -> 0
    1900-01-01T00:00:00 -> 0
    2009-06-15T13:45:30 -> 9
    2019-06-15T13:45:30 -> 19
    "yy"
    The year, from 00 to 99.
    More information:
    The "yy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 01
    0900-01-01T00:00:00 -> 00
    1900-01-01T00:00:00 -> 00
    2019-06-15T13:45:30 -> 19
    "yyy"
    The year, with a minimum of three digits.
    More information:
    The "yyy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 001
    0900-01-01T00:00:00 -> 900
    1900-01-01T00:00:00 -> 1900
    2009-06-15T13:45:30 -> 2009
    "yyyy"
    The year as a four-digit number.
    More information:
    The "yyyy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 0001
    0900-01-01T00:00:00 -> 0900
    1900-01-01T00:00:00 -> 1900
    2009-06-15T13:45:30 -> 2009
    "yyyyy"
    The year as a five-digit number.
    More information:
    The "yyyyy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 00001
    2009-06-15T13:45:30 -> 02009
    "z"
    Hours offset from UTC, with no leading zeros.
    More information:
    The "z" Custom Format Specifier.
    2009-06-15T13:45:30-07:00 -> -7
    "zz"
    Hours offset from UTC, with a leading zero for a single-digit value.
    More information:
    The "zz" Custom Format Specifier.
    2009-06-15T13:45:30-07:00 -> -07
    "zzz"
    Hours and minutes offset from UTC.
    More information:
    The "zzz" Custom Format Specifier.
    2009-06-15T13:45:30-07:00 -> -07:00
    The time separator.
    More information:
    The ":" Custom Format Specifier.
    2009-06-15T13:45:30 -> : (en-US)
    2009-06-15T13:45:30 -> . (it-IT)
    2009-06-15T13:45:30 -> : (ja-JP)
    The date separator.
    More Information:
    The "/" Custom Format Specifier.
    2009-06-15T13:45:30 -> / (en-US)
    2009-06-15T13:45:30 -> - (ar-DZ)
    2009-06-15T13:45:30 -> . (tr-TR)
    "string"
    'string'
    Literal string delimiter.
    2009-06-15T13:45:30 ("arr:" h:m t) -> arr: 1:45 P
    2009-06-15T13:45:30 ('arr:' h:m t) -> arr: 1:45 P
    Defines the following character as a custom format specifier.
    More information: Using Single Custom Format Specifiers.
    2009-06-15T13:45:30 (%h) -> 1
    The escape character.
    2009-06-15T13:45:30 (h \h) -> 1 h
    Any other character
    The character is copied to the result string unchanged.
    More information:
    Using the Escape Character.
    2009-06-15T01:45:30 (arr hh:mm t) -> arr 01:45 A
    La vida loca
    gives error when trying save.
    The given path's format is not supported.

Maybe you are looking for