AlivePDF HTTPS

I trying to understand an issue I am having with a Flex
builder 2 application and AlivePDF over https. I first programmed
the application on a non-ssl connection and everything works just
great. I then moved to migrate the application to a https
environment and ran into some minor crossdomain.xml security issue
but was able to resolve all but one problem: I am using AlivePDF to
create a dynamic sign which creates a bytestream and passes it
along to a php script that send it back as a pdf file. See attached
script. I have yet to be able to tie this to flex security issue
but do not want to rule anything out until I find a resolution. I
need the expertise of this forum to help me out because at best I
am a moderately skilled flex programmer and hope I can come to a
speedy resolution. Thanks for any assistance.

Hi,
Thank you for posting.
In order to resolve the isuse, please add
https://printables.hpconnected.com
to the trusted sites in Internet explorer.
To do so, please click on the Gear icon in the top right hand cornere of the internet explorer and click on Internet Options. In eth internet Options window, please click on Security and then click on Trusted sites and click on sites and add
https://printables.hpconnected.com and click on Ok. then delete the temporary internet files and cookies and thy to access.
Say "Thanks" by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution"
(Although I am employed by HP, I am speaking for myself and not for HP)

Similar Messages

  • How to Read a PDF File?

    Hi,
    I want to do something pretty basic: open a PDF file and
    programmatically process its contents. Fundamentally, I would
    like to
    just have something that can get the text and do readLine and
    return a
    string for each line of text.
    I searched everywhere for something that can do this. Just
    reading a
    PDF in raw will not work b/c it contains a good deal of
    binary.
    AlivePDF
    http://alivepdf.bytearray.org/
    appears to only be able to
    create new PDF files.
    The Core AS3 libraries appear to only be able to display PDF
    content
    in a browser:
    http://livedocs.adobe.com/flex/3/html/help.html?content=PDF_1.html
    Is there anything out there that can do this, or am I just
    going to
    have to write my own?
    Thanks in advance,
    Davis

    Thanks for the info. I'm pretty new to AS/Flex, etc.
    Incidentally, I'm looking to build an application using Flex, and a
    good portion of it I've already written in Java. I actually have
    this code done as a java library. What I'd really like to do is
    just have the Flex App call that. Now, I know you can call out to
    Java using RemoteObject, HTTP, WebService, etc, but the target for
    this app is more likely to be Air -- i.e. a local desktop
    application. As such, I don't really want to require a user to run
    a J2EE web container locally just to call into a Java library.
    So far, that is the only way I can figure out how to
    communicate between AS and Java. The alchemy thing is what I'm
    looking for -- but as a Java version. I don't really want to port
    my code to C/C++ now, and then use the alchemy bridge. I'd either
    port it to AS directly or use some bridge to Java.
    As a Flex newbie -- can anyone tell me if there is an easier
    way to integrate with Java code that doesn't require a web
    container?
    Thanks!
    Davis

  • How to load and show PDF on stage in Flash using AlivePDF or PurePDF external libraries?

    Hello,
    I searched a lot on internet but didn't find a proper way to load and open/show PDF on stage in Flash. Following are my understandings about this topic.
    I know Flash does not have the built-in functionality to load and show pdf document on stage.
    I know you can do this in AIR application using HTMLLoader class but it required adove reader to be installed on your machine.
    I have used AlivePDF/PurePDF and I know how to export/generate a PDF File using these libraries but I don't know how to use them to load and show PDF document on stage in Flash. According to my research, I think these libraries can accomplish my task but how, I don't know. That's because I am here for your help.
    People suggest to first convert pdf into an image or swf file and then import it into Flash but I don't want this solution because my clients will be importing/uplading PDF file into my software.
    Some people suggest to "Convert PDF renderer code written in C/C++ using Alchemy to flash library" and then use that library to my project. I don't have any idea how to do this. If anyone can help me to achieve required functionality this way, please guide me.
    Now you know about my understandings, so you can guide me in better way. Let me give you an example what kind of functionality I want. Please visit: https://www.pdffiller.com. Upload a pdf file there and you will see that it shows that pdf to user (At the moment, I want this functionality) and pdf annotation i.e. write text on pdf and other functionalities.
    NOTE: I am not a Flex and AIR developer. I am a Flash (Actionscript 3.0) Developer. So please first help according to flash. If you want to offer the solution according to Flex and AIR, you are most welcome.
    I specially want "ADOBE EXPERTS - Adobe Flash developer from Adobe" to comment on this and help me out. It's about 4th day I am without a solution. I am afraid, I'll loose my client if I'll not have a solution in next couple of days.
    Thanks,
    momersaleem
    eLearning Specialist

    Just to throw in a $0.02, I looked at those libraries myself quite a while ago and all they had the ability to do was give you information and assets from the PDF. At that point you literally had to read each page in the PDF (whatever the library could extract), use the information it extracted (position, type size, images, etc) and create a layout engine that could "reconstruct" the page piece by piece.
    I hope it's better these days but that's what I took from those libraries quite a while ago and it may still be true. That would explain "Convert PDF renderer code written in c/c++ using Alchemy to flash library". Someone may already have written a quality layout engine. Otherwise there was no "load pdf, run this ShowPDF() function to add to display list" functionality at all.

  • Flex 4 - Generate PDF - AlivePDF

    Hello all.
    I am in need of creating PDF documents from a flash project.  THe flash project needs to be using the latest flex 4. And i will be sing the <s:Application> tags.
    I grabbed an example from "Tour de Flex"  but it was built using <mx:Application>. The code for this example is here
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
         viewSourceURL="srcview/index.html" backgroundColor="0x000000" layout="absolute">
        <mx:Script>
            <![CDATA[
                import org.alivepdf.pages.Page;
                import org.alivepdf.pdf.PDF;
                import org.alivepdf.layout.Orientation;
                import org.alivepdf.layout.Size;
                import org.alivepdf.layout.Unit;
                import org.alivepdf.display.Display;
                import org.alivepdf.saving.Method;
                import org.alivepdf.fonts.FontFamily;
                import org.alivepdf.fonts.Style;
                import org.alivepdf.colors.RGBColor;
                import mx.utils.UIDUtil;
                protected var claimPDF:PDF;
                [Embed(source="assets/Insuricorp-Logo.jpg", mimeType="application/octet-stream" )]
                protected var jpgBytes:Class;
                protected function savePDF(e:MouseEvent):void
                    claimPDF = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
                    claimPDF.setDisplayMode (Display.FULL_WIDTH);
                    claimPDF.addPage();
                    claimPDF.addImageStream(new jpgBytes() as ByteArray, 5, 5, 0, 0, 1);
                    claimPDF.setFont(FontFamily.ARIAL , Style.NORMAL, 12);
                    claimPDF.addText("Claimant Name: " + this.firstName.text + " " + lastName.text,10,40);
                    claimPDF.addText("Date: " + this.date.text,10,50);
                    claimPDF.addTextNote(48,45,100,2,"Claim Filed on: " + this.date.text + " today's date: " + new Date());
                    claimPDF.addText("Policy #: " + this.policyNum.text,10,60);
                    claimPDF.addText("Contact #: " + this.contact.text,10,70);
                    claimPDF.addText(this.claimNum.text,10,80);
                    claimPDF.addText("Claim Description:",10,90);
                    claimPDF.setXY(10,95);
                    claimPDF.addMultiCell(200,5,desc.text);
                    // HERE IS HOW TO SAVE FROM FLASH PLAYER 10 OR GREATER. THIS IS USED FOR THIS SAMPLE.
                    var bytes:ByteArray = claimPDF.save(Method.LOCAL);
                    var f:FileReference = new FileReference();
                    f.save(bytes,"tourdeflex-pdf-sample.pdf");
                    // HERE IS HOW TO SAVE FROM AN AIR APP
                    var fs:FileStream = new FileStream();
                    var file: File = File.desktopDirectory.resolvePath("tourdeflex-pdf-sample.pdf");
                    fs.open(file, FileMode.WRITE);
                    var pdfBytes:ByteArray = claimPDF.savePDF(Method.LOCAL);
                    fs.writeBytes(pdfBytes);
                    fs.close();
                     // HERE IS HOW TO SAVE FROM FLEX APP RUNNING FLASH PLAYER < 10
                     /* NOTE: To save the PDF from a Flex application if running Flash Player version < 10, you need to call a server-side
                              script as the 2nd parameter of the save call. More information about this can be found here:
                              http://alivepdf.bytearray.org/?p=17
                    claimPDF.save( ethod.REMOTE, "http://alivepdf.bytearray.org/wp-content/demos/create.php", "tourdeflex-pdf-sample.pdf");*/
                protected function submitClaimNum():void
                    claimNum.text='Claim # Assigned: '+ UIDUtil.createUID();//just generate a random id for sample purposes
                    this.savePDFBtn.visible=true;
            ]]>
        </mx:Script>
        <mx:Style>
            FormItem, Label, Button {
                color: #FFFFFF;
            TextInput, DateField {
                color: #000000;
        </mx:Style>   
        <mx:Label top="10" left="10" text="Input information and press 'File Claim' to get assigned claim #, then press Save to PDF." color="0xCCCCCC"/>   
         <mx:Label fontSize="18" text="Insurance Claim Form" left="10" top="30"/>
        <mx:HBox width="100%" height="100%" top="40" left="10" color="0x000000">
            <mx:Form id="form1" width="283" height="300">
                <mx:FormItem label="First Name:">
                    <mx:TextInput id="firstName"/>
                </mx:FormItem>
                <mx:FormItem label="Last Name:">
                    <mx:TextInput id="lastName"/>
                </mx:FormItem>
                <mx:FormItem label="Date:">
                    <mx:DateField id="date" />
                </mx:FormItem>
                <mx:FormItem label="Policy #:">
                    <mx:TextInput id="policyNum" />
                </mx:FormItem>
                <mx:FormItem label="Contact #:">
                    <mx:TextInput id="contact" maxChars="12"/>
                </mx:FormItem>
            </mx:Form>   
            <mx:Canvas top="10" left="10" width="300" height="100%">
                <mx:Label text="Description:" y="2"/>
                <mx:TextArea id="desc" y="18" height="133" width="205"/>   
            </mx:Canvas>
        </mx:HBox>
        <mx:HBox top="205" left="185">
            <mx:Button label="File Claim" click="submitClaimNum()"/>
            <mx:Button horizontalCenter="0" click="savePDF(event)" label="Save to PDF" id="savePDFBtn" visible="false"/>
        </mx:HBox>
        <mx:Label id="claimNum" top="238" left="83"/>
    </mx:Application>
    SO i tried changing it to <s:Application>  but i get a load of errors saying stuff isnt supported etc etc.
    My main question is -  Does flex 4 and <s:Application> support AlivePDF or is there another way to create PDF documents?
    My code for the application where i have tried to change it to the latest flex version is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
            import org.alivepdf.pages.Page;
            import org.alivepdf.pdf.PDF;
            import org.alivepdf.layout.Orientation;
            import org.alivepdf.layout.Size;
            import org.alivepdf.layout.Unit;
            import org.alivepdf.display.Display;
            import org.alivepdf.saving.Method;
            import org.alivepdf.fonts.FontFamily;
            import org.alivepdf.fonts.Style;
            import org.alivepdf.colors.RGBColor;
            import mx.utils.UIDUtil;
            protected var claimPDF:PDF;
            [Embed(source="assets/Insuricorp-Logo.jpg", mimeType="application/octet-stream" )]
            protected var jpgBytes:Class;
            protected function savePDF(e:MouseEvent):void
            claimPDF = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
            claimPDF.setDisplayMode (Display.FULL_WIDTH);
            claimPDF.addPage();
            claimPDF.addImageStream(new jpgBytes() as ByteArray, 5, 5, 0, 0, 1);
            claimPDF.setFont(FontFamily.ARIAL , Style.NORMAL, 12);
            claimPDF.addText("Claimant Name: " + this.firstName.text + " " + lastName.text,10,40);
            claimPDF.addText("Date: " + this.date.text,10,50);
            claimPDF.addTextNote(48,45,100,2,"Claim Filed on: " + this.date.text + " today's date: " + new Date());
            claimPDF.addText("Policy #: " + this.policyNum.text,10,60);
            claimPDF.addText("Contact #: " + this.contact.text,10,70);
            claimPDF.addText(this.claimNum.text,10,80);
            claimPDF.addText("Claim Description:",10,90);
            claimPDF.setXY(10,95);
            claimPDF.addMultiCell(200,5,desc.text);
            // HERE IS HOW TO SAVE FROM FLASH PLAYER 10 OR GREATER. THIS IS USED FOR THIS SAMPLE.
            var bytes:ByteArray = claimPDF.save(Method.LOCAL);
            var f:FileReference = new FileReference();
            f.save(bytes,"tourdeflex-pdf-sample.pdf");
            // HERE IS HOW TO SAVE FROM AN AIR APP
            var fs:FileStream = new FileStream();
            var file: File = File.desktopDirectory.resolvePath("tourdeflex-pdf-sample.pdf");
            fs.open(file, FileMode.WRITE);
            var pdfBytes:ByteArray = claimPDF.savePDF(Method.LOCAL);
            fs.writeBytes(pdfBytes);
            fs.close();
            // HERE IS HOW TO SAVE FROM FLEX APP RUNNING FLASH PLAYER < 10
            /* NOTE: To save the PDF from a Flex application if running Flash Player version < 10, you need to call a server-side
            script as the 2nd parameter of the save call. More information about this can be found here:
            http://alivepdf.bytearray.org/?p=17
            claimPDF.save( ethod.REMOTE, "http://alivepdf.bytearray.org/wp-content/demos/create.php", "tourdeflex-pdf-sample.pdf");*/
            protected function submitClaimNum():void
            claimNum.text='Claim # Assigned: '+ UIDUtil.createUID();//just generate a random id for sample purposes
            this.savePDFBtn.visible=true;
            ]]>
        </fx:Script>
        <mx:Label top="10" left="10" text="Input information and press 'File Claim' to get assigned claim #, then press Save to PDF." color="0xCCCCCC"/>   
        <mx:Label fontSize="18" text="Insurance Claim Form" left="10" top="30"/>
        <mx:HBox width="100%" height="100%" top="40" left="10" color="0x000000">
            <mx:Form id="form1" width="283" height="300">
                <mx:FormItem label="First Name:">
                    <mx:TextInput id="firstName"/>
                </mx:FormItem>
                <mx:FormItem label="Last Name:">
                    <mx:TextInput id="lastName"/>
                </mx:FormItem>
                <mx:FormItem label="Date:">
                    <mx:DateField id="date" />
                </mx:FormItem>
                <mx:FormItem label="Policy #:">
                    <mx:TextInput id="policyNum" />
                </mx:FormItem>
                <mx:FormItem label="Contact #:">
                    <mx:TextInput id="contact" maxChars="12"/>
                </mx:FormItem>
            </mx:Form>   
            <mx:Canvas top="10" left="10" width="300" height="100%">
                <mx:Label text="Description:" y="2"/>
                <mx:TextArea id="desc" y="18" height="133" width="205"/>   
            </mx:Canvas>
        </mx:HBox>
        <mx:HBox top="205" left="185">
            <mx:Button label="File Claim" click="submitClaimNum()"/>
            <mx:Button horizontalCenter="0" click="savePDF(event)" label="Save to PDF" id="savePDFBtn" visible="false"/>
        </mx:HBox>
        <mx:Label id="claimNum" top="238" left="83"/>
    </s:Application>
    If anyone can help that would be great

    Flex 4 supports alive pdf generation.
    Follwing is the sample code of generating pdf.
    var newPDF:PDF =
    new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);newPDF.setDisplayMode (Display.FULL_WIDTH);
    newPDF.addPage();
    newPDF.setFont(FontFamily.ARIAL , Style.BOLD, 18);
    newPDF.addText(
    "TITLE" ,100,10);newPDF.setFont(FontFamily.ARIAL , Style.NORMAL, 16);
    newPDF.setXY(10,95);
    newPDF.addImage(orderDG,50,20);
    newPDF.addText(
    "TEST 1 " ,50,120);newPDF.addText(
    "TEST 2 ",150,120); 
    var fileREf:FileStream = new FileStream();var file:File = File.applicationStorageDirectory.resolvePath('Test.pdf');
    var stream:FileStream = new FileStream()
    stream.open(file,FileMode.WRITE);
    stream.writeBytes(newPDF.save(Method.LOCAL));
    stream.close();

  • Why AlivePDF generate double header?

    I'm trying to generate a simple table with alivePDF. This is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                                            xmlns:mh="mh.components.*"
                                            layout="absolute" width="500" height="500">
              <mx:Script>
                        <![CDATA[
                                  import mx.collections.ArrayCollection;
                                  import org.alivepdf.colors.RGBColor;
                                  import org.alivepdf.display.Display;
                                  import org.alivepdf.drawing.Caps;
                                  import org.alivepdf.fonts.FontFamily;
                                  import org.alivepdf.fonts.Style;
                                  import org.alivepdf.grid.Grid;
                                  import org.alivepdf.images.ImageFormat;
                                  import org.alivepdf.layout.Orientation;
                                  import org.alivepdf.layout.Resize;
                                  import org.alivepdf.layout.Size;
                                  import org.alivepdf.layout.Unit;
                                  import org.alivepdf.pages.Page;
                                  import org.alivepdf.pdf.PDF;
                                  import org.alivepdf.saving.Method;
                                  import org.alivepdf.visibility.Visibility;
                                  import org.alivepdf.grid.*;
                                  import mx.utils.ObjectUtil;
                                  private var myPDF:PDF;
    protected function savePDF(e:MouseEvent):void
                                            var myPDF:PDF = new PDF ( Orientation.PORTRAIT, Unit.MM);
                                            myPDF.setDisplayMode(Display.FULL_PAGE);
                                            myPDF.addPage();
                                            var dp:ArrayCollection = new ArrayCollection();
                                            dp.addItem( { firstName : "Bob", lastName : "Groove", city : "Paris" } );
                                            dp.addItem( { firstName : "Bob", lastName : "Wise", city : "Paris" } );
                                            dp.addItem( { firstName : "Bob", lastName : "Wise", city : "Paris" } );
                                            dp.addItem( { firstName : "Bob", lastName : "Wise", city : "Paris" } );
                                            myPDF.textStyle ( new RGBColor ( 0x0EEFF0 ) );
                                            trace(ObjectUtil.toString(dp));
                                            var grid:Grid = new Grid ( dp.toArray(), 200, 100, new RGBColor (0x000000),null,false,null,null,0,12,6,"0j");
                                            myPDF.addGrid( grid, 5, 5);
                                            myPDF.save( Method.REMOTE, "coldfusion/pdf.cfm", "inline", "test.pdf" );
                        ]]>
              </mx:Script>
              <mx:VBox width="100%" height="100%">
                        <mx:HBox width="100%" backgroundColor="#FFFFFF">
                                  <mx:Spacer width="100%"/>
                                  <mx:Button horizontalCenter="0" label="SavePDF" height="22"  click="savePDF(event)"  id="savePDFBtn" toolTip="SAVE TO PDF"/>
                        </mx:HBox>
              </mx:VBox>
    </mx:Application>
    The problem is that this generate a double header and I don't know why. You can see a live example here: http://docs.google.com/viewer?url=http://prestitiinpdap.biz/pdf/myPDF.pdf
    Could you help me solve this error?
    Thanks

    Many thanks, but the support seems discontinued also in the forum.
    I got an answers on http://stackoverflow.com/questions/14799768/why-alivepdf-generate-double-table-header

  • Using AlivePDF with AS3

    Hi, I'm somewhat new to AS3 and programming. I'm trying to use the AlivePDF library to export text from a text editor created in AS3 into a PDF. Can anyone link me to documentation or a tutorial that can help teach me how to integrate it into a normal AS3 file? I have no idea how to use the library and the only documentation I've seen for it is how to use it in Flex/Air, which is not what I'm looking for.
    Thanks!

    Last year, I did a project that used AlivePDF. I found that there wasn't as much tutorial content on the Web as I would have liked. For folks that are new(er) to AS3 - it is lacking enough in Flash  tutorials to make it "kinda out of reach" without struggling. Even for  myself, I wished there were more simple, but extensive, examples to cull  from.
    Like you, I kept getting search hits showing me a small handful of Flex apps that used it, but I was able to sift through a few things, including the website that provides the API for us. So this is most likely not going to get you what you want - it was a little bit of a slow start for me, and I just had to "grow" from the small examples I found on the main website, and look at the API documentation...and then put in the time to try my own simple tests.So, I can really only suggest that you start small, understand the basics of AlivePDF, and work from what you have success with.
    You've probably been here, but most of what I learned came from the various pages of th main AlivePDF website:
    http://alivepdf.bytearray.org/
    The link to the API documentation:
    http://alivepdf.bytearray.org/alivepdf-asdoc/
    there's a Google Wiki, with other API notes:
    http://code.google.com/p/alivepdf/wiki/APINotes

  • Getting alivePDF

    I have downloaded it and I dont see SWF file. Do I need to compile it myself? How do I load it into FB 4.5?
    Thanks

    Hi,
    I'm not familiar with AlivePDF specifically, but it looks like the ZIP files provided on their download page are Flash Builder projects of a sort. You can expand the ZIP file and then import the project through File | Import... | Existing Projects into Workspace
    The project organization is a little different from the current project format, though; you should probably direct questions to the AlivePDF forum at http://alivepdf.bytearray.org/?page_id=12 .
    HTH,
    -- Tom Kraikit
    Flex SDK engineer

  • AlivePDF - Please help!!!

    Hello, I'm completely unable to get the code for AlivePDF to
    work for me in Flash. I'm using Flash CS3, and I've downloaded the
    0.1.4.6 files from www.alivepdf.org. I unzipped the download and
    copied the folder "org" to my C:\Documents and
    Settings\<username>\Local Settings\Application
    Data\Adobe\Flash CS3\en\Configuration\Classes folder. I have no
    idea where else these files might go.
    When I try to run the sample file that comes in the zip, I
    keep getting an error 1172 saying that the definitions for PDF et
    al could not be found. If someone could PLEASE point me to an
    example that goes through how to use this library in excruciating
    detail, from downloading and unzipping to actual implementation,
    I'd really appreciate it. This is exactly the solution I need to a
    current programming problem, but I spent all day yesterday trying
    to get the slightest result with no luck, PLEASE help, and thanks
    in advance!

    Hi,
         I am looking for download AlivePDF(now is 0.1.5RC) from http://code.google.com/p/alivepdf/downloads/list, but I am not sure that is correct because there are many files on the folder. which folder should I store to the path?
    Thank you in advance.

  • HTTPs connection from SAP WebAS

    Hello,
    I have to establish a connection from SAP WebAS to an iSaSiLk server via HTTPS.
    The iSaSiLk authentication is based on client certificates.
    I've created a SSL client PSE, generated the Certificate Request, imported the certificate response and the chain of certificates associated  with no errors. When testing the connection we're getting the following error message:
    SAP icm log:
    [Thr 1087400256] ->> SapSSLSessionInit(&sssl_hdl=0x2aaaba679980, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))
    [Thr 1087400256] <<- SapSSLSessionInit()==SAP_O_K
    [Thr 1087400256]      in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
    [Thr 1087400256]     out: sssl_hdl = 0x1a3310c0
    [Thr 1087400256] ->> SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)
    [Thr 1087400256] NiIBlockMode: set blockmode for hdl 22 TRUE
    [Thr 1087400256] <<- SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)==SAP_O_K
    [Thr 1087400256] ->> SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0, &cred_name=0x1a49e4e0)
    [Thr 1087400256]   SapISSLComposeFilename(): Filename = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] <<- SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0)==SAP_O_K
    [Thr 1087400256]      in: cred_name = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] ->> SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0, &hostname=0x1a4a09e0)
    [Thr 1087400256] <<- SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0)==SAP_O_K
    [Thr 1087400256]      in: hostname = "<remoteServer_to_be_accessed>"
    [Thr 1087400256] ->> SapSSLSessionStart(sssl_hdl=0x1a3310c0)
    [Thr 1087400256]   SapISSLUseSessionCache(): Creating NEW session (0 cached)
    [Thr 1087400256] Tue Jan 13 10:10:22 2009
    *[Thr 1087400256] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL*
    [Thr 1087400256]    session uses PSE file "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] SecudeSSL_SessionStart: SSL_connect() failed
      secude_error 536871693 (0x2000030d) = "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite"
    [Thr 1087400256] >>            Begin of Secude-SSL Errorstack            >>
    [Thr 1087400256] ERROR in ssl3_get_certificate_request: (536871693/0x2000030d) none of the PSEs registered with hSsl can suffice
    [Thr 1087400256] <<            End of Secude-SSL Errorstack
    [Thr 1087400256]   SSL_get_state() returned 0x00002150 "SSLv3 read server certificate request A"
    [Thr 1087400256]   No certificate request received from Server
    [Thr 1087400256] <<- ERROR: SapSSLSessionStart(sssl_hdl=0x1a3310c0)==SSSLERR_SSL_CONNECT
    [Thr 1087400256] ->> SapSSLErrorName(rc=-57)
    [Thr 1087400256] <<- SapSSLErrorName()==SSSLERR_SSL_CONNECT
    [Thr 1087400256] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT [icxxconn_mt
    On the iSaSiLk server we're getting:
    ssl_debug(2): Starting handshake (iSaSiLk 3.06)...
    ssl_debug(2): Received v3 client_hello handshake message.
    ssl_debug(2): Client requested SSL version 3.0, selecting version 3.0.
    ssl_debug(2): Creating new session 11:5F:04:C9:0D:32:15:B9...
    ssl_debug(2): CipherSuites supported by the client:
    ssl_debug(2): SSL_RSA_WITH_RC4_128_SHA
    ssl_debug(2): SSL_RSA_WITH_RC4_128_MD5
    ssl_debug(2): SSL_RSA_WITH_3DES_EDE_CBC_SHA
    ssl_debug(2): SSL_RSA_WITH_DES_CBC_SHA
    ssl_debug(2): SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
    ssl_debug(2): SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
    ssl_debug(2): SSL_RSA_EXPORT_WITH_RC4_40_MD5
    ssl_debug(2): CompressionMethods supported by the client:
    ssl_debug(2): NULL
    ssl_debug(2): Sending server_hello handshake message.
    ssl_debug(2): Selecting CipherSuite: SSL_RSA_WITH_RC4_128_SHA
    ssl_debug(2): Selecting CompressionMethod: NULL
    ssl_debug(2): Sending certificate handshake message with server certificate...
    ssl_debug(2): Sending certificate_request handshake message...
    ssl_debug(2): Sending server_hello_done handshake message...
    ssl_debug(2): IOException while handshaking: Connection closed by remote host.
    ssl_debug(2): Sending alert: Alert Fatal: handshake failure
    ssl_debug(2): Shutting down SSL layer...
    ssl_debug(2): Closing transport...
    From the iSaSiLk everything seems to be OK, but on the SAP WebAS the error "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite" is really unclear, since the cipher chosen by the iSaSiLk is one of the ciphers sent by SAP WebAS...
    Can anyone give me any suggestion?

    Hello Olivier,
    Thanks for your answer.
    I've implemented note 800240 which facilitates the PSE analysis by implementing the report ZSSF_TEST_PSE. With this report I'm able to check all the PSE content, which are:
    Filename            SAPSSLSPHTID.pse
    PIN                 <no>
    Signature           X
    Encryption          X
    Profile Parameter
    DIR_INSTANCE                   /usr/sap/XID/DVEBMGS00                       /usr/sap/XID/D00
    sec/dsakeylengthdefault                                                     1024
    sec/libsapsecu                 /usr/sap/XID/SYS/exe/run/libsapcrypto.so
    sec/rsakeylengthdefault                                                     1024
    ssf/name                       SAPSECULIB
    ssf/ssf_md_alg                                                              SHA1
    ssf/ssf_symencr_alg                                                         DES-CBC
    ssf/ssfapi_lib                 /usr/sap/XID/SYS/exe/run/libsapcrypto.so
    ssf2/name
    ssf2/ssf_md_alg                                                             SHA1
    ssf2/ssf_symencr_alg                                                        DES-CBC
    ssf2/ssfapi_lib
    ssf3/name
    ssf3/ssf_md_alg                                                             SHA1
    ssf3/ssf_symencr_alg                                                        DES-CBC
    ssf3/ssfapi_lib
    Environment variables
    USER                xidadm
    SECUDIR             /usr/sap/XID/DVEBMGS00/sec
    PSE
    Validity            18.12.2008 19:47:04   18.12.2009 19:47:04
    Algorithm           RSA (OID 1.2.840.113549.1.1.1)
    Test signature
    Signature OK
    Verification OK
    Test encryption
    Encryption OK
    Decryption OK
    As you can see, the cipher algorithm used is RSA. Any suggestion... ?
    An iSaSiLk server "is a Java programming language implementation of the SSLv2 (client-side), SSLv3, TLS 1.0 and TLS 1.1 protocols. It supports all defined cipher suites (except for Fortezza), including all AES and PSK cipher suites. iSaSiLk implements all standard TLS extensions, comes with an easy to use API and operates on top of the IAIK-JCE Javau2122 Cryptography Extension. iSaSiLk is highly configurable and will work with any alternative JCE implementation supported by a proper provider for supplying the required cryptographic algorithms".
    Once again thanks for your answer.

  • Upload Error message: HTTPS protocol is not supported

    Hi,
       Whenever I do a quick par upload i'm getting an 'Operation failed' message to check sap-plugin.log.
       Log says
    Upload Error message: HTTPS protocol is not supported, please ensure this server is not using HTTPS. My webdynpro applications are getting deployed without any issues.
         How to resolve this?
    Thanks
    Sumathi

    Hi Sumathi,
    As there are often problems with the Quick PAR Upload reported, I would suggest to use the "normal" PAR upload from the icon tray (you have to activate the portal icons in the icon tray). That is almost that "quick" (one or two clicks more needed, we don't talk about more than a second) and - it works (it least it should, and at least it works in most cases even if the Quick PAR Upload fails).
    Hope it helps
    Detlev

  • Sharepoint foundation 2010 externel https access problems

    I have a very strange problem with my sharepoint foundation 2010 site.
    I have a site which is accessible from outside on https (we have a valid certificate). I configured IIS for http and https.
    Also I configured internal and externel access for this site on sharepoint.
    But sometimes, the site is not accessible from outside on https with (externe.site.fr), BUT  it will be accessible with public ip !!!
    And also accessible from inside. (with interne.intranet.site.fr)
    Any Idea ?
    thanks

    Hi,
    According to your post, my understanding is that your site is not accessible from outside using external host name with https sometimes.
    As your site can be accessible with public IP, however it can’t be accessible from outside using external host name with https sometimes, the issue could be caused by the gateway server in your environment.
    I suggest that you need to check the gateway server configuration.
    For more information, you can refer to:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/12/05/how-to-set-up-microsoft-forefront-unified-access-gateway-environment-for-sharepoint-2013.aspx
    http://nhutcmos.wordpress.com/2013/07/26/configure-ssl-certificate-for-sharepoint-external-https-access/
    http://sharepointdotnetwiki.iblogger.org/2009/12/dns-setup-in-sharepoint/
    http://underthehood.ironworks.com/2010/06/making-a-sharepoint-2010-site-externally-available-alternate-access-mappings-host-header-bindings.html
    Best Regards,
    Yumi Fu

  • Delete File from URL located on HTTP Server.

    Hello All, could you anybody help me with my Problem. I need to delete some File in URL located on HTTP Server. The File was created via using of the Function 'DP_CONTROL_SEND_STREAM_TO_URL'. Any Times I need to delete this File from the url Location, but I cann't find any Functions or Method of any Class (GUI 6.20) to realise that. I read lot of very good Blogs from Thomas Jung about HTTP classes, but I cann't find somthing relevant for me...
    Sincerely Yours,
    Lubomir

    Hi,
    You can try with GUI_DELETE_FILE and give http location in FILE_NAME
    or WS_FILE_DELETE.
    I am not getting any CNDP function module for your purpose.
    Hope you will get sucess..
    Thanks,
    Chetan Shah

  • OATS - Playback is not working in OpenScript for Load Testing with Web/Http

    Hi,
    I am able to record the script in Open Script successfully, but when I try to playback the same without making any changes....its fails with error : Failed to solve variable web.input.Submit using path .//input[@name='Submit']/@value
    I have already commented the part where password will be matched in the code....thus, login/bad credentials related issues is ruled out as well.
    Please help with me some solution.
    Following is the recorded script:
    import oracle.oats.scripting.modules.basic.api.internal.*;
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.http.api.*;
    import oracle.oats.scripting.modules.http.api.HTTPService.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    public class script extends IteratingVUserScript {
        @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
        @ScriptService oracle.oats.scripting.modules.http.api.HTTPService http;
        public void initialize() throws Exception {
            http.setUserAgent("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2)");
            http.setAcceptLanguage("en-US");
         * Add code to be executed each iteration for this virtual user.
        public void run() throws Exception {
            beginStep("[1] FLEXCUBE - PRIVATE BANKING", 0);
                http.window(2, "window[@index='0']").get(
                        "http://10.180.59.185:9500/wm", null, null, true, "UTF8",
                        "UTF8");
                    http.solveXPath("web.input.Submit", "/window[@index='0']",
                            ".//input[@name='Submit']/@value", "Sign In", 0,
                            EncodeOptions.None);
                    http.solveXPath("web.input.strutstokenname",
                            "/window[@index='0']",
                            ".//input[@name='struts.token.name']/@value",
                            "struts.token", 0, EncodeOptions.None);
                    http.solveXPath("web.input.strutstoken", "/window[@index='0']",
                            ".//input[@name='struts.token']/@value",
                            "CFSZKA9Z6RSWJTW8TT35GXCNIOIGMJGA", 0,
                            EncodeOptions.None);
            endStep();
            beginStep("[2] FLEXCUBE - PRIVATE BANKING - Home", 8538);
                http.form(
                        14,
                        "window[@index='0']//form[((@id='formLogin' and @name='formLogin') or @action='http://10.180.59.185:9500/wm/j_spring_security_check;jsessionid=B8396BEC73D829538F5E55FEE125330D') and @index='0']")
                        .submit(null,
                                http.postdata(
                                        http.param("j_username", "HOHEAD1"),
                                        http.param("j_password",
                                                "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6"),
                                        http.param("Submit",
                                                "{{web.input.Submit,Sign In}}"),
                                        http.param("struts.token.name",
                                                "{{web.input.strutstokenname,struts.token}}"),
                                        http.param("struts.token",
                                                "{{web.input.strutstoken,CFSZKA9Z6RSWJTW8TT35GXCNIOIGMJGA}}")),
                                null, true, null, null, null, null, null);
            endStep();
            beginStep("[3] FLEXCUBE - PRIVATE BANKING", 9875);
                http.link(
                        28,
                        "window[@index='0']//a[@text='Logout' and (@href='http://10.180.59.185:9500/wm/logout.jsp?logoutToken=0.1189281079747162' or @index='159')]")
                        .click();
            endStep();
        public void finish() throws Exception {

    Hi,
    I think your password is encrypted. Try replace password "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with your password.
    Or Get output of obfuscate("your password") and replace "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with {{@deobfuscate( output of obfuscate("your password") )}}
    Regards,
    Deepu M

  • 'System Error' status at Message Monitoring( HTTP to FILE )

    I have created a scenario HTTP to FTP. I sent message to XI server using the HTTP Client.
    After sending the message I am getting the response at browser.
    Result:
    http-Status:  200 Message accepted
    Payload:
    But when I look in to the Message monitoring at RWB, I am getting the message status as
    System error. while going to the details i can see below error category.
    Error Category       MAPPING
    Error Code      EXCEPTION_DURING_EXECUTE
    (Is the password different for port 50000 and 8000)
    Please help me to solve this issue.
    Thanks in Advance,
    John

    This is the trace message that I got for this error
    <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:46) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:41) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:70) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:231) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:63) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy24.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</Trace>
      <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_HTTP2File_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:46)</Trace>
      <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_HTTP2File_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:46) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:72) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy24.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:46) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:41) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:70) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:231) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:63) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy24.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</Trace>

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

Maybe you are looking for

  • "Smart Quotes" not consistent with imported text

    I have a very long Pages document (400 pages). I wrote the text in an app called "Copy Write," exported the text to RTF, and pasted it into Pages for formatting and polish. In Pages, some of the quotation marks and apostrophes are "smart" (curvy), wh

  • Bridge menu no longer working

    I can no longer use the camera raw menu button or rotate buttons in CS6 bridge.   Also for many TIFF photos, I get the TiFF logo rather than the photo. These two problems began that at the same time after I shut down the PS and Bridge in the usual wa

  • [Solved] Black screen after startx, GDM causes hang at boot

    So I followed the install guide and and have tried many google workarounds for the problem but none have worked. I am running a Toshiba Satellite e500 with Intel i5 which I assume comes with HD4000 graphics. I installed the  vesa drivers along with t

  • IPhoto 6 crashes everytime when switching application

    iPhoto 6 crashes every single time when I switch to other applications like mail or iWeb via a command inside iPhoto 6 (emailing pics/ building web site, etc.) or via Finder (using application switcher or not). I did pretty much everything previously

  • BAPI required ....

    Hi all, Any bapi FMs available for Goods receipt and Goods Issue? Thanks in advance.