Generating a blank document with custom code

Is there a way I can generate a blank document with custom code in it?  I have been looking at several methods of doing this but so far I have been unsuccessful.  So any assistance here would be appreciated.  This is for an extension I am currently working on.
Many thanks

This is a public forum; please do not post your email address or other private data (by sending the forum notification with all its headers back to the forum).

Similar Messages

  • Problem in printing pdf document with java code

    Hi All
    I want to print a pdf document with java code i have used PDFRenderer.jar to compile my code.
    Code:
    File f = new File("C:/Documents and Settings/123/Desktop/1241422767.pdf");
    FileInputStream fis = new FileInputStream(f);
    FileChannel fc = fis.getChannel();
    ByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
    PDFFile pdfFile = new PDFFile(bb); // Create PDF Print Page
    PDFPrintPage pages = new PDFPrintPage(pdfFile);
    // Create Print Job
    PrinterJob pjob = PrinterJob.getPrinterJob();
    PageFormat pf = PrinterJob.getPrinterJob().defaultPage();
    pjob.setJobName(f.getName());
    Book book = new Book();
    book.append(pages, pf, pdfFile.getNumPages());
    pjob.setPageable(book);
    // System.out.println(pjob.getPrintService());
    // Send print job to default printer
    pjob.print();
    but when i am running my program i am getting error
    Exception in thread "main" java.awt.print.PrinterException: Invalid name of PrintService.
    Please anybody, knows the solution for this error?
    Thanks In Advance
    Indira

    It seems that either there is no default printer setup or you have too many printers or no printer setup at all. Try running the following code. It should print the list of available print services.
    import java.awt.print.*;
    import javax.print.*;
    public class PrintServiceNames{
         public static void main(String args[]) throws Exception {
              PrintService[] printServices = PrinterJob.lookupPrintServices();
              int i;
              for (i = 0; i < printServices.length; i++) {
                   System.out.println("P: " + printServices);
    }From the list pick one of the print service names and set it explicitly like "printerJob.setPrintService(printServices);" and then try running the program.

  • Problem with custom code in infoset query

    Hi,
    I have created a infoset. In the infoset i added a few additional fields and wrote code in the field code for those fields. I saved and generated the infoset. But in the output of the query, i am getting blank values for those additional fields. When i checked the generated program (SE38), the code is not present in the program.
    If anyone has encountered a similar problem and resolved it, please let me know where i am going wrong.
    Thanks.

    Hello,
    After adding the code for additional fields in Infoset, please syntax check and then activate the Infoset. Then the program will be regenerated with your custom code.
    Thanks,
    Venu

  • Blank page with pasted code

    Using Dreamweaver 4. I have problems when I try to paste code
    that is generated by Google AdSense in to our web site index page
    code. The published viewed page is completely blank and removing
    the code brings the page back. I had a similar problem with code
    from Stat Counter and removing the stat code brought the page back.
    If I paste the AdSense code in the wrong place it will
    publishe the code on the published page, which also happens with
    Paypal code as well. Pasting in the correct location always fixes
    the Paypal button issue, but with AdSense I can not get it to work
    and I have tried multiple places. Google says it is due to the
    "what you see is what you get " Dreamweaver software and it is
    altering the code, but it appears to be identical as the code that
    is generated by Google.
    Any ideas would be greatly appreciated.
    Thanks!
    Text

    Here is part of the page with the Google code....the page is
    too large to post it all here. I hope this will help find the
    problem for the published blank page.
    Roy
    <!DOCTYPE HTML SYSTEM><html>
    <td align="center" valign="top" height="243"
    width="279">
    <div align="center">
    <p><img src="67%20sm.jpg" width="200" height="96"
    alt="Pro Mod R67 body" usemap="#Map" border="0"></p>
    <p><font size="2"><b><font
    color="#000000"><i>RAE Pro Mod R67
    Body</i></font><font color="#0000FF"><br>
    </font></b><font color="#000000">(paint by
    Green Light Graphix)</font><b><font
    color="#0000FF"><br>
    <br>
    <br>
    </font></b></font></p>
    <p><font size="2"
    color="#0000FF"><b><br>
    </b></font></p>
    <p><font color="#FF0000"><font size="2"
    color="#000000">Pro Mod body with
    molded hood scoop and extra fine details. Body has narrow
    front at 5.50
    inches and is 7.40 at rear wheels. 19.25 inches long and
    pulled in .030
    Lexan. </font><font color="#000000"
    size="2">Also includes clear covering<b>.<br>
    <font color="#0000FF"><a
    href="Bodies%20page.htm">Part # 603
    $30.00</a></font></b></font></font></p>
    </div>
    </td>
    <td align="center" valign="top" width="279">
    <div align="center"><img
    src="sixmagnet%20motorsm.jpg" width="188" height="208"
    usemap="#Map3" border="0" alt="6 mag motor"><br>
    <p align="center"><font face="Times New Roman,
    Times, serif" color="#000000" size="2"><b><i>6
    Magnet NEO Machined Can Motors:</i>
    </b></font><font face="Times New Roman, Times,
    serif" size="2" color="#000000">The
    installed six neodymium magnets in a <b>NEW
    </b>machnined low carbon
    steel can create a substantial increase in torque resulting
    in a very
    powerful motor.<br>
    <font color="#0000FF"><b><a
    href="Motor%20Battery.htm">Part # 520
    $239.00</a></b></font></font></p>
    </div>
    </td>
    </tr>
    <tr>
    <td align="center" valign="top" height="293"
    width="279">
    <div align="center">
    <p><img src="Monstang%20truck%20sm.jpg" width="200"
    height="147" alt="RAE Pro Body R05" usemap="#Map2"
    border="0"><br>
    <font color="#000000" size="2"><b><i>RAE
    Pro Body R05</i></b></font></p>
    <p><font size="2"><font color="#000000"
    face="Geneva, Arial, Helvetica, san-serif"><i>Lately
    our bodies have been considered for Monster Truck
    applications. </i></font><font
    color="#000000">This
    is our Pro Body R05 mounted on a Clodbuster / Thunder Tech
    chassis.</font></font>
    <br>
    <font color="#0000FF" size="2"><b><a
    href="Monster%20Trucks.htm">Part
    # 600 $30.00</a></b></font></p>
    </div>
    </td>
    <td align="center" valign="top" height="293"
    width="279">
    <p><img src="34%20Roadster%20sm.jpg" width="190"
    height="74" alt="RAE Super Comp R34 body" usemap="#Map4"
    border="0"><br>
    <b><font color="#0000FF" size="2"><br>
    <font color="#000000"><i>RAE Super Comp R34
    Body</i></font><br>
    </font></b><font size="2"
    color="#000000">(paint by Green Light
    Graphix)</font><b><font color="#0000FF"
    size="2"><br>
    <br>
    </font></b></p>
    <p><b><font color="#0000FF"
    size="2"><br>
    <br>
    </font></b><font color="#FF0000"><font
    size="2" color="#000000">Pro Comp
    body with molded hood scoop and extra fine details. Body has
    narrow front
    at 5.40 inches and is 6.90 at rear wheels. 17.25 inches long
    and pulled
    in .030 Lexan. </font><font color="#000000"
    size="2">Also includes clear
    covering, separate rear wing.<br>
    <a href="Bodies%20page.htm"><br>
    <font color="#0000FF"><b>Part #
    602</b></font></a></font></font><a
    href="Bodies%20page.htm"><font color="#0000FF"
    size="2"><b>
    $30.00 </b></font></a></p>
    </td>
    </tr>
    </table>
    <br>
    <table width="850" border="1">
    <tr>
    <td align="left" valign="top" height="74"
    bgcolor="#CCCCCC">
    <div align="center"><font size="3"
    color="#000000"><b>W</b></font><font
    color="#000000" size="3"><b>e
    started Grand Motorsports in 1993 as a business to help
    radio controlled
    car enthusiasts get more enjoyment out of their radio
    controlled cars
    by designing unique products and providing great service.
    Now we have
    transfered all those years of experience and knowledge into
    <i>R.A.E.</i>
    At <i>R.A.E</i> we will concentrate on electric
    motor development for
    the radio control car industry, producing our own line of
    radio control
    drag car bodies and truck bodies, as well as doing advanced
    design and
    engineering work in other areas of the hobby. Feel free to
    contact us
    if you would like us to help you with your radio control
    project. <br>
    Thank you for your interest in our products and we hope you
    continue to
    enjoy the radio controlled car
    hobby</b></font><b><font size="3"
    color="#000000">!</font></b></div>
    </td>
    </tr>
    </table>
    <p align="center"> </p><script
    type="text/javascript"><!--
    google_ad_client = "pub-5364387402318604";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    //2007-05-03: RAE channel number one
    google_ad_channel = "0891715024";
    //-->
    </script>
    <script type="text/javascript"
    src="
    http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <p align="center">
    <map name="Map">
    <area shape="rect" coords="14,7,187,95"
    href="Bodies%20page.htm" target="_self" alt="PM R67" title="PM
    R67">
    </map>
    <map name="Map2">
    <area shape="rect" coords="14,12,186,134"
    href="Monster%20Trucks.htm" target="_self" alt="PB R05" title="PB
    R05">
    </map>
    <map name="Map4">
    <area shape="rect" coords="8,5,183,68"
    href="Bodies%20page.htm" target="_self" alt="SC R34" title="SC
    R34">
    </map>
    <map name="Map3">
    <area shape="rect" coords="12,15,181,200"
    href="Motor%20Battery.htm" target="_self" alt="6 magnet motor"
    title="6 magnet motor">
    </map>
    </p>
    </body>
    </html>

  • Excise duty document with error code-15- table /BEV2/EDMSE after posting.

    Hi Experts,
    is created in STO process
    Hi,
    We are facing the problem in stock transport from plant to plant regarding Excise duty document which can be seen in table /BEV2/EDMSE after posting.
    Steps involved in process
    1) Creation of PO(STO) ME21N-
    2) Creation of outbound delivery and post goods issue- VL10B
    3) Posting of GRN goods receipt - MIGO
    4) Creatin of excise invoice  path is - User menu---> Logistics --->Materials Management --->Excise Duty --->Tools ---> Limted document selection (/BEV2/EDT7)
    We are facing problem in creation of excise document , Error is coming while posting and document not getting posted.
    Error is -
    1 document items processed:  1 tax-relevant,  1 of them rejected
    Message no. /BEV2/EDMESS1017
    Diagnosis
    1 material documents were processed.
    1 of them were identified as being tax-relevant. They were updated. This involves  1 items that were rejected.
    Procedure
    Check and edit the rejected document items by means of the function Rejected documents.
    If we check the Rejected documents you will find the error as -
    Error            15    GI posting not yet processed/has been rejected
    If we check the sucessful posted document with problem document in table /BEV2/EDMSE you will find  the stock ledger number field is blank, may be because of this  the tax value is not getting calculated.
    Please guide to solve the problem.
    regards,

    closed

  • Opening documents with custom layer structure, especially default layer unlocked...

    Hi, is it possible to open documents such as jpg screenshots which are apparently a locked layer by default, as instead an unlocked layer?
    Would it even be possible/easy to have a method of opening such documents with the following layers:
    1 original image (unlocked)
    2 blank transparent layer
    3 white locked background
    4 group folder called 'archive' with a copy of the original image, with the group set to invisible
    Could a droplet be made to open documents with such a "precreated" layer set-up?
    For example, I would like to take a screenshot or scan, drag it onto a droplet, and have it open with the layer structure outlined above.
    Thank you thank you thank you...

    "The image is NOT locked."
    Shesh whatever you call it the image the background the initial layer "the so called layer" I would just like to change its default opening to UNLOCKED so at minimum, as I have said four times now, it can be placed in a folder called "Archive" without having to f'ing unlock it...scripting additional opening actions in addition to that at this point must be beyond your imagination
    "Have you tried working on the so called locked layer?"
    HAVE YOU READ THE ORIGINAL QUESTION????
    Working on the background layer is not my primary concern, organizing layers automatically at the start of a workflow is...but nevertheless...erasing part of the background in order to reveal imported images or drawings created beneath it on new layers requires the background be unlocked (so erased sections are transparent rather than black), changing layer order requires unlocking, moving the background on a resized canvas requires unlocking....and of course placing it within a folder requires unlocking -- what the hell is the advantage of it being default locked?? why isn't this optional?
    I can't imagine people working on complex images with multiple folders and forty plus layers in various folders and such -- nevertheless consistently want to leave the background layer just sitting there hanging out in its default locked state. I'm ALWAYS unlocking the damn layer...if only, for the FIFTH TIME, for organizational purposes (to change its layer order and place it within a folder).
    SHESH!
    "Methinks..." Oh please...next time read the question.

  • How to get value in previous column and another row from Matrix with Custom Code?

    I want to calculate the value of tb_Open and tb_Close. I try to use custom code for calculate them. tb_close is correct but tb_Open is not correct that show value = 0 .
    This is example report:
    * I have 2 Dataset , Dataset1 is all data for show in my report. Dataset2 is only first Open for first month
    * First value of Open is item field in Dataset2 and this value only for first month (january). But for other month Open value get from Close in previous month.
    Detail for Red number:
    1. tb_Open -> tb_Close in previous month but first month from item field in Dataset2
    expression =FormatNumber(Code.GetOpening(Fields!month.Value,First(Fields!open.Value, "Dataset2")))
    2. tb_TOTAL1 group on item_part = 1
    expression =FormatNumber(Sum(CDbl(Fields!budget.Value)))
    3. tb_TOTAL2 group on item_part = 3 or item_part = 4
    expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) + ReportItems!tb_TOTAL1.Value )
    4. tb_TOTAL3 group on item_part = 2
    expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) - ReportItems!tb_TOTAL2 .Value)
    5. tb_Close -> calculate from tb_TOTAL3 - tb_Open
    expression =FormatNumber(Code.GetClosing(ReportItems!tb_TOTAL3.Value,ReportItems!tb_Open.Value))
    My custom code:
    Dim Shared prev_close As Double
    Dim Shared now_close As Double
    Dim Shared now_open As Double
    Public Function GetClosing(TOTAL3 as Double,NowOpening as Double)
        now_close = TOTAL3 + NowOpening
        prev_close = now_close
        Return now_close
    End Function
    Public Function GetOpening(Month as String,NowOpen as Double)
        If Month = "1" Then
            now_open = NowOpen
        Else    
            now_open = prev_close
        End If
        Return now_open
    End Function
    Thanks alot for your help!
    Regards
    Panda A

    Looks okay to me.
    Perhaps the variables should be declared as public (?)

  • Enhance ZMMJ or Normal Change Document with Custom User

    Hi there,
    I am wondering if it is possible to add a specific field into a change document.
    We have a requirement whereby 2 different testers need to be added to a change. The first tester will perform testing of Development in DEV (as per our custom workflow) and then the second tester will perform the normal testing in QA.
    Now these two testers might not necessarily be the same person or have the same authorization.
    So, my question is that when you are assigning team members to the change (Developer, Tester, Change Manager, IT Operator), is there an option to add another user field here, such as Dev Tester?
    Thank you.

    Hi Bradley,
    SAP Note 1728284 has a PDF Attachment with a detailed description what needs to be done. Please follow this description to adapt your configuration.
    Thanks
    Vikram

  • Help with custom code in ZTIGather.wsf

    To pick up WMI "version" info to deal with Lenovo computer models I found this code and integrated it by adding these lines to ZTIGather.wsf:
    ABout line 542:
    oEnvironment.Item("LenovoModel") = sLenovoModel
    About line 383
            ' Get the Lenovo Model Version from the Win32_ComputerSystemProduct class
            ' Siva Mulpuru | 10:30 PM Monday, February 14, 2011        
            Set objResults = objWMI.ExecQuery("select * from Win32_ComputerSystemProduct")
            For Each objInstance In objResults
                sLenovoModel = objInstance.Version
            Next
            if sLenovoModel = "" then
                oLogging.CreateEntry "Unable to determine LenovoModel tag via WMI.", LogTypeInfo
            End if
    The code works as intended, and appears to present no problems when imaging from a USB stick, however, when running a standalone image media or trying to launch the wizard from LiteTouch.wsf, the wizard starts and hangs on the initialization step.
    If I remove the additional code from ZTIgather.wsf the issue disappears. Looking at the code, does anyone have any ideas?
    sd

    To pick up WMI "version" info to deal with Lenovo computer models I found this code and integrated it by adding these lines to ZTIGather.wsf:
    ABout line 542:
    oEnvironment.Item("LenovoModel") = sLenovoModel
    About line 383
            ' Get the Lenovo Model Version from the Win32_ComputerSystemProduct class
            ' Siva Mulpuru | 10:30 PM Monday, February 14, 2011        
            Set objResults = objWMI.ExecQuery("select * from Win32_ComputerSystemProduct")
            For Each objInstance In objResults
                sLenovoModel = objInstance.Version
            Next
            if sLenovoModel = "" then
                oLogging.CreateEntry "Unable to determine LenovoModel tag via WMI.", LogTypeInfo
            End if
    The code works as intended, and appears to present no problems when imaging from a USB stick, however, when running a standalone image media or trying to launch the wizard from LiteTouch.wsf, the wizard starts and hangs on the initialization step.
    If I remove the additional code from ZTIgather.wsf the issue disappears. Looking at the code, does anyone have any ideas?
    sd
    Editing post...
    So at first I was just using the downloaded copy from the site where I got the code and realized that the ZTIGather.wsf versions were different.
    Just editing the correct version of the file gets passed the above, but then it hangs on "Getting local computer information: Asset Information" I know its choking on the code somehow as the WMI function referenced in my original message comes right after
    getting the asset info.

  • Generating Excel/Word Document with PHP/MySQL

    Hi all,
    I would like to know the best way I could create a Excel/WORD
    document that can take the name, address, from my mailing list
    table and use mail merge to print envelopes?
    Any ideas? Or is there any software than can help me?
    Thank you in advance

    Luis Godinho Ramos wrote:
    > SELECT *
    > FROM produtos
    > WHERE prod_modelo LIKE %colname% AND prod_funcao LIKE
    %colname% AND
    > prod_descricao LIKE % colname% AND prod_tags LIKE
    %colname%
    > ORDER BY prod_modelo ASC
    The second example you give is closer, but you need to
    enclose the query
    fields in quotes and use OR rather than AND...
    SELECT * FROM produtos WHERE prod_modelo LIKE '%colname%' OR
    prod_funcao
    LIKE '%colname%' OR prod_descricao LIKE '%colname%' OR
    prod_tags LIKE
    '%colname%' ORDER BY prod_modelo ASC
    HTH,
    Pete.
    Peter Connolly
    http://www.kpdirection.com
    Utah

  • Enhancing evaluation path with custom code

    Hi,
    like described in another discussion I have the following task to solve:
    I was setting up an org structure with companyname (O)- spain (O) - valencia (O) - engineer (S)-James(P), created a work center and assigned the organisational element on the level of valencia to it in hrms.
    I found the evaluation path P-S-O fits for my needs to see that (starting with) james is an engineer in valencia and I will try to get also the work center in the way it is described here: Evaluation path with P-S-O + work center
    Evaluation pathes seem to be pretty cool to use and efficient. I am wondering now how far the evaluation pathes can be extended. In the described process there are also WBS elements involved. They are linked to the work center with the help of the partner schema in the wbs element. The quesion is if it is possible to make a own evaluation path element (or to choose the wbs datatype) and have a user exit to get the wbs elements that are connected as partners to the work center also in the path? How can I find out how to solve this and if there are any user exits (or other mechanism) that give me the flexibility to take the evaluation path beyond the standards I can do without development.
    Greetings, Vanessa

    Hi Omid,
    I would like to have all necessary values in one evaluation report for development. In this way I don't need to go over several tables in the abap development ... instead I am able to use the evaluation path in several ways. One of these things is to include the WBS elements.
    Greetings, Vanessa

  • Custom code dll as a data source for an SSRS report

    I'm trying to create a report which relies on using some custom code written in VB.net. I am using the custom code to access the Server Management Objects SMO API in MSSQL 2012. I am able to supply an MSSQL object name (a database table
    for example)and then return a list of dependant objects using the dependency walker class (stored procedures, triggers, UDF's, other tables etc.) which rely on the parent object if you will. I am able load the results into a dataset in the custom code. My
    question is how can I get that dataset to be consumed as a data source and appear in my report. I've read many articles on how to use scripts to supply values for various report property settings. I just haven't seen an example of using a dll
    to supply a dataset. I am assuming it is possible. Any thoughts or advice would be appreciated. Cheers     

    Hi mdmck,
    According to your description, you want to create an SSRS report with custom code as data source, right?
     To use custom code in Reporting Services, we need to add a reference to your custom assembly, create a new CodeGroup for your custom assembly, and then grant full trust permissions. For detail information, please refer to the following steps:
    Open the report that will reference the custom assembly.
    On the Report menu, click Report Properties.
    In the Report Properties dialog box, click the References tab.
    Under References, click the ellipsis (...) button that is next to the Assembly name column header.
    In the Add References dialog box, click Browse.
    Locate and then click the custom assembly. Click Open.
    In the Add References dialog box, click OK.
    In the Report Properties dialog box, click OK.
    If the custom assembly requires more permissions than the default Execution level permissions, we need to create a new CodeGroup for your custom assembly, and then grant full trust permissions.
    Here are relevant threads you can reference:
    https://social.technet.microsoft.com/Forums/en-US/c297bddc-c33c-4386-b284-41c1d87f37c6/custom-dlls-in-ssrs-reports?forum=sqlreportingservices
    https://social.technet.microsoft.com/Forums/en-US/27de3f46-5174-480d-b4d1-5e32772dae35/ssrs-2005-custom-code-shared-data-source-connection-string?forum=sqlreportingservices
    For more information about How to use custom assemblies or embedded code in Reporting Services, please refer to the following document:
    https://support.microsoft.com/kb/920769?
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • How do I generate a Word document and a PDF from Help files?

    Hi,
    I am new to RoboHelp HTML, and am using version 8.  I updated some Help files, and now I want to generate output.  Here are my questions/ or the process I used:
    To compile the help, I clicked Generate Primary Layout.  Is this correct?  I noticed that the date stamp on the xpj file has not changed.  The date is still from many months ago.  (Why is that?  Should it show a recent update date?)  However, the files that I updated do reflect the dates when I made the updates.  These include art files, an hhp, and htm, js, ldb, pss, cpd files.
    To generate a pdf, I clicked Generate PDF.  I was not able to generate the PDF at first, but then, I enabled macros in Word 2007 (Trust Center Settings > Enable all macros...and clicked the checkbox, Trust access to the VBA project object model), and clicked Generate PDF.  At the end of the generation, I got this error in Word: Microsoft Office Word has encountered a problem and needs to close.  We are sorry for the inconvenience.  The info you were working on might be lost.  Word can try to recover it for you.  I closed the dialog and Word generated several blank documents.  Microsoft Office Diagnostics was run and found one problem and corrected it.  Despite the error message, a pdf was generated.  (If you could give me any insight on why I got the error messages, that could be helpful to know).
    How do I generate a Word document?
    Thank you!
    Erin

    Welcome to our community
    Note that RoboHelp is capable of creating a variety of layouts. WebHelp, FlashHelp, AIR Help, Microsoft HTML Help, JavaHelp, Oracle Help, ePub and more.
    Any of these layouts may be nominated as the Primary layout. So when you generate the Primary layout, you get whatever has been configured as the Primary layout.
    Only certain actions will result in a change to the .XPJ file. The actions are indicative of major changes to the project. So I wouldn't fret the fact that the date time stamp wasn't updated.
    Indeed the Printed Documentation Single Source Layout recipe is what you use to create PDF. Generally what happens is that RoboHelp creates a Microsoft Word document as an intermediate file type, then creates the PDF from that. As you might imagine, there are a host of things that can go wrong during the process. I might suggest that you first get a Word document to generate cleanly. Then once you do that, focus on PDF. I know that I typically gen a Word document and stop there. I just open Word and use Word to create the PDF.
    If you look at the properties for the Printed Documentation Single Source Layout recipe (View > Pods > Single Source Layouts then right-click the Printed Documentation layout and choose Properties) you will see that PDF, Word or both are options at the top of the dialog.
    Hopefully that gives you a nudge in the right direction.
    My fellow Adobe Community Expert Peter Grainge has excellent info on Printed Documentation on his site at Grainge.org. Click the link below for that.
    Click here to visit Peter's site
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Getting error while generating Business Blueprint Document for Project

    Hello Experts,
    I hv created a project in Solution manager 3.2 through solar_project_admin . Now iam in the phase of defining its Business Blueprint . I hv completed the steps, at the end when iam generating Business Blueprint document ,following error is being displayed:
    <b>Blueprint document cannot be created. Check the selection
    Message no. SOLAR110
    Diagnosis
    A Business Blueprint document created for the selected selection options would contain no structure elements. It would be empty, so it is not created.
    Procedure
    Choose less restrictive selection options, especially the option
    "Print Structure Elements: Complete Selection" in the "Options" tab.</b>
    I hv checked this error and the option displayed above in the error message but no such option is being displayed anywhere,can anyone plz help me out with how to resolve this problem?
    Requested to revert at earliest as iam stuck with this since many days,My email id is <b>[email protected]</b> .
    Regards,
    Saumya

    Hello Horst ,
    Thanks for ur reply.I hv now again tried to Generate Blueprint Document with unselecting option Only with Documents but in the structure selection when i tick on all the options given in tat structure then regenerate Business blueprint Document ,following error message is displayed:
    <b>Error 130: Business Blueprint cannot be generated
    Message no. AI_SOLAR08130</b>
    For this error no long text/ explaination exists .But when i try to generate Business Blueprint Document with unselecting option Only with Documents but in the structure selection unticking on all the options given in tat structure then following error message is displayed:
    <b>Blueprint document cannot be created. Check the selection
    Message no. SOLAR110
    Diagnosis
    A Business Blueprint document created for the selected selection options would contain no structure elements. It would be empty, so it is not created.
    Procedure
    Choose less restrictive selection options, especially the option
    "Print Structure Elements: Complete Selection" in the "Options" tab.</b>
    Plz revert back, wt shld i do now?
    Regards,
    Saumya

  • Invoke a business service base in a WSDL with customer WS-Security Policy

    Customer write a Web service (Refer to the attachment file “HTTPS_PartyServicePortType.WSDL”)which declare a WS-Security Policy and apply this it to WS binding ,How can I generate a business service base in this WSDL and invoke it successfully?
    When create a business service in OSB, we get a error with below messages
    [[OSB Kernel:398133]The service is based on WSDL with Web Services Security Policies that are not natively supported by Oracle Service Bus. Please select OWSM Policies - From OWSM Policy Store option and attach equivalent OWSM security policy. For the Business Service, either you can add the necessary client policies manually by clicking Add button or you can let Oracle Service Bus automatically pick and add compatible client policies by clicking Add Compatible button.
    After enhanced the OSB domain with OWSM extension, we found the OOTB OWSM defined cannot support the HttpsToken and OSB cannot support below WS-Policy defined in OWSM, refer to http://docs.oracle.com/cd/E21764_01/doc.1111/e15866/owsm.htm#OSBDV1681
    51.2.8.1 Unsupported Assertion
    •     binding-permission-authorization
    •     http-security
    •     OptimizedMimeSerialization (MTOM)
    •     RMAssertion (Reliable Messaging)
    •     sca-component-authorization
    •     sca-component-permission-authorization
    •     UsingAddressing
    •     wss-saml-token-bearer-over-ssl (Authentication)
    it means that we cannot generate a web service with customer WS-security Policy
    The WS-Security Policy is shown as below:
    <wsp:Policy wsu:Id="WSHttpBinding_IPartyServicePortType_policy">
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    <wsp:Policy>
    <sp:TransportToken>
    <wsp:Policy>
    <sp:HttpsToken RequireClientCertificate="false"/>
    </wsp:Policy>
    </sp:TransportToken>
    <sp:AlgorithmSuite>
    <wsp:Policy><sp:Basic256/></wsp:Policy>
    </sp:AlgorithmSuite>
    <sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout>
    </wsp:Policy>
    </sp:TransportBinding>
    <wsaw:UsingAddressing/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    BestRegards!
    Simon

    Hi
    According to
    http://e-docs.bea.com/wls/docs90/webserv/annotations.html#1050414
    If you are going to publish the policy file in the Web Service archive, the policy XML file must be located in either the META-INF/policies or WEB-INF/policies directory of the EJB JAR file (for EJB implemented Web Services) or WAR file (for Java class implemented Web Services), respectively.
    Can you make sure the policy file is in there?
    Also there is a sample from the developer at http://dev2dev.bea.com/blog/jlee/archive/2005/09/how_to_use_anno.html
    Vimala-

Maybe you are looking for