Mapping without namespaces

Hallo all!
I am using a web service framework which creates WSDL files for each web service method I am using. From that WSDl file the XI-mapping tool expects the elements of the XML message which I want to transform to be namespace-qualified. My problem is that the child elements of the root element in the messages send from my web service are NOT namespace-qualified.
How can I make the XI mapping tool to ommit any checks for namespaces? Right now I can not use the mapping tool at all and I am thinking of using XSL which is more flexible here.
Any help is highly appreciated!
Denis
Message was edited by: Denis Schlesinger

Hi Denis,
the question whether child elements have to be namespace qualified or not, is specified in the XSD description of the message (in case of WSDL this XSD description can be found in the types-section of that WSDL). XSD knows several possibilities to provide this information. The most commonly used one is the usage of the attribute <i>elementFormDefault</i> which may have values <i>qualified</i> and <i>unqualified</i>. The second value is default. As the Mapping Tool expects namespace-qualified child elements I assume that the XSD contains <i>elementFormDefault="qualified"</i>. When the message you get contains unqualified elements this means, that it is not compliant with the WSDL.
Therefore you should negotiate with the sender of the message either to adapt the WSDL or to adapt the web service such that they fit together.
Greetings
Stephan

Similar Messages

  • Message Mapping Issue with data without namespace

    Hi,
    I have a common xsd imported which has its own target namespace into my SWC namespace. Based on this xsd I have generated a Message Interface and webservice and given the wsdl to third party system for invoking my webservice.
    The problem is I have done the message mapping based on xsd which has namespace but whereas the third party system which is consuming my webservice is sending the xml data without any namespace and because of which my mapping is failing (target structure is not getting generated as expected). I have tested the mapping with namespace and without namespace from IR already. I have explained this below with example.
    I cannot change the xsd as it is a common and even cannot ask the end system to change the data format they are sending as they are sending the same data to some other systems also, which are not complaining.
    How to resolve this issue in XI?
    Actual xml data generated from my imported xsd (with namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Root xmlns:ns0="http://employee/types">
       <ns0:EmployeeDetails>
          <ns0:EmployeeId>12</ns0:EmployeeId>
            <ns0:EmployeeName>XYZ</ns0:EmployeeName>
    </ns0:EmployeeDetails>
    </ns0:Root>
    Actual Data coming from third party system (without namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
       <EmployeeDetails>
          <EmployeeId>12</EmployeeId>
            <EmployeeName>XYZ</EmployeeName>
    </EmployeeDetails>
    </Root>
    Thanks
    Amit

    Just  wild guess:)
    I am not 100% sure but i guess XSLT mapping does not checks the incoming payload against the sender message type.Within XSLT mapping you can add/remove namespace as you would like,use this XSLT mapping before your actual message mapping in interface mapping.
    I am saying this coz recently i was able to generate XSLT mapping(in altova Map Transform) without even specifying any sender or receiver Message type and it worked just fine.
    Thanx
    Aamir

  • NWDS adding prefix without namespace

    Hi,
    I'm facing an issue with a prefix without namespace.
    I'm calling a webservice defined on XI from EP through a Service built in NWDS.
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wn3="http://www.w3.org/1999/XMLSchema" xmlns:wn2="http://www.w3.org/2000/10/XMLSchema" xmlns:wn1="http://www.w3.org/2001/XMLSchema" x ... "http://www.w3.org/2001/XMLSchema-instance" xmlns:wn4="http://iwaysoftware.com/iwaf/XI/System" xmlns:tns="http://iwaysoftware.com/iwaf/XI/System">
    <SOAP-ENV:Body>
    <wn4:EPSiebelActionMT>
    <prt0:select/>
    </wn4:EPSiebelActionMT>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Prefix 'prt0' is not mapped to a namespace but is added to the <select> node.
    The call to XI leads to an error since XI seems to dislike undefined prefix.
    What should be done ?
    Thx,
    mejj

    Hello,
    I have the same problem.
    Does someone know how to solve the problem?
    Thanks.

  • Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default

    in use:
    vRO 5.1
    eclipse 3.7.2
    vRo plug-sdk 5.1
    steps:
    1.create a plug-in project from samples(choose solar system)
    2.find the dar package and upload it by vRo configuration
    3.vRo configuration said upload successfully,but the solar system configuration is not properly configued..
    problem:
    Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default
    How to solve it??
    Thanks so much!!

    There was problem from crm side...its working now..

  • Duplicate Message ID issue in case of Multi mapping (without BPM)

    Hi Experts,
    I am doing one sample Example for my requirement of converting the single source message data into the multiple Target messages.
    for example, when sender system is sending the 5 sale order details into a single message in PI then my Inbound proxy class of ECC R/3 receiver system must get this sale orders separately, that means inbound proxy class method must be triggered separately for 5 sale orders from sender system. for achieving this, I have used the Multi mapping concept in ESR (without BPM).
    This scenario is in Asynchronous mode.
    The below screen shots give the details on what I have configures so far.
    IN ESR
    IN ID
    IN SXMB_MONI of PI
    IN SXMB_MONI of ECC R/3 Receiver system (Error in Processing)
    due to this error, inbound Proxy class method is not being triggered for the single Sale order details as well,
    please let me know how to tackle this duplicate message ID issue when we have multiple payloads to process in a single message.
    please also let me know if is there any other workaround to fulfil this requirement.
    Thank you,
    Regards,
    Jagesh

    Hi Nunu,
    Check the below blog for restrictions.
    Multi-Mapping without BPM - Yes, it’s possible!
    Restrictions
    Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
    Regards,
    Praveen.

  • Multi-Mapping without BPM

    Hi ,
    I am following this weblog
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    but stuck up with what are the fields contained by ID in target message2 ...
    Please check this for your clarification
    http://www.flickr.com/photos/11212307@N08/1135395357/
    Thanks
    dushanth

    ID will have only ID under it. instead of creating flat structure like the one above Jin has changed the strucutre below . you will have only ID field in it or you want u can add other fields in it .
    Regards
    Sreeram.G.Reddy

  • N:1 mapping without BPM

    Hi All,
    Is it possible to do N:1 mapping without BPM in PI 7.1 ?
    Thanks and regards
    Uma

    Hi,
    >Yeah, It is possible.
    how can it be possible based on ANY requirement ?
    you just cannot receive many messages into PI and bundle them into
    one without BPM - and this is final
    can you tell the way if you know how to do it without a BPM
    in any (even very specific) scenario ?
    thanks,
    Regards,
    Michal Krawczyk

  • 1:N mapping without BPM ( Idoc Receiver)

    Hi,
    I have a scenario like 1:N, source would be JMS and the receiver side have two Idocs with the same business system. based on one Item segment value, I need to route the input JMS message to corresponding receiver IDoc.
    INput Structure:
    Record
    Header 1..1
    H1
    H2
    H3
    Item 1..Unbounded
    I1
    I2
    I3
    NOte: Based on value I2, I need to route the message to corresponding receiver Idoc. like If I2=A then Idoc1 and I2=B then Idoc2. Can we achieve the same without using BPM?
    -Esha

    Hi,
    This can be achieved with Interface Determination conditions. Go for 2 mapping. And in Interface Determination put condition to check which mapping to use. No need of ccBPM.
    If you still want to go for 1:N multimapping please refer link:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    without BPM.
    Regards,
    Vineetha.
    Edited by: Vineetha on Apr 27, 2010 11:44 AM

  • Error in Multi-mapping without BPM

    Hi frnds,
    I am doing a scenario File-XI-File. I am using the multi-splitting thing in the Message mapping. I have taken care of all the occurance's and "enhanced" thing in the IR and ID resp. I m using SP16. I want to avoid BPM.
    But therez sme error cming up. When I check the MONI, its shwing "No messages created from split mapping" and when I test my interface using the Test Configuration in the ID, its shwing error in the Receiver Determination -- "HTTP connection to ABAP Runtime failed. Error: 403 Forbidden"
    I have checked most of the blogs and forum suggestions. I have checked the ICF activations as well ...
    So, do come back to me with your valuable suggestions, and I will award them points, if they really help me out.
    Thanks and regards.
    Neetesh

    Hi Neetesh,
    <i>
    When I check the MONI, its shwing "No messages created from split mapping"</i>
    For this, Can you check the source XML. Does it contain Tags like <messages> .. If yes, you need to remove them from your source XML.
    If i am right, you have copied the XML from the TEST tab of the message mapping and pasted it in a notepad and saved it without making any changes at all..... Just do as i have mentioned above and i am sure you will no more get that error message in your MONI....
    Also go through this weblog which talks about multi-mapping without BPM,
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Abhy

  • File to file mapping without xml

    Hello,
    is there a possible way to use a PI7.1 file to file mapping (one static-positioned field must be mapped) without storing the file in xml format ?
    We are having a flatfile and have to send this flatfile through our jms receiver adapter(as flatfile structure) but there is one important field which has to be mapped/changed(static value for all files).
    Our SAP Applikation (File sender) would avoid to change this during or after creating the flatfiles in the R/3 System.
    Thanks,
    Gordon

    Hi Gordon,
    >- Do you have an example for that abap mapping ?
    DATA g_str TYPE string.
      CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
        EXPORTING
          im_xstring  = source
          im_encoding = 'UTF-8'
        IMPORTING
          ex_string   = g_str.
      REPLACE 'ABC' WITH 'XYZ' INTO g_str.
      CALL FUNCTION 'ECATT_CONV_STRING_TO_XSTRING'
        EXPORTING
          im_string   = g_str
          im_encoding = 'UTF-8'
        IMPORTING
          ex_xstring  = result.
    >I think i have to use some entry parameters for my interface right ?
    ?? no..
    >- Is it possible to use that within the integrated configuration ?
    ??  yes..
    Regards,
    Udo

  • Array of Maps without generic or warnings?

    How would I create an array of maps without getting an error about a generic type or a warning?
    This will give me an error.
    HashMap<Integer,Integer> test = new HashMap<Integer,Integer>[5];This will give me a warning.
    HashMap<Integer,Integer> test = new HashMap[5];

    Dennis_Martinez wrote:
    Could I see an example? I'm a little lost on doing so.I suspect you know how to use lists and ask for an example demonstrating the inherent unsafety. So here it is:
    List<String>[] generic = new List<String>[1]; // assume this works
    List<Integer> ints = new ArrayList<Integer>();
    ints.add(42);
    Object[] o = generic;
    o[0] = ints; // this should not work, but it does (erasure)
    List<String> strings = generic[0]; // really it's a list of Integers, ohoh
    // now you pass that list somewhere completely unrelated and try to get an element:
    String s = strings.get(0); // ClassCastExceptionCompare this to:
    String[] strings = new String[1];
    Object[] objects = strings;
    objects[0] = 42; // ArrayStoreExceptionWith kind regards
    Ben

  • 1:N mapping without using BPM

    Hi All,
    I am facing a problem in 1:N mapping without using BPM...
    I would explain regarding it first...
    Scenarion is from SAP > XI> 3files
    I have 4 XSD's 1) one is Source Idoc XSD (all xsd's imported to External def.s)
                          2) target file 1 XSD
                           3) target file 2 XSD
                          4) target file 3 xsd
    I have created 4 message interfaces one is Outbound and rest 3 are Inbound
    and also i have done mapping : In mapping messages tab i have mentioned the 3 XSD(External definitions) and done the mapping as required...
    But now my problem is how to proceed with Interface mapping ...
    should i create 3 interface mappings ( ithink no) ... but in IM i am able to create for only one taget Interface .. how to with 3 XSD's ...
    Any solution is always thankfull...
    and Points are surely rewarded....
    Thanks and Regards,
    Sridhar Reddy

    Hi Sridhar,
    Receiver Determinatiion: one Receiver without Condition (Service that has all the Three inbound Interfaces).
    Then in Interface Determination choose enhanced  and choose ur Interface Mapping that has the Multi Mapping.
    It will automatically provide the three inbound Interfaces and u can create ur receiver agreements.
    Reference Blog:
    <a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible:///people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Sudharshan

  • 1:n mapping without BPM

    Hello Friends,
    I need some help about this mapping issue.
    input file :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                   <ID>12222333444</ID>
                   <points>50</points>
              </Object_1>
              <Object_1>
                   <ID>12222333555</ID>
                   <points>20</points>
              </Object_1>
              <Object_1>
                   <ID>1222233777</ID>
                   <points>10</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    output file1 :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                  <ID>12222333444</ID>
                   <points>50</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    output file 2 :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                  <ID>12222333555</ID>
                   <points>20</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    output file 3 :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                  <ID>1222233777</ID>
                   <points>10</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    Best regards,
    FK

    I think you have not followed the blog properly for your requirement.
    for example: Source File is like this.
    <Records>
      <FirstName>Sarvesh</FirstName>
      <LastName>Singh</LastName>
      <Dept>SAP</Dept>
      <EmpID>12345</EmpID>
      <Domain>technical conslultant</Domain>
      <Experience>5 years</Experience>
    </Records>
    'N' Target Structure are
    <Records>
      <EmpName>
               <FirstName>Sarvesh</FirstName>
               <LastName>Singh</LastName>
      </EmpName>
    </Records>
    <Records>
      <EmpDetail>
             <Dept>SAP</Dept>
             <EmpID>12345</EmpID>
             <Domain>technical conslultant</Domain>
             <Experience>5 years</Experience>
      <EmpDetail>
    </Records>
    So if you think your requirement is as per the above examples then follow /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible blog.
    Regards,
    Sarvesh

  • 1:N Mapping without BPM - Inbound Structure

    Hello,
    I know that a 1:N Mapping without BPM should be possible with newer releases. I tried to do so and set the occurences in the signature tab of message mapping to 1:N.
    However the problem I am facing right now is that a new <Messages> element is wrapped around the source structure. So the incoming message is not valid anymore and therefore the target structure is empty. How should this be handled? Does the source system need to add a new <messages> root element or is ccBPM not avoidable in my case?
    Thank you!

    Hi Guppenberger,
    I understand your doing 1:N mapping without BPM.
    There is no need to added the message wrapper when you are testing your scenario end to end. But if you are testing your message mapping alone, wrapper is required in test tab of Message Mapping. Please refer this blow [Link|/people/ranga.rajan2/blog/2010/03/17/multi-mapping-with-a-simple-scenario--fledgling-kit ], have a look at payload screenshot. I suggest you to check you payload (for end to end testing) and mapping logic again.
    Regards,
    Raghu_Vamsee

  • Sequential mapping without using BPM

    I have a requirement where i need to do a sequential mapping without using BPM. IDoc to file is the first mapping.A few fields of the IDoc are transformed in this mapping. Output of this first one should contain the transformed as well as rest of the fields of the IDoc as it is coz they will be used in the second mapping.
    Is this possible any way?

    yes soumen...u can do it.in the interface mapping option is there to do that...
    but u can do it in a single mapping!!!
    go thro'  this general Idoc to file scenario...u may get some help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539

Maybe you are looking for