XML source content problem in 5.0.2

Hi,
I installed optional web component xml source portlet and I migrated ptxmlsp content in my 5.0.2 portal successfully on MS .NET. I have instentied my portlet with well formed xml and xsl files. Displaying page, portlet display message "Error: Display Timeout". After a look to tomcat log file i found in stderr.log this message :
org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
The same problem occurs with a 5.0.2 portal installed on java.
Can anyone help me ?

Thank you for your help.
Running xalan on command line with option java -verboseI have seen that tomcat didn't call the xalan.jar located in endorsed directory. We wrote a bat file to launch tomcat as a windows service without reference to "endorsed" directory. You have to include following line in your bat file : -Djava.endorsed.dirs="E:\jakarta-tomcat-4.1.27-LE-j2sdk1.4.1_05\common\endorsed" to ensure that correct java class is loaded.
Now XML souce portlet works fine.
Thanks again.

Similar Messages

  • XML News content modification problem in Portal application

    Hi,
    We are trying to update the xml news content in Portal application with KM API.
    We are getting following exception while updating the content.
    javax.xml.transform.TransformerException: Namespace fixup failed. Prefix 'xsi' used in attribute 'xsi:noNamespaceSchemaLocation' is not declared anywhere
    Please let me know what's to be done
    Thanks

    Hello,
    I faced the same problem in a similar implementation: Message "Namespace fixup failed. Prefix 'xsi' used in attribute 'xsi:noNamespaceSchemaLocation' is not declared anywhere".
    When looking at the attributes of the org.w3c.dom.Document, I saw that the namespace URI of xsi was already null after parsing.
    The solution which made it work for me was
    factory.setNamespaceAware(true);
    before parsing the XML text. The URI of xsi was then the one provided by the document.
    P.S.: Unfortunately, the error message did not pop up in this test code:
    package mytests;
    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import junit.framework.TestCase;
    import org.w3c.dom.Document;
    import org.xml.sax.InputSource;
    import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl;
    public class XmlFormsHelperTest2 extends TestCase {
        Document doc;
        String xmldoc =
            "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                + "<News_Header_v2 xmlns:xf=\"http://www.sapportals.com/wcm/app/xmlforms\" xmlns:xsi=\"http//www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"/etc/xmlforms/News_Header_v2/btexx_News_Header_v2-Schema.xml\">"
                + "<text>This is the main text</text>" + "</News_Header_v2>";
        protected void setUp() throws Exception {
            super.setUp();
        public void testToDoc() throws Exception {
            Document doc = setupDocumentSap(xmldoc);
            assertEquals("News_Header_v2", doc.getDocumentElement().getTagName());
            assertEquals("This is the main text", doc.getDocumentElement().getFirstChild().getTextContent());
        public void testFromDoc() throws Exception {
            Document doc = setupDocumentSap(xmldoc);
            String actual = xmlToString(doc);
            assertEquals(xmldoc, actual);
         private Document setupDocument(String xmltext) throws Exception {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setValidating(false);
            factory.setCoalescing(true);
            DocumentBuilder builder = factory.newDocumentBuilder();
            return builder.parse(new InputSource(new StringReader(xmltext)));
        private Document setupDocumentSap(String xmltext) throws Exception {
            DocumentBuilderFactory factory = new DocumentBuilderFactoryImpl();
            factory.setValidating(false);
            factory.setCoalescing(true);
            //factory.setNamespaceAware(true);
            DocumentBuilder builder = factory.newDocumentBuilder();
            return builder.parse(new InputSource(new StringReader(xmltext)));
        public static String xmlToString(Document xmlDocument) throws Exception {
            Source xmlSource = new DOMSource(xmlDocument);
            StringWriter stringWriter = new StringWriter();
            Result outputTarget = new StreamResult(stringWriter);
              TransformerFactory.newInstance().newTransformer().transform(xmlSource, outputTarget);
            return stringWriter.getBuffer().toString();

  • Problem with update XML source in ALDSP 2.5 !!!

    hi,
    i am trying to write update logic for XML source in overrideclass of ALDSP 2.5. But the updated data in XML at server side can not be reflected in client side: the XML file is updated at server side, but the queried data by client side is still old. If i use workshop at server to query, then the result is correct. How can this be resolved??
    thanks !!!
    wanxg

    Please include all the code involved - your client, your DSP Project an your UOV.I meant to zip up the code and post it. Not just mention it.
    Go here and read section 1.1 for differences between the Test View and a client. When you execute from a client, the EAR is used as the source of everything in your DSP Project. So if you have an xml file within your DSP Project, you are actually reading an xml file within the EAR. If your UOV writes to a file on disk, then that file on disk will be updated. And the next read will read the file in the EAR (which will be unchanged).
    So for your XML file, it would have to be outside your DSP project - and specified with an absolute url (file://d:|/myfiles/...) (I'm not sure if that is even allowed).
    If you search around on your disk, starting from <domain> directory, you might find the xml file that you have 'updated' - not that it will help - it will just explain your 'mystery' a little bit.

  • Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error o

    When I was Importing data from XML to SqlServer using SSIS , I am getting this error. The import is working if i use small file and not working if I use large XMl file. Can any one of you guys help me out with the issue?
    Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
    Error: 0xC02092AF at Data Flow Task, XML Source [24515]: The component "XML Source" (24515) was unable to process the XML data. Pipeline component has returned HRESULT error code 0xC020902A from a method call.
    Error: 0xC0047038 at Data Flow Task: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "XML Source" (24515) returned error code 0xC02092AF.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "SourceThread0" has exited with error code 0xC0047038.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread1" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread3" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread4" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread2" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread0" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread1" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread2" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread3" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread4" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.

    The reason is in the first line of the error.  It doesn't have anything to do with the size of your XML file - it has to do with the contents of the "MsgLev1" column.  You (or the XSD) has indicated that the values in this column not exceed a certain size - but one of the values in the file that's failing is larger than that.
    In order to fix the problem, you're going to need to increase the allocated space for that column.  In order to do that, you're going to need to find out what the required size of that data is - either from someone who ought to know, or by direct examination of the file.  If you want to know which entity has this overly large data element in it, you need to configure the error handling of the XML Source to "redirect truncation errors".  Then you can hook up the XML Source's error output to another destination where you can see which rows are problematic.
    Talk to me on

  • How can I transfer a XML file content to a MS SQL database by stored procedure using LabWindows/CVI SQL Toolkit?

    Hi,
    I have a problem to transfer a XML file content to a MS SQL database by a given/fixed stored procedure. I'm able to transfer the content of the file by using following method ...
    hstmt = DBPrepareSQL (hdbc, EXEC usp_InsertReport '<Report> ..... </Report>');
    resCode = DBExecutePreparedSQL (hstmt);
    resCode = DBClosePreparedSQL (hstmt);
    ... but in this case I'm not able to fetch the return value of the stored procedure! 
    I have tried to follow the example of the stored procedure in the help documentation (DBPrepareSQL) but I miss a datatype for xml?!?
    Any idea how to solve my problem?
    KR Cake  
    Solved!
    Go to Solution.

    After some additional trials I found a solution by calling the stored procedure in this way
    DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_STORED_PROC);
    DBPrepareSQL (hdbc, "usp_InsertReport");
    DBCreateParamInt (hstmt, "", DB_PARAM_RETURN_VALUE, -1);
    DBCreateParamChar (hstmt, "XMLCONTENT", DB_PARAM_INPUT, sz_Buffer, (int) strlen(sz_Buffer) + 1 );
    DBExecutePreparedSQL (hstmt);
    DBClosePreparedSQL (hstmt);
    DBGetParamInt (hstmt, 1, &s32_TestId);
    where sz_Buffer is my xml file content and s32_TestID the return value of the stored procdure (usp_InsertReport(@XMLCONTENT XML))
    Now I face the problem, that DBCreateParamChar limits the buffer size to 8000 Bytes.
    Any idea to by-pass this shortage??

  • Attempt to process file failed with Exception in XML Parser-format problem

    Hi all,
    Iam getting an unusual error in the J2EE stack in XI.
    And the message is:
    006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)' 2006-11-30 17:31:07 Error Exception caught by adapter framework: null 2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    My scenerio iam posting IDOC to a flat file with content conversion in the receiver side,the mapping got executed successfully and in the audit log i found that the error was after the 'Start converting XML document content to plain text'.
    This means that error occured during content conversion of XML to the prescribed file format.
    Can anyone suggest any better approach using which we may trace the junk data in IDoc. Manual adhoc approach could take time and is error prone.
    Thanks in advance...
    karun

    Hi Bhavesh,
    Thanks for the early reply. I checked the mapping and everything is fine and the output is also in valid XML format.
    The audit log shows that the mapping got executed successfully and the error is after the step 'Start converting XML document content to plain text '. Is there any constraint in the file adapter regarding the message size for parsing.
    2006-11-30 17:30:50 Success Transfer: "BIN" mode, size 2912595 bytes, character encoding -
    2006-11-30 17:30:50 Success Start converting XML document content to plain text
    2006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)'
    2006-11-30 17:31:07 Error Exception caught by adapter framework: null
    2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2006-11-30 17:31:07 Success The asynchronous message was successfully scheduled to be delivered at Thu Nov 30 17:36:07 GMT 2006.
    2006-11-30 17:31:07 Success The message status set to WAIT.
    2006-11-30 17:31:08 Success Acknowledgement creation triggered for type: SystemErrorAck
    2006-11-30 17:31:08 Success Acknowledgement sent successfully for type: SystemErrorAck
    2006-11-30 17:36:08 Success Retrying to deliver message to the application. Retry: 1

  • Styling XML with XSLT Problem with javax.xml.transform???

    I have been trying to make a transformation and seem to be having a problem in that javax.xml.transform can not be found while using jdk1.3....If I use jdk1.4, there is no problem....
    Does anyone know how I can get things to work using jdk1.3???
    (Description of what I am doing...1) Building XML Source 2) Setting up the XSLT File 3) Building Source Object 4) Build Result Object 5) Transforming the Data.....MY RESULT SHOULD BE AN HTML PAGE)
    I have tried putting xerces.jar and xalan.jar in my CLASSPATH....but this still doesn't work....onyl thing that has worked is using jdk1.4 as my JAVA_HOME....
    PLEASE HELP!!!!

    PLEASE HELP....your advice here would be greatly appreciated.....

  • SSIS "XML Source Adapter" can't make XSD location an expression

    I am using the "XML Source Adapter" in an SSIS package.
    I notice that although you can specify the XML filename as an expression, the XSD appears to have to be a fixed file path.
    This is a problem for me since the path for the XSD is different in my development than it will be in production (in production it's on drive E:, which I don't have).
    I'd like to have the file location specified in the config file, but since I can't make it an expression how can I do that?
    Also, since they don't have Connection Managers I can't switch DelayValidation on.
    Thanks.

    Hi John,
    Here is my pevious post
    I have about 400 xml files with me and all this data has to be loaded in about 30 tables, Basically have 30 different varities of xml files and matching 30 xsd files. We were trying to load all this using "Data Flow Task" and "XML Source".  Using
    FOR Each Loop passing appropriate XML File and XSD to Data Flow task and load it in one shot. Rather than having 30 different Data Flow tasks. Is there any other way, we can accomplish this task using a loop and dynamically passing the different files.
    You have suggested to follow the URL
    There's some example code here for package generation here:
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17647
    Everywhere I see, they are suggesting to use Flat File or Excel data examples. Do you have any posting that can help me to use XML file as a dynamic input file for XML Source.
    If anyone has any code samples how we can use XML files as dynamic source for XML Source task to import data into SQL Sever, that would be really appreciated.
    Thanks

  • Issues with XML Source Code

    Has anyone seen or heard fo this issue:
    I was sent a new xml source code and loaded it into my .rtf file. When I went to preview the file it showed up no problem. All great and dandy!
    When I tried to add a field and preview the field would not show up. Yes, there is data in the XML sourse code for the tag.
    I decided to run a test and load some of the old XML source code and had no problems. I was able to move fields, add plain text, and delete fields and my changes would display in the preview.
    The only thing we can think of that is different is that the previous xml source code was generated from 9. 2. 08 database we recently upgraded to 10g. The new source code is from 10g.
    Does this make any sense? Would our upgrade to 10g result in not being able to change the template? Or is it something else?
    Thanks,
    Jessica

    Tim,
    I actually just sent you an e-mail. It contains the rtf and the source codes.
    Thanks,
    Jessica

  • Error Referencing XML Source

    Using NetBeans' Build > Generate Javadoc for Project ...
    init:
    Warning: Leaving out empty argument '-windowtitle'
    Generating Javadoc
    Javadoc execution
    C:\Program Files\netbeans-5.5.1\projects\Jesdisciple\nbproject\build-impl.xml:392: Javadoc returned -1073741515
    BUILD FAILED (total time: 2 seconds)1) How do I include -windowtitle? (That might be more appropriate for the NetBeans list, but I'd appreciate help here as it would save me some time.)
    2) What does the error mean and how can I fix it?

    Hello Paul,
    Thank you for your help, but the project that I'm working on I'm unable to send to you the PDF file, for security policies reason.
    The form has 11 pages and trying to solve the problem I deleted 10 pages. So now I can see the XML Source but I found a weird thing:
    in a Decimal Field, I found up to 65.000 occurrences of
    instead of just one. What is it mean?
    Is there another way to see the XML source?
    Diego

  • Traversal field in XML Source of LiveCycle Designer files

    Can someone explain to me how the Traversal field
    in XML Source relates to the tab order for an entire PDF form?  Like in my form i have the following, but both have 70 in them, but different names (field vs draw), but i dont know how that relates to the overall tab order of the entire PDF.
    <traversal><
    traverse ref="#field[70]"/></
    traversal> 
    <traversal><
    traverse ref="#draw[70]"/></
    traversal>

    It tells where to tab to next - those are attached to a field and point to the next field to go to.
    #field[70] and #draw[70] are field names in your form. I think those tags only show up if you start using custom tabbing order.
    Something looks odd though - did you name your fields with "#" in front? I might be wrong but that may cause problems for some things (not tabbing per se) - someone else here can hopefully correct me or not.

  • SSIS XML Source not importing data

    ISSUE:
    I'm working from a complex xml schema.  The issue I'm having is that the xsd passes SSIS XML Source validation, I'm able to create each table from its connections, but on import it executes and succeeds but w/o importing any data.
    FILE DETAILS:
    The xsd is not generated from the xml file.  It is provided by a client to guarantee that it covers all possible relationships. I understand that I can create an xsd in the SSIS XML Source but exporting a full data set each time there is a schema change
    and then creating a new xsd file is not ideal, nor does it guarantee that all relationships will be correctly generated.
    The Schema version does match the XML version (which is a bit suspect since I can still run xml files on the old schema w/o error)
    QUESTIONS:
    1. I have been unable to find an answer as to why this happens.  Can anyone shed light on why the data is ignored?  I've read that it's not an uncommon occurrence but have not season an answer on why.  Getting an answer to this is probably
    the most important.
    2. My Options?:
    a. I am not proficient in C# so i cannot script the import, plus there are over a 100 tables currently being generated. So I am ruling this out
    b. This is my most likely approach: I will create an xsd from a large data set and then manually adjust any inconsistencies I find.

    Thank you Arthur
    I previously tried testing w/ DataViewer.  The issue is that no rows are retrieved or inserted so there is no data to view.
    When I was referring to the versions I was really meaning each new release.  These are important if there are element changes.  Regardless, it does not seem to have an impact.
    And I understand the problems w/o having concrete examples.  
    I found this article noting the issue and providing documents that should create the same issue. I did not test his documents since I know what the issue looks like.  
    But it's back to question #1 in that I have not been able to find any articles stating why.  I would greatly appreciate any insite.
    Here is the excerpt:
    "In the below example, I am using sample "purchase order" and "customers and orders" XML files which can be downloaded from the MSDN
    site: http://msdn.microsoft.com/en-us/library/bb387034.aspx andhttp://msdn.microsoft.com/en-us/library/bb387025.aspx respectively.
     I also downloaded related XSD files at: http://msdn.microsoft.com/en-us/library/dd489284(v=vs.110).aspx and http://msdn.microsoft.com/en-us/library/bb675181.aspx.
    Both of these XML files are moderately complex with several layers (or nested) values. Unfortunately, as an XML file's hierarchy structure and complexity increases, often times the supplied XSD file do not parse and load the data correctly. Often
    the load will occur without error, however no data is transferred. Thus, the Generate XSD button will need to be used to generate a new XSD file to be used for importing. The Generate XSD process works well most often, but you may need to adjust it for
    special cases within your XML file."
    Here is the url: http://www.mssqltips.com/sqlservertip/3141/importing-xml-documents-using-sql-server-integration-services/

  • [CS5-5.5][JS] Replace xml element content with user selection

    Hi,
    I'm trying to write a script that replaces xml element content with a user selection.
    I have document containing a textframe with a "root" tag attached. In this frame I have 2 paragraphs, each tagged with a different tag.
    I would like to replace the content of one of the paragraphs with the content of a text selection.
    This piece of code doesn't seem to work:
    myXMLElement.xmlContent = app.selection[0];
    The problem is that almost all properties of the xmlelement (paragraphs, words, etc) are read-only.
    Does anyone have any suggestion?
    Thanx

    It depends on whether you want to maintain formatting. You can use
    myXMLElement.contents = app.selection[0].contents;
    in the (unlikely?) event that you don't mind blowing away the formatting. Otherwise you'll want to use something like:
    myXMLElement.xmlContent.remove();
    app.selection[0].duplicate(LocationOptions.AT_BEGINNING, myXMLElement.xmlContent);
    Jeff

  • Streaming XML file content to a HTTPS servlet..

    Hi,
    I want to stream the contents of a XML file , which I have generated through XDK for PL/SQL, to a HTTPS address for a servlet.
    This HTTPS connections uses certifcates for user authentication. I have the certifcate on my local machine. Is there anyway of doing this through PL/SQL? Are there any packages available in Oracle 8.1.6 for this purpose? Can somebody tell me if there is a better way of doing this?
    Any help will be greatly appreciated.
    Thanks.

    After some additional trials I found a solution by calling the stored procedure in this way
    DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_STORED_PROC);
    DBPrepareSQL (hdbc, "usp_InsertReport");
    DBCreateParamInt (hstmt, "", DB_PARAM_RETURN_VALUE, -1);
    DBCreateParamChar (hstmt, "XMLCONTENT", DB_PARAM_INPUT, sz_Buffer, (int) strlen(sz_Buffer) + 1 );
    DBExecutePreparedSQL (hstmt);
    DBClosePreparedSQL (hstmt);
    DBGetParamInt (hstmt, 1, &s32_TestId);
    where sz_Buffer is my xml file content and s32_TestID the return value of the stored procdure (usp_InsertReport(@XMLCONTENT XML))
    Now I face the problem, that DBCreateParamChar limits the buffer size to 8000 Bytes.
    Any idea to by-pass this shortage??

  • Bug:cant create xml source from Oracle BPEL console

    hi
    follow this
    1) create a xsd A, in this create 2 elements in requestmessage input and xyz.
    2) create xsd B, in this make a complex type abc in this put an element on string type.
    3) set the type of xyz to abc. and import the target namespace of B.
    deploy it and on SOA BPEL console and click on xml source radio button.
    if its working at your place pls let me know.
    dont just see reply something.;)
    YYY
    Message was edited by:
    user573911

    you may want to check out commands like xmlforest and xmlelement
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions221.htm
    copied from documentation
    Purpose
    XMLForest converts each of its argument parameters to XML, and then returns an XML fragment that is the concatenation of these converted arguments.
    •If value_expr is a scalar expression, then you can omit the AS clause, and Oracle Database uses the column name as the element name.
    •If value_expr is an object type or collection, then the AS clause is mandatory, and Oracle uses the specified c_alias as the enclosing tag. The c_alias can be up to 4000 characters.
    •If value_expr is null, then no element is created for that value_expr.
    Examples
    The following example creates an Emp element for a subset of employees, with nested employee_id, last_name, and salary elements as the contents of Emp:
    SELECT XMLELEMENT("Emp",
    XMLFOREST(e.employee_id, e.last_name, e.salary))
    "Emp Element"
    FROM employees e WHERE employee_id = 204;
    Emp Element
    <Emp>
    <EMPLOYEE_ID>204</EMPLOYEE_ID>
    <LAST_NAME>Baer</LAST_NAME>
    <SALARY>10000</SALARY>
    </Emp>

Maybe you are looking for