How to map different dataset with ESB

Hi All,
We have an interface in which an application is exposing webservice, but the way the msg format defined at the Requestor is not as provider
eg: wsdl of Service Requestor
<s:element name="sample">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SampleXML" type="s:string" />
</s:sequence>
</s:complexType>
sending the entire msg data in the element SampleXML
sample data:
<Complaint xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TestSchema.xsd">
<Com_Source_ID>1</Com_Source_ID>
<Address1>Test Address1</Address1>
<Address2>Test Address2</Address2>
<Address3>Test Address3</Address3>
<Address4>Test Address4</Address4>
<District>MUMBA</District>
the wsdl of the Service Provider looks like
<xsd:sequence>
<xsd:element
name="Id"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string30">
</xsd:element>
<xsd:element
name="AddressMaint-NewAddrLine1"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string100">
</xsd:element>
<xsd:element
name="AddressMaint-NewAddrLine2"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string100">
</xsd:element>
<xsd:element
name="AddressMaint-NewCity"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string50">
</xsd:element>
</Sequence>
How can i map these different dataset using ESB.
Any Ideas..
Thanks,
Azeem.

Hi All,
We have an interface in which an application is exposing webservice, but the way the msg format defined at the Requestor is not as provider
eg: wsdl of Service Requestor
<s:element name="sample">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SampleXML" type="s:string" />
</s:sequence>
</s:complexType>
sending the entire msg data in the element SampleXML
sample data:
<Complaint xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TestSchema.xsd">
<Com_Source_ID>1</Com_Source_ID>
<Address1>Test Address1</Address1>
<Address2>Test Address2</Address2>
<Address3>Test Address3</Address3>
<Address4>Test Address4</Address4>
<District>MUMBA</District>
the wsdl of the Service Provider looks like
<xsd:sequence>
<xsd:element
name="Id"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string30">
</xsd:element>
<xsd:element
name="AddressMaint-NewAddrLine1"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string100">
</xsd:element>
<xsd:element
name="AddressMaint-NewAddrLine2"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string100">
</xsd:element>
<xsd:element
name="AddressMaint-NewCity"
maxOccurs="1"
minOccurs="0"
type="xsdLocal1:string50">
</xsd:element>
</Sequence>
How can i map these different dataset using ESB.
Any Ideas..
Thanks,
Azeem.

Similar Messages

  • How to map Idoc fields with external file

    Hi All,
    How to map Idoc fields with external file.
    I want to check the settings where Idoc fields are mapped with external file.
    Thanks in advance.
    Regards,
    Govind.

    If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment

  • How to map a query with the Multiprovider?

    Hello All,
    Can any one please tell me how to map a query with a multiprovider?
    Appreciate your help.
    Regards,
    Soumya.

    Hi,
    Can you please elaborate , do you mean how to create a query with multiprovider. if that is your question it is very simple just create the query on the multiprovider.
    What is the purpose for mapping the query with multiprovider

  • How to map secondry elements with main if have same ids for both?

    I need to map secondry elements with its matching primary elements if they both have same id.
    How can this be achieved in xslt.
    If ids are not matching then not a single element of secondry sholud be shown.
    If ids matching, then other fields of secondry elements, should be mapped to similar fields of primary elements.
    Eg: Its like some program running and in between some add on programs started (may be trailor or advertisement).
    the add on program is not always shown (optional), and whenever shown it has its own data information etc etc.
    Please provide me some input, how to map and proceed.
    Not sure what this code is really doing.
    <xsl:template match="SECONDARY_EVENT_LIST">
              <xsl:variable name="secondaryElements" select="ancestor::SCHEDULE/SECONDARY_ELEMENT_LIST"/>
              <xsl:for-each select="SCHEDULE_ELEMENT_ID">
                   <xsl:variable name="id" select="."/>
                   <xsl:apply-templates select="$secondaryElements/SCHEDULE_ELEMENT[(@ID=$id)]"/>
              </xsl:for-each>
         </xsl:template>
    Is this having any relation with what my requirement is all about?

    Hi,
    You can use XPATH command to get the exact tag.
    You can access each tag with it location like “/Report_Name/Group_Tag/Element_ID”.
    I think this will remove the ambiguity of Tags with same ID.

  • How to map a table with out a primary key with a pojo?

    hello
    Is it possible to map a pojo with a table, table don't have primary key. I m using hibernate,How to do that in hibernate.
    Thanks &Regards
    snimi

    Hello,
    EclipseLink has support for database object-relational datatypes, but they are not supported or exposed through JPA. Instead, you will need to leave it unmapped and then change the mapping, using a customizer to create the mapping described:
    http://wiki.eclipse.org/Introduction_to_Object-Relational_Data_Type_Mappings_(ELUG)#Object-Relational_Data_Type_Array_Mapping
    Best Regards,
    Chris

  • How to map development object with quality object

    Hi
       I have problem regarding to mapping development object with quality  object  i.e the  development object will be order_dev  and quality object will be order_ qa ..i have to map this two wat is the process..
    thanku

    You have an object in QA and not in Dev....you want to map this QA object with an object in Dev.....create a same object in DEV and then do the mapping....then transport.....you should have both the objects in both the environments.
    When you say map...i assume it to be the mapping program (message/ XSLT/ JAVA)
    Regards,
    Abhishek.

  • How to map IDoc segment with qualifiers

    Hi everyone!
    I have the following problem: In an IDoc of type DESADV01 there can be several segments of type E2EDS01. Each segment has a different qualifier, which is the value of the field SUMID in this case. My target structure (type EDIFACT) now has several segments, each again with a sort of qualifier. Now I have to map the values of certain source segments to the respective target segments.
    Exaple (in XML format):
    Source
      <E1EDS01 SEGMENT="1">
        <SUMID>021</SUMID>
        <SUMME>0000000001.000</SUMME>
        <SUNIT>KGM</SUNIT>
      </E1EDS01>
      <E1EDS01 SEGMENT="1">
        <SUMID>022</SUMID>
        <SUMME>0000000001.000</SUMME>
        <SUNIT>KGM</SUNIT>
      </E1EDS01>
    Target
      <S_MEA>
        <C_C502>
          <D_6313>N</D_6313>
        </C_C502>
        <C_C174>
          <D_6411>KGM</D_6411>
          <D_6314>1</D_6314>
        </C_C174>
      </S_MEA>
      <S_MEA>
        <C_C502>
          <D_6313>G</D_6313>
        </C_C502>
        <C_C174>
          <D_6411>KGM</D_6411>
          <D_6314>1</D_6314>
        </C_C174>
      </S_MEA>
    (i have omitted several details here, but I'm only interested in the general procedure anyway).
    So in general the source segment with qualifier "021" should be mapped to a target structure with qualifier "N" etc.
    How can this be done using standard XI mapping techniques?
    Regards, Joerg

    Hi everyone!
    Thanks for your input data - unfortunately this wasn't quite what I was looking for. However I thik I solved my original problem and I just wanted to share this solution with you - maybe it helps others, maybe some of you have suggestions what I could do differently.
    To sum up the requirement: There can be multiple input segments, each with a certain qualifier. These input segments have to be mapped to the target segments, respectively - however, the qualifiers change. There can be several segments with qualifiers that do not match the requirement, and required segments might be missing.
    So here's what I came up with:
    Use the qualifier of the source segments as an input to a <b>FixValues</b> function. In this function, map the desired qualifiers to the value <b>true</b>, use <b>false</b> as the default value. Map the output of the <b>FixValues</b> function to a <b>createIf</b> function and use this to create the desired output segment. This way, for each of the required segments, one target segment will be created. All other segments (with unwanted qualifiers) will be removed.
    So far, this technique worked for me - do you have improvements/suggestions?
    Regards, Joerg

  • How to map different fields to same repeating/Same field in XSD

    Hi,
    I am using the Transform activity in a BPEL Process, my source is a Database table and the target is the and XSD file.
    Now the requirement is to map 3 different fields from source to a single field in the XSD.
    In the final xml file the tag name would be the same and will repeat 3 times but with different value for attribute and values with 3 diiferent columns/fields from database.
    How can achive this kind of mapping. Do i need to use some functions etc for that? please guide
    regards

    To answer "What does "<ns1:Code>" and "<ns1:Id>" indicate? are they fields in the DB table or XSD Schema?".
    The transformation is from Source(database) to target(an XML file).
    "<ns1:Code>" and "<ns1:Id>" are tags/fields in the outbound XML.
    <dbcolumn1>,<dbcolumn2> and <dbcolumn3> are database columns.
    I have removed the "ns1:" and also the Condition to make the code easy to read. Hope it helps. You could remove the condition and see how it goes when trying out in your project.
    <xmltag1_non repeating>
    <xsl:choose>
         <xsl:when test="SOME CONDITION" >
         <xml_tag2_repeating>
              <xsl:if test="SOME CONDITION">
                   <Code>
                   <xsl:value-of select="string(&quot;SOME VALUE 1 &quot;)"/>
                   </Code>
              </xsl:if>
              <xsl:if test="SOME CONDITION">
                   <Id>
                   <xsl:value-of select="dbcolumn1"/>
                   </Id>
              </xsl:if>
         </xml_tag2_repeating>
         </xsl:when>
    </xsl:choose>
    <xsl:choose>
         <xsl:when test="SOME CONDITION" >
         <xml_tag2_repeating>
              <xsl:if test="SOME CONDITION">
                   <Code>
                   <xsl:value-of select="string(&quot;SOME VALUE 2 &quot;)"/>
                   </Code>
              </xsl:if>
              <xsl:if test="SOME CONDITION">
                   <Id>
                   <xsl:value-of select="dbcolumn2"/>
                   </Id>
              </xsl:if>
         </xml_tag2_repeating>
         </xsl:when>
    </xsl:choose>
    <xsl:choose>
         <xsl:when test="SOME CONDITION" >
         <xml_tag2_repeating>
              <xsl:if test="SOME CONDITION">
                   <Code>
                   <xsl:value-of select="string(&quot;SOME VALUE 3 &quot;)"/>
                   </Code>
              </xsl:if>
              <xsl:if test="SOME CONDITION">
                   <Id>
                   <xsl:value-of select="dbcolumn3"/>
                   </Id>
              </xsl:if>
         </xml_tag2_repeating>
         </xsl:when>
    </xsl:choose>
    </xmltag1_non repeating>

  • How to map different Retail store business processes in SAP

    Hi
    In our stores( Retail Business) there are two sales sections, In the first section we have Point  of Sales systems, here we placed our materials in racks, after confirming and creating sales order customer collects pick list and goes to the location to pick the products. Here customer Invoice will be created before delivery.
    In second sales section normally order fulfillment will take place. Customer visit this section and select products and places an order. But the delivery will be at a later date. We receive some down payment from customer and we create sales order with scheduled delivery. while delivering the products we create delivery note and it will be sent to customer, Our driver will carry the delivery note along with products to the customer and take customer signature on the delivery note. In this second process we are creating Invoice after delivery only.
    Could any body suggest me how can we map these two processes in SAP?
    Your suggestions will be highly appreciated.
    Thanks and Regards

    Hello,
    Check out these links, as they would be useful:
    1. http://www.sap.com/industries/retail/businessprocesses/index.epx
    2. http://help.sap.com/bp_retailv1500/Retail_NL/documentation/RET_Solution_Scope_EN_NL.doc
    3. http://204.154.71.138/pdf/8560/Serving_the_Needs_of_Food_Retailers.pdf
    Regards,
    Gauravjit.
    reward points if the links are useful

  • How to Upload different Material with Different Selection View

    Hello Experts!
    Iu2019m new in ABAP and trying to understand methods of LSMW. Now I get a question for you guys. Let say I need to upload 10 different materials. Now for instance.
    1st material has Basic data 1 and Basic data 2.
    2nd material has Basic data 1, Purchasing and Purchase Order text
    3rd material has Basic data 1, Classification, Purchasing, MRP 1, MRP 2 & MRP 3.
    4th material has Basic data 1 & Basic data 2.
    5th material has Basic data 1, Classification, Purchasing, MRP 1, MRP 2 & MRP 3.
    And so on. Now here Iu2019ve notice that every material has different INDUSTRY SECTOR, MATERIAL TYPE AND SELECTION VIEWS. I understand that Industry Sector, Material Type and other data I can specify in my file but how I can control SELECTION VIEWS for different materials. Because for different Selection view coming screens will become different accordingly.
    So can somebody can please tell me how I can control different select views for different material and upload it in SAP.
    Thanks.

    Hi
    I understand that you are performing LSMW on MM01 transaction code..and are uploading through batch input in LSMW.
    Actually, for a tcode like MM01 I dont think you should use LSMW, instead you can go with the BAPI: BAPI_MATERIAL_SAVEDATA.
    The views is a serious problem with MM01 when performing using batch input..
    So, go through the documentation in SE37 tcode for the BAPI...
    The information you get there will help you on how to proceed.
    Regards,
    Vishwa.

  • How to associate different securityschema with different webgate .

    Hi All,
    We have protected all our resources which is deployed on different server using OAM.
    Take my scenirio like this .
    I have 2 resources having url like 127.22.33.22:4040/myfirstresource .
    175.22.44.55.4050/mySecondResource
    Thesr 2 resources are protected by 2 webgate and i have created 2 security schema .
    I want to associate security schema 1 with resource 1 and security schema with resouce 2 .
    Can anyone provide me some poiter how can i achieve it .
    Thanks ,
    Arun.

    This is provided by OAM out-of-box. Create 2 policy domains, and give resource1 in domain1 and resource2 in domain2. Then in the default rule, give authentication schemes that you want to give. Enable the policy domains.
    The end.
    (This can be done by 1 policy domain and 2 policies too. Choose whichever is good with you)

  • How to make different events with different colors on calendar, on my new iPad

    how to make events on calendar with different colors ?

    Sergio,
    The color of an event is dictated by the color assinged to the calendar it's on.
    Tap Calendars then tap Edit to either changed the color of an existing calendar or to add a new one.
    Matt

  • LR3 : Presentation module : how to create different text with different slides in 1 slideshow

    I want to make a slideshow from my holiday pictures.  I want to put a text box with the name of the place of the slide.  That means different text boxes for different slides.  I just cannot figure it out how I can manage that.  If I put a text box than it appears on al the slides.  If a just select several pictures of the whole load and add text, it still is shown on all the pictures of the slide show.
    Anyone knows what I can do ? Thanks for the help

    You have to assign the text to the different pictures in metadata fields (caption, title, ...) of the pictures themselves (best done in Library module). Then, add a text box in your slide show, not using "Custom Text" but the metadata field you've filled the information in. You can even use the text template editor (by choosing "edit ...") to select different metadata fields than the ones presented in the list.
    Beat Gossweiler
    Switzerland

  • How do Map files work with a Windows application?

    I need confirmation on how map files work.
    I have created a map file previously and have updated the HTML help with a few new topics and changed the Title on a handfull of topics.
    The map file setup is done for the new topics, but I am thinking I need to "fix" those topics whose title has changed.
    I have opened the Map.h file I created and looked at the references, for simplicity sake lets say it looks like this:
    #define Dials_Setup 1
    #define Project_Setup 2
    #define Scenario Scenario_Setup 54
    I assume the mapping process goes like this:
    (1) I hand off map file and the CHM help file
    (2) Developer addes the ID of "2" to the Project Setup window form
    (3) When the user is on the Project Setup window, they press F1
    (4) The Project Setup window form gets the ID of "2"
    (5) The Map.h file translates the "2" to "Project_Setup" topic title
    (6) The CHM is opened to the topic with a title of "Project_Setup"
    So, if I changed the title of the topic from "Project_Setup" to "Project_Setup_Window" would I have to update the line item in the Map.h file from "Project_Setup" to "Project_Setup_Window" for the mapping to work and the client to see the correct topic when the press F1?
    I am thinking these all need to be in sync between the Map.h file and the CHM file.
    As always, thanks for any guidance.
    Michael F Weart

    Hi, Michael
    You have it right - basically. I'll just add a few notes.
    Yes. Typically you would give the .h and the .chm file to the developer. However, sometimes the developer will give you a .h file created from their IDE tool (e.g., Visual Studio). In that case, you would Import the .h file into your RoboHelp project and map it that way. Or it can be a combination as long as there are no duplicates of Map #s or Context IDs. Another tip: You can also generate a Map File Report (Tools > Reports > Map IDs) which can be a handy guide for the developer.
    Note: The alphanumeric string for the Context ID (sometimes also called a Topic ID) does not necessarily have to be formed from the Topic Title. The reason it may seem that way is because RoboHelp uses the Topic Title as a matter of convenience to help you keep track of the which topic is being mapped.  The main thing is that there are no duplicates and RoboHelp has a report for that as well. In Microsoft HTML Help (.chm), the actual mapping from the .h Map # to the URL of the actual topic can be found in the .ali (alias) file which can be found in your Project root. The .ali file is compiled into the .chm itself.
    Here is a good Online Help topic with more details:
    http://help.adobe.com/en_US/robohelp/robohtml/WS5b3ccc516d4fbf351e63e3d11aff59c571-7ff9.ht ml
    Rob Chandler has really good documentation for Microsoft HTML Help which you will find here:
    http://helpware.net/htmlhelp/how_to_context.htm
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • How to measure different signals with PXI-2501

    Hello everybody,
    i have a an understanding problem.
    I have a PXI-2501 switch and i want to measuere signals with the pxi-4071, so far so good.
    I did some voltage- measurements and everything worked fine. Then i disconnected the power source and measured the temperature with a PT1000 in four-wire-mode ... also worked fine.
    But i want to measure voltage and temperature, in the same VI, so i connected the voltage signal on CH0 and the PT1000 at CH5 (in four wire mode), and now i get problems. The temperature is fluctating. There are a few measurements that seems OK, and then i see some that are far away from the truth.
    The VI consists of a state machine, the measurements are done in different states, of course with the correct scan list for each measurement.
    Any suggestions? Am I doing something completely wrong?
    Thanks
    (and excuse for my english )

    Hi Roman,
    id I understand you right:
    The temperature measurement works fine, if the sensor is directly connected to the 4071, but if connected via the 2501 you see the big deviations?
    Have you measured the the resistance of the Switch-Matrix yet?
    kind regards 
    Heinz

Maybe you are looking for

  • Urgent : Cannot Compile :Error :java.lang.NoClassDefFoundError: com/sun/too

    I reinstalled win2k and since then I cant get my javac prompt to work The error is : Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main But I can find the java.exe jar tools, etc. Is there some version problems associ

  • Report which outputs org structure in hierarchical form

    Hi, Can anyone suggest a report that outputs the org structure (org unit, position and person) in a hierarchical form a bit like what you would create in Visio? Thanks Hannah

  • A student having problem with search help.

    Dear All, I'm studying from a book about search help. I have a field of a dictionary structure. From now on, I will call this field 'Field A'. In the book that I read, it is said that if Field A refers to a check table, then the contents of the check

  • Spinning beach ball and e mail ****.

    Often I can't open e mails.  This can sometimes be corrected by closing out of the account and reopening.   Today I cannot open e mails, and I am getting that spinning beach ball. Won't go away, I can't access anything. Frozen like my 13 yo PC.

  • Tuxedo / Jolt Version information

    What are the new features in Tuxedo 7.1 / Jolt 2.1 as compared to Tuxedo 6.5 / Jolt 2.0. We are considering an upgrade, but haven't found information about any new features that would justify and upgrade. If you have any information on this or can po