XML NameSpace Issue Confused whether it is a bug

Hi,
The issue is that the generated XML and Actual XML vary as the following: -
The namespace which is used in the Actual XML is globally used and whereas In the generated XML It is used locally wherever the corresponding element or type is used in the XML Actually, which should not happen.
I am confused whether it is a bug or an issue if this is an issue can somebody please suggest me a solution
Generated XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<namespace1:utilAuthenticate xmlns:namespace1="http://NAMESPACE1Services.com">
    <namespace2:ccInfo xmlns:namespace2="http://Namespace2CompanionElements.com">
        <namespace2:UKCreditCard>visa</namespace2:UKCreditCard>
        <namespace2:ccAttributes houseNo="koramangala" cardIssueNumber="321" postCode="533201" cardExpDate="01/01/2006" cardNumber="999999999999998" cardIssueDate="01/01/2005" cv2="123" cardHolderName="murali"/>
    </namespace2:ccInfo>
    <namespace2:ourReference xmlns:namespace2="http://Namespace2CompanionElements.com">reference3</namespace2:ourReference>
</namespace1:utilAuthenticate>
Actual XML
<?xml version="1.0" encoding="UTF-8"?>
<namespace1:utilAuthenticate xmlns:namespace1="http://NAMESPACE1Services.com"
    xmlns:namespace2="http://Namespace2CompanionElements.com">
    <namespace2:ccInfo>
        <namespace2:UKCreditCard>VISA</namespace2:UKCreditCard>
        <namespace2:ccAttributes cardNumber="4627851535817358"
            cardExpDate="05/08" cardHolderName="testnamecard" cv2="482"
            houseNo="75" postCode="NW1 2PL"/>
    </namespace2:ccInfo>
    <namespace2:ourReference>gm-002025004</namespace2:ourReference>
</namespace1:utilAuthenticate>The code to give the namespaces is the following line: -
schemaMarshaller.setProperty("com.sun.xml.bind.namespacePrefixMapper",new NamespacePrefixMapperImpl());
The complete code to Generate the XML is :-
Marshaller schemaMarshaller = jaxbContext.createMarshaller();
schemaMarshaller.setProperty("com.sun.xml.bind.namespacePrefixMapper",new NamespacePrefixMapperImpl());
schemaMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
schemaMarshaller.marshal(bizObj, baos);
NamespacePrefixMapperImpl is the class written by me which should implement the interface NameSpacePrefix (A JAXB Runtime Class)
And the code for the class is : -
import com.sun.xml.bind.marshaller.NamespacePrefixMapper;
class NamespacePrefixMapperImpl extends NamespacePrefixMapper {
     * This method returns prefix for a given namespace uri.
    public String getPreferredPrefix(String namespaceUri, String suggestion,
            boolean requirePrefix) {
        if ("http://gshop.eai.o2c.ibm.com".equals(namespaceUri))
            return "gshop";
        if ("http://Namespace2CompanionElements.com"
                .equals(namespaceUri))
            return "namespace2";
        if ("http://NAMESPACE1Services.com".equals(namespaceUri))
            return "namespace1";
        if ("http://www.w3.org/2001/XMLSchema".equals(namespaceUri))
            return "xs";
        return suggestion;
    public String[] getPreDeclaredNamespaceUris() {
        return new String[] {};
}Thanks in Advance for any suggestion.
Thanks
Manjith Kumar A.

Hi Suren7669,
Welcome to the Support Communities!
To resolve this issue, I would suggest updating your iOS to the latest, which is 7.0.3.
iOS 7.0.3
http://support.apple.com/kb/DL1691
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
Cheers,
- Judy

Similar Messages

  • XML namespace issue

    Hi,
    I have a quick question,please help me out I have an xml file,
    <?xml version="1.0" ?>
    <customers xmlns="http://localhost/openuri.org">
    <customer>
    <Firstorder>
    <ordername xmlns="http://orcl.com" >Computer</ordername>
    <cost>35785638</cost>
    </Firstorder>
    <Secondorder>
    <ordername xmlns="http://orcl.com" >Laptop</ordername>
    <cost>35785638</cost>
    </Secondorder>
    </customer>
    </customers>
    If i want to extract the values such as ordername from <Firstorder>,i have written the query as
    SELECT extractValue(bod, '//Firstorder/ordername, xmlns="http://orcl.com"')
    Ordername FROM orderdb. It's displays null value but if i query
    SELECT extract(bod, '//ordername, xmlns="http://orcl.com"').getStringVal()
    Ordername FROM orderdb .It's displaying both ordernames,Computer and Laptop
    but i want specific values such as from <Firstorder><ordername> and <SecondOrder><ordername> values what would be the query.
    We are using oracle 10g R2.
    Please help me out how to solve this problem.
    Thanks in advance

    So this?:
    michaels>  SELECT EXTRACTVALUE (COLUMN_VALUE, '//ordername', 'xmlns="http://orcl.com"')
                                                                        ordername
      FROM TABLE
              (XMLSEQUENCE
                  (EXTRACT
                      (XMLTYPE
                          ('<?xml version="1.0" ?>
    <customers xmlns="http://localhost/openuri.org">
    <customer>
    <Firstorder>
    <ordername xmlns="http://orcl.com" >Computer</ordername>
    <cost>35785638</cost>
    </Firstorder>
    <Secondorder>
    <ordername xmlns="http://orcl.com" >Laptop</ordername>
    <cost>35785638</cost>
    </Secondorder>
    </customer>
    </customers>'
                       '/customers/customer/Firstorder',
                       'xmlns="http://localhost/openuri.org"'
              ) t
    ORDERNAME                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
    Computer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
    1 row selected.

  • Issue with XML namespace and Message structure

    Hi All,
    I am using Oracle SOA Suite 11.1.1.4. I have SOA web service application one-way messaging wherein I keep receiving messages from the third party. The issue I am facing is with the XML namespaces which conflicts with the third party's message structure. The details are as below.
    Our Web-service WSDL*
    <schema attributeFormDefault="unqualified" elementFormDefault="qualified"
    targetNamespace="http://amb.com/cad/RealTimeService"
    xmlns:cad="http://amb.com/cad/RealTimeService"
    xmlns:avl="http://schemas.com/asiapac/cad/datamodel/avl/1.0.0"
    xmlns:evn="http://schemas.com/asiapac/cad/datamodel/event/1.0.0"
    xmlns:uni="http://schemas.com/asiapac/cad/datamodel/unit/1.0.0"
    xmlns:dvt="http://schemas.com/asiapac/cad/datamodel/divert/1.0.0"
    xmlns:sui="http://schemas.com/asiapac/cad/datamodel/suppinfo/1.0.0"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.com/cad/datamodel/avl/1.0.0"
    schemaLocation="AvlCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/unit/1.0.0"
    schemaLocation="UnitCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/event/1.0.0"
    schemaLocation="EventCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/divert/1.0.0"
    schemaLocation="HewsCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/suppinfo/1.0.0"
    schemaLocation="SupplementalInformationCadSchema.xsd"/>
    <element name="AvlAuxData" type="avl:AvlAuxData" nillable="true"/>
    <element name="AgencyEvent" type="evn:AgencyEvent"/>
    <element name="Diversion" type="dvt:HospitalDiversionMessage"/>
    <element name="SupplementalInformation" type="sui:SupplementalInformation"/>
    <element name="UnitDetail" type="uni:UnitDetail"/>
    </schema>
    Using SOAP UI tool a HospitalDiversionMessage Request for the above WSDL will look like*
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:real="http://amb.com/cad/RealTimeService" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <*real*:Diversion>
    <ns:Action>?</ns:Action>
    <ns:Open>?</ns:Open>
    <!--Optional:-->
    <ns:Location>?</ns:Location>
    <ns:Type>?</ns:Type>
    <ns:SubType>?</ns:SubType>
    <!--Optional:-->
    <ns:ExpiryTimestamp>?</ns:ExpiryTimestamp>
    <!--Optional:-->
    <ns:Comment>?</ns:Comment>
    <!--Optional:-->
    <ns:ItemNumber>?</ns:ItemNumber>
    <!--Optional:-->
    <ns:Notifications>?</ns:Notifications>
    <ns:CreatedTerminal>?</ns:CreatedTerminal>
    <ns:CreatedTimestamp>?</ns:CreatedTimestamp>
    <!--Optional:-->
    <ns:ClosedBy>?</ns:ClosedBy>
    <!--Optional:-->
    <ns:ClosedComments>?</ns:ClosedComments>
    <!--Optional:-->
    <ns:ClosedTerminal>?</ns:ClosedTerminal>
    <!--Optional:-->
    <ns:ClosedTimestamp>?</ns:ClosedTimestamp>
    </real:Diversion>
    </soapenv:Body>
    </soapenv:Envelope>
    Now the third party sends a HospitalDiversionMessage in this format_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://amb.com/cad/RealTimeService" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <ns0:Diversion>
    <ns0:Action>?</ns0:Action>
    <ns0:Open>?</ns0:Open>
    <!--Optional:-->
    <ns0:Location>?</ns0:Location>
    <ns0:Type>?</ns0:Type>
    <ns0:SubType>?</ns0:SubType>
    <!--Optional:-->
    <ns0:ExpiryTimestamp>?</ns0:ExpiryTimestamp>
    <!--Optional:-->
    <ns0:Comment>?</ns0:Comment>
    <!--Optional:-->
    <ns0:ItemNumber>?</ns0:ItemNumber>
    <!--Optional:-->
    <ns0:Notifications>?</ns0:Notifications>
    <ns0:CreatedTerminal>?</ns0:CreatedTerminal>
    <ns0:CreatedTimestamp>?</ns0:CreatedTimestamp>
    <!--Optional:-->
    <ns0:ClosedBy>?</ns0:ClosedBy>
    <!--Optional:-->
    <ns0:ClosedComments>?</ns0:ClosedComments>
    <!--Optional:-->
    <ns0:ClosedTerminal>?</ns0:ClosedTerminal>
    <!--Optional:-->
    <ns0:ClosedTimestamp>?</ns0:ClosedTimestamp>
    </ns0:Diversion>
    </soapenv:Body>
    </soapenv:Envelope>
    Questions*
    1) I cannot figure out how the SOAPUI tool or SOA substitutes "real" as the namespace prefix for the WSDL based HospitalDiversionMessage and what I need to do at my end to match the message structure as per what the third party needs.
    2) I need ns0 namespace prefix to whole of Diversion xml element. Currently it is "real" at top Diversion element and "ns" for its children
    Please suggest, I can attach the other imported XSD if need be.
    Thanks
    Edited by: user5108636 on Jun 13, 2011 6:55 PM
    Edited by: user5108636 on Jun 13, 2011 6:57 PM
    Edited by: user5108636 on Jun 13, 2011 7:02 PM

    Questions
    1) I cannot figure out how the SOAPUI tool or SOA substitutes "real" as the namespace prefix for the WSDL based HospitalDiversionMessage and what I need to do at my end to match the message structure as per what the third party needs.The xml namespace suffixes like real and ns0 are just references used by the XML Parsers. For that matter the "real" can be xyz as well.
    You dont need to make any changes as long as the xml namespace suffixes refer to the same namespace.
    If you see the first soapUI xml and the third party xml have the same namespace references and hence it is not a problem:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:real="*http://amb.com/cad/RealTimeService*" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <*real*:Diversion>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="*http://amb.com/cad/RealTimeService*" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <*ns0*:Diversion>
    2) I need ns0 namespace prefix to whole of Diversion xml element. Currently it is "real" at top Diversion element and "ns" for its childrenBased on this, logically both the xmls represent the same xml message. And hence you dont need to make any changes.
    Please refer to the basics of xml namespaces using the following links:
    http://en.wikipedia.org/wiki/XML_namespace
    http://zvon.org/comp/r/tut-Namespace.html#Pages~Introduction
    Let us know if you still need clarification.
    Hope this helps.
    Thanks,
    Patrick

  • Javax.servlet.ServletException: The name "" is not legal for JDOM/XML namespaces

    Dear all,
    First of all sorry, if this is not the right place for my question.
    I am facing some problem with the XFire Webservices. When i am trying to access the WSDL through the url. server is throwing the following exception :
    javax.servlet.ServletException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
         org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:143)
         org.codehaus.xfire.transport.http.XFireServlet.doGet(XFireServlet.java:107)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
         org.jdom.Namespace.getNamespace(Namespace.java:164)
         org.codehaus.xfire.util.NamespaceHelper.getUniquePrefix(NamespaceHelper.java:58)
         org.codehaus.xfire.aegis.type.basic.BeanType.writeSchema(BeanType.java:560)
         org.codehaus.xfire.wsdl.AbstractWSDL.addDependency(AbstractWSDL.java:224)
         org.codehaus.xfire.wsdl.AbstractWSDL.addDependency(AbstractWSDL.java:233)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createDocLitPart(WSDLBuilder.java:403)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createPart(WSDLBuilder.java:355)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.writeParameters(WSDLBuilder.java:509)
    cont.......
    I am not able to figure out the root cause for this. The service.xml file looks like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- START Service.xml -->
    <beans xmlns="http://xfire.codehaus.org/config/1.0">
    <!-- Construct the castor service factory by Spring -->
    <bean id="castorTypeRegistry" class="org.codehaus.xfire.castor.CastorTypeMappingRegistry"/>
    <bean id="bindingProvider" class="org.codehaus.xfire.aegis.AegisBindingProvider">
    <constructor-arg ref="castorTypeRegistry"/>
    </bean>
    <bean id="castorServiceFactory" class="org.codehaus.xfire.service.binding.ObjectServiceFactory">
    <constructor-arg index="0" ref="xfire.transportManager"/>
    <constructor-arg index="1" ref="bindingProvider"/>
    </bean>
    <service>
    <name>ReleaseManager</name>
    <namespace>ReleaseManager</namespace>
    <serviceClass>com.pinkroccade.jfoundation.calculation.releases.ReleaseManager</serviceClass>
    <implementationClass>com.pinkroccade.jfoundation.calculation.releases.ReleaseManagerImpl</implementationClass>
    <schemas>
    <schema>META-INF/schema/release-impact-worksheet-3.2.0.xsd</schema>
    </schemas>
    <style>document</style>
    <serviceFactory>#castorServiceFactory</serviceFactory>
    </service>
    </beans>
    <!-- END Service.xml-->
    The issue which i am facing is it due to the problem with the service.xml (Which i dont think so..), Or is it any thing to do with the XSD file which i am using.
    Can any body give me some guide lines for this ????
    Thanks in advance.
    Thanks and Regards,
    Manjunath.

    Any one any thoughts..
    I need to find out the solution for this as soon as possible; Not able to proceed further...
    Thanks and Regards,
    Manjunath.

  • Java mapping & namespace issue

    Hello,
    I am doing a java mapping from a flat file to an IDOC. After the document is mapped succesfully I call an RFC via the Adapter. When monitoring the adapter I get the error:
    com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
    so I added the namespace reference to my java mapping to look like this :
    <ns0:IDOC_INBOUND_ASYNCHRONOUS xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
    But when I test my java mapping in the builder (interface mapping) the namespace xmlns="urn:sap-com:document:sap:rfc:functions" is added to my above ns0:IDOC_INBOUND_ASYNCHRONOUS tag. The consequence is that while mapping in the integration engine the "ns0" prefix is then removed and I get the error:
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was.
    Any help or sample code resolving the namespace issue is welcome.
    Frank

    Hi Frank,
    I am getting the same error message. You fixed yours. Can you help me with mine. The error message is
      " Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was ."
    I am trying to send data to SAP SRM4.0 from SAP R/3 using SAP XI. XI content is delivered by SAP.
    The message is sent from R/3 to XI successfully and the XML monitor does not show any errors in XI . But the messages does not show up in SRM.
    Thanks
    Kishore.

  • XML Namespace in WebService Request/Response

    Hi all,
    I have a question regarding xml namespace usage in wsdl and the corresponding request/response messages.
    I have already browsed quite some articles about xml namespaces as well as some forum threads, but I am still not sure.
    I have the following part of a wsdl document (generated by Integration Directory), defining a targetnamespace.
    u2026
    <wsdl:types>
        <xsd:schema targetNamespace="http://www.dorma.com/sap/xi/finance"
                             xmlns="http://www.dorma.com/sap/xi/finance"
                             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:element name="DebtorGetDetailResponse" type="Z_BAPI_DEBTOR_GETDETAIL_Response"></xsd:element>
            u2026
            <xsd:complexType name="Z_BAPI_DEBTOR_GETDETAIL_Response">
                <xsd:sequence>
                    <xsd:element name="DEBITOR_COMPANY_DETAIL" type="BAPI1007_5" minOccurs="0">
                    </xsd:element> u2026
                </xsd:sequence>
            </xsd:complexType>
            u2026
        </xsd:schema>
        u2026
    </wsdl:types>
    u2026
    In my understanding, all types defined in the schema section of a wsdl document will be in the targetnamespace, if defined.
    Therefore the element DEBITOR_COMPANY_DETAIL would be in the namesapce
    http://www.dorma.com/sap/xi/finance
    However, the ABAP proxy generates a response message like follows,
    where only the root element is in this namespace and the child elements are in the global namespace:
    <?xml version="1.0" encoding="utf-8"?>
    <ns1:DebtorGetDetailResponse xmlns:ns1="http://www.dorma.com/sap/xi/finance"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <DEBITOR_COMPANY_DETAIL>
            u2026
        </DEBITOR_COMPANY_DETAIL>
        u2026
    </ns1:DebtorGetDetailResponse>
    Do I have a wrong understand of the wsdl (xml schema) or is this an erroneous behavior?
    The problem is that some 3rd-party software web service module does not accept
    the response message as not complient with the respective wsdl document.
    Any input is appreciated.
    Thanks
    Hans
    Edited by: Hans-Jürgen Schwippert on Oct 1, 2008 12:02 PM

    I have the same problem. I am trying to connect to a webservice running on IBM websphere but it doesn't accept the xml in my request. It appears to be the same namespace issue.
    Did you ever find a solution for this?
    Is it a valid webservice call if you omit the namespace for an element or is this a bug in the Adaptive WS implementation?
    Web Dynpro web service model generated request:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header>
    <sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
    <enableSession>true</enableSession>
    </sapsess:Session>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    look between these lines -
    <ns1:tamKontrolleraKontoLastAnrop xmlns:ns1="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
    <AnvandarNamn>30039647</AnvandarNamn>
    </ns1:tamKontrolleraKontoLastAnrop>
    look between these lines -
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    As you can see the tag
    <AnvandarNamn>30039647</AnvandarNamn>
    is missing a namespace.
    It should be
    <ns1:AnvandarNamn>30039647</ns1:AnvandarNamn>
    Using a third part tool called Soapui i generate this request that works:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tam="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
       <soapenv:Header/>
       <soapenv:Body>
          <tam:tamKontrolleraKontoLastAnrop>
             <tam:AnvandarNamn>30039647</tam:AnvandarNamn>
          </tam:tamKontrolleraKontoLastAnrop>
       </soapenv:Body>
    </soapenv:Envelope>

  • Namespace issue--No target namespace in the xsd

    Hi All,
    Currently facing error at the time of deploying composites because of namespace issues
    I have two source system XSD's without targetnamespace and both schemas are defaulted to the same namespace as xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    i am using these xsd's in bpel process as below
    My Bpel processA (Using XSD-A) invoking source system with Operation A and source returns the XML content in string format and i am parsing the XML content using XSD-A. After parsing based on the business logic i am invoking Bpel process C.
    After Invoking bpel process C , Bpel process A invokes Bpel process B with 3 input parameters. Now my Bpel process B invokes source system with Operation B and source returns the XML content in string format and i am parsing the XML content using XSD-B.
    Now at the time of deployment i am facing issue in deploying Bpel Process-A and getting errors as *"element names are duplicated"*. In Both XSD most of the element are named as same including root element.
    I am sure this happens because there is no qualifier namespace in the xsd to avoid ambiguous.
    Could some one please help me in solving this issue by using same xsd without namespace
    Regards,
    Tarak.

    Hi,
    Thanks for the response
    No simple solution... You will have to work this around... In your case you have the xml as string, so may you can inject a namespace there and change the XSD's accordingly...
    Yes.. Its difficult to get the solution for this and more over i am not using both xsd's but using wsdl file of sever address side in reference panel which as the second XSD with same namespaces.
    I tried injecting custom namespace to solve the issue but at run time i am not able to get the node values because source system giving with default namespace and in SOA i am accepting with custom targetnamespace.Because of this my xpath is not working.
    Separate into two composites would be another way, but that doesn't seem to be an option...
    This can be done but again one composite should reference the other one which in turn coming back to the same problem.
    For Work around i have create one more service which can break the dependency between two services using xsd's of same default namespace. But i feel this is not an effective solution for designing the process.
    Let me know if you strike with some work around on this.
    Regards,
    Tarak.

  • Multilingual Issue/Confusion for PT849/FSCM90 ML install

    Hello,
    Recently I've installed a PT8.49, FSCM 9.0 with FSCM 9.0 ML. But there're several steps fails or I was confused at.
    Here's the main procedure of the installation I went throu.
    1. Install WebLogic/Tuxedo
    2. Instal PT8.49/FSCM 9.0/FSCM 9.0ML
    3. Manually create Oracle DB (follow the Manually DB setup on Unix section of Official installation guide.)
    4. Setup App Server
    5. PIA setup/Batch server setup
    Here's the issue i met with:
    During the step 3, manually create Oracle DB, after applying some dms/sql scripts & copying several projects, I went into the point that need to update the PT system msg for multilingual to run the pt849tlsXXX.dms for each LANGUAGE_CD(after applying pt849tls.dms). As it's supposed to apply all the multilingual, I ran the scripts from pt849tlsara to pt849tlszht one by one for each language, but some of the pt849tlsXXX encountered with the same error while applying the data mover scripts:
    Importing PSFILEDEFN
    File: Data MoverSQL error. Stmt #: 0 Error Position: 0 Return: 805 - ORA-00001: unique constraint (SYSADM.PS_PSFILEDEFN) violated
    Failed SQL stmt:INSERT INTO PSFILEDEFN (FILEID, USERFILENAME, OBJECTOWNERID, VERSION, LASTUPDDTTM, LASTUPDOPRID) VALUES (:1, :2, :3, :4, TO_TIMESTAMP(:5,'YYYY-MM-DD-HH24.MI.SS.FF'), :6)
    Error: SQL unable to commit transaction for PSFILEDEFN
    The Import PSFILEDEFN is at the bottom of the scripts and all other importing before PSFILEDEFN was successful. Here's the Language which encountered with this issue: CFR, DUT, ESP, FRA, GER, JPN, POR, ZHS; ALL other language ran successfully without error msg.
    For installation, I skipped this and continued. BUT i have no idea why it failed, is that a bug or some steps stuck, anyone can help?
    Here's the confusion about multilingual:
    In the installation official guide, it wrote that PPLTLSML is only for french, and Non-french multilingual is using the project PPLTLS84CURML.
    During the Step 3, after copying the project PPLTLS84CUR, I copy the PPLTLSML first with only French language selected, then when doing the copying PPLTLS84CURML project, I was confused whether to include french or not. Actually I selected all languages besides ENG, Common & French for the copying.
    I'm confused if CFR should be included in PPLTLSML or PPLTLS84CURML?
    And French should be selected or not during copying the PPLTLS84CURML?
    However, there're 2 tasks: Running Additional Data Mover Scripts & Installing a Multilingual PT System Database before running VERSION AE, are these 2 tasks the same one with the previous tasks done (epXXXa.dms generated in the initial data mover DB setup scripts, and copy mulitilingual projects steps before copy the PPLTLS84DEL)? Why these 2 taks are put in this part of the doc? As I did the installation according to the doc chapter order, thus makes me confused alot about these 2 tasks.
    Any explanation would be appreciate.
    Thanks

    Thanks, and for those scripts I've run, think the following scripts should be added at the beginning of the scripts a little diff than the one in solution.
    SET LOG PT849TLS<LANG>.LOG;
    SET INPUT PT849TLS<LANG>.DAT;
    DELETE FROM PSFILEDEFN WHERE FILEID IN (SELECT XLIFF_FILEID FROM PSXPTMPLTRINFO WHERE TMPLLANGCD = '<LANG>');
    DELETE FROM PSFILEDATA WHERE FILEID IN (SELECT XLIFF_FILEID FROM PSXPTMPLTRINFO WHERE TMPLLANGCD = '<LANG>');
    SET START PSFILEDEFN;
    IMPORT *;
    Another error, maybe it corrupts by the tasks behind this, since it relates to the LNG record, ignore it.
    FYI:
    SET START PSXPTMPLTRINFO;
    DELETE FROM PSFILEDEFN WHERE FILEID IN (SELECT XLIFF_FILEID FROM PSXPTMPLTRINFO WHERE TMPLLANGCD = '<LNG>');
    DELETE FROM PSFILEDATA WHERE FILEID IN (SELECT XLIFF_FILEID FROM PSXPTMPLTRINFO WHERE TMPLLANGCD = '<LNG>');
    DELETE FROM PSXPTMPLTRINFO WHERE TMPLLANGCD = '<LNG>';
    But an error on PSXPRPTDEFNLNG.
    Records remaining: 1
    Importing PSXPRPTDEFNLNG
    File: Data MoverSQL error. Stmt #: 0 Error Position: 0 Return: 805 - ORA-00001: unique constraint (SYSADM.PS_PSXPRPTDEFNLNG) violated
    Failed SQL stmt:INSERT INTO PSXPRPTDEFNLNG (REPORT_DEFN_ID, LANGUAGE_CD, DESCR) VALUES (:1, :2, :3)
    Error: SQL unable to commit transaction for PSXPRPTDEFNLNG
    Edited by: user10476222 on Apr 1, 2009 6:09 PM

  • XML Namespaces

    Hi Friends,
    This question should be asked in any XML forum. But I think I will get good answer from here only.
    Well, the thing is that I am little bit confused about XML Namespaces values. They are just literal string, that's what I currently understand, in terms of URL or URN.
    What I want to know is, can this URL or URN hold the value (string) which is not existing really.
    As an example, is the following URL valid value for Namespace ?
    http://www.abc.efg.ijk/pqr/xyz/Student
    Thanks,
    Bakul.

    Hi,
    I tried to look into the link you mentioned, but it's exhaustive document.
    I just wanted to know that, is it necessary to have URLs or URNs used as namespace, should be registered with some body ?
    If it is like that, then everytime a developer wants to use a namespace, it will have to contact that body and get it registered. That doesnt sound practicle.
    Can you pls help me understand it ??
    Thanks,
    Bakul.

  • XML file Issue..

    Hi guys,
    My question is in a real time scenario how the file is asked for ?
    As for testing a simple file scenario we usually get the sample file in XI from Message mapping tool only, this sample file contains primary tag of message type with attribute of namespace  : <b><ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file"> </b> "
    <ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file">
       <Record>
          <Row>
             <FirstName>q</FirstName>
             <LastName>R</LastName>
             <MiddleName>S</MiddleName>
             <City>Delhi</City>
           </Row>
       </Record>
    </ns0:MT_FILE_INPUT>
    but when a client will provide us a file it will be a simple xml file like...
    <Record>
          <Row>
             <FirstName>q</FirstName>
             <LastName>R</LastName>
             <MiddleName>S</MiddleName>
             <City>Delhi</City>
           </Row>
       </Record>
    As you can see primary tag of Message type with namespace will be missing...
    because of that mapping exception is thrown in pipeline service....
    <b>My question is how to tackle this ...</b>
    Regards,

    Hi
    While creating the message type there will be a tab called "XML Namespace", remove the entry of http://bsptrng.file2file from there.
    regards
    Sam

  • XML namespace in xml converted pdf

    Hello everyone
    I have a problem when converting pdf's in xml. Everytime when I convert a PDF(either with Acrobat or with mailing the file as XML) in XML the date fields always in middle shows the xml namespace xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" . We are using these xml's to transfer data to an accounting software but the software recognizes the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" as an error and because of that the data couldn't be uploaded. We created the PDF using a xsd scheme made in the accounting software. Is there a way to get rid of xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" showing in the date fields.
    I appreciate every possible help

    Hi,
    It sounds like you have the nillable="true" attribute in you XSD for the date field.
    If you XSD looks like;
    <xs:element name="Date1" type="xs:date" nillable="true"/>
    Then you will get the following when the field Date1 is bound to is left blank.
    <Date1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
    This is the correct behaviour, so I am either not understanding the problem or there is a bug in the accounting software you are using.
    Maybe you could try replacing the nullable="true" with a minOccurs="0".  This will mean the element will not appear in the XML at all.
    Regards
    Bruce

  • Idoc to XML, namespace is not getting created in output XML

    Hi All
    My interface is idoc to XML.
    I am using graphical message mapping.
    In output xml , namespace is not  formed
    Can any one tell why namespace is not  created in the XML and
    How to add the  namespace to the  output XML .
    Kindly help
    Regards,
    Sheela

    Hi,
    You can change your external definition to achieve it.  just compare the structure of your xsd with some other normal data type xsd and change accordingly.
    Inder

  • VerifyError #1025 - default xml namespace and getter function

    I have narrowed the problem down to a a few lines. I have
    created a simple example of the problem...
    // TestClass.as
    package {
    import flash.events.EventDispatcher;
    public class TestClass extends EventDispatcher {
    private var _testVar:String;
    public function TestClass() {
    var testXML:XML = <node1 xmlns="
    http://www.testurl.com/"><node2><node3>some
    words of wisdom</node3></node2></node1>;
    default xml namespace = testXML.namespace("");
    _testVar = testXML.node2.node3;
    public function get testVar():String {
    return _testVar;
    // Test.fla - frame 1
    import TestClass;
    var myTestClass:TestClass = new TestClass();
    var someVar:String = myTestClass.testVar;
    trace(someVar);
    I get the following error...
    verify TestClass/get testVar()
    stack:
    scope: [global Object$ flash.events::EventDispatcher$
    TestClass$]
    locals: TestClass
    0:getlocal0
    stack: TestClass
    scope: [global Object$ flash.events::EventDispatcher$
    TestClass$]
    locals: TestClass
    1:pushscope
    stack:
    scope: [global Object$ flash.events::EventDispatcher$
    TestClass$] TestClass
    locals: TestClass
    2:getlocal1
    VerifyError: Error #1025: An invalid register 1 was accessed.
    at TestClass/get testVar()
    at Test_fla::MainTimeline/Test_fla::frame1()
    However if I take out the default xml namespace line, and
    create a new namespace it will work.
    var testNS:Namespace = new Namespace(testXML.namespace(""));
    _testVar = testXML.testNS::node2.testNS::node3;
    Thoughts??? It's driving me crazy. Thanks in advance...
    levi

    The attribute should be in the element's namespace. If I run this snippet on the timeline, it outputs the correct values.
    var xml:XML =
    <xml>
    <animal type="sheep" xmlns="http://blabla">
      <name>josh</name>
      <age>2</age>
    </animal>
    <animal type="cow" xmlns="http://blabla">
      <name>jim</name>
      <age>2</age>
    </animal>
    </xml>
    var ns:Namespace = new Namespace("http://blabla");
    default xml namespace = ns;
    trace( xml.animal.@type ); // OUTPUT: sheepcow

  • Default xml namespace = v hangs app

    This is probably due to my relative inexperience with Flex (using FlashBuilder 4.5 and Flex SDK 3.6) but I've got an app that is acting strangely and I'd like to find out what's wrong.
    Briefly, I'm trying to parse some XML (returned from a REST service) and, within a private function, am creating a namespace (call it v). I then use the directive default xml namespace = v. However, upon trying to launch and debug the app it hangs at application startup. The default directive is in a private function (actually a function called only when my HTTP service completes) of a component. Regardless, if I comment out the default directive the application works normally.
    Again, this function isn't even CALLED unless I essentially click a button to access the service, so I have absolutely no idea why it appears to be affecting the loading of my app.
    I have used Google to search for "Flex default xml namespace hangs app" but have found only one reference (in passing, with no solution offered).
    Thanks for any pointers.

    I will try at some point but I can't cut down my current app to do it, it's just too large.
    However, I did debug the app and I saw what the problem is. My view component, located in (for example) com.xyz.myapp.view, loads several other components, all located in com.xyz.myapp.components. As a result, the Panel component in the View contains  (among other directives) xmlns:components="com.xyz.myapp.components.*". Both the namespace variable v and the default xml namespace directive are in a private function in one of the components the main view loads. When I ran the app under the debugger it terminated almost immediately with "Error 1065: variable com.xyz.mypp.components::v is not defined".
    That's all I can tell you for now.
    Thanks for the reply.

  • Default xml namespace and attributes

    Hi,
    I was trying to use default xml namespaces, but came upon something strange.
    I got the following piece of xml:
    <animal type="sheep" xmlns="http://blabla">
        <name>josh</name>
        <age>2</age>
    </animal>
    and the following code
    public static var ns:Namespace = new Namespace("http://blabla");
    var xml:XML; // xml will be read into this var, not going into details here
    public function myfunc():void {
      default xml namespace = ns;
      trace(  xml.animal.@type );
    now for some reason, the elements are correctly traversed using the default namespace. But the attribute isn't found. After a bit of debugging, I found that I could only retrieve the attribute when using xml.animal.attribute(new QName("", "type")). Am I doing something wrong here? Why isn't the attribute in the same default namespace as the element?
    Kind regards,
    Jan

    The attribute should be in the element's namespace. If I run this snippet on the timeline, it outputs the correct values.
    var xml:XML =
    <xml>
    <animal type="sheep" xmlns="http://blabla">
      <name>josh</name>
      <age>2</age>
    </animal>
    <animal type="cow" xmlns="http://blabla">
      <name>jim</name>
      <age>2</age>
    </animal>
    </xml>
    var ns:Namespace = new Namespace("http://blabla");
    default xml namespace = ns;
    trace( xml.animal.@type ); // OUTPUT: sheepcow

Maybe you are looking for

  • Unable to assign the dimensions to the Applications

    Dear Experts, While i am assigning the Dimensions to the Consolidation Application i am getting the following error "THE FOLLOWING DIMENSIONS ARE SET AS CONCURRENT LOCK DIMENSIONS.[CATEGORY][P_CC] GO TO [CONCURRENT LOCK MENU] TO CONTINUE." Can you pl

  • Iphone display problem

    Hi, I'm having a problem with my iphone's display. I was playing dactyl then it my phone hang. When I pressed home button the display of the screen was zoomed. Its like there is something wrong with the resolution. I cant see the whole screen. I trie

  • Calling Delta Merge in DS after every commit

    Hi Folks, I am using an Delta extraction logic in DS to extract large table from ECC (50 Million rows) to the HANA database. The commits in DS job have been configured fopr every 10,000 records. Three questions 1) Should I disable the delta merge in

  • Beginners Questions about Multiple JPanels in JFrame and event handling

    I am a newbie with SWING, and even a newerbie in Event Handling. So here goes. I am writing a maze program. I am placing a maze JPanel (MazePanel) at the center of a JFrame, and a JPanel of buttons (ButtonPanel) on the SOUTH pane. I want the buttons

  • EDI - IDOC  mapping question

    Dear Experts, For transformations between EDI and basic IDOC types, are there any off-the shelf  (ready to use) options? If yes what are they? If not, what is the easiest way of mapping in between these structures? Our setup involves Seeburger's AS2