Summit_rewritten_11g_oct_2008.zip : using 11.1.1.0.0 or 11.1.1.0.1

hi
Please consider the application in summit_rewritten_11g_oct_2008.zip, described in redeveloping_forms_in_adf_11g.pdf,
titled "Case Study: Redeveloping an Oracle Forms application using Oracle JDeveloper 11g and Oracle ADF 11g"
see http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/summit_rewritten_11g_oct_2008.zip
and http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/redeveloping_forms_in_adf_11g.pdf
After unzipping the file summit_rewritten_11g_oct_2008.zip and opening "Summit_8_Oct_2008_0936.jws" in JDeveloper 11.1.1.0.0, no files are changed.
If I unzip summit_rewritten_11g_oct_2008.zip and open "Summit_8_Oct_2008_0936.jws" in JDeveloper 11.1.1.0.1, a typical "migration" happens that updates the "jws" and "jpr" files to the new file format.
(1) The "Message - Log" also showed this:
****XMLEF MIGRATION FRAMEWORK****
Following files were successfully migrated by the migrator: ADF Faces LOV Migrator
<path>\ViewController\public_html\ordersPage.jspxAnd the file was changed from
<!-- ... -->
            <af:inputListOfValues id="salesRepIdId"
                                        popupTitle="Search and Select: #{bindings.SalesRepId.hints.label}"
                                        value="#{bindings.SalesRepId.inputValue}"
                                        label="#{bindings.SalesRepId.hints.label}"
                                        model="#{bindings.SalesRepId.listOfValuesModel}"
                                        required="#{bindings.SalesRepId.hints.mandatory}"
                                        columns="#{bindings.SalesRepId.hints.displayWidth}"
                                        shortDesc="#{bindings.SalesRepId.hints.tooltip}">
                    <f:validator binding="#{bindings.SalesRepId.validator}"/>
                    <af:convertNumber groupingUsed="false"
                                      pattern="#{bindings.SalesRepId.format}"/>
                  </af:inputListOfValues>
<!-- ... -->to this, note the "hints.hints" in some EL expressions
<!-- ... -->
                  <af:inputListOfValues id="salesRepIdId"
                                        popupTitle="Search and Select: #{bindings.SalesRepId.hints.label}"
                                        value="#{bindings.SalesRepId.inputValue}"
                                        label="#{bindings.SalesRepId.hints.hints.label}"
                                        model="#{bindings.SalesRepId.listOfValuesModel}"
                                        required="#{bindings.SalesRepId.hints.hints.mandatory}"
                                        columns="#{bindings.SalesRepId.hints.hints.displayWidth}"
                                        shortDesc="#{bindings.SalesRepId.hints.tooltip}">
                    <f:validator binding="#{bindings.SalesRepId.validator}"/>
                    <af:convertNumber groupingUsed="false"
                                      pattern="#{bindings.SalesRepId.format}"/>
                  </af:inputListOfValues>
<!-- ... -->
note : When I run this in JDeveloper 11.1.1.0.1 the label for this LOV does not appear on the page, while it does using JDeveloper 11.1.1.0.0 .
(2) Also the weblogic-application.xml file changed from
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
  <library-ref>
    <library-name>adf.oracle.domain</library-name>
  </library-ref>
</weblogic-application>to
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
  <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
  </listener>
  <library-ref>
    <library-name>adf.oracle.domain</library-name>
  </library-ref>
</weblogic-application>Why are the changes in (1) and (2) needed?
many thanks
Jan Vervecken

Thanks for your reply Frank.
(1) Maybe you can comment on what the "XMLEF MIGRATION FRAMEWORK" really is?
... to be honest I don't even see where the LOV entries differ ;-) . In my initial post I pointed out where to look:
... note the "hints.hints" in some EL expressions(2) SDO as in "Service Data Objects" (see also "Service Component Architecture and Service Data Objects")?
regards
Jan

Similar Messages

  • Summit_rewritten_11g_oct_2008.zip : backingBeanClass.java

    hi
    Please consider the application in summit_rewritten_11g_oct_2008.zip, described in redeveloping_forms_in_adf_11g.pdf,
    titled "Case Study: Redeveloping an Oracle Forms application using Oracle JDeveloper 11g and Oracle ADF 11g"
    see http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/summit_rewritten_11g_oct_2008.zip
    and http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/redeveloping_forms_in_adf_11g.pdf
    Its backingBeanClass.java file has this code:
    public class backingBeanClass {
        public backingBeanClass() {
        public String imageButtonPressed() {
            // Add event code here...
            if (getIMAGE_MODE() == "On")
                setIMAGE_MODE("Off");
            else
                setIMAGE_MODE("On");
            System.out.println("The value if IMAGE_MODE is " + getIMAGE_MODE());
            return null;
        private String IMAGE_MODE = "On";
        public void setIMAGE_MODE(String IMAGE_MODE) {
            this.IMAGE_MODE = IMAGE_MODE;
        public String getIMAGE_MODE() {
            return IMAGE_MODE;
    }I would like to point out a few things about naming and comparing, so please consider the same class written like this:
    public class BackingBeanClass {
        private String fImageMode = "On";
        public String imageButtonPressed() {
            if ("On".equals(getImageMode()))
                setImageMode("Off");
            else
                setImageMode("On");
            System.out.println("The value of getImageMode() is " + getImageMode());
            return null;
        public void setImageMode(String pImageMode) {
            fImageMode = pImageMode;
        public String getImageMode() {
            return fImageMode;
    }(1) Typical Java naming conventions use camel case for Class names, starting with an upper case letter. Also all upper case is typically only used for constants. This would also make an expression as "#{sessionScope.ordersManagedBean.IMAGE_MODE == "Off"}" in ordersPage.jspx less confusing about whether a class field member of a class accessor method will be used here. Other changes that could be made are introducing constants (static final) for "On" and "Off".
    note : Using "Refactor" - "Rename..." on "IMAGE_MODE" (and its accessor methods when asked by JDeveloper) does not seem to make the required changes in ordersPage.jspx (see below) and adfc-config.xml (a managed-property).
    (2) An expression like " getIMAGE_MODE() == "On" " does not properly compare String objects, the equals() method should be used. In this example it makes the "image_button" behave properly from the first click.
    Together with the above change, if the intention of this application is to "disclose (e.i. view) the image when the image-mode is On", then these changes should be made in the ordersPage.jspx page.
                  <af:panelBox text="Image" inlineStyle="padding:2mm;"
                               disclosed='#{sessionScope.ordersManagedBean.IMAGE_MODE == "Off"}'
                               partialTriggers="image_button">
                  <!-- ... -->
                  </af:panelBox>changed to this
                  <af:panelBox text="Image" inlineStyle="padding:2mm;"
                               disclosed='#{sessionScope.ordersManagedBean.imageMode == "On"}'
                               partialTriggers="image_button">
                  <!-- ... -->
                  </af:panelBox>and
                  <af:commandToolbarButton text="Image #{ ordersManagedBean.IMAGE_MODE}"
                                           action="#{ordersManagedBean.imageButtonPressed}"
                                           id="image_button"/>changed to this, note the partialTriggers property
                  <af:commandToolbarButton text="Image #{ ordersManagedBean.imageMode}"
                                           action="#{ordersManagedBean.imageButtonPressed}"
                                           id="image_button"
                                           partialTriggers="image_button"/>or maybe even to this, to be more explicit about what the button should do (and to behave as shown in summit11g-image-shown.png and summit11g-image-hidden.png)
                  <af:commandToolbarButton text='#{ordersManagedBean.imageMode == "On" ? "Hide" : "Show"} Image'
                                           action="#{ordersManagedBean.imageButtonPressed}"
                                           id="image_button"
                                           partialTriggers="image_button"/>I tried all this using JDeveloper 11.1.1.0.1 .
    regards
    Jan Vervecken

    Of course, in the meantime if you want to do any tidy up of the code I'm happy to take your changes and add into the zip file. Also happy to take any other suggested changes to the application since it seems to be that you've spent some time reviewing it.
    Feel free to contact me off line (firstname dot lastname at oracle dot com) if you want to follow up on this.
    Regards
    Grant

  • Extracting compressed file (zip) using PL/SQL

    Hi!
    Can anyone help me on how to extract data out of a compressed file(ZIP) using pl sql.
    Regards,
    dhekz

    user8707902 wrote:
    Can anyone help me on how to extract data out of a compressed file(ZIP) using pl sql.Bear in mind that the Lempel-Zif-Welch (LZW) compression used in zip files may still have patent issue relating to Unisys (not sure of the patent has expired now or what, it's always been somewhat confusing). So, if you already have software written to zip/unzip files you should use that as it should be licenced already. If you write your own LZW compression/decompression routine for use in any commercial software you may be required to register and submit royalties to Unisys for the privilege. As I say, I don't know the latest, so you may be ok, but it's something to be aware of and check out if you intend to write your own and it's for commercial reasons.

  • Where can I find oracledi-demo-2032252.zip used in the ODI 12c Getting Started Guide?

    Where can I find oracledi-demo-2032252.zip used in the ODI 12c Getting Started Guide?
    Bye,
    Rumburak

    http://www.oracle.com/technetwork/middleware/data-integrator/overview/oracledi-demo-2032252.zip

  • How to create executable(.exe) file to extract a .zip using winzip self extractor

    Hi i wanted to create an .exe file extract the content from .zip using winzip extractor,  please
    see the below piece of code. the same is working in 32bit machine, but not working in 64bit machine windows server 2008
      private bool CreateExeFile(string directoryPath, string zipFileName)
                bool status = false;
                string emuPath = String.Empty;
                emuPath = System.Configuration.ConfigurationManager.AppSettings["winzipSe32Loacation"];
                //string emuParams = @" -e " + directoryPath + "\\" + zipFileName + ".zip " + directoryPath;
              string emuParams = " " + directoryPath + zipFileName + ".zip -win32 -y "; 
                //string emuParams = " " + directoryPath + zipFileName + ".exe a " +zipFileName +".Exe -mmt -mx5 -sfx" + directoryPath;
                try
                    Process p = new Process();
                    ProcessStartInfo psI = new ProcessStartInfo(emuPath, emuParams);
                    psI.CreateNoWindow = false;
                    psI.UseShellExecute = true;
                    p.StartInfo = psI;
                    p.Start();
                    p.WaitForExit()
                    status = true;
                catch
                    status = false;
                return status;
    Regards
    Bharath

    Hello,
      What error with you program?
     if the reply help you mark it as your answer.
     Free No OLE C#
    Word,  PDF, Excel, PowerPoint Component(Create,
    Modify, Convert & Print) 

  • How to find zip -using os x 10.6.8

    How do I find info-zip to unzip a downloaded file from the internet (not encrypted)? I am brand new to Mac.  Thanks

    Your welcome and enjoy your iMac. Because you are so new to OS X I'd strongly recommend bookmarking and using:
    Switch 101, Mac 101, Find Out How Video tutorials & List of Useful URLs for switchers.

  • CWBufferedAO.zip uses 100% of CPU

    This sample program is modified as follows,
    CWAO1.UpdateClock.Frequency = 1024
    CWAO1.NUpdates = 1024
    CWAO1.ProgressInterval = 256
    When PCI-MIO-XE16-10 is used and NUpdates is the same value as Frquency, this program uses 100% of CPU and "STOP" button does not work.
    Our program was developed for DAQCard-6036E and was intended to use it on PCI-MIO-16XE-10. Because of programming requirement, the stopping process should be taken within 1 second after STOP button is clicked.
    Is there any reason why this sample program uses 100% of CPU when small value of NUpdates is applied?
    Attachments:
    CWBufferedAO.zip ‏5 KB

    My PC is DELL Precision-620 (2 CPU's) with Win2000.
    The sampling rate is 1024Hz so that 256 samples take 250ms. It is very slow operation.
    STOP button does not work and some user logics do not work in Progress routine.
    Attached a slighly modified program to show you the strange opeartion in Nidak32.sys. Are the Update count
    and Time Editbox updated on your PC?
    Attachments:
    Buffered_Analog_Output.Vbp ‏1 KB
    BufferedAnalogOutput.Frm ‏26 KB

  • Image download link without zip using javascript

    Hi,
    Actually i know this question is not related for this thread but i need technical help
    i want to know how to bring the single image download link can bring for example
    Download
    when i click the download link the image open in a new window but i need to download the image like a zip file download
    how can i done it..
    Thank you.

    >
    Actually i know this question is not related for this threadNot related to this thread or forum, JavaScript questions belong to JavaScript forums.
    Mel

  • How do I estimate time takes to Zip/Unzip using java.util.zip ?

    If I am compressing files or uncompressing zips using java.util.zip is there a way for me to tell the user how long it should take or for perhaps displaying a progress monitor ?

    For unzip use the ZipInputStream and pass it a CountingInputStream that keeps track ofr the number of bytes read from it (you write this). This CountingInputStream extends fileInputStream and as such can provide you with information about the total number of bytes available to be read and the number already read. This can give a crude idea of how much work has been done and how much work still needs to be done. It is inaccurate but should be good enoough for a progress bar
    As for zipping use the ZipOutputStream and pass it blocks of information. Keep track of the number of blocks you have written and the number you still need to write.
    matfud

  • Connect to a remote MS Access database using RmiJdbc

    Hello,
    I want to access a remote MS Access database from oracle stored procedures.
    Does anyone know how i can load the RmiJdbc driver using the loadjava command or with any other way.
    Because when i try to load RmiJdbc.zip using the loadjava command I am getting the error:
    ORA-29533:attempt to overwrite class or resource string while defining or compiling scott.TestClient
    this error is occured for multiple files...
    I don't know how to delete this classes.
    Because this error occured and the first time i tried to load Rmijdbc driver.
    and when i use the dropjava command to drop it,and then load it again the same error occures.
    Can anyone help me how to load this driver?
    Please answer because i need it as soon as possible.
    Thanks

    Hi,
    try this.
    String s = "UPDATE AGENT SET afname='test',alname='u',city='d',AGENT.[percent]=1 WHERE aid=23";
    -------->AGENT.[percent]

  • Zip and directory or package

    How on earth do I zip a package like an Omnigraffle file? I have a nice folder-action script that zips a file into an archive when it is dropped into the folder, but when I dropped an omnigraffle file into the folder it broke it into all the files that the original omnigraffle file consisted of, in other words it treats the file like a directory and breaks it open. I guess omnigraffle files are packages. If I use ditto it complains and tells me that the file is a directory. I cannot find any zip parameter that allows me to compress an omnigraffle file and keep it is a single compressed file. If I right-click and select compress on a file OS X has no problem and I get a single compressed file with the name and a .zip appended, but if I execute the zip application in terminal, or from my script, I get all the tiffs and jpegs and bits and bobs that the omnigraffle file is built with and the file it a goner.
    Most frustrating.
    Thanks for any help.
    Lawrence

    Well - that's done, works fine. The issue I was having was that I wanted files to be zipped into an archive without any path, so I would include the -j parameter. The -j parameter however would not only NOT store the path of the file, but it would also NOT store directory names.
    Okay - I thought. There is the -r parameter, this tells zip to travel the directory structure recursively thus picking up sub-directory content. However the -j conflicts with this and what I found was that zip would take the contents of any sub-directory and stick it at the same level as anything outside the folder.
    At first I thought this would be okay as I wanted this script to be used for ONLY files. However when I added an Omnigraffle file I was stuck as these are packages, and zip views them as directories. So any omnigraffle file would essentially be burst into its component parts, all rendered as files, at the root level of the archive folder. A total no-no.
    If I removed the -j, so that directories would be read and compressed, as well as the omnigraffle files, everything worked fine. Only now each file had a great long file path rooted at /System/user/me..... If I decompressed the zip archive I got a folder named "System" inside which was a folder named "user" and inside that was "me" and on and on until I finally got a folder with my unzipped files in it.
    Horrible.
    I realized that the key word in "man zip" was that the file path zip uses is relative to where the zip is running, and I was running it as a folder action which defaulted to the root, hence the vast great file path. So all I needed to do was to modify the script so that the zip command references just the file names without path, and then do a cd to the archive directory immediately prior to the zip command itself. Thus I implemented a "do shell script" which had two commands on the same line, separated by a semi-colon, the first command being the cd with the full path to the archive folder and the second being the zip without any paths at all and using just the -r parameter.
    Bingo.
    Thanks for everyone's help.
    Lawrence

  • Controlling filenames using PayloadZipBean

    Hello
    I am struggling with names of the zipped files using payloadzipbean. The Scenario is as follows: we want to transfer an invoice including attachments to an external partner consisting of an xml message and one or more pdf files as attachments. the attachments are added to the message in an ABAP proxy on the sending R/3 system. The message is transferred to PI,where it si routed to an ftp communication channel. The xml message is zipped using the payloadzip bean and transferred to the external partner using ftp. The partner requires an approriate file extension to identify the types of files on the receiving side. Originally we managed this pay using the parameter zip.filenameKey and set it ContentType. The files inside the zip file are then named "untitled.xml" for the xml message and "untitled.pdf" for the attachments. However when there is more than one attachment the zipping of the file crashed, as both attachments have the same filename. We can fix this by adding an unique name to the attachment when it is attached to the proxy, and changing the zip.filenameKey to payloadName. The problem then is that the main payload file is called MainDocument without the .xml extension. I need to change the name of the payload or find another way to make the attachment filenames unique with zip.filenameKey set to ContentTyoe, Any suggestions ?
    Eivind Langsæter

    it is a bit tricky.
    You might have to code a module to build the attachments and then use zipbean to zip it for you.
    to set the name of the main document you can have a look into the sinppet of code below;
    Vector_attachementFileName contains the name for the attachment
    attachmentFileMainPayload has the data of the main payload
    XMLPayload MainDocumentPayload = message.createXMLPayload();
            MainDocumentPayload.setContent(
              this.attachmentFileMainPayload.getBytes());
            message.setDocument(MainDocumentPayload);
            Audit.addAuditLogEntry(
              this.auditMKey,
              AuditLogStatus.SUCCESS,
              "Main Document Successfully Set");
            TextPayload txtpayload = message.getDocument();
            txtpayload.setContentType("text/plain");
            txtpayload.setName(
              this.Vector_attachementFileName
              .elementAt(lengthOfVector - 1)
              .toString());
            Audit.addAuditLogEntry(
              this.auditMKey,
              AuditLogStatus.SUCCESS,
              "File Created: " +
              this.Vector_attachementFileName
              .elementAt(lengthOfVector - 1)
              .toString());

  • Decrypt and unzip a File + read a XML file received into the ZIP

    Hello,
    I need your help to develop some a complex Biztalk application.
    Here're my needs :
    Our Busness partner send us a zip file cripted with a standard PGP(Pretty Goof Privacy).
    The zip containts an XML file that i have to deal it, and some attachments file(PDF).
    So i need to know what's the best approach for the developpement of my application.
    I want to decrypt the ZIP and then Unzip the file and them read the XML file received in the zip.
    Knowimg that we already have the pipeline compenent to dectypt the file with the strandar PGP and an other pipeline compenent to unzip the File.
    Thank you

    Hi ,
    Try this code to unzip the file and send the xml message .If u face issue let me know
    namespace BizTalk.Pipeline.Component.DisUnzip
    using System;
    using System.IO;
    using System.Text;
    using System.Drawing;
    using System.Resources;
    using System.Reflection;
    using System.Diagnostics;
    using System.Collections;
    using System.ComponentModel;
    using Microsoft.BizTalk.Message.Interop;
    using Microsoft.BizTalk.Component.Interop;
    using Microsoft.BizTalk.Component;
    using Microsoft.BizTalk.Messaging;
    using Ionic.Zip;
    using System.IO.Compression;
    [ComponentCategory(CategoryTypes.CATID_PipelineComponent)]
    [System.Runtime.InteropServices.Guid("8bef7aa9-5da5-4d62-ac5b-03af2fb9d280")]
    [ComponentCategory(CategoryTypes.CATID_DisassemblingParser)]
    public class DisUnzip : Microsoft.BizTalk.Component.Interop.IDisassemblerComponent, IBaseComponent, IPersistPropertyBag, IComponentUI
    private System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("BizTalk.Pipeline.Component.DisUnzip.DisUnzip", Assembly.GetExecutingAssembly());
    #region IBaseComponent members
    /// <summary>
    /// Name of the component
    /// </summary>
    [Browsable(false)]
    public string Name
    get
    return resourceManager.GetString("COMPONENTNAME", System.Globalization.CultureInfo.InvariantCulture);
    /// <summary>
    /// Version of the component
    /// </summary>
    [Browsable(false)]
    public string Version
    get
    return resourceManager.GetString("COMPONENTVERSION", System.Globalization.CultureInfo.InvariantCulture);
    /// <summary>
    /// Description of the component
    /// </summary>
    [Browsable(false)]
    public string Description
    get
    return resourceManager.GetString("COMPONENTDESCRIPTION", System.Globalization.CultureInfo.InvariantCulture);
    #endregion
    #region IPersistPropertyBag members
    /// <summary>
    /// Gets class ID of component for usage from unmanaged code.
    /// </summary>
    /// <param name="classid">
    /// Class ID of the component
    /// </param>
    public void GetClassID(out System.Guid classid)
    classid = new System.Guid("8bef7aa9-5da5-4d62-ac5b-03af2fb9d280");
    /// <summary>
    /// not implemented
    /// </summary>
    public void InitNew()
    /// <summary>
    /// Loads configuration properties for the component
    /// </summary>
    /// <param name="pb">Configuration property bag</param>
    /// <param name="errlog">Error status</param>
    public virtual void Load(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, int errlog)
    /// <summary>
    /// Saves the current component configuration into the property bag
    /// </summary>
    /// <param name="pb">Configuration property bag</param>
    /// <param name="fClearDirty">not used</param>
    /// <param name="fSaveAllProperties">not used</param>
    public virtual void Save(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, bool fClearDirty, bool fSaveAllProperties)
    #region utility functionality
    /// <summary>
    /// Reads property value from property bag
    /// </summary>
    /// <param name="pb">Property bag</param>
    /// <param name="propName">Name of property</param>
    /// <returns>Value of the property</returns>
    private object ReadPropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName)
    object val = null;
    try
    pb.Read(propName, out val, 0);
    catch (System.ArgumentException )
    return val;
    catch (System.Exception e)
    throw new System.ApplicationException(e.Message);
    return val;
    /// <summary>
    /// Writes property values into a property bag.
    /// </summary>
    /// <param name="pb">Property bag.</param>
    /// <param name="propName">Name of property.</param>
    /// <param name="val">Value of property.</param>
    private void WritePropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName, object val)
    try
    pb.Write(propName, ref val);
    catch (System.Exception e)
    throw new System.ApplicationException(e.Message);
    #endregion
    #endregion
    #region IComponentUI members
    /// <summary>
    /// Component icon to use in BizTalk Editor
    /// </summary>
    [Browsable(false)]
    public IntPtr Icon
    get
    return ((System.Drawing.Bitmap)(this.resourceManager.GetObject("COMPONENTICON", System.Globalization.CultureInfo.InvariantCulture))).GetHicon();
    /// <summary>
    /// The Validate method is called by the BizTalk Editor during the build
    /// of a BizTalk project.
    /// </summary>
    /// <param name="obj">An Object containing the configuration properties.</param>
    /// <returns>The IEnumerator enables the caller to enumerate through a collection of strings containing error messages. These error messages appear as compiler error messages. To report successful property validation, the method should return an empty enumerator.</returns>
    public System.Collections.IEnumerator Validate(object obj)
    // example implementation:
    // ArrayList errorList = new ArrayList();
    // errorList.Add("This is a compiler error");
    // return errorList.GetEnumerator();
    return null;
    #endregion
    /// <summary>
    /// this variable will contain any message generated by the Disassemble method
    /// </summary>
    private System.Collections.Queue _msgs = new System.Collections.Queue();
    #region IDisassemblerComponent members
    /// <summary>
    /// called by the messaging engine until returned null, after disassemble has been called
    /// </summary>
    /// <param name="pc">the pipeline context</param>
    /// <returns>an IBaseMessage instance representing the message created</returns>
    public Microsoft.BizTalk.Message.Interop.IBaseMessage
    GetNext(Microsoft.BizTalk.Component.Interop.IPipelineContext pc)
    // get the next message from the Queue and return it
    Microsoft.BizTalk.Message.Interop.IBaseMessage msg = null;
    if ((_msgs.Count > 0))
    msg = ((Microsoft.BizTalk.Message.Interop.IBaseMessage)(_msgs.Dequeue()));
    return msg;
    /// <summary>
    /// called by the messaging engine when a new message arrives
    /// </summary>
    /// <param name="pc">the pipeline context</param>
    /// <param name="inmsg">the actual message</param>
    public void Disassemble(Microsoft.BizTalk.Component.Interop.IPipelineContext pc, Microsoft.BizTalk.Message.Interop.IBaseMessage inmsg)
    IBaseMessage Temp = inmsg;
    using (ZipFile zip = ZipFile.Read(inmsg.BodyPart.GetOriginalDataStream()))
    foreach (ZipEntry e in zip)
    var ms = new MemoryStream();
    IBaseMessage outMsg;
    outMsg = pc.GetMessageFactory().CreateMessage();
    outMsg.AddPart("Body", pc.GetMessageFactory().CreateMessagePart(), true);
    outMsg.Context=inmsg.Context;
    e.Extract(ms);
    string XMLMessage = Encoding.UTF8.GetString(ms.ToArray());
    MemoryStream mstemp = new System.IO.MemoryStream(
    System.Text.Encoding.UTF8.GetBytes(XMLMessage));
    outMsg.GetPart("Body").Data = mstemp;
    _msgs.Enqueue(outMsg);
    #endregion
    Thanks
    Abhishek

  • Zipping is not working.

    I'm trying to zip a 3.87GB folder containing a bunch of .band files, but whenever the file size of the zip reaches around 2.86GB, zipping seems to stop (the progress bar freezes).
    I also tried zipping each .band file inside individually, but the freezing issue also seems to occur with a number of those .band files, even if a .band file is only several MB in file size.

    I tried using YemuZip and the zipping process seemed to finish with it, as the YemuZip progress bar actually reached the end. I checked the resulting zip file and it was, however, around the same size as that when the default zipper was used - around 2.68GB (which was the value I meant to note in my OP instead of 2.86GB).
    I tried unzipping the zipped file that was zipped using YemuZip, and all of the contents seemed to be intact. Thus, it looks like the default zipper had probably finished the process previously, except with regards to certain actions taken related to updating the interface to confirm that the zipping process was finished.

  • Creating zipped file which contain multiple files

    hi all,
    i have a problem which i would like some advice about:
    i need to recieve from a FTP server multiple files and then zip them all in one big zip file.
    now i checked the forums and all i found is using PayloadZipBean which in all the examples create a zip file with one .txt in it.
    is it possible to create multiple files in the zip using this module?
    another problem if the one big zip file is what if each of the files inside the zip file has it's own mapping...
    i think a BPM is a must here and a parallel one also with a correlation...
    i would like if it's possible to do something different as the correlation between the files is a bit complicated?
    regards and thanks a lot,
    Roi Grosfeld

    First,
    I would like to understand your requirement. Is it to only download and zip the files in to one file? XI is not the solution. A OS level script or some C program is what I would use for that which calls some FTP APIs.
    If you requirement is to get different files with different format but want to send them to one desintation which accepts files in only one format, I would not consider zipping them into one file and again unzipping then and executing a mapping XI. Instead, I would have different file adapter for each type of the file and use as many sender agreements with diffrent mappings.
    Hope it made some sense..!!
    VJ

Maybe you are looking for

  • XI 3.0 post system copy issue

    Hi Experts, We are using XI 3.0 on Windows and MSSQL platform, i have made system copy sucessfully from production system with process of DB restore for ABAP and Java Import, the new server is up and running both abap and java. Problem : In the newse

  • Preparing, Preparing Preparing, Over 2 days

    Hi all, Ive read Podini's Guides and not been able to find an answer to why after a long period with using time machine with timecapsule it is taking such a long time to get to a point of backing up. so As I think this is a TM Issue I will post here.

  • Slow wireless on Time Capsule

    I realize this question in some form or another has been posted ad nauseum, so I'll apologize in advance. I'm running a 500 GB Time Capsule. I recently got the bright idea to extend the network and bought a couple of new AirPort Express (11n models).

  • Capturing media on a laptop with only one firewire input

    So, this question may or may not belong here: I have a MacBook Pro with its single Firewire port. I have an external firewire drive for my scratch disk. But how do I capture media from my tape-based Canon HV40 onto the external disk with only the one

  • 'Up-to-date program' wont accept UK telephone number?

    Hi (apologies if this has been covered, i couldnt find a similiar thread) I am trying to request the free 'up-to-date' mountain lion update for my retina MacBook however it is asking for my telephone numbe in US format when i'm from the UK and hence