Need Help with XSLT Mapping....

My scenario is synchronous scenario. SAP(Proxy) to XI to WebServer(SOAP)
The response is coming back in asingle ANY field and so I guess I need XSLT Mapping to map it to the response message going  backto SAP.
The response sent by webserver is of the structure:
<?xml version="1.0" encoding="UTF-8"?>
<GetStudentsExResponse xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/LMSWebSvc/LMS_Interface">
   <GetStudentsExResult>
      <Courses xmlns="">
         <Warnings/>
         <Course CourseName="Requal RWT with Instructional Blocks TEST" CourseId="1325">
            <Student LastName="LMSTest" FirstName="A" SSN="112345678" LoginID="lms123456a" CompanyName="LMS Test" CourseStatus="P" CourseStatusDate="03/14/2007 09:24:36" CourseScore="90">
               <Lesson LessonCode="1915" LessonName="RWT Part 1"/>
               <Lesson LessonCode="1916" LessonName="RWT Part 2"/>
               <Lesson LessonCode="1917" LessonName="RWT Requal Exam" LessonStatus="p" LessonStatusDate="03/14/2007 09:24:36" LessonScore="90" ProctorID="1" ProctorName="Account Default">
                  <ExamInteractions QuesNum="17758" StudentResp="D" CorrectResp="D" Judged="c"/>
                  <ExamInteractions QuesNum="17769" StudentResp="B" CorrectResp="C" Judged="w"/>
                  <ExamInteractions QuesNum="8465" StudentResp="A" CorrectResp="A" Judged="c"/>
                  <ExamInteractions QuesNum="8471" StudentResp="A" CorrectResp="A" Judged="c"/>
                  <ExamInteractions QuesNum="8496" StudentResp="C" CorrectResp="C" Judged="c"/>
                  </Lesson>
            </Student>          
         </Course>
      </Courses>
   </GetStudentsExResult>
</GetStudentsExResponse>
The Structure that I need to map this to is:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Course_Response_MT xmlns:ns0="urn:sce-com:xi:fi:goyala">
   <GetStudentsExResponse>
      <GetStudentsExResult>
         <Courses>
            <Course>
               <CourseName/>
               <CourseID/>
               <Student>
                  <LastName/>
                  <FirstName/>
                  <SSN/>
                  <LoginID/>
                  <CourseStatus/>
                  <CourseStatusDate/>
                  <CourseScore/>
                  <Lesson>
                     <LessonCode/>
                     <LessonName/>
                     <LessonStatus/>
                     <LessonStatusDate/>
                     <ExamInteractions>
                        <QuesNum/>
                        <StudentResp/>
                        <CorrectResp/>
                        <Judged/>
                     </ExamInteractions>
                  </Lesson>
               </Student>
            </Course>
         </Courses>
      </GetStudentsExResult>
   </GetStudentsExResponse>
</ns0:Course_Response_MT>
and  the xslt mapping that I have written for this is:
<?xml version='1.0' encoding='utf-8' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:sce-com:xi:fi:goyala" xmlns:DateUtils="com.sce.hcm.xi.util.DateUtils">
     <xsl:template match="/">
          <a:Course_Response_MT>
               <GetStudentsExResponse>
                    <GetStudentsExResult>
                         <Courses>
                              <CourseName>
                                   <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course[@CourseName]"/>
                                   <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course[@CourseID]"/>
                                   <Student>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@LastName]"/>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@FirstName]"/>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@SSN]"/>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@LoginID]"/>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@CourseStatus]"/>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@CourseStatusDate]"/>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student[@CourseScore]"/>
                                        <Lesson>
                                             <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson[@LessonCode]"/>
                                             <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson[@LessonName]"/>
                                             <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson[@LessonStatus]"/>
                                             <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson[@LessonStatusDate]"/>
                                             <ExamInteractions>
                                                         <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions[@QuesNum]"/>
                                                         <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions[@StudentResp]"/>
                                                         <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions[@CorrectResp]"/>
                                                               <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions[@Judged]"/>
                                             </ExamInteractions>
                                        </Lesson>
                                   </Student>                                   
                              </CourseName>
                         </Courses>
                    </GetStudentsExResult>
               </GetStudentsExResponse>                                        
          </a:Course_Response_MT>
     </xsl:template>
</xsl:stylesheet>
But This mapping is not working...  I am getting errors...
Pls advice, this is urgent..
Regards,
XIer
Edited by: XIer on Apr 25, 2008 12:23 PM
Edited by: XIer on Apr 25, 2008 12:37 PM
Edited by: XIer on Apr 25, 2008 12:37 PM

Hi All,
          I have now modified my XSLT Mapping as :
<?xml version='1.0' encoding='utf-8' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:sce-com:xi:fi:goyala" xmlns:DateUtils="com.sce.hcm.xi.util.DateUtils">
     <xsl:template match="/">
          <a:Course_Response_MT>
               <GetStudentsExResponse>
               <xsl:value-of select="a:GetStudentsExResponse"/>
                    <GetStudentsExResult>
                    <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult"/>
                         <Courses>
                         <xsl:for-each select="a:GetStudentsExResponse/GetStudentsExResult/Courses">
                              <Course>
                               <CourseName>
                                   <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/@CourseName"/>
                                   </CourseName>
                                   <CourseID>
                                   <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/@CourseID"/>
                                   </CourseID>
                                   <xsl:for-each select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student">
                                   <Student>
                                   <LastName>
                                        <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@LastName"/></LastName>
                                   <FirstName>     <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@FirstName"/></FirstName>
                                        <SSN><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@SSN"/></SSN>
                                        <LoginID><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@LoginID"/></LoginID>
                                        <CourseStatus><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@CourseStatus"/></CourseStatus>
                                        <CourseStatusDate><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@CourseStatusDate"/></CourseStatusDate>
                                        <CourseScore><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/@CourseScore"/></CourseScore>
                                        <xsl:for-each select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson">
                                        <Lesson>
                                             <LessonCode><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/@LessonCode"/></LessonCode>
                                             <LessonName><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/@LessonName"/></LessonName>
                                             <LessonStatus><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/@LessonStatus"/></LessonStatus>
                                             <LessonStatusDate><xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/@LessonStatusDate"/></LessonStatusDate>
                                             <ExamInteractions>
                                                  <QuesNum>       <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions/@QuesNum"/></QuesNum>
                                                  <StudentResp>       <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions/@StudentResp"/></StudentResp>
                                                  <CorrectResp>       <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions/@CorrectResp"/></CorrectResp>
                                                     <Judged>          <xsl:value-of select="a:GetStudentsExResponse/GetStudentsExResult/Courses/Course/Student/Lesson/ExamInteractions/@Judged"/></Judged>
                                             </ExamInteractions>
                                        </Lesson>
                                        </xsl:for-each>
                                   </Student>                                   
                              </xsl:for-each>
                              </Course>
                              </xsl:for-each>
                         </Courses>
                    </GetStudentsExResult>
               </GetStudentsExResponse>                                        
          </a:Course_Response_MT>
     </xsl:template>
</xsl:stylesheet>     
However when i execute this mapping in IR, I get empty tags at the target side:
<?xml version="1.0" encoding="UTF-8"?>
<a:Course_Response_MT xmlns:a="urn:sce-com:xi:fi:goyala"><GetStudentsExResponse><GetStudentsExResult><Courses/></GetStudentsExResult></GetStudentsExResponse></a:Course_Response_MT>
Please Advice....
Regards,
XIer

Similar Messages

  • I need help with my mapping - CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV

    hi, guys, i need help with my mapping, i dont know this error (i not speak english)
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping already defined in interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 4B903E2DDC853C1493E1DED5C5ED70A3 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 88D96A70BAAE11DFAE5EE925C0A800C2 </Trace>
    <Trace level="1" type="T">Mapping-Object-Id:4B903E2DDC853C1493E1DED5C5ED70A3 </Trace>
    <Trace level="1" type="T">Mapping-SWCV:88D96A70BAAE11DFAE5EE925C0A800C2 </Trace>
    <Trace level="1" type="T">Mapping-Step:1 </Trace>
    <Trace level="1" type="T">Mapping-Type:JAVA_JDK </Trace>
    <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_mm_sgipi_fi001_vta_clientes_ </Trace>
    <Trace level="3" type="T">MTOM Attachments Are Written to the Payload </Trace>
    <Trace level="3" type="T">Dynamic Configuration Is Empty </Trace>
    <Trace level="3" type="T">Executing multi-mapping </Trace>
    <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
    help me please

    you can use the sharedobject to record a user/computer has taken your quiz, the session data and record their results.  at the start of your quiz, check for the sharedobject and, if it exists, check the other data and take appropriate action.

  • Need help with instruments mapping

    I have Korg PA80 and i hooked up midi out from it to midi in to Logic8, I have some nice realtime accompaniment tunes i can play on that keyboard, what i want to do is to play on my PA80 accompaniment tracks but replace all sounds with my custom sounds from my Logic plug ins, right now when I hit play all i hear is some garbage playing because no instruments properly mapped on Logic, I even created all 16 instrument tracks and set them all on all 16 channels, drums on 10 and so on, but when i start play on PA80 in Logic I still hear like bass trying to play all parts and not bass part only, same for drums when i press Am or Dm drums will play properly with some another drums sounds that trying to play all other instruments parts, need to separate them so the bass will play only bass part, drums will play drum part and so on, need help on how can i do that, lets say for drums i will choose logic drums sounds, for base Logic bases and so on, so Logic will become something like sound module for my PA80 instead of internal sounds I would like to use my virtual instruments sounds, thanks a lot

    Thanks for your reply Dave.
    I have no answer to your question but I found a way to create my SQL code with OWB mapping operators. Unfortunately it is very very slow compared to the execution of the SQL code and therefore not useful at all. I connected the following steps all in one mapping:
    1. Table operator(T006_SITE) -> Filter(T006A01PK_SITEID where T006A11FK_COUNTRYID IS NULL)
    2. Table operator(T002_COUNTRY) -> AGG (MAX T002A01PK_COUNTRYID)
    3. JOIN the output from 1. and 2.(T006A01PK_SITEID and T002A01PK_COUNTRYID))
    4. UPDATE T006_SITE with the output from 3. (T006A01PK_SITEID as matching column and T006A11FK_COUNTRYID as column to be updated)
    The execution mode of the mapping should be set-based fail over to row-based, but it used row-based mode even without getting an error. Are UPDATE mappings only executable in row-based mode or is there a way to change that?
    Does anyone have an idea how I can speed up that mapping or integrate my SQL code in the OWB?
    Thanks in advance,
    Dirk

  • Please I need help with mokia maps!

    Hello! I have bought my phone Nokia N76 and I found nokia maps v 1.2 in it, I tried to install nokia maps v 2 but it says "update error"!
    when I tried to remove nokia maps 1.2 from the menu, it says unable to delete I tried this from the menu as it is not listed in the application manger list ! what shalI do?! . I don't wan't to update the software (it's the lastest). please if anybody knows help me please?
    Message Edited by Twilight28 on 23-Nov-2009 06:53 PM
    Message Edited by Twilight28 on 23-Nov-2009 06:54 PM

    Reading above posts I seem to remember that for early versions of Nokia Maps the map data is stored in E:\Private\20001f63\diskcache\ NOT E:\CITIES as for later versions, so try deleting these + .qf file. You would need to enable "show hidden & system" files on your PC to see these however.
    Provided that you carry out *#7370# or three finger reset (erases ALL data) after deleting these folder/files, you should really be able to install Nokia_Maps_2.0_4503_3.1.sis from here: http://nds1.nokia.com/files/support/global/phones/software/Nokia_Maps_2.0_4503_3.1.sis
    You would need to run Nokia Maps application to create folder structure on memory card required to download mapping.
    Happy to have helped forum with a Support Ratio = 42.5

  • Need help in XSLT Mapping.

    Hello All,
    We created mapping between Orders IDOC structure, here we are using XSLT Mapping.
    problem is in IDOC structure new Z segment is added after that we have modified the mapping and tested in stylus studio and it was working fine.............but when we tested the interface end to end....the Z segment are not coming.
    we have updated the IDOC meta data in IDX2 .......when we hard code the Z segment values and run the mapping in interface mapping we can see proper result.
    Please give me inputs on this.
    Regards,
    chinna

    hi channa,
    go through the below link..for small ref...
    http://help.sap.com/saphelp_sm32/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    regards,
    kesava

  • Need help with gradient map

    Hello All,
    Please can someone please advice me how to get the following gradient, I have tried but with no luck I am not good with gradient map!

    Hello!
    What part do you have trouble with? the recreation of the gradient, or how it affects the image?
    In the gradient map editor, you can double-click on the bottom markers (called gradients stops) to change their color, and drag them around to re-create what you see... Click between two markers to add one, drag a gradient stop down to remove it.
    In fact, you do not need the fourth gradient stop, the white one on the right side.
    The top markers control the transparency (in regular gradients, gradient maps are unaffected)
    With such a gradient map, the dark areas of the image will be white, neutrals will be black and light areas will be white.

  • Need help with a mapping

    Hi,
    I have problems to create an update on the NULL values in a table with the mapping operators of the OWB mapping editor. The SQL syntax is the following:
    UPDATE T006_SITE
    SET T006A11FK_COUNTRYID = (select MAX(T002A01PK_COUNTRYID) from T002_COUNTRY)
    WHERE T006A11FK_COUNTRYID IS NULL;
    Any suggestions which mapping operators I should use? Or is there even a way that I can use my SQL code?
    Thanks in advance,
    Dirk

    Thanks for your reply Dave.
    I have no answer to your question but I found a way to create my SQL code with OWB mapping operators. Unfortunately it is very very slow compared to the execution of the SQL code and therefore not useful at all. I connected the following steps all in one mapping:
    1. Table operator(T006_SITE) -> Filter(T006A01PK_SITEID where T006A11FK_COUNTRYID IS NULL)
    2. Table operator(T002_COUNTRY) -> AGG (MAX T002A01PK_COUNTRYID)
    3. JOIN the output from 1. and 2.(T006A01PK_SITEID and T002A01PK_COUNTRYID))
    4. UPDATE T006_SITE with the output from 3. (T006A01PK_SITEID as matching column and T006A11FK_COUNTRYID as column to be updated)
    The execution mode of the mapping should be set-based fail over to row-based, but it used row-based mode even without getting an error. Are UPDATE mappings only executable in row-based mode or is there a way to change that?
    Does anyone have an idea how I can speed up that mapping or integrate my SQL code in the OWB?
    Thanks in advance,
    Dirk

  • Need help with port mapping on Airport Utility 6.1

    Ive been trying to port map on my TC with Airport Utility 6.1 and failing miserably. Port still closed. Can anyone advise where Im going wrong? Am trying to set up my home camera to be viewed outside.
    I managed to key in the ports etc under Network and Port Settings. But nothing works. I'm tearing my hair out.
    Any suggestions to try would be helpful.
    Thanks

    Use the 5.6 utility.. it is much easier and I think works better.. although you cannot load 5.6 directly into 10.8 the version for Lion actually works fine.
    Download 5.6.
    http://support.apple.com/kb/DL1482
    Download unpkg
    http://www.macupdate.com/app/mac/16357/unpkg
    Open the AU 5.6 dmg and drag the pkg over the open unpkg.. it will create the directory on the desktop. You can either run it from there or drag the utility to your utilties directory.
    Take screen shots of each step. Post them here.
    That way we can tell you where it has gone wrong.
    What port exactly does the camera need open?
    How are you connecting remotely?
    ie do you have a fixed public IP?? If not how are you getting IP?
    Is the TC the only router in the network.. it is irrelevant unless the TC is the one and only router.

  • Need Help with Message Mapping in PI 7.1 - JDBC to IDOC

    I have an outgoing SQL function that sends multiple rows of data for use in creating an IDOC in ECC. I am trying to key the creation of new IDOCs (already did the maxOccurs trick to the IDOC definition) based on a field in the JDBC return data...
    JDBC Message Format...
    SEGNAM - TRANS_ID - MATERIAL - VKORG...ETC
    MARA -  00001 - 1234 - <space> - ...
    MARC -  00001 - 1234 - VK01 - ...
    MARA - 00002 - 9876 - <space> - ...
    MAKT - 00002 - 9876 - <space> - material description - ...
    Each time there is a new TRANS_ID, I need to indicate a new IDOC in the message mapping. I have tried all kinds of combinations of TRANS_ID --> dropContext --> splitValue and TRANS_ID --> collapseContext --> splitValue, but nothing has worked.
    Has anyone done this kind of message map (without any BPM please)?
    Thanks,
    Nathan

    Hello Nathan,
    For this one, you have to play with contexts.
    row 1 SEGNAM = MARA, TRANS_ID = 1, MATNR = 123...
    row 2 SEGNAM = MARC, TRANS_ID = 1, MATNR = 123, WERKS = PL01...
    row 3 SEGNAM = MARA, TRANS_ID = 2, MATNR = 987
    This also depends on the occurrence of the parent node. example, if I want MATNR to be populated, the logic would be like
    ex:
    IDOC1..unbounded) (The logic is the already provided in an earlier response)
    -->MATNR (1..1)
    MATNR --------> removeContext ----------------> FormatByExample --> MATNR
    TRANS_ID --> removeContext --> splitByValue:ValueChange --> /
    If the rows are not in order of trans_id, then you need to incorporate sorting into the logic above.
    Hope this helps,
    Mark

  • I need help with a mapping issue.

    We have a number of websites setup so that they are all under the default website in IIS 7.  We use ISAPI/ReWrite/3 to process and take it to the correct page to view.  Unfortunately this does not work so well with CFAJAX or CFFILEUPLOAD.  Can anyone help?
    Example:
    Local Directory: D:\sites\website1\index.cfm  or D:\sites\website2\index.cfm
    URL: http://website1.preview.domain.com/ would show a different website than http://website2.preview.domain.com/
    ISAPI ReWrite code:
    RewriteCond %{HTTP:Host} ^(?:.*\.)?website1\.preview\.domain\.com|^(?:.*\.)?website1\.new\.preview\.domain\.com|^( ?:.*\.)?website1\.office\.preview\.domain\.com$
    RewriteRule (.*) /website1$1 [NC,L]
    and the same with website2, only it has website 2 instead of website1.
    However, when I use CFFileUpload it creates the parameter as: 'http://website1.preview.domain.com/website1/upload/process.cfm'
    I have tried to replace the code when processing the template and the page content, but it does not replace it.  It must happen last, even after I do a <cfsavecontent>
    I need it to show up as http://website1.preview.domain.com/upload/process.cfm
    Can anyone help me with either an idea to use in the ISAPI/ReWrite or some other change I can make?

    The issue comes down to the fact that in the Coldfusion Administrator I set the Settings > Default ScriptSrc Directory : http://10.4.3.80/CFIDE/scripts/, because http://website1.preview.domain.com/cfide/scripts does not exist.
    This works for cfchart, but when I look at the source for any flash stuff, it still puts just "/CFIDE/...", which is trying to pull from http://website1.preview.domain.com/CFIDE/..., which doesn't exist, and it shows http://website1.preview.domain.com/website1/upload/process.cfm (which does not exist) instead of http://website1.preview.domain.com/upload/process.cfm like it should.  Everything else works on the website, all coldfusion stuff (although, I do convert some of the links and things in my page so that they work properly).  However, I can't find a place to replace links when I use a cffileupload, it puts that in very last, so my links are messed up.
    The nicest thing would be a setting that I could set the cffileupload to know what the path is.  If that is not available, then I need to write a ISAPI/ReWrite line to redirect it.

  • Need help with Resource Mapping from Application Deployment to VC:virtualMachine

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

  • Need help with 3d mapping, part of design is showing up transparent

    Here is the image I am working with http://25.media.tumblr.com/92fba886d84a9438c9520726b24a8fb3/tumblr_mm5oljeLJ31r848lxo1_128 0.png
    The words coca cola are in red in my design and whenever I add it to 3d mapping it red it no longer red but transparent. The stroke is grey on the bottle.
    Can anyone help me? What settings should  I look for?

    That might of course happen. You could try and rasterize the scribbled object, then apply the raster image as a map.

  • Need help with xml mapping

    HI All,
    i have sap internal table with this value and i want to mapp it to xml file like below,
    Name             value
    User                     1234
    DueDate                    yyyyy
    <User>1234</User>
    <DueDate>yyyyy</DueDate>
    the problem is when i use call transformation i get in the table
    <name>1234</name>
    <value>yyyyy</value>
    how can i get the mapp that i need ?
    Regards
    JOy
    Edited by: Joy Stpr on Aug 10, 2009 2:56 PM
    Edited by: Joy Stpr on Aug 10, 2009 3:47 PM

    Check this
    Program Code
    report zars
      no standard page heading line-size 255.
    data: xml_out type string .
    data: begin of ty_data,
          name type string,
          value type string,
    end of ty_data.
    types: begin of ty_user,
           user type sy-uname,
           duedate type sy-datum,
           end   of ty_user.
    data: itab type standard table of ty_user,
          la_tab like line of itab,
          xmlstr type xstring.
    la_tab-user = 'TEST1'.
    la_tab-duedate = '200908101'.
    append la_tab to itab.
    clear la_tab.
    la_tab-user = 'TEST2'.
    la_tab-duedate = '200909101'.
    append la_tab to itab.
    clear la_tab.
    data : itab1 type  swbhtmltable.
    data: it_data like  table of  ty_data,
          wa_data like line of it_data.
    data result type string.
    call transformation zaRs
    source table = itab
    result xml xml_out.
    call function 'SWA_STRING_TO_TABLE'
      exporting
        character_string = xml_out
      importing
        character_table  = itab1.
    call function 'GUI_DOWNLOAD'
      exporting
        filetype = 'BIN'
        filename = 'c:xx.xml'
      tables
        data_tab = itab1.
    XLST Program
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="table"></tt:root>
      <tt:template>
        <table>
          <tt:loop ref=".table">
            <item>
              <USER>
                <tt:value ref="USER"></tt:value>
              </USER>
            </item>
            <item>
              <DUEDATE>
                <tt:value ref="DUEDATE"></tt:value>
              </DUEDATE>
            </item>
          </tt:loop>
        </table>
      </tt:template>
    </tt:transform>
    Result XML File
    <?xml version="1.0" encoding="iso-8859-1" ?>
    - <table>
    - <item>
      <USER>TEST1</USER>
      </item>
    - <item>
      <DUEDATE>2009-08-10</DUEDATE>
      </item>
    - <item>
      <USER>TEST2</USER>
      </item>
    - <item>
      <DUEDATE>2009-09-10</DUEDATE>
      </item>
      </table>

  • Need help with multi-mapping

    Hello! I need to develop scenario like in blog: /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    but I need to have sets of records. For example, I have 9 "Element2" records in original message.
    So, I  need to have 3 messages, each contains 3 records of "Element2".
    How can I do this?

    Change the occurance of target message type to 0..unbounded in Messages Tab in mapping for 1:n mapping.
    Mapping for Piyush_msg_out_3 target node-
    Element2 (source)-> Index(increment 1) -> Divide by Constant (3 in your case) -> Floor -> Split By value(Value chnaged) -> collapse contexts -> Piyush_msg_out_3
    Change the occurance of Element2 node as 1..unbounded in target data type.
    Mapping for Element2-
    Element2 (source)-> Index(increment 1) -> Divide by Constant (3 in your case) -> Floor -> Split By value(Value chnaged)  -> Element2(target)
    Edited by: nagarjuna _s on Nov 5, 2009 7:41 AM

  • Need help with Network Mapping

    I have a WRT350N and have upgraded the firmware to 1.03.7. I have it setup and reliable, and am now trying to hook up a Lacie 500G hard drive to the usb connection. I have created a share and now am trying to get Vista to see it. When I map a network drive, no option for the router shows up. Under Network it just shows my computer, shared files and printers. When I click on the router under Network it times out and says the connection is busy connecting and disconnecting. Are there some settings I don't know about? I have enabled everything under the sharing tab in the Linksys menu Thanks.

    try accessing the drive using start >> run >> \\router'sipadd .. if you see the drive , right click on it and click map network drive..check whether it makes any difference

Maybe you are looking for

  • Viewing Chinese Characters / Encoding setting in SQL Developer

    Hi all, I am new to SQL Developer 1.1. I have just downloaded the tool yesterday. I have a table where there "should" be chinese characters in a NVARCHAR2 column. But I see only inverted question marks when displaying that data in SQL Developer. I kn

  • After resizing a photo and viewing in album picture offsets to one side and crashes ios7

    After resizing a photo using the edit function , viewing the photo in camera roll Offsets the picture to one side so its not in the middle , zoom into the pic and zoom back out The black borders appear at the top and bottom and all looks in centre Bu

  • Coherence Multicast test fails on rPath linux

    Hi, I am trying to run coherence on rPath Linux, when i run the multicast-test.sh it fails with the following error - "java.io.IOException: Operation not permitted". Am I missing out on any config setting? Configuring multicast socket... Starting lis

  • OBIEE Reportting error

    Hi Gurus, When i am tring to run a report i am getting following error.I am using Obiee 10g .Could you please suggest me here. What needs to be done to see the data. I am not able to see data.after running a lot time report is throwing the following

  • Can I go back to an earlier version of an App?

    Hi All I keep backups of my iTunes Mobile Applications. If I download an update to a particular app and then find that the update is 'buggy', is it possible for me to just replace the buggy version, in Mobile Applications, with a good previous versio