XSLT Mapping - Unable to find resource

Hi all,
  We upgraded our XI system and tried to test one of our well-running scenarios and found the following error for most of the XSLT mappings.
<br>
<b>Unable to find resource mapping.xsl</b>
<br>
But I found that the runtime cache contains the object referenced in the error message (same namespace, same versionid).
Can you give me your valuable suggestions on this.
Thanks in advance for your inputs.
regards
Vijay

Hi Krishna and Samson,
Thank you for your inputs,
Krishna,
Following is the error message I got from sxmb_moni
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Request Message Mapping
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>Application</SAP:Category>
  <SAP:Code area="MAPPING">RESOURCE_NOT_FOUND</SAP:Code>
  <SAP:P1>ib_mapping.xsl</SAP:P1>
  <SAP:P2>http://mapping-integration/test</SAP:P2>
  <SAP:P3>091b31e1-1ce4-11db-c8e9-e5b90a960615</SAP:P3>
  <SAP:P4>-1</SAP:P4>
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>Unable to find resource ib_mapping.xsl (http://mapping-integration/test, 091b31e1-1ce4-11db-c8e9-e5b90a960615, -1)</SAP:Stack>
  <SAP:Retry>N</SAP:Retry>
  </SAP:Error>
thanks and regards,
Vijay

Similar Messages

  • Problem "Unable to find resource" in SAP PI 7.0 Sp12

    Hi Experts - We are experiencing below problem in SAP PI 7.0 SP 12.
    Objects are available in the system and cache notifications are green. Even after multiple attemps messages are not processing.
    Is there any resolution action we can take? Details below.
    THanks, Mathias.
    <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">
    <Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
    <Trace level="1" type="T">Cache Content is up to date</Trace>
    <Trace level="2" type="T">Start without given receiver</Trace>
    <Trace level="2" type="T">Dynamic Receiver Determination via Mapping.</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found</Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 721735504F3735BB885E49DD430ACFB0</Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 4E0CDFA06AAB11DBBE41EACA91374078</Trace>
    <Trace level="1" type="T">Interface Mapping http://eu.Company.com/SC/Mak/Pack/ProdRec/xi NAME_WMTORD_TO_SAP_BASIS_Receivers</Trace>
    <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_</Trace>
    <Trace level="3" type="T">Dynamic Configuration ( http://sap.com/xi/XI/System/IDoc SNDPOR SAPSXX ) ( http://sap.com/xi/XI/System/IDoc SNDPRN SXXCLNT010 ) ( http://sap.com/xi/XI/System/IDoc SNDPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPOR XXXCLNT010 ) ( http://sap.com/xi/XI/System/IDoc RCVPRN X1295_LWHA ) ( http://sap.com/xi/XI/System/IDoc RCVPRT LS ) ( http://sap.com/xi/XI/System/IDoc MESTYP WMTORD ) ( http://sap.com/xi/XI/System/IDoc IDOCTYP WMTOID01 ) ( http://sap.com/xi/XI/System/IDoc CIMTYP )</Trace>
    <Trace level="2" type="T">Mode 0</Trace>
    <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.</Trace>
    <Trace level="3" type="T">Load 4e0cdfa0-6aab-11db-be41-eaca91374078, http://eu.Company.com/SC/Mak/Pack/ProdRec/xi, -1, com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class.</Trace>
    <Trace level="3" type="T">Search com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class (http://eu.Company.com/SC/Mak/Pack/ProdRec/xi, -1) in swcv 4e0cdfa0-6aab-11db-be41-eaca91374078.</Trace>
    <Trace level="3" type="T">Does not found exact entry. Search in other namspaces.</Trace>
    <Trace level="3" type="T">Search com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class (-1) in swcv 4e0cdfa0-6aab-11db-be41-eaca91374078 without namespace.</Trace>
    <Trace level="1" type="T">Class not found: com.sap.xi.tf._NAME_WMTORD_TO_SAP_BASIS_Receivers_</Trace>
    <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.persist.ResourceNotFoundException: Unable to find resource com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class (http://eu.Company.com/SC/Mak/Pack/ProdRec/xi, 4e0cdfa0-6aab-11db-be41-eaca91374078, -1) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.getInputStream(DBSwcvMappingPersistor.java:325) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readFile(DBSwcvMappingPersistor.java:203) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readClass(DBSwcvMappingPersistor.java:195) at com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:138) at java.lang.ClassLoader.loadClass(ClassLoader.java:627) at java.lang.ClassLoader.loadClass(ClassLoader.java:593) at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java:95) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:45) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy252.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:275) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:217) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7803) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8164) at com.sap.mw.jco.JCO$Server.work(JCO.java:8284) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8231) at com.sap.mw.jco.JCO$Server.run(JCO.java:8147) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>
    <Trace level="1" type="T">java.lang.ClassNotFoundException at JavaMapping.load(): Could not load class: com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_</Trace>

    Hi - We have executed the re-transport which resolved the situation described above.
    However we have not been able to fully close the topic and understand the root cause.
    Our current understanding is as follows:
    At the time of a transport activation, a cache notification is created and the information is transmitted from the Integration Directory to the different caches using user XIDIRUSER. After the successful notification, the cache update is triggered. This is initiated by the IE ABAP Runtime via user XIISUSER. This user is calling the Integration Directory which than takes user XIDIRUSER to retrieve the required objects, e.g. message mappings, from the Integration Repository. If at this stage, the user XIDIRUSER does not receive an available Work-Process, the action is not completed. This means also the cache notification stays green, as the negative feedback cannot be transmitted either, since the user XIDIRUSER 'died out'.
    This was confirmed to happen in an overload situation for our system.
    Please comment if you have any further experiences or different explanation.
    Mathias

  • Unable to find resource error after transport

    Hello,
    there is a strange error happening with some mapping after transporting the content of some namespaces from Dev to Q using file (client) export import.
    We already tried the scenario successul on Q, but after some reimports of changes (which still work on Dev) we get the following error in the "request message mapping" step:
    "RESOURCE_NOT_FOUIND"
    Unable to find resource .............. in the following software component versions: ........
    However the mapping is there and can be tested. Any idea on this?

    But last time one day later the scenario was running fine. Could that really be a problem with cache update?
    If all the required objects are present in the QA environment and are active....then yes it can be a problem with the Cache.
    I hope that no error was encountered (or import was done properly) during the import/ reimport.
    Regards,
    Abhishek.

  • Acrobat 9.5.5 unable to find resource files

    I am using Windows Vista und with the upgrade to Adobe Acrobat 9.5.5, I lost the administrative privileges on my own computer and Acrobat is unable to find resource files. I reinstalled Acrobat 9.5.5, went through the repair option, but have been unsuccessful in converting Windows files to PDF. Any suggestions? do I need professional help?

    It is most likely looking for the job settings files. It may be that they are locked for some reason. I would look for those files and then be sure the folder is not restricted. I might be able to find the location based on my AA8 installation on VISTA at work, but that may be a while off. Seems strange that the update would do this change. The AA9 update that I did on Win7 had no such problems.

  • Problem with PI7.1 Newly Installed - Unable to find resource

    Hello All,
    I installed PI 7.1 Newly. I configured Sample File to File Scenario. When i running the sample scenario I got the following message. Please suggest me on this.
    Unable to find resource 87393791-ca19-11dd-81ab-
    fd0dc0a8015a in the following software component
    versions:
    Thanks
    Venkat K
    Edited by: venkat k on Dec 18, 2008 10:05 PM

    Hi Venkat,
    Did you configure for Central SLD? Try restarting the Java engine from SMICM.
    Check the status of SLD by running SLDCHECK transaction.
    Login to SLD and under Technical system of type Process Integration - you should be able to 6 components. Check whether all the components exists
    1. Adapter Engine 2. Domain 3. ID 4. IR 5. Integration server and 6. RWB
    If anything is missing, please follow the note mentioned above.
    Thanks,
    Srini
    Edited by: srinivas kapu on Dec 18, 2008 10:05 PM

  • Unable to find "resources/sap-ui-core.js" in the project

    Hi,
    I am trying to wrap a SAPUI5 SplitApp application using cordova 3.4.0 and run it from an android device.
    After much R&D, the application seems to be running fine but there is a small glitch here...
    I'm unable to access the SAPUI5 libraries from the project placed on my desktop [i.e. src="resources/sap-ui-core.js"] in the below script.  It gives a timeout network error when I try to do so. But, the project runs absolutely fine when I refer the online library for the resource folder [i.e. src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"].
    Location where the resource folder is currently saved on my desktop after downloading the UI_Development_Toolkit_for_HTML5_Version_SAPUI5_1_16_3_278_MB.zip and extracting the same:-
    D:\cordova-3.4.0\cordova-android\cordova-android\bin\MyFirst\assets\www\resources
    e.g.:-
    <script
                    type="text/javascript"
                    src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"
                    id="sap-ui-bootstrap"
                    data-sap-ui-libs="sap.m,sap.ui.commons,sap.ui.layout,sap.ui.core,sap.ui.table"
                    data-sap-ui-theme="sap_bluecrystal">
    </script>
    SAP UI5 Project Structure screenshot:-
    “Main.html” file structure screenshot:-
    index.html is a dummy html file that refer the main.html (which has the actual coding) file.
    MyFirstCordova.java file structure screenshot:-
    Below is the error screenshot when I try to access the resources folder from the project:-
    NOTE: The View.view.js file has all the SAPUI5 code.
    Regards,
    Aaron D’C

    Hi Aaron,
    maybe i can give some information about the mentioned statement [src="resources/sap-ui-core.js"] and your associated problems.
    The point is that all files, which are loaded over "resources/*", are served by a special resource-servlet within your Java Servlet-Container. When you have a look at your web.xml, you will see the following part.
    <!-- ============================================================== -->
    <!-- UI5 resource servlet used to handle application resources      -->
    <!-- ============================================================== -->
      <servlet>
      <display-name>ResourceServlet</display-name>
      <servlet-name>ResourceServlet</servlet-name>
      <servlet-class>com.sap.ui5.resource.ResourceServlet</servlet-class>
      </servlet>
      <servlet-mapping>
      <servlet-name>ResourceServlet</servlet-name>
      <url-pattern>/resources/*</url-pattern>
      </servlet-mapping>
    When your Java-Server is not running and you are starting the index.html in your browser, you will always getting error messages in the browser console (because your Servlet is not available and therefore can't serve the framework-libs). To fix this, you need to load the framework from a different location in a static way.
    Regards
    Michael

  • XSLT mapping not working

    Hi
    I am creating one scenario using following weblog :
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    But in my I am only getting the Headings but no values which I am providing through my XML file.
    *My XSLT file is like this now ..................*
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://wwww3org/1999/XSL/Transform">
       <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
       <xsl:variable name="break">&lt;br&gt;</xsl:variable>
       <xsl:variable name="tableB">&lt;table&gt;</xsl:variable>
       <xsl:variable name="tableE">&lt;/table&gt;</xsl:variable>
       <xsl:variable name="trB">&lt;tr&gt;</xsl:variable>
       <xsl:variable name="trE">&lt;/tr&gt;</xsl:variable>
       <xsl:variable name="tdB">&lt;td&gt;</xsl:variable>
       <xsl:variable name="tdE">&lt;/td&gt;</xsl:variable>
       <xsl:variable name="nbsp">&amp;nbsp;</xsl:variable>
       <xsl:variable name="thB">&lt;tr BGCOLOR=&quot;#CCCC99&quot;&gt;</xsl:variable>
       <xsl:template match="/">
       <ns1:Mail xmlns:ns1="http://sapcom/xi/XI/Mail/30">
    <Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.02" xmlns:ns0="urn:xcom:xi:A_B2B_RSE:FI:XXX">
             <Subject>File Level Status</Subject>
             <From>xxxxxxx</From>
             <To>xxxxxxx</To>
             <Content_Type>text/html</Content_Type>
             <Content>
                <xsl:text xsl:space="preserve">File Level Status:</xsl:text>
                <xsl:value-of select="$break"/>
                <xsl:value-of select="$break"/>
                <xsl:value-of select="$tableB"/>
                <xsl:value-of select="$thB"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">Original File Name</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">Original Creation Date and Time</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">Customer ID</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">File Level Ack  Name</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">File Level Ack  Creation Date and Time</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">Total Number of Trasnsactions</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">Status Code</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$tdB"/>
                <xsl:text xsl:space="preserve">Error Description</xsl:text>
                <xsl:value-of select="$nbsp"/>
                <xsl:value-of select="$tdE"/>
                <xsl:value-of select="$trE"/>
                <xsl:for-each select="Document/pain.002.001.02">
               <xsl:value-of select="$trB"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="OrgnlGrpInfAndSts/OrgnlMsgId"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="OrgnlGrpInfAndSts/OrgnlCreDtTm"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="OrgId"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="MsgId"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="CreDtTm"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="OrgnlNbOfTxs"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="Prtry"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$tdB"/>
                   <xsl:value-of select="AddtlStsRsnInf"/>
                   <xsl:value-of select="$nbsp"/>
                   <xsl:value-of select="$tdE"/>
                   <xsl:value-of select="$trE"/>
                </xsl:for-each>
                <xsl:value-of select="$tableE"/>
             </Content>
         </Document>
          </ns1:Mail>
       </xsl:template>
    </xsl:stylesheet>
    Notes
    1. I am using External Definition as a Source not the Message Type.
    2. There is no ns0 or ns1 in the source file.
    *Source Message*
    <?xml version='1.0' encoding='UTF-8'?>
    <Document xmlns='urn:iso:std:iso:20022:tech:xsd:pain.002.001.02' xmlns:xsi='http://wwww3org/2001/XMLSchema-instance'>
         <pain.002.001.02>
              <GrpHdr>
                   <MsgId>20091224-PSR/1040</MsgId>
                   <CreDtTm>2009-12-24T10:42:21</CreDtTm>
              </GrpHdr>
    *Mapping Error*
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sapcom/xi/XI/Message/30" xmlns:SOAP="http://schemasxmlsoaporg/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">RESOURCE_NOT_FOUND</SAP:Code>
      <SAP:P1>d4f78d30-381b-11df-b885-debcac120353, 660e7670-68~</SAP:P1>
      <SAP:P2>urn:xx.com:xi:A_B2B_RSE:FI:XXXX</SAP:P2>
      <SAP:P3>email/test.xsl</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Unable to find resource d4f78d30-381b-11df-b885-debcac120353, 660e7670-68~ in the following software component versions: urn:xxcom:xi:A_B2B_RSE:FI:xx/test.xsl-1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can somebody please help me.

    first format your post understandable format

  • XSLT mapping with Java

    Hi,
    I'm trying to do my first XSLT mapping. For that, I'm testing the SAP example found in XI help: it's a concatenate function between a FirstName and a LastName which uses Java function "Merge".
    But... I have this error:
    <i>Unable to find resource com/company/group/MappingClass.class (http://test, -1) in the following software component versions: 60530c50-5a4c-11d9-9740-cb29ac1601f1</i>
    Do I declare the Java class "MappingClass" or "Merge" function somewhere in XI?
    Regards.
    Mickael.

    Unfortunately there are some errors in the documentation:
    In the XSLT:
    <xsl:if test="function-available('javamap:merge')">
    Here "merge" is wrong, write "concat" instead.
    In the Java Class:
    private MappingTrace trace = zero;
    This declaration has to be static, and of course "null" not "zero"
    To compile the Java Code, you need the library aii_map_api.jar.
    I have put all here:
    http://de.geocities.com/stefan_grube/MappingExample.zip
    Upload MappingExampleXSLT.jar and MappingExampleJava.jar as "Imported Archive" under "Mapping Objects"
    For testing use the file testXSLT.xml.
    Regards
    Stefan

  • Error in Current Date in XSLT Mapping

    Hi Experts,
      I am having a problem in Dispaying the current Date and Time ( or System Date and Time ) .As per my Project Requirements I need do XSLT mapping
    My XSLT Mapping Looks like
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="http://XYZ.eu.ABC.com">
    <xsl:template match="/">
    <a:A2A>
        <a:PNo>
             <xsl:value-of select="Path/Path/PNO"/>
       </a:PNo>
       <a:Rev>
             <xsl:value-of select="Path/Path/REVISION"/>
       </a:Rev>
       <a:Current Date>
             <xsl:value-of select= ""/>
       </a:Current Date>
       <a:Current Time>
             <xsl:value-of select= ""/>
       </a:Current Time>
    </xsl:template>
    </xsl:stylesheet>
    Can any one please let me is there is any function to  dispaly the Current Date and time.

    Hi ..
    I just tried executing both the maps.. Both of them excutes well in both XMLSpy and Stylus Studio .. But having below problems in Executing in PI
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
    <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
    <xsl:template match="/aaa">
    <xxx>
    <xsl:value-of select="current-dateTime()"/>
    </xxx>
    </xsl:template>
    </xsl:stylesheet>
    Then I got the error
    javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: Function with name 'current-dateTime' not found in context library.
    with
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:datetime="http://exslt.org/dates-and-times"
    exclude-result-prefixes="datetime">
    <xsl:template match="/">
    <currtime>
    <xsl:value-of select="datetime:dateTime()" />
    </currtime>
    </xsl:template>
    </xsl:stylesheet>
    I have got
    Unable to find resource http://exslt/org/dates-and-times.class (http://NAMESPACE Name) in the following software component versions: 0fe18820-410a-11dd-979b-dc8591374305

  • Error using XSLT mapping

    Hi,
    I am using an XSLT mapping during the response processing for a sync interface.
    I have performed the following steps:
    1. Created Translation.xsl and added to a .zip archive
    2. Imported the archive file into the same namespace as the interface mapping
    3. Added the mapping program for type XSL using the imported archive on the response in the interface mapping
    4. Activated everything
    However, when I receive a response, I get the following error:
    Search Translation.xsl (urn:com.xerox.esap.crm.deviceregistration, -1) in swcv f1570070-52e9-11db-c6b4-d3c10ddf0074.</Trace>
      <Trace level="3" type="T">Does not found exact entry. Search in other namspaces.</Trace>
      <Trace level="3" type="T">Search Translation.xsl (-1) in swcv f1570070-52e9-11db-c6b4-d3c10ddf0074 without namespace.</Trace>
      <Trace level="1" type="T">Unable to find resource Translation.xsl (urn:com.xerox.esap.crm.deviceregistration, f1570070-52e9-11db-c6b4-d3c10ddf0074, -1)</Trace>
      <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.persist.ResourceNotFoundException: Unable to find resource Translation.xsl
    However, I can see the imported archive with my very own eyes so not sure why this error is being thrown.
    Any ideas ?
    Kind regards
    Colin.

    Colin,
    First test your mapping is working fine or not in interfaace mapping. Just referesh your caches as mentioned in this document. This should resolve your issue:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    ---Satish

  • Detroubulator:  RESOURCE_NOT_FOUND when testing XSLT mapping

    Hello Everybody
    I have tried to test a XSLT mapping on SAP-XI (7.0, service pack 14) using Detroubulator (1.1.0):
    - JRE = jre1.6.0_03
    - JCo = 2.1.8
    - JUnit = junit-4.4.jar
    - aii_map_api.jar was copied from XI server to /detroubulator/lib
    However, running my test file I receive the following error:
    Detroubulator version 1.1.0, copyright 2006, 2007 AppliCon A/S
    Test file: test_xslt.xml
    04.02.2008 07:36:08 org.detroubulator.server.XIServerRFCImpl configure
    INFO: JCo version: 2.1.8 (2006-12-11)
    04.02.2008 07:36:09 org.detroubulator.core.Launcher terminate
    SCHWERWIEGEND: Termination requested with message: Server error: RESOURCE_NOT_FOUND,E,205,0,sap.invoic02.tradacom.1993.invoic.xsl,http://lindt.com/customer/defaults,829eeb5c-6af6-3be5-838d-0a40ea0fdfcb,-1
    04.02.2008 07:36:09 org.detroubulator.core.Launcher terminate
    SCHWERWIEGEND: org.detroubulator.server.ServerException: RESOURCE_NOT_FOUND,E,205,0,sap.invoic02.tradacom.1993.invoic.xsl,http://lindt.com/customer/defaults,829eeb5c-6af6-3be5-838d-0a40ea0fdfcb,-1
         at org.detroubulator.server.XIServerRFCImpl.executeMapping(Unknown Source)
         at org.detroubulator.server.XIServerRFCImpl.executeXSLTMapping(Unknown Source)
         at org.detroubulator.mappingprograms.XSLTMapping.execute(Unknown Source)
         at org.detroubulator.core.TestSuite.execute(Unknown Source)
         at org.detroubulator.core.Launcher.start(Unknown Source)
         at org.detroubulator.core.Launcher.main(Unknown Source)
    Server error: RESOURCE_NOT_FOUND,E,205,0,sap.invoic02.tradacom.1993.invoic.xsl,http://lindt.com/customer/defaults,829eeb5c-6af6-3be5-838d-0a40ea0fdfcb,-1
    The crucial parts of the test file are shown below:
    <?xml version="1.0" encoding="UTF-8"?>
    <testsuite>     
         <server>
              <configuration>
              </configuration>
         </server>
         <program type="xslt">
              <configuration>
                   <parameter name="name">sap.invoic02.tradacom.1993.invoic.xsl</parameter>
                   <parameter name="ns">http://lindt.com/customer/defaults</parameter>
                   <parameter name="swcv.id">829eeb5c6af63be5838d0a40ea0fdfcb</parameter>
              </configuration>
         </program>
         <!--
         <transformationparams>
        <parameter name="MESSAGE_ID">4fc43701f6e53e3eb5ef4748631adffb</parameter>
    </transformationparams>
      -->
         <reporting>
              <testreport type="console">
                   <configuration>
                        <parameter name="dumpdir">dumped_output</parameter>
                   </configuration>
              </testreport>
              <testreport type="xml">
                   <configuration>
                        <parameter name="file">sample_report_xslt.xml</parameter>
                        <parameter name="dumpdir">dumped_output</parameter>
                   </configuration>
              </testreport>
              <testreport type="html">
                   <configuration>
                        <parameter name="file">sample_report_xslt.html</parameter>
                        <parameter name="dumpdir">dumped_output</parameter>
                   </configuration>
              </testreport>
         </reporting>
         <tests>
              <testcase>
                   <inputdocument>invoic_00256850.xml</inputdocument>
                   <assertions>
                      <content xpath="/INVOIC/SG_THEADER/S_STX/APRF" expect="INVTES">Invoice is test-only</content>
                   </assertions>
              </testcase>
         </tests>
    </testsuite>
    The JCo connection to the SAP-XI server works yet the XSLT program is not recognized.
    Has anybody experienced similar problems and found a solution?
    Regards,
      Uwe

    Hello everybody,
    I have the same problem, but as path delimiter I use the slash.
    <parameter name="name">com/invoice01/my_map.xsl</parameter>
    Detroubulator with option -d writes such a log:
    1A      "3"     "Creating XSLT mapping /EDIFAKT/xslt/InvoiceEdiToInvoiceIdoc.xsl."
    2A      "3"     "Load 0c04fdb5-57db-3510-989e-afa01a95280e, http://vng.de/xi/energy/vng, -1, EDIFAKT/xslt/InvoiceEdiToInvoiceIdoc.xsl."
    3A      "3"     "Search EDIFAKT/xslt/InvoiceEdiToInvoiceIdoc.xsl (http://vng.de/xi/energy/vng, -1) in swcv 0c04fdb5-57db-3510-989e-afa01a95280e."
    4A      "3"     "Does not found exact entry. Search in other namspaces."
    5A      "3"     "Search EDIFAKT/xslt/InvoiceEdiToInvoiceIdoc.xsl (-1) in swcv 0c04fdb5-57db-3510-989e-afa01a95280e without namespace."
    6A      "1"     "Unable to find resource EDIFAKT/xslt/InvoiceEdiToInvoiceIdoc.xsl (http://vng.de/xi/energy/vng, 0c04fdb5-57db-3510-989e-afa01a95280e, -1)"
    7A      "1"     "com.sap.aii.ibrun.server.mapping.persist.ResourceNotFoundException: Unable to find resource EDIFAKT/xslt/InvoiceEdiToInvoiceIdoc.xsl (http://vng.de/xi/energy/vng, 0c04fdb5-57db-3510-989e-afa01a95280e, -1) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.getInputStream(DBSwcvMappingPersistor.java:325) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readFile(DBSwcvMappingPersistor.java:203) at com.sap.aii.ibrun.server.mapping.MappingResolver.loadSource(MappingResolver.java:114) at com.sap.aii.ibrun.server.mapping.MappingPool$TemplateFactory.load(MappingPool.java:314) at com.sap.aii.ibrun.server.mapping.MappingPool$TemplateFactory.newFactory(MappingPool.java:331) at com.sap.aii.ibrun.server.mapping.pool.Pool.getNewPoolLine(Pool.java:72) at com.sap.aii.ibrun.server.mapping.pool.Pool.checkOut(Pool.java:60) at com.sap.aii.ibrun.server.mapping.MappingPool.checkOut(MappingPool.java:82) at com.sap.aii.ibrun.server.mapping.XSLTMapping.executeStep(XSLTMapping.java:44) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy217.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:277) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:260) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)"
    The xi system finds the xslt as part of a szenario.
    Regards
    Christof

  • Please explain XSLT mapping from initial

    Hi Experts,
    I have Altova XMLspy but I dont know how to use it for doing XSLT mapping.
    Can anyone of you please explain a simple XSLT mapping in Altova so that I can try.I have checked many blogs related to XSLT mapping but didnt find my answers.
    If you can guide me with a simple xslt mapping it would be great.
    Thanks,
    Ravi

    Hi Ravi
    Please check the below links.
    XSLT Tutorial
    http://www.altova.com/documents/XMLSpyTutorial.pdf
    http://www.altova.com/documents/2013/xmlspytutorialstd.pdf
    http://xml-xslt-dtd-xsd.wonderhowto.com/how-to/use-xmlspy-for-xml-editing-217876/
    Regards
    Osman

  • Java.io.IOException: unable to find the type mapping resource file

    Hi,
    I am using weblogic7.0 to deploy my applications. I wrote a web service and
    was able to deploy it sucessfully. I am trying to access the web service through
    a jsp page. I am the error posted below on my server and " error:505 internal
    server error" on the browser. Can any one please help me out with the problem.
    My jsp page just displays the float value i am returing from the session bean
    method.
    Thanks,
    Ramya.
    <Apr 14, 2003 4:32:51 PM PDT> <Error> <HTTP> <101019> <[ServletContext(id=64204
    55,name=bankwebapp,context-path=/bankwebapp)] Servlet failed with IOException
    java.io.IOException: unable to find the type mapping resource file for:bank.Ban
    kService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149400> <Activatin
    g application: appsdirbankwebapp_war>
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbankwebapp_war on myserver - Running>
    <Apr 14, 2003 4:41:01 PM PDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbankwebapp_war on myserver - Completed>
    The url value from the jsp page ishttp://localhost:7001
    The wsdl value from the jsp page ishttp://localhost:7001/web_services/BankServi
    ce
    <Apr 14, 2003 4:41:06 PM PDT> <Error> <HTTP> <101019> <[ServletContext(id=72463
    20,name=bankwebapp,context-path=/bankwebapp)] Servlet failed with IOException
    java.io.IOException: unable to find the type mapping resource file for:bank.Ban
    kService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

    Hi Manoj,
    Thanks a lot for your hepl. I tried as you said and its working now.
    Ramya
    "manoj cheenath" <[email protected]> wrote:
    Make sure that you put the client jar file generated by
    clientgen in the lib directory of the jsp web app.
    It looks like the runtime is unable to load
    <service>.xml type mapping file. This xml file
    should be in the classpath (web-inf/lib or
    web-inf/classes).
    -manoj
    "Ramya" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am using weblogic7.0 to deploy my applications. I wrote a web serviceand
    was able to deploy it sucessfully. I am trying to access the web servicethrough
    a jsp page. I am the error posted below on my server and " error:505internal
    server error" on the browser. Can any one please help me out with theproblem.
    My jsp page just displays the float value i am returing from the sessionbean
    method.
    Thanks,
    Ramya.
    <Apr 14, 2003 4:32:51 PM PDT> <Error> <HTTP> <101019><[ServletContext(id=64204
    55,name=bankwebapp,context-path=/bankwebapp)] Servlet failed withIOException
    java.io.IOException: unable to find the type mapping resource filefor:bank.Ban
    kService
    atweblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    atweblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149400><Activatin
    g application: appsdirbankwebapp_war>
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149404><Activate
    application appsdirbankwebapp_war on myserver - Running>
    <Apr 14, 2003 4:41:01 PM PDT> <Notice> <Application Poller> <149404><Activate
    application appsdirbankwebapp_war on myserver - Completed>
    The url value from the jsp page ishttp://localhost:7001
    The wsdl value from the jsp page
    ishttp://localhost:7001/web_services/BankServi
    ce
    <Apr 14, 2003 4:41:06 PM PDT> <Error> <HTTP> <101019><[ServletContext(id=72463
    20,name=bankwebapp,context-path=/bankwebapp)] Servlet failed withIOException
    java.io.IOException: unable to find the type mapping resource filefor:bank.Ban
    kService
    atweblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    atweblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • Unable to Find the Type Mapping Resource File (Two web services)

    Hello,
    I am using BEA weblogic 7.0 to deploy my applications. I have a web service and was able to deploy it sucessfully. I am trying to access this web service from another web service previously succesfully deployed too. When I call the second one, I have the next problem:
    java.io.IOException: unable to find the type mapping resource file for:tuoprec.sinsesion.TuOPRecService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegistry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at tuoprec.sinsesion.TuOPRecService_Impl.<init>(TuOPRecService_Impl.java
    I put the client jar file (2nd web service) obtained from the <clientgen> in the class path of the ear file (1st web service), but I have the same error.
    Can anybody help me?,
    jose luis

    Hello,
    I am using BEA weblogic 7.0 to deploy my applications. I have a web service and was able to deploy it sucessfully. I am trying to access this web service from another web service previously succesfully deployed too. When I call the second one, I have the next problem:
    java.io.IOException: unable to find the type mapping resource file for:tuoprec.sinsesion.TuOPRecService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegistry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at tuoprec.sinsesion.TuOPRecService_Impl.<init>(TuOPRecService_Impl.java
    I put the client jar file (2nd web service) obtained from the <clientgen> in the class path of the ear file (1st web service), but I have the same error.
    Can anybody help me?,
    jose luis

  • Type-mapping not working correctly, get "Unable to find a javaType for the xmlType" WARNING

    I'm manually creating a web-services.xml file, and using the autogen ant task to
    generate the codec XML/Java classes. The XML definition is provided by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG. The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service method
    that has a complex data type (non-built in data type) is not being deployed into
    the WebLogic server. But the other service method that simply takes a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    [web-services.xml]

    Hi JD,
    I spent a few cycles looking over your web-services.xml file, however I
    don't have any suggestions other that one that looks like you have
    already tried, at the top, in the <schema...>
    targetNamespace="urn:sap-com:document:sap:business"
    Making edits to these generated files can be tricky and my only
    suggestion is to create a small reproducer to run by our outstanding
    support team.
    A quick look at our problem database shows one issue (CR095109) related
    to a similar problem at deploy time that was fixed with 7.0SP3. Again,
    the support folks will be able to help focus in on the issue.
    Regards,
    Bruce
    JD wrote:
    >
    The first posting contains the wrong web-services.xml file. Please refer to this
    one instead.
    "JD" <[email protected]> wrote:
    I'm manually creating a web-services.xml file, and using the autogen
    ant task to
    generate the codec XML/Java classes. The XML definition is provided
    by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG.
    The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have
    registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is
    simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the
    SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service
    method
    that has a complex data type (non-built in data type) is not being deployed
    into
    the WebLogic server. But the other service method that simply takes
    a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition
    and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class
    files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate
    the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into
    the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to
    the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document
    throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    Name: web-services.xml
    web-services.xml Type: ACT Project (text/xml)
    Encoding: base64

Maybe you are looking for