Problem importing init.xml

Getting this error message when trying to import init.xml.
Any ideas ? Thanks in advance.
ErrorError
An error occurred importing the file, although some of the file data may have been processed. ==> java.lang.NullPointerException:
Including file 'sample/sysconfig.xml'.

I am not sure but check few things :
1. The sample/sysconfig.xml file is there in sample directory .
2. The sample/sysconfig.xml file is proper .
3. The inti.xml file is proper.

Similar Messages

  • Problems importing an XML Schema

    Hello,
    I am trying to import an XML schema using the MDM Console.
    In the Console Hierarchy tree I right-click on the MDM repository into
    which I want to import the XML schema and choose Import
    Repository Schema from the context menu and finally I choose a simple XML file.
    Then an message appears: "MDS Version mismaths. Upgrade the source repository to the latest version and import the original schema again"
    I use the SAP MDM Console for Windows, version 5.5 SP4. There is another way to import an schema in my repository? This Console version really doesn't support it?
    Thank you.
    Could I import my Schema of my repository using MDM Import manager?

    Hi Marta,
    MDM Console will not update the schema.If you select an xml schema in the import manager and try to specify an xml file with different structure,Then it will give you error and will not allow you to import.
    You define xml schema into MDM console so that u can import data into MDM repository from the xml file or files having same structure as defined into xml schema table of repository.
    The XML Schema drop-down list in Import manager includes an entry for each XML schema you define in the MDM Console. For each XML Schema defined in the console, you can select multiple XML source files, each having the same structure.
    Hope it will help you.Let me know the result and further queries if any.
    <b>
    Please remark if it helped you.</b>
    Thanks,<b>
    Shiv Prashant Dixit</b>

  • Error in init.xml SUN IDM 8.1.0 patch 5

    Hi,
    when i use the command : lh import init.xml, i have this error :
    Restored AdminGroup:Service Provider Administrator
    Restored AdminGroup:Service Provider Admin Role Administrator
    Problem during execution: java.lang.NoSuchMethodError: com.waveset.object.WSUser
    Util.getAllControlledObjectGroups(Lcom/waveset/object/Principal;Lcom/waveset/obj
    ect/LighthouseContext;Ljava/util/Map;)Ljava/util/List;
    I am blocked. HELP !!!

    Guys
    I believe i need ide.bundle.zip file from patch 7 of IdM 8.1. I have checked the Patch 7 installer and it hasn't got it. I have checked the web but can't find any. so if anyone has got pls forward to me.
    Thanks

  • Having a problem importing xml into an indesign template.

    I am having a problem importing xml into an indesign template. The xml data is there and will populate the columns on the document but I am having problems matching styles, removing data that should not be mapped and importing repeated same fields but differnet data.
    Message me if this is something you can do quickly for a fee.

    Also you can check the following link
    [Reporting|http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm]
    Regards,
    Tej

  • Import update and init.xml

    After deleting all the user's from debug page, when should we import init and update.xml files from sample folder.?

    If that is the case, just check whether the record count of 89000 belongs to the Year 2008. With the same selection criteria please check how many records you are getting in rsa3 or using se11.
    My Understanding of how Init works for a datasource, if you have loaded the data with the Initload for the year 1997 to 2007, the subsequent delta will bring only the record matching the criteria.
    When you want to do another init, it will ask you to delete the Init flag and load the data again. Please check this out.
    thanks
    Analyst

  • Having Problems importing XML file from FCP 6 onto a FCP 5 application

    I have a project file that i worked on FCP 6 and wanted to move to FCP 5 app. on a different Pro Mac but when i try to import the xml, it prompts me to "Please choose a Translation Document File". I choose the FCP 6 project file because i wasn't sure what to choose and i get the ERROR: No translation templates matching the selected XML file were found. Unable to import this file.
    any ideas?

    make sure you exported your XML from FCP6 using a compatible XML version (1, 2 or 3) ... version 3 would make the most sense as its the most recent FCP5 compatible version .... don't export using version 4 (the default for FCP6), that one is for transfering projects between different installations of FCP6 only

  • Problem in importing oracle.xml.sql.query.*

    When i am importing this
    import oracle.xml.sql.query.*;
    it is giving me error that
    "package oracle.xml.sql.query.* does not exist".
    What Should i install or set .

    [from XmlRpc-Java]
    As a result, my XML
    is contained in a String instead of an InputStream.
    It is possible to convert a String to an InputStream using
    StringBufferInputStream, but this class is deprecated in favor of
    StringReader (as StringBufferInputStream does not properly convert
    characters into bytes).
    For the default HTTP transport, an InputStreamReader could be used to
    wrap the InputStream before calling parse().
    Ultimately, the InputStream is converted to an InputSource for use by
    the SAX parser. InputSource will accept a Reader as well.
    [from XmlRpc-Java]
    There should be a way to go from "getXMLString()" to "parse(Reader)" also. In the meantime I'm stuck.
    null

  • Problems importing XML data into form (Acrobat 8 Pro)

    I created a form in Designer with an email submit button, and now I am receiving XML files by email. I'd like to import these back into the form. But when I open the form and select "import data," I get the following message:
    "This document restricts some Acrobat features to allow for extended eatures in Adobe Reader. To create a copy of the document that is not restricted (and has no extended features in Adobe Reader), click Save a Copy."
    Whether I save it or click cancel, afterwards "import data" is no longer an option. The same thing happens if I try to open the form again in Designer.
    I assume that this is related to having enabled usage rights in Adobe Reader (necessary because the email submit button only works for people who use Microsoft Outlook -- what's up with that?). But dis-enabling these rights for the form doesn't change anything.
    All help appreciated! I'm a novice, so please make it simple.
    Thanks,
    Ted

    If I click "save a copy," then it opens a dialogue box for this. I've been saving this copy under the same name but in a different folder (so as not to screw up my original).
    After saving the file, the "import data" option is no longer available for selection. (Nor is the "Edit Form in Designer" option).
    If I close this and open the newly saved file, then it does give me an "import data" option. But when I try to import an XML file, I always get this error:
    "Xml parsing error: not well-formed (invalid token)(error code 4), line 1, column 5 of file [file path and name]"
    Open for suggestions.
    Thanks,
    Ted

  • Problems with reading XML files with ISO-8859-1 encoding

    Hi!
    I try to read a RSS file. The script below works with XML files with UTF-8 encoding but not ISO-8859-1. How to fix so it work with booth?
    Here's the code:
    import java.io.File;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import java.net.*;
    * @author gustav
    public class RSSDocument {
        /** Creates a new instance of RSSDocument */
        public RSSDocument(String inurl) {
            String url = new String(inurl);
            try{
                DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document doc = builder.parse(url);
                NodeList nodes = doc.getElementsByTagName("item");
                for (int i = 0; i < nodes.getLength(); i++) {
                    Element element = (Element) nodes.item(i);
                    NodeList title = element.getElementsByTagName("title");
                    Element line = (Element) title.item(0);
                    System.out.println("Title: " + getCharacterDataFromElement(line));
                    NodeList des = element.getElementsByTagName("description");
                    line = (Element) des.item(0);
                    System.out.println("Des: " + getCharacterDataFromElement(line));
            } catch (Exception e) {
                e.printStackTrace();
        public String getCharacterDataFromElement(Element e) {
            Node child = e.getFirstChild();
            if (child instanceof CharacterData) {
                CharacterData cd = (CharacterData) child;
                return cd.getData();
            return "?";
    }And here's the error message:
    org.xml.sax.SAXParseException: Teckenkonverteringsfel: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (radnumret kan vara f�r l�gt).
        at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
        at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
        at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
        at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1183)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:653)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
        at getrss.RSSDocument.<init>(RSSDocument.java:25)
        at getrss.Main.main(Main.java:25)

    I read files from the web, but there is a XML tag
    with the encoding attribute in the RSS file.If you are quite sure that you have an encoding attribute set to ISO-8859-1 then I expect that your RSS file has non-ISO-8859-1 character though I thought all bytes -128 to 127 were valid ISO-8859-1 characters!
    Many years ago I had a problem with an XML file with invalid characters. I wrote a simple filter (using FilterInputStream) that made sure that all the byes it processed were ASCII. My problem turned out to be characters with value zero which the Microsoft XML parser failed to process. It put the parser in an infinite loop!
    In the filter, as each byte is read you could write out the Hex value. That way you should be able to find the offending character(s).

  • Problem to swap XML parser

    Hi all,
    I am trying to replace the official oracle XML library by apache xerces on a soa suite 10.1.3.1 developper hosted on a linux red hat platform.
    I have found a how to on oracle web site (http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html). I hadn't found any archive containing the source so I have buid a simple test using EJB 3 (In fact, I have created a "hello word" session bean that return a String containing the Dom builder factory class name).
    I have create the shared library using Entreprise manager as described in the how to.
    My test works fine if I deploy it with the default XML factory but if I add the following lines to the orion-application.xml, the deployment process ends with a null pointer exception :
    <imported-shared-libraries>
    <import-shared-library name="apache.xml" />
    <remove-inherited name="oracle.xml" />
    </imported-shared-libraries>
    I have tried to deploy the test using the entreprise manager web UI (as explain in how to) but the result was the same.
    I have tried to remove the "<remove-inherited name="oracle.xml" />" line but in this case, the XML parser still the oracle one.
    Do you know if the library specification is available in the last soa suite ?
    Thank in advance for your responses.
    Alexandre CUCUMEL
    PS: I can send the test code source if needed
    PS2: here is the complete opmn stack trace when I try to deploy the test application
    08/08/08 15:46:36 java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider oracle.xml.jaxp.JXDocumentBuilderFactory could not
    be instantiated: java.lang.NullPointerException
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.Processor.runActions(Processor.java:105)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$DeploymentCompileTool.run(DeploymentGenerator.java:205)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:131)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.ja
    va:165)
    08/08/08 15:46:36 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/08/08 15:46:36 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/08/08 15:46:36 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/08/08 15:46:36 at java.lang.reflect.Method.invoke(Method.java:585)
    08/08/08 15:46:36 at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85
    08/08/08 15:46:36 at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    08/08/08 15:46:36 at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    08/08/08 15:46:36 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    08/08/08 15:46:36 at com.evermind.server.Application.setConfig(Application.java:413)
    08/08/08 15:46:36 at com.evermind.server.Application.setConfig(Application.java:314)
    08/08/08 15:46:36 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    08/08/08 15:46:36 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    08/08/08 15:46:36 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    08/08/08 15:46:36 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    08/08/08 15:46:36 at java.lang.Thread.run(Thread.java:595)
    08/08/08 15:46:36 Caused by: javax.xml.parsers.FactoryConfigurationError: Provider oracle.xml.jaxp.JXDocumentBuilderFactory could not be instantiated:
    java.lang.NullPointerException
    08/08/08 15:46:36 at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104)
    08/08/08 15:46:36 at oracle.j2ee.ws.wsdl.extensions.oracle.schema.SchemaSchemaElement.<init>(SchemaSchemaElement.java:37)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLTypeGenerator.generateSchema(WSDLTypeGenerator.java:435)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLTypeGenerator.processElement(WSDLTypeGenerator.java:735)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLTypeGenerator.processElementsInMessage(WSDLTypeGenerator.java:352)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLTypeGenerator.run(WSDLTypeGenerator.java:207)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLGenerator.generateTypes(WSDLGenerator.java:291)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLGenerator.generateDocument(WSDLGenerator.java:242)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLGenerator.doGeneration(WSDLGenerator.java:176)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLGenerator.doGeneration(WSDLGenerator.java:141)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.generator.wsdl.WSDLGenerator.perform(WSDLGenerator.java:126)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.processor.Processor.runActions(Processor.java:97)
    08/08/08 15:46:36 ... 23 more
    08/08/08 15:46:36 WARNING: Application.setConfig Application: testDeployement is in failed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: nested exception is: java.lang.NullPointerException
    08/08/08 15:46:36 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: testDeployement is in failed state as i
    nitialization failed
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    08/08/08 15:46:36 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    08/08/08 15:46:36 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    08/08/08 15:46:36 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    08/08/08 15:46:36 at java.lang.Thread.run(Thread.java:595)
    08/08/08 15:46:36 Caused by: java.lang.InstantiationException: Application: testDeployement is in failed state as initialization failed
    08/08/08 15:46:36 at com.evermind.server.Application.setConfig(Application.java:471)
    08/08/08 15:46:36 at com.evermind.server.Application.setConfig(Application.java:314)
    08/08/08 15:46:36 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    08/08/08 15:46:36 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    08/08/08 15:46:36 ... 6 more
    08/08/08 15:46:36 Caused by: java.lang.InstantiationException: Error initializing ejb-modules: nested exception is: java.lang.NullPointerException
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1064)
    08/08/08 15:46:36 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    08/08/08 15:46:36 at com.evermind.server.Application.setConfig(Application.java:413)
    08/08/08 15:46:36 ... 9 more
    08/08/08 15:46:36 Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:356)
    08/08/08 15:46:36 at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:92
    08/08/08 15:46:36 at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    08/08/08 15:46:36 at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    08/08/08 15:46:36 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    08/08/08 15:46:36 ... 11 more
    08/08/08 15:46:36 Caused by: java.lang.NullPointerException
    08/08/08 15:46:36 at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:138)
    08/08/08 15:46:36 at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.ja
    va:165)
    08/08/08 15:46:36 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/08/08 15:46:36 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/08/08 15:46:36 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/08/08 15:46:36 at java.lang.reflect.Method.invoke(Method.java:585)
    08/08/08 15:46:36 at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85
    08/08/08 15:46:36 ... 15 more
    08/08/08 15:46:36 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: testDeployement is in failed state as initialization fa
    iledoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: testDeployement is in failed state as initialization
    failed
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: testDeployement is in failed state as initialization failed
    at com.evermind.server.Application.setConfig(Application.java:471)
    at com.evermind.server.Application.setConfig(Application.java:314)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: nested exception is: java.lang.NullPointerException
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1064)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    at com.evermind.server.Application.setConfig(Application.java:413)
    ... 9 more
    Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
    at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:356)
    at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:92)
    at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    ... 11 more
    Caused by: java.lang.NullPointerException
    at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:138)
    at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:165)
    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:585)
    at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85)
    ... 15 more

    Andre,
    Thanks for your interest on my problem.
    In fact, I have created a test with just an interface and a class. No additional jars are added at compilation or ejb creation time.
    My java code is very simple (I have just copied the example main method and convert it to a SOAP method :
    package be.test;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    @Stateless
    @WebService(endpointInterface = "be.test.Test")
    public class TestImpl implements Test {
         public String test() {
              DocumentBuilder builder=null;
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              try
              builder = factory.newDocumentBuilder();
              return "<BR><B>DocumentBuilderFactory Instance:</B> " + factory.getClass().getName() +
              "<BR><B>DocumentBuilder Instance:</B> " + builder.getClass().getName() +"<BR>"; }
              catch (Exception e)
              return "Error processing DOM -- " + e.getMessage();
    Unfortunately, I think that the problem may come from EJB 3 stack that does not support an other XML library.
    Thanks again for your help.
    Best regards,
    Alexandre
    PS: appologies for the message formatting... I don't understand why the new line caracters are not corrects.

  • S.O.S. - I have a problem reading an XML to save it in a database

    I have a problem reading an XML I trying to save the data in a database. In a log cuardo the message as text and is correct, but I do not type in the database
    Glassfish give me this error in the log:
    HTTPBC-E01052: The value set on the org.glassfish.openesb.address.url normalized message property is invalid. This property is expected to be of String type only.
    Accepted the message in DBBC Binding. 99574032187979-45019-134439471876390116
    Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
    Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
    Pattern for exchange Id 99574032187979-45019-134439471876390116 is http://www.w3.org/2004/08/wsdl/in-out.
    Gettin bean for {http://j2ee.netbeans.org/wsdl/bd}serviceport
    Adding reply listener for messsage exchange:99574032187979-45019-134439471876390116
    Received in-out message 99574032187979-45019-134439471876390116.
    Using Jndi Name:: jdbc/logger
    Executing SQL....insert into dbo.appender (timestamp,mensaje) values (?,?)
    BPCOR-6151:The process instance has been terminated because a fault was not handled; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure; Fault Data is null
    com.sun.jbi.engine.bpel.core.bpel.exception.StandardException: BPCOR-6174:Selection Failure occurred in BPEL({http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE}MapeoPE) at line 39
    BPCOR-6129:Line Number is 37
    BPCOR-6130:Activity Name is Assign1
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.createVirtualFaultUnit(BPELInterpreter.java:234)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:202)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:98)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:1046)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:278)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:1293)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:590)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:292)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:193)
    normalized message
    Finished processing outbound messages.
    Accepted the message in DBBC Binding. 99574032187979-45019-134439471876390116
    Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
    Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
    Pattern for exchange Id 99574032187979-45019-134439471876390116 is http://www.w3.org/2004/08/wsdl/in-out.
    Gettin bean for {http://j2ee.netbeans.org/wsdl/bd}serviceport
    Adding reply listener for messsage exchange:99574032187979-45019-134439471876390116
    Received in-out message 99574032187979-45019-134439471876390116.
    Finished processing outbound messages.
    I take data from a XML and I put in two tables in a database. I do not understand what it is the problem.
    The main BPEL is this:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
    name="MapeoPE"
    targetNamespace="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
    xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
    xmlns:tns="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE" xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" xmlns:ns0="http://j2ee.netbeans.org/xsd/tableSchema" xmlns:ns1="http://java.sun.com/xml/ns/jaxb" xmlns:ns2="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab">
    <import namespace="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" location="PollInPE.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" location="recumat_htor2-siglo_ped_ext_cab.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" location="recumat_htor2-siglo_ped_ext_lin.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" location="localhost_9080/bitacoraService/bitacoraPort.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <partnerLinks>
    <partnerLink name="siglo_ped_ext_cab" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
    <partnerLink name="siglo_ped_ext_lin" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
    <partnerLink name="log" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" partnerLinkType="tns:bitacora" partnerRole="bitacoraPortTypeRole"/>
    <partnerLink name="Entrada" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" partnerLinkType="tns:PollInPE" myRole="FileInboundPortTypeRole"/>
    </partnerLinks>
    <variables>
    <variable name="BitacoraOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" messageType="tns:bitacoraOperationRequest"/>
    <variable name="InsertOutSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:insertRetMsg"/>
    <variable name="InsertInSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:inputMsg"/>
    <variable name="InsertOutSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:insertRetMsg"/>
    <variable name="InsertInSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:inputMsg"/>
    <variable name="PollIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" messageType="tns:PollInputMessage"/>
    </variables>
    <sequence>
    <receive name="Receive1" createInstance="yes" partnerLink="Entrada" operation="poll" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" portType="tns:FileInboundPortType" variable="PollIn"/>
    <assign name="Assign2log">
    <copy>
    <from>string($PollIn.part1)</from>
    <to variable="BitacoraOperationIn" part="part1"/>
    </copy>
    </assign>
    <invoke name="log" partnerLink="log" operation="bitacoraOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" portType="tns:bitacoraPortType" inputVariable="BitacoraOperationIn"/>
    <assign name="Assign1">
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@numero</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_numero_pedido</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@FechaPedido</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_pedido</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@FechaEntrega</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_entrega</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@Observaciones</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_observaciones</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@ejercicio</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ejercicio</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/@Funcion)</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_funcion</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@tipoPedido</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_tipo_pedido</to>
    </copy>
    <copy>
    <from>string($PollIn.part1/ns1:ORDERS/@condFacturar)</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_condfacturar</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_usuario_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@tipo</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_tipo</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@valor</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_valor</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@codigo)</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_cod</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ped_ext_cab_pk</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contrato_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@Expediente</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_expedte</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@CCA</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_cca</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@codigo</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cod</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_empresa_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@CIF</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cif</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreComercial</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_comerc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANDestino</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_dest</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreFiscal</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_fiscal</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANvendedor</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_vend</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANEmisor</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanemis</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANQpide</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanqpide</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANAqsf</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanaqsf</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroSerie)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_serie</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLinea</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_numero_linea</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLote)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_lote</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroAlbaran)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_albaran</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@fechaAlbaran</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_albaran</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@valorarAlbaranes)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_valorar_albar</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@CantidadCompra</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_compra</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@Observaciones</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_observaciones</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadPendiente</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_pendiente</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadAnulada</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_anulada</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@precio</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_precio</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@CIP</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_cip</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@marca</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:spl_produ_marca</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@refFabricante</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_refabric</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@modelo</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_modelo</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_producto_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigo</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoLocal</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_loc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoSAS</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_sas</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadMedida</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_medida</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadContratacion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_contra</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_artgenerico_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_presentac_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@codigoEAN</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pre_cod_ean</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@refDistribuidor</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ref_distribuid</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_oferta_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@factorContratacion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_factor_contrat</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadEnUnidades</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_en_unds</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadContratacion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_contrata</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_linprogent_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@cantidad</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_entrega</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@fecha</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_entrega</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entrega_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@EANReceptor</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ean_receptor</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entre_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_origen_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_lin_solic_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@codigo</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_cod</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ped_ext_lin_pk</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pec_ped_ext_cab_pk</to>
    </copy>
    </assign>
    <invoke name="Invoke_SIGLO_PED_EXT_CAB" partnerLink="siglo_ped_ext_cab" operation="insert" portType="ns2:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_CAB" outputVariable="InsertOutSIGLO_PED_EXT_CAB"/>
    <invoke name="Invoke_SIGLO_PED_EXT_LIN" partnerLink="siglo_ped_ext_lin" operation="insert" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" portType="tns:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_LIN" outputVariable="InsertOutSIGLO_PED_EXT_LIN"/>
    </sequence>
    </process> Thanks in advance!!!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &n

    I change the bpel to this:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
    name="MapeoPE"
    targetNamespace="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
    xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
    xmlns:tns="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE" xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" xmlns:ns0="http://j2ee.netbeans.org/xsd/tableSchema" xmlns:ns1="http://java.sun.com/xml/ns/jaxb" xmlns:ns2="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab">
    <import namespace="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" location="PollInPE.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" location="recumat_htor2-siglo_ped_ext_cab.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" location="recumat_htor2-siglo_ped_ext_lin.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" location="localhost_9080/bitacoraService/bitacoraPort.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <partnerLinks>
    <partnerLink name="siglo_ped_ext_cab" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
    <partnerLink name="siglo_ped_ext_lin" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
    <partnerLink name="log" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" partnerLinkType="tns:bitacora" partnerRole="bitacoraPortTypeRole"/>
    <partnerLink name="Entrada" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" partnerLinkType="tns:PollInPE" myRole="FileInboundPortTypeRole"/>
    </partnerLinks>
    <variables>
    <variable name="BitacoraOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" messageType="tns:bitacoraOperationRequest"/>
    <variable name="InsertOutSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:insertRetMsg"/>
    <variable name="InsertInSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:inputMsg"/>
    <variable name="InsertOutSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:insertRetMsg"/>
    <variable name="InsertInSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:inputMsg"/>
    <variable name="PollIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" messageType="tns:PollInputMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence1" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora">
    <assign name="Assign2log">
    <copy>
    <from>string($PollIn.part1)</from>
    <to variable="BitacoraOperationIn" part="part1"/>
    </copy>
    </assign>
    <invoke name="log" partnerLink="log" operation="bitacoraOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" portType="tns:bitacoraPortType" inputVariable="BitacoraOperationIn"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <sequence>
    <receive name="Receive1" createInstance="yes" partnerLink="Entrada" operation="poll" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" portType="tns:FileInboundPortType" variable="PollIn"/>
    <sequence name="Sequence1bis" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora">
    <assign name="bisAssign2log">
    <copy>
    <from>string($PollIn.part1)</from>
    <to variable="BitacoraOperationIn" part="part1"/>
    </copy>
    </assign>
    <invoke name="bislog" partnerLink="log" operation="bitacoraOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" portType="tns:bitacoraPortType" inputVariable="BitacoraOperationIn"/>
    </sequence>
    <empty name="HastaAquiVa"/>
    <assign name="Assign1">
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@numero</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_numero_pedido</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@FechaPedido</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_pedido</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@FechaEntrega</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_entrega</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@Observaciones</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_observaciones</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@ejercicio</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ejercicio</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/@Funcion)</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_funcion</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@tipoPedido</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_tipo_pedido</to>
    </copy>
    <copy>
    <from>string($PollIn.part1/ns1:ORDERS/@condFacturar)</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_condfacturar</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_usuario_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@tipo</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_tipo</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@valor</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_valor</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@codigo)</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_cod</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ped_ext_cab_pk</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contrato_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@Expediente</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_expedte</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@CCA</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_cca</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@codigo</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cod</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_empresa_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@CIF</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cif</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreComercial</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_comerc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANDestino</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_dest</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreFiscal</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_fiscal</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANvendedor</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_vend</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@id</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANEmisor</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanemis</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANQpide</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanqpide</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANAqsf</from>
    <to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanaqsf</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroSerie)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_serie</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLinea</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_numero_linea</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLote)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_lote</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroAlbaran)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_albaran</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@fechaAlbaran</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_albaran</to>
    </copy>
    <copy>
    <from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@valorarAlbaranes)</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_valorar_albar</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@CantidadCompra</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_compra</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@Observaciones</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_observaciones</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadPendiente</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_pendiente</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadAnulada</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_anulada</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@precio</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_precio</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@CIP</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_cip</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@marca</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:spl_produ_marca</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@refFabricante</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_refabric</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@modelo</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_modelo</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_producto_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigo</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoLocal</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_loc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoSAS</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_sas</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadMedida</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_medida</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadContratacion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_contra</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_artgenerico_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_presentac_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@codigoEAN</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pre_cod_ean</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@refDistribuidor</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ref_distribuid</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_oferta_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@factorContratacion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_factor_contrat</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadEnUnidades</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_en_unds</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadContratacion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_contrata</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_linprogent_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@cantidad</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_entrega</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@fecha</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_entrega</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entrega_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@EANReceptor</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ean_receptor</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entre_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_origen_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_lin_solic_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@descripcion</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_desc</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_id</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@codigo</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_cod</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ped_ext_lin_pk</to>
    </copy>
    <copy>
    <from>$PollIn.part1/ns1:ORDERS/@id</from>
    <to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pec_ped_ext_cab_pk</to>
    </copy>
    </assign>
    <invoke name="Invoke_SIGLO_PED_EXT_CAB" partnerLink="siglo_ped_ext_cab" operation="insert" portType="ns2:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_CAB" outputVariable="InsertOutSIGLO_PED_EXT_CAB"/>
    <invoke name="Invoke_SIGLO_PED_EXT_LIN" partnerLink="siglo_ped_ext_lin" operation="insert" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" portType="tns:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_LIN" outputVariable="InsertOutSIGLO_PED_EXT_LIN"/>
    </sequence>
    </process>
    And change the XML input to that:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <root>
    <ORDERS id="125" numero="34" FechaPedido="05/10/2006" FechaEntrega="05/11/2006" Observaciones="Pedido en monitorización." ejercicio="2006" Funcion="0" tipoPedido="220" condFacturar="81E">
    <Usuario id="45">
    <Contacto id="13" tipo="TE" descripcion="Teléfono de Juanjo Carmona" valor="620987845"/>
    </Usuario>
    <Procedimiento id="1" codigo="0" descripcion="Concurso Público"/>
    <Contrato id="1457467" Expediente="07CSU001" CCA="123+WER345"/>
    <Empresa id="13" codigo="237619" nombreComercial="nombreComercial1" nombreFiscal="nombreFiscal1" CIF="cif1" EANvendedor="CODIGOEAN111" EANDestino="CODIGOEAN112"/>
    <OrganoGestor id="1" descripcion="Hospital Virgen de Tal" EANQpide="CODIGOEAN113" EANAqsf="CODIGOEAN114" EANEmisor="CODIGOEAN115"/>
    <Lineas>
    <PedidoLinea id="234" numeroLinea="1" numeroSerie="1" numeroLote="1" numeroAlbaran="1" fechaAlbaran="05/11/2006" valorarAlbaranes="true" CantidadCompra="3" Observaciones="observaciones lÃÂnea1" cantidadPendiente="3" cantidadAnulada="0" precio="11.243">
    <Producto id="1228" CIP="" refFabricante="CS-16402" modelo="modelo1" marca="marca1"/>
    <Articulo id="89" codigo="001097" codigoSAS="01.02.07.120045" codigoLocal="014554" unidadContratacion="CMK" unidadMedida="CMK"/>
    <InfLogistica id="45" codigoEAN="codigoEAN1" refDistribuidor="refDistribuidor1">
    <Oferta id="67" factorContratacion="2.5" cantidadContratacion="7.5" cantidadEnUnidades="7"/>
    </InfLogistica>
    <ProgramacionEntregas>
    <Entregar id="61" cantidad="3" fecha="05/11/2006"/>
    </ProgramacionEntregas>
    <PuntoEntrega id="546" EANReceptor="CODIGOEAN120" descripcion="Almacen principal"/>
    <Origen id="464">
    <TipoOrigen id="1" descripcion="tipo1"/>
    <SolicitudLinea id = "453">
    <Solicitud id="67" codigo="3456"/>
    </SolicitudLinea>
    </Origen>
    </PedidoLinea>
    </Lineas>
    </ORDERS>
    </root>
    An the result is:
    I18N: BPJBI-3002: Pattern for exchange Id 123033969803782-31456-134439750656880061 is http://www.w3.org/2004/08/wsdl/in-only
    I18N: BPJBI-3004: Received in-only message for M Ex 123033969803782-31456-134439750656880061 content is <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" type="msgns:PollInputMessage" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><root>
    <ORDERS FechaEntrega="05/11/2006" FechaPedido="05/10/2006" Funcion="0" Observaciones="Pedido en monitorizaci�³n." condFacturar="81E" ejercicio="2006" id="125" numero="34" tipoPedido="220">
    <Usuario id="45">
    <Contacto descripcion="Tel�©fono de Juanjo Carmona" id="13" tipo="TE" valor="620987845"/>
    </Usuario>
    <Procedimiento codigo="0" descripcion="Concurso P�ºblico" id="1"/>
    <Contrato CCA="123+WER345" Expediente="07CSU001" id="1457467"/>
    <Empresa CIF="cif1" EANDestino="CODIGOEAN112" EANvendedor="CODIGOEAN111" codigo="237619" id="13" nombreComercial="nombreComercial1" nombreFiscal="nombreFiscal1"/>
    <OrganoGestor EANAqsf="CODIGOEAN114" EANEmisor="CODIGOEAN115" EANQpide="CODIGOEAN113" descripcion="Hospital Virgen de Tal" id="1"/>
    <Lineas>
    <PedidoLinea CantidadCompra="3" Observaciones="observaciones lÃ?Ânea1" cantidadAnulada="0" cantidadPendiente="3" fechaAlbaran="05/11/2006" id="234" numeroAlbaran="1" numeroLinea="1" numeroLote="1" numeroSerie="1" precio="11.243" valorarAlbaranes="true">
    <Producto CIP="" id="1228" marca="marca1" modelo="modelo1" refFabricante="CS-16402"/>
    <Articulo codigo="001097" codigoLocal="014554" codigoSAS="01.02.07.120045" id="89" unidadContratacion="CMK" unidadMedida="CMK"/>
    <InfLogistica codigoEAN="codigoEAN1" id="45" refDistribuidor="refDistribuidor1">
    <Oferta cantidadContratacion="7.5" cantidadEnUnidades="7" factorContratacion="2.5" id="67"/>
    </InfLogistica>
    <ProgramacionEntregas>
    <Entregar cantidad="3" fecha="05/11/2006" id="61"/>
    </ProgramacionEntregas>
    <PuntoEntrega EANReceptor="CODIGOEAN120" descripcion="Almacen principal" id="546"/>
    <Origen id="464">
    <TipoOrigen descripcion="tipo1" id="1"/>
    <SolicitudLinea id="453">
    <Solicitud codigo="3456" id="67"/>
    </SolicitudLinea>
    </Origen>
    </PedidoLinea>
    </Lineas>
    </ORDERS>
    </root></jbi:part></jbi:message>
    I18N: BPJBI-3015: Sending status for 123033969803782-31456-134439750656880061. Status: Done.
    I18N: BPJBI-3019: Sending a one way outbound message to the NMR. MessageExchangeId is 123033969803782-31456-134439750657350062, service name is {http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE}log, endpoint name is bitacoraPortTypeRole_partnerRole.
    I18N: BPJBI-3018: The contents of the message are : <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" type="msgns:bitacoraOperationRequest" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part>
    </jbi:part></jbi:message>
    HTTPBC-E01052: The value set on the org.glassfish.openesb.address.url normalized message property is invalid. This property is expected to be of String type only.
    I18N: BPJBI-3002: Pattern for exchange Id 123033969803782-31456-134439750657350063 is http://www.w3.org/2004/08/wsdl/in-only
    I18N: BPJBI-3004: Received in-only message for M Ex 123033969803782-31456-134439750657350063 content is <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:msgns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" name="input1" type="msgns:bitacoraOperationRequest" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part xmlns:m="http://j2ee.netbeans.org/wsdl/bitacora/bitacora">
    </jbi:part></jbi:message>
    I18N: BPJBI-3015: Sending status for 123033969803782-31456-134439750657350063. Status: Done.
    I18N: BPJBI-3002: Pattern for exchange Id 123033969803782-31456-134439750657350062 is http://www.w3.org/2004/08/wsdl/in-only
    I18N: BPCOR-3003:
    document before transformation:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xm

  • A query while  importing  an XML file into a Database Table

    Hi,
    I am Creating an ODI Project to import an XML file into a Database Table.With the help of the following link
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_xml-to-table/odi_project_xml-to-table.htm
    I am facing a problem while creating Physical Schema for the XML Source Model.
    For the
    Schema(Schema)
    and
    Schema(Work Schema) field they have selected GEO_D.
    What is GEO_D here??
    or
    What I have to select here?
    1) schema of the xml file (NB:-I havn't created any .xsd or .dtd file for my .xml file)
    or
    2)my target servers schema
    Please tell me what I'll do??
    Thanks

    and
    Schema(Work Schema) field they have selected GEO_D.
    What is GEO_D here??This is the schema name which is specified in the XML file .
    What I have to select here?
    1) schema of the xml file (NB:-I havn't created any .xsd or .dtd file for my .xml file)Yes
    2)my target servers schema
    Please tell me what I'll do??
    Thanks

  • Problem parsing an XML

    I have this servlet that should be parsing a string received using a HTTP POST, here is the code of the servlet:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.InputSource;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.apache.xml.serialize.*;
    import org.xml.sax.InputSource;
    public class SMSReceiver extends HttpServlet
    public void service(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException
    try {
    //Initialization for the servlet
    ServletInputStream entrada = req.getInputStream();
    ServletOutputStream salida = res.getOutputStream();
    //Reading of the entering string
    BufferedReader lector = new BufferedReader(new InputStreamReader (entrada));
    res.setContentType("text/HTML");
    try {
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    InputSource inStream = new InputSource();
    inStream.setCharacterStream(new StringReader(lector.readLine()));
    Document doc1 = builder.parse(inStream);
    NodeList listasms = doc1.getElementsByTagName("sms");
    for(int s=0; s<listasms.getLength() ; s++)
    Node nodosms = listasms.item(s);
    if(nodosms.getNodeType() == Node.ELEMENT_NODE)
    Element elementosms = (Element)nodosms;
    NodeList listatelf = elementosms.getElementsByTagName("tlf");
    Element elementotelf = (Element)listatelf.item(0);
    NodeList textTelfList = elementotelf.getChildNodes();
    String telefono = ((Node)textTelfList.item(0)).getNodeValue();
    salida.println("Telefono" + telefono);
    NodeList listaop = elementosms.getElementsByTagName("op");
    Element elementoop = (Element)listaop.item(0);
    NodeList textOpList = elementoop.getChildNodes();
    String operadora = ((Node)textOpList.item(0)).getNodeValue();
    NodeList listasc = elementosms.getElementsByTagName("sc");
    Element elementosc = (Element)listasc.item(0);
    NodeList textSCList = elementosc.getChildNodes();
    String shortcode = ((Node)textSCList.item(0)).getNodeValue();
    NodeList listabody = elementosms.getElementsByTagName("body");
    Element elementobody = (Element)listabody.item(0);
    NodeList textBodyList = elementobody.getChildNodes();
    String body = ((Node)textBodyList.item(0)).getNodeValue();
    catch (SAXParseException err)
    salida.println ("** Parsing error" + ", line " + err.getLineNumber () + ", uri " + err.getSystemId ());
    salida.println(" " + err.getMessage ());
    catch (SAXException e)
    Exception x = e.getException ();
    ((x == null) ? e : x).printStackTrace ();
    catch (Throwable t)
    t.printStackTrace ();
    The error I get from the servlet is:
    ** Parsing error, line 1, uri null
    XML document structures must start and end within the same entity.
    Finished executing
    Here's the code of the program that sends the HTTP POST:
    import java.io.*;
    import java.net.*;
    import java.io.*;
    public class HTTPSender {
    public static void main(String[] args) throws Exception {
    try {
    String cadena = ""
    + "<root>\n"
    + "<sms>\n"
    + "<tlf>" + (URLEncoder.encode("4123161640" , "UTF-8")) + "</tlf>\n"
    + "<op>" + (URLEncoder.encode("D" , "UTF-8")) + "</op>\n"
    + "<sc>" + (URLEncoder.encode("0000" , "UTF-8")) + "</sc>\n"
    + "<body>" + (URLEncoder.encode("PRUEBA DE MENSAJE MOVIL+" , "UTF-8")) + "</body>\n"
    + "</sms>\n"
    + "</root>";
    //URL url = new URL("http://200.74.214.222:8080/MovilPlus/MovilPlusResponse");
    URL url = new URL("http://localhost:8080/SMSconnector/SMSReceiver");
    int i = 0;
    while (i!=1) {
    URLConnection conn = url.openConnection();
    conn.setDoOutput(true);
    OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
    wr.write(cadena);
    wr.flush();
    // Get the response
    BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    String line;
    while ((line = rd.readLine()) != null) {
    System.out.println(line);
    wr.close();
    rd.close();
    i = i + 1;}
    } catch (Exception e) {
    Now anybody could tell me WHAT I'M DOING WRONG???? Please, need real help here. I'm JAVA newbie but in desperation. Thanks!

    Yes, that's the problem kcounsel, thanks for your help, now I'm parsing I modified my code to store the data into a DATABASE, the problem is that it's not storing and neither giving me any exception for the DB, here's the code to see if you can manage something here:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.BufferedReader;
    import java.io.FileWriter;
    import java.io.PrintWriter;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.*;
    import org.apache.xml.serialize.*;
    import java.net.URLDecoder;
    import java.sql.*;
    import org.xml.sax.InputSource;
    import java.io.StringReader;
    * This class is made as a servlet for receiving strings and saving
    * them as DB records and XML files, it will save each sms in a different XML
    * generating the automatic number of the SMS.
    * <p>Bugs: (None untill now, please notify if you find one)
    * @author (Helder Martins ([email protected]))
    public class SMSReceiver extends HttpServlet
    //Public variables we will need
    public String Stringid;
    public String Stringpath;
    public String st;
    public int nid;
    //Servlet service method, which permits listening of events
    public void service(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException
    //Initialization for the servlet
    ServletOutputStream salida = res.getOutputStream();
    ServletInputStream entrada = req.getInputStream();
    try {
    //Reading of the entering string
    BufferedReader lector = new BufferedReader(new InputStreamReader (entrada));
    res.setContentType("text/HTML");
    //Database handler
    Class.forName("org.gjt.mm.mysql.Driver");
    Connection Conn = DriverManager.getConnection ("jdbc:mysql://localhost:3306/smsdb","root", "");
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    InputSource inStream = new InputSource(entrada);
    Document doc1 = builder.parse(inStream);
    NodeList listasms = doc1.getElementsByTagName("sms");
    for(int s=0; s<listasms.getLength() ; s++)
    Node nodosms = listasms.item(s);
    if(nodosms.getNodeType() == Node.ELEMENT_NODE)
    Element elementosms = (Element)nodosms;
    NodeList listatelf = elementosms.getElementsByTagName("tlf");
    Element elementotelf = (Element)listatelf.item(0);
    NodeList textTelfList = elementotelf.getChildNodes();
    String telefono = ((Node)textTelfList.item(0)).getNodeValue();
    //String SendingAddress = ((Node)textAddressList.item(0)).getNodeValue().trim();
    salida.println("Telefono " + telefono);
    NodeList listaop = elementosms.getElementsByTagName("op");
    Element elementoop = (Element)listaop.item(0);
    NodeList textOpList = elementoop.getChildNodes();
    String operadora = ((Node)textOpList.item(0)).getNodeValue();
    salida.println("Operadora " + operadora);
    NodeList listasc = elementosms.getElementsByTagName("sc");
    Element elementosc = (Element)listasc.item(0);
    NodeList textSCList = elementosc.getChildNodes();
    String shortcode = ((Node)textSCList.item(0)).getNodeValue();
    salida.println("Shortcode " + shortcode);
    NodeList listabody = elementosms.getElementsByTagName("body");
    Element elementobody = (Element)listabody.item(0);
    NodeList textBodyList = elementobody.getChildNodes();
    String body = ((Node)textBodyList.item(0)).getNodeValue();
    salida.println("Body " + body);
    Statement sta = Conn.createStatement();
    sta.executeUpdate("INSERT INTO smstable (telf,op,sc,body) VALUES ('" + telefono + "','" + operadora + "','" + shortcode + "','" + body + "')");
    Conn.commit();
    Conn.close();
    //Catching errors for the SAX and XML parsing
    catch (SAXParseException err)
    salida.println ("** Parsing error" + ", line " + err.getLineNumber () + ", uri " + err.getSystemId ());
    salida.println(" " + err.getMessage ());
    catch (SAXException e)
    Exception x = e.getException ();
    ((x == null) ? e : x).printStackTrace ();
    catch (Throwable t)
    t.printStackTrace ();

  • Got problem in loading xml

    Hi All,
    Because of your help I am doing small application and I am new in xml I gets small small problem and by the your help i cam solve it.
    Now i have last problem when i solve it then my tool gets complete. I have attached small code of it and its working. The problem is when i fill one methods parameter information its comes in all methods. Which is wrong.
    I want output like:
    <?xml version="1.0" encoding="UTF-8"?>
    <interface>
        <name>the name of package</name>
        <className>The name of class</className>
        <methods>
               <name>the name of the method</name>
              <invokeKind/>
              <returnType>the return type of the method</returnType>
              <optionalParameters/>   
              <parameters>
                       <name>Param1</name>
                       <type>Void</type>
               </parameters>
         </methods>
         <methods>
                <name>the name of the method22</name>
               <returnType>the return type of the method22</returnType>
               <parameters/>
          </methods>
    </interface>But output comes like
    <?xml version="1.0" encoding="UTF-8"?><interface>
    <name>the name of package</name>
    <className>The name of class</className>
    <methods>
    <name>the name of the method</name>
    <invokeKind/>
    <returnType>the return type of the method</returnType>
    <optionalParameters/>
    <parameters>
    <name>Param1</name>
    <type>Void</type>
    </parameters>
    </methods>
    <methods>
    <name>the name of the method22</name>
    <returnType>the return type of the method22</returnType>
    <parameters>
    <name>Param1</name>
    <type>Void</type>
    </parameters>
    </methods>
    </interface>
    I have not given parameter in second method but given in first method but replicates in second thats y i am stucked,
    Please help me.
    Code is ::
    import java.io.File;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.DocumentFragment;
    import org.w3c.dom.Node;
    public class TryXML
         public static void main(String args[])
              try
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                DocumentBuilder parser = factory.newDocumentBuilder();
                Document methoddoc = parser.parse(new File("methodinfo.xml"));
                Document packageDoc = parser.parse(new File("interface.xml"));          
                //***Package information           
                Node packagenameNode = packageDoc.getElementsByTagName("name").item(0);
                Node packageclassNode = packageDoc.getElementsByTagName("className").item(0);
                packagenameNode.setTextContent("the name of package");
                packageclassNode.setTextContent("The name of class");
                //***First method information
                Node nameNode = methoddoc.getElementsByTagName("name").item(0);
                Node returnTypeNode = methoddoc.getElementsByTagName("returnType").item(0);
                nameNode.setTextContent("the name of the method");
                returnTypeNode.setTextContent("the return type of the method");
                //**Parameter Informtion of this method.
                Document parameterDoc = parser.parse(new File("parameter.xml"));
                Node paramnameNode = parameterDoc.getElementsByTagName("name").item(0);
                Node paramreturnTypeNode = parameterDoc.getElementsByTagName("type").item(0);
                paramnameNode.setTextContent("Param1");
                paramreturnTypeNode.setTextContent("Void");
              //***adding parameter information into method.
                Node methodaddnode = methoddoc.importNode(parameterDoc.getDocumentElement(), true);
                DocumentFragment docfrag = methoddoc.createDocumentFragment();
               //***Move the nodes into the fragment
               while (methodaddnode.hasChildNodes())
                    docfrag.appendChild(methodaddnode.removeChild(methodaddnode.getFirstChild()));
               Node paramNode = methoddoc.createElement("parameters");
               methoddoc.getDocumentElement().appendChild(paramNode);
               paramNode.appendChild(docfrag);
               //***adding first methode's information into package.
               Node node = packageDoc.importNode(methoddoc.getDocumentElement(), true);
               docfrag = packageDoc.createDocumentFragment();
              while (node.hasChildNodes())
                  docfrag.appendChild(node.removeChild(node.getFirstChild()));
              Node methodnode = packageDoc.createElement("methods");
              packageDoc.getDocumentElement().appendChild(methodnode);
              methodnode.appendChild(docfrag);
              //***adding second methode's information into package.
              nameNode.setTextContent("the name of the method22");
                returnTypeNode.setTextContent("the return type of the method22");
                node = packageDoc.importNode(methoddoc.getDocumentElement(), true);
                docfrag = packageDoc.createDocumentFragment();
              while (node.hasChildNodes())
                  docfrag.appendChild(node.removeChild(node.getFirstChild()));
              Node methodnode2 = packageDoc.createElement("methods");
              packageDoc.getDocumentElement().appendChild(methodnode2);
              methodnode2.appendChild(docfrag);
              //**Display
                DOMSource source = new DOMSource(packageDoc);
                StreamResult result = new StreamResult(System.out);
                TransformerFactory transformerFactory = TransformerFactory.newInstance();
                Transformer transformer = transformerFactory.newTransformer();
                System.out.println("This is the content of the XML document:\n");
                transformer.transform(source, result);
              catch (Exception e)
    }regards
    -bunty

    my problem was, if i dont have parameters for second method then also parameters of first methods comes into 2nd method. I think its headache for me.
    Parmeter.xml:
    <parameter>
        <name></name>
        <type></type>
    </parameter>Method.xml
    <method>
        <name></name>
        <returnType></returnType>
         <parameters>
        </parameters>
    </method>So my quetion is, I have put whole parameter.xml into method.xml's parameter node. In previous post u said refresh it. How can i refresh it ? not get this point .
    Code is :
    import java.io.File;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class TryXML
         public static void main(String args[])
              try
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                DocumentBuilder parser = factory.newDocumentBuilder();
                Document methoddoc = parser.parse(new File("method.xml"));
                Document packageDoc = parser.parse(new File("interface.xml"));
                Document parmerterDoc=parser.parse(new File("parameter.xml"));
                //***Package information           
                Node packagenameNode = packageDoc.getElementsByTagName("name").item(0);
                Node packageclassNode = packageDoc.getElementsByTagName("className").item(0);
                packagenameNode.setTextContent("package1");
                packageclassNode.setTextContent("class1");
                //***First method information
                Node nameNode = methoddoc.getElementsByTagName("name").item(0);
                Node returnTypeNode = methoddoc.getElementsByTagName("returnType").item(0);
                nameNode.setTextContent("method1");
                returnTypeNode.setTextContent("int");
                //**Parameter Informtion of this method.
                Node paramnameNode = parmerterDoc.getElementsByTagName("name").item(0);
                Node paramreturnTypeNode = parmerterDoc.getElementsByTagName("type").item(0);
                paramnameNode.setTextContent("Param1");
                paramreturnTypeNode.setTextContent("Void");
                NodeList list = parmerterDoc.getElementsByTagName("parameter");
                Element element = (Element)list.item(0);
                NodeList list1 = methoddoc.getElementsByTagName("parameters");
                Element element1 = (Element)list1.item(0);
                // Make a copy of the element subtree suitable for inserting into doc2
                Node dup = methoddoc.importNode(element, true);
                // Insert the copy into doc2
                element1.appendChild(dup);
                NodeList methodlist = methoddoc.getElementsByTagName("method");
                Element methodelement = (Element)methodlist.item(0);
                NodeList methodlist1 = packageDoc.getElementsByTagName("methods");
                Element methodelement1 = (Element)methodlist1.item(0);
                // Make a copy of the element subtree suitable for inserting into doc2
                Node methoddup = packageDoc.importNode(methodelement, true);
                // Insert the copy into doc2
                methodelement1.appendChild(methoddup);
    //          ***Second method information
                nameNode = methoddoc.getElementsByTagName("name").item(0);
                returnTypeNode = methoddoc.getElementsByTagName("returnType").item(0);
                nameNode.setTextContent("method2");
                returnTypeNode.setTextContent("short");
                //**Parameter Informtion of this method.
                 methodlist = methoddoc.getElementsByTagName("method");
                 methodelement = (Element)methodlist.item(0);
                 methodlist1 = packageDoc.getElementsByTagName("methods");
                 methodelement1 = (Element)methodlist1.item(0);
                // Make a copy of the element subtree suitable for inserting into doc2
                 methoddup = packageDoc.importNode(methodelement, true);
                // Insert the copy into doc2
                methodelement1.appendChild(methoddup);
              //**Display
                DOMSource source = new DOMSource(packageDoc);
                StreamResult result = new StreamResult(System.out);
                TransformerFactory transformerFactory = TransformerFactory.newInstance();
                Transformer transformer = transformerFactory.newTransformer();
                System.out.println("This is the content of the XML document:\n");
                transformer.transform(source, result);
              catch (Exception e)
                   e.printStackTrace();
    }Message was edited by:
    bunty_barge

  • Error importing AWM XML Schema in OWB repository

    Hi, as you suggest me I downloaded the OWB expert "AW XML Import Expert" on this page:
    http://www.oracle.com/technology/products/warehouse/htdocs/OWBexchange.html?cat=ALP&submit=search
    I correctly installed it on OWB, I created a module linking to the GLOBAL sample location with the tables, but when I try to import an AWM XML file (for example PRICE_CUBE.xml) I get this error:
    EXP00008: error during expert execution:
    java.net.MalformedURLException: no protocol: OLAP METADATA
    while executing
    "$saxparser parse $parserInput"
    invoked from within
    And so with any other dimension or cube file exported from Global Sample in AWM.
    Also using IE8 and Firefox 3 I can't open this file, and in IE I get
    System: -2146697211. Error during elaboration of resource "OLAP METADATA". Error during the elaboration...
    %BIND_VALUES;
    Is there a problem in the XML? Or in my procedure?

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

Maybe you are looking for