About xml discover request

Hi,
I hava some questions as below:
1. I send the XML Discover call to request a list of catalog, it can get info cube and ods cube,
ods cube is used to select data?
2. It losts dimension "Request Package" and dimension which own "Navigation Attribute", why?
3. Every dimension has a default hierarchy named as dimension name, how to create more hierarchies for dimension.
4. Every dimension has 2 default levels named level00 and level01, how to create more levels for dimension
Thanks,
Andy

Hi Didier,
Thanks,
I send the request such as below:
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
<RequestType>MDSCHEMA_DIMENSIONS</RequestType>
<Restrictions>
<RestrictionList>
<CUBE_NAME>$COOL_SA</CUBE_NAME>
<CATALOG_NAME>$INFOCUBE</CATALOG_NAME>
</RestrictionList>
</Restrictions>
<Properties>
<PropertyList>
<Catalog>$INFOCUBE</Catalog>
<Content>SchemaData</Content>
<DataSourceInfo>Provider=SAP BW;DataSource=SAP Business Information Warehouse Release 7.01</DataSourceInfo>
</PropertyList>
</Properties>
</Discover>
I can get some dimension, but "Request ID" dimension and "navigation attribute" dimension I can't get,  is it system own?
whether the dimension hava a default hierarchy and 2 levels?
Thanks,
Cool

Similar Messages

  • About discover request

    Hi,
    I hava some questions as below:
    1. I send the XML Discover call to request a list of catalog, there are 3 catalogs,
            but I found the "$INFOCUBE" is meaningfull,  what about others?
    2. It losts dimension "Request Package" and dimension which own "Navigation Attribute", why?
    3. Every dimension has a default hierarchy named as dimension name, how to create more hierarchies for dimension.
    4. Every dimension has 2 default levels named level00 and level01, how to create more levels for dimension
    Thanks,
    Andy

    Hello,
    could you pls move this thread to the following topic:
    SAP Community Network Forums » Business Objects » Universe Designer and Business Views Designer
    I believe that there you will be advised.
    Best regards,
    Paula Csete

  • Generate xml-rpc request using xsd

    Hi All,
    I have one xsd file . I want to generate xml-rpc request file using this xsd file. If any body have any tools for that , can you please share this name with me. It's great help for me...
    Thank You,
    Pattanaik

    That's an interesting question. I thought it would be obvious that xmlbeans or "normal" xml-rpc packages would handle this.
    It turns out this doesn't seem to be true.
    Are you saying that you're trying to pass an object to a method and you want to deserialize the object into a java object of a type that is defined via an XSD? If this is the case you can use xmlbeans to do the xsd<->java mapping, then use just about any xml-rpc service to do the actual RPC mechanism.
    It's interesting that these two technologies haven't converged though...

  • Question about XML validation against schema

    My question is probably a basic one about XML. I tried PurchaseOrder example from the book "J2EE Web Services" by Richard Monson-Haefel. A simplified version as followings -
    Address.xsd -
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/Address"
    xmlns:addr="http://xml.netbeans.org/schema/Address"
    elementFormDefault="qualified">
    <element name="address" type="addr:USAddress" />
    <complexType name="USAddress">
    <sequence>
    <element name="name" type="string" />
    <element name="street" type="string" />
    <element name="city" type="string" />
    <element name="state" type="string" />
    <element name="zip" type="string" />
    </sequence>
    </complexType>
    </schema>
    PurchaseOrder.xsd -
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/PurchaseOrder"
    xmlns:po="http://xml.netbeans.org/schema/PurchaseOrder"
    xmlns:ad="http://xml.netbeans.org/schema/Address"
    elementFormDefault="qualified">
    <import namespace="http://xml.netbeans.org/schema/Address" schemaLocation="Address.xsd" />
    <element name="purchaseOrder" type="po:PurchaseOrder" />
    <complexType name="PurchaseOrder">
    <sequence>
    <element name="accountName" type="string" />
    <element name="accountNumber" type="unsignedShort" />
    <element name="shipAddress" type="ad:USAddress" />
    <element name="total" type="float" />
    </sequence>
    <attribute name="orderDate" type="date" />
    </complexType>
    </schema>
    Then PurchaseOrder.xml is -
    <purchaseOrder orderDate="2007-12-12"
    xmlns='http://xml.netbeans.org/schema/PurchaseOrder'
    xmlns:addr="http://xml.netbeans.org/schema/Address"
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xsi:schemaLocation='http://xml.netbeans.org/schema/PurchaseOrder ../xsd/PurchaseOrder.xsd'>
    <accountName>Starwood</accountName>
    <accountNumber>220</accountNumber>
    <shipAddress>
    <name>Data Center</name>
    <street>1501 Washington St.</street>
    <city>Braintree</city>
    <state>MA</state>
    <zip>02148</zip>
    </shipAddress>
    <total>250</total>
    </purchaseOrder>
    Then I did a XML validation but have this error -
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'name'. One of '{"http://xml.netbeans.org/schema/Address":name}' is expected. [19]
    It complains <name> tag in <shipAddrss> needs namespace of "http://xml.netbeans.org/schema/Address". Why?
    Is it possible to change XML so it does not need name space for elements inside <shipAddress>?
    Thanks

    Hi Madhura,
    see here my comparison of the web version against the local file version on my Windows box (which is itself not the fastest): It makes a factor 16 in difference!
    C:\Temp\xsdvalidator>java XsdValidator madhu.xsd madhu.xml
    cvc-pattern-valid: Value 'provamail.it' is not facet-valid with respect to patte
    rn '[^@]+@[^.]+[.].+' for type 'EmailType'.
    NOK - Validation error
    Elapsed time: 16353 ms
    C:\Temp\xsdvalidator>java XsdValidator madhu_local.xsd madhu.xml
    cvc-pattern-valid: Value 'provamail.it' is not facet-valid with respect to patte
    rn '[^@]+@[^.]+[.].+' for type 'EmailType'.
    NOK - Validation error
    Elapsed time: 994 ms
    Obviously, the w3c.org domain that you specified as ressource location is very slow - and, as the FAQ shows, this delay is intentional!
    The W3C servers are slow to return DTDs. Is the delay intentional?
    Yes. Due to various software systems downloading DTDs from our site millions of times a day (despite the caching directives of our servers), we have started to serve DTDs and schema (DTD, XSD, ENT, MOD, etc.) from our site with an artificial delay. Our goals in doing so are to bring more attention to our ongoing issues with excessive DTD traffic, and to protect the stability and response time of the rest of our site. We recommend HTTP caching or catalog files to improve performance.
    --> They don't want to have requests to their site from productive servers all around the world.
    Regards,
    Rüdiger

  • oms_error Message:[oms] empty or null xml map request string.

    I'm using mapviewer. I create a stored procedure in oracle that uses the utl_http package to make the map request. The omserver response with an error but when i make a map request via internet explorer the server response its ok and show me the correspondent map. This is my pl/sql code it fails in this line:
    UTL_HTTP.SET_HEADER(l_http_req, 'Content-Type', 'application/x-www-form-urlencoded');
         UTL_HTTP.SET_HEADER(l_http_req, 'Content-Lenght', LENGTH(map_request));
         UTL_HTTP.SET_HEADER(l_http_req, 'Host', 'cobogis09');
         UTL_HTTP.SET_HEADER(l_http_req, 'Port', '8888');
    As you can see it tells to me that the map request string is empty but im sending the map request in the next way:
         UTL_HTTP.WRITE_TEXT(l_http_req, '<?xml version="1.0" encoding="UTF-8"?><map_request datasource="stream" srid="8307" basemap="" width="960" height="768" antialiasing="false" format="GIF_URL" title="Demonstration"></map_request>');
         l_http_resp := utl_http.get_response(l_http_req);
         utl_http.read_text(l_http_resp, l_value);
         response := sys.XMLTYPE.createxml(l_value);
         utl_http.end_response(l_http_resp);
         img_url := response.EXTRACT('/map_response/map_image/map_content/@url').getstringval();
    img_url := response.EXTRACT('/map_response/map_image/map_content/@url').getstringval();
    obviously because the server response its not ok
    the server response is (i get this message in my l_value variable):
    <?xml version="1.0" encoding="UTF-8"?><oms_error>Message:[oms] empty or null xml map request string.
    Tue Jul 25 10:37:43 GMT-05:00 2006
    Severity: 0
    Description:
         at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:860)
         at oracle.lbs.mapserver.oms.doPost(oms.java:303)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:595)
    </oms_error>
    What i want to know its why the server says that the map request string is empty. As you can see the map request is not empty, but when i send to the server something happens that sends this map request string empty to the server.
    The next is the console of the omserver:
    C:\oc4j_extended>cd\
    C:\>cd C:\oc4j_extended\j2ee\home
    C:\oc4j_extended\j2ee\home>java -hotspot -Xmx512M -jar oc4j.jar
    06/07/25 11:00:49 INFO [oracle.lbs.mapserver.oms] oms root path: C:\oc4j_extended\j2ee\home\lbs\mapviewer\web\
    06/07/25 11:00:49 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    06/07/25 11:00:49 INFO [oracle.lbs.mapserver.core.MapperConfig] using default config file: C:\oc4j_extended\j2ee\home\lbs\mapviewer\web\WEB-INF\conf\mapViewerConfig.xml
    06/07/25 11:00:49 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    06/07/25 11:00:50 INFO [oracle.lbs.mapserver.core.MapperConfig] setting logging level to finest
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] In memory cache limit set to: 512MB
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperConfig] Disk-based cache is no longer supported.
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperConfig] setting proxy to: coboisa01.ag.ad.local:8080
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.core.MapperConfig]
    Allowed IPs:
    Excluded IPs:
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 ERROR [oracle.lbs.mapserver.core.MapperConfig] ###### [MapperConfig] clear-text passwords in the mapViewrConfig.xml file must be prefixed with a '!' (exclamation mark).
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperConfig] Map Recycling thread started.
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.oms] *** Oracle MapViewer started. ***
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request.getRemoteUser = jazn.com/admin
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request= <?xml version="1.0" standalone="yes"?>
    <non_map_request>
    <add_data_source name="stream"
    jdbc_host="cobodata01"
    jdbc_sid="stream"
    jdbc_port="1521"
    jdbc_user="***"
    jdbc_password="***"
    jdbc_mode="thin"
    number_of_mappers="3"/>
    </non_map_request>
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] getRequestType: nodeName=add_data_source
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 INFO [oracle.lbs.mapserver.MapServerImpl] adding a map data src [name=stream]
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 FINEST [oracle.sdovis.SRS] loaded 748 geodetic srids.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] Spatial Data Cache opened. Region=SDOVIS_DATA.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] max_cache_size=512 MB.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] sub region sdovis_subreg_gis_jdbc:oracle:thin:@cobodata01:1521:stream created in cache.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperPool] added a mapper instance to the pool [data src=stream]
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperPool] added a mapper instance to the pool [data src=stream]
    06/07/25 11:01:06 Tue Jul 25 11:01:06 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperPool] added a mapper instance to the pool [data src=stream]
    06/07/25 11:01:36 Tue Jul 25 11:01:36 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request.getRemoteUser = null
    06/07/25 11:01:36 Tue Jul 25 11:01:36 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request= null
    As you can see the arrive empty to the server, what can be wrong

    Hi,
    in this map request, it looks that the basemap string is empty.
    UTL_HTTP.WRITE_TEXT(l_http_req, '<?xml version="1.0" encoding="UTF-8"?><map_request datasource="stream" srid="8307" basemap="" width="960" height="768" antialiasing="false" format="GIF_URL" title="Demonstration"></map_request>');

  • Hello Apple, Plz give us the classic look option like iOS 6. We miss that appearance which shew all icons as a gems but now in ios 7 all icons look like a cheap stickers and worst than android look. Plz think about it, heartily request to You dear Apple.

    Hello Apple, Plz give us the classic look option like iOS 6. We miss that appearance which shew all icons as a gems but now in ios 7 all icons look like a cheap stickers and worst than android look. Plz think about it, heartily request to You dear Apple.

    There is no Apple in this forum this is a user to user forum.
    send your feedback here http://www.apple.com/feedback/

  • Explain about xml schema with example

    Hi,
    Kindly anybody explain about xml schema with example?
    With Regards,
    L.rajesh

    Maybe this is what you are looking for ??? If not give us more info...
    Re: How it work?

  • Why are people so crazy about XML publisher?

    Why are people so crazy about XML publisher? Maybe there are things I am not aware of, but with the exception of adding the ability to export to Excel from EBS, or having a template for a letter in which a few things will change from copy to copy, I don't see a huge advantage to using it.
    Reports is such a powerful tool and creates so much flexibility in creating graphical documents. Things that are so easy to do in reports, from my experience, is extremely difficult to impossible in XML publisher. In publisher, you have to do a lot of logic yourself that reports would do for you just by saying Yes or No to a property.
    When I first learned about XML publisher, I was really excited about learning to use it. But when I saw how difficult it is to do simple tasks, and how much you have to reinvent the wheel, I became really disappointed. There are lots of examples on the web about how to do this or how to do that with it, but honestly they seem to show you how to go to a lot of trouble to accomplish something that is easy in reports.
    People seem to want to avoid bitmapped reports like the plague, but I think they are extremely underrated.
    What do you guys think? Am I missing something? I would like to hear other opinions and perspectives.
    Thanks,
    Kurz

    Hello Kurz,
    BI Publisher (XML Publisher)
    - can use any relational DB
    - can easily be connected to Oracle Applications (Siebel, JD Edwards, ...)
    - Templates can be edited by users
    - more output formats
    Have a look at http://www.oracle.com/technology/products/xml-publisher/docs/BI_Publisher_for_Apps.pdf
    or the product home at http://www.oracle.com/technology/products/xml-publisher/index.html
    Regards
    Marcus

  • Hi,  Explain about Repair full request

    Hi explain about repair full request and one more how many max no of partitions we will do

    If you flag a request as a repair request with full update as the update
    mode, it can be updated to all data targets, even if these already contain
    data from delta initialization runs for this DataSource/source system
    combination. This means that a repair request can be updated into all ODS
    objects at any time without a check being performed. The system supports
    loading by repair request into an ODS object without a check being
    performed for overlapping data or for the sequence of the requests. This
    action may therefore result in duplicate data and must thus be prepared
    very carefully.
    The repair request (of the "Full Upload" type) can be loaded into the same
    ODS object in which the 'normal' delta requests run. You will find this
    request under the "Repair Request" option in the InfoPackage (Maintenance)
    menu.
    SAP Note Number 739863 - Repairing data in BW
    REGARDING PARTITION
    IF BASED ON 0CALMONTH THAN 12+2
    IF BASED ON 0FISCPER3 THAN 122 OR 162 ( DEPEND ON VARIANT)
    Thanks
    Tripple k

  • I would like to know about repair full request.

    i would like to know about repair full request.

    Check the following :
    Repair full request
    Delta loading not possible if FULL requests already available in ODS from same datasource & souce system combination, In order to delta's FULL requests should be changed to Repair FULL full requests. Then system allows Deltas.
    Repair Full Request

  • Getting error 'Unable to Deliver XML Publisher Request'

    Hi, there is a workflow which will trigger a letter through XML publisher. Few types are letters are printing. For few letters, getting an error 'Unable to Deliver XML Publisher Request' as a mail.
    Any suggestions on this?
    Thanks in advance,

    Hi,
    What version of XML Publisher are you on?
    What is the EBS Release?
    Bursting Engine: Unable to Delivery Output to Both File System and Printer [ID 399412.1]
    Thanks

  • I know nothing about XML-RPC-Plz help

    First of all let me tell you that I am fairly new to XML and XML-RPC and how to parse and manipulate it in java.
    So please prepare yourself for some stupid questions and spare me for that;P.
    Here is my task, which I still have no exact idea that how to do it?
    Ive been told that this is our XML-RPC request is something like this
    <?xml version="1.0"?>
    <methodCall>
       <methodName>examples.getStateName</methodName>
       <params>
          <param>
             <value><i4>41</i4></value>
             </param>
          </params>
       </methodCall>Reply will be something like this
    <?xml version="1.0"?>
    <methodResponse>
       <params>
          <param>
             <value><string>South Dakota</string></value>
             </param>
          </params>
       </methodResponse>and the language is JAVA.
    Now please tell me that, if I am using Java as my programming language and someone tells me all that I specified above, will the communication occur through java programms as all the tutorials specify?
    OR
    Do I need to send the simple XML file to the server and will receive another XML response file in return ?
    Another question
    If Java does every thing, then what is the use of giving XML request and response format?

    If Java does every thing, then what is the use of
    giving XML request and response format?Java does not do everything . Here is an illustrative example.
    You need to get information from the XYZ server in China and use it to calculate a formula. Once the formula is calculated, you need to send the calculation to a server in Denmark.
    The server in China is a .NET application.
    The server in Denmark is a Perl application.
    Your server in Kuwait is written in Java.
    You send the XML request to the .NET application.
    The .NET application processes the request and sends you an XML response.
    Your server then does something with the response and sends a second XML request to Denmark.
    The Perl application in Demark processes your request.

  • Hi, my iphone was lost. I sent a "remote wipe" request via Find My Iphone. Now i am worry about that the request will diable Find My Iphone. Will that happen?

    Please help me!

    Now i am worry about that the request will diable Find My Iphone. Will that happen?
    Yes, unfortunately, that is what will happen.

  • Plain HTTP sender adapter - Extract XML from request

    Hi all,
    I face a blocking issue in one of my B2B process.
    A marketplace must send Purchase orders to my customer with synchronous HTTPs requests.
    When messages arrive, we can see the following payload in incoming message (SXMB_MONI)
    %24xmldata=+%3C%3Fxmlversion%3D%221.0%22encoding%3D%22UTF-8%22%3F%3E%0D%0A-%3CMessage%3E%0D%0A-%3CHeader%3E%0D%0A%3CFrom%3EPA%3C%2FFrom%3E%0D%0A+%3CTo%3E83092SAC01%3C%2FTo%3E%0D%0A+%3CDocType%3ETAEPa-xCBL30PO%3C%2FDocType%3E%0D%0A++%3CDocID%3EP-20050502T125611-TATG310-
    %0D%0A++%3C%2FMessage%3E&submit=Soumission
    WebServer of B2B partners don't put XML data in HTTP body but as HTML form in .
    Is there a way in Plain http adapter to interpret such a request ?
    How can we decode hexadecimal sequence ?
    Thanks to help us.
    Jean-Charles

    Hi Jean-Charles !
    Unfortunately, I don't know any other option (based on XI; maybe you can develop some kind of external translator between your system and  XI's http adapter). The first link (although it is based on a escenario in the oposite direction) speaks about using java proxy instead of the http adapter.
    Here are some links:
    /people/thorsten.nordholmsbirk/blog/2006/08/06/use-a-java-proxy-instead-of-a-jca-adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue&start=21#
    Regards,
    Matias
    ps: please award points if helpful.

  • About XML interop

    I Know that for using XML Interop I have to produce an XML file like that :
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jdeRequest comment="" environment="PY812" pwd="xxxx" role="*ALL" session="" sessionidle="" type="callmethod" user="BUFFETAUD">
         <callMethod app="" name="LaunchBatchApplication">
              <returnCode code="0"/>
              <params>
                   <param name="szReport">R0006P</param>
                   <param name="szVersionJDE">XJDE0001</param>
                   <param name="cSynch">0</param>
                   <param name="cPrintPreview">0</param>
                   <param name="szDataSourceOverride"/>
                   <param name="mnServerJobNumber">0</param>
                   <param name="cReturn"/>
                   <param name="cJDELogging">0</param>
                   <param name="cTracing">0</param>
                   <param name="cUBELoggingLevel">1</param>
                   <param name="szJobQueue">QBATCH</param>
              </params>
         </callMethod>
    </jdeRequest>
    We are under JDE 8.12 Tools 8.98.2.3 and an AS400 V6R1.
    We are now using Oracle Data Ingrator 11G.
    I would like to know how and where to send using ODI this XML to make JDE execute my call?

    This is from Oracle.
    Please mark the answer as correct if you think it's right.
    JXMLTool (EnterpriseOne 8.98)
    Introduction:
    The JXMLTool is a GUI tool developed by Global Support Services to submit XML requests to ERP enterprise servers. The tool can be used to verify the integrity of the ERP services (kernel configuration, BSFN processing, among others) when testing inbound integrations from XPI and/or other third party systems to ERP. This document contains instructions on how to install and configure the tool.
    Installation and Configuration:
    1) Verify that a supported Java Development Kit (JDK) is installed in the workstation to be used in the test (for example, verify that JDK 1.4.2 is installed).
    Note: It is recommended that the workstation also have an EnterpriseOne 8.12 full client package installed.
    2) Create a new directory in the workstation (for example, C:\JXMLTool).
    3) Copy the following files from the Deployment server to the directory created in step 2:
    e812\system\classes\Base_JAR.jar
    e812\system\classes\JdeNet_JAR.jar
    e812\system\classes\System_JAR.jar
    e812\system\classes\log4j.jar
    e812\system\classes\xerces.jar
    e812\system\classes\xalan.jar
    e812\system\classes\ManagementAgent_JAR.jar
    e812\system\classes\jmxri.jar
    e812\system\classes\commons-httpclient-3.0.jar
    e812\system\classes\commons-logging.jar
    e812\system\classes\ xmlparserv2.jar
    e812\system\classes\ jmxremote_optional.jar
    e812\system\Classes\samples\jdeinterop.ini.templ
    e812\system\Classes\samples\jdelog.properties
    Note: If you have multiple-foundation implemented in the system, make sure the files you are copying match the service pack level installed in the enterprise server.
    4) Rename jdeinterop.ini.templ to jdeinterop.ini. Modify the jdeinterop.ini file copied in step 3 to reflect the correct enterprise server name:
    a) Ensure that parameters glossaryTextServer in [SERVER] section, serviceNameConnect in [JDENET] section, and enterpriseServer, port in [INTEROP] section specify the correct enterprise server name and JDENET port number).
    b) Configure the value of Repository under [INTEROP] section such that it points to the directory created in step 2 (for example, “Repository= C:\JXMLTool”).
    c) Ensure that parameter SecurityServer in [SECURITY] section specify the correct security server.
    d) Configure OCMEnabled to “false” in [OCM] section.
    e) Add the parameter netTrace to [JDENET] section and configure its value as “1” (for example, “netTrace=1”)
    5) Rename jdelog.properties.templ to jdelog.properties. Modify the jdelog.properties file to reflect the characteristics of the machine:
    a) Ensure that jdelog.handler.JDELOG.File points to directory created in step 2 (for example, jdelog.handler.JDELOG.File=C:/JXMLTool/jderoot.log).
    b) Ensure that jdelog.handler.JASLOG.File points to directory created in step 2 (for example, jdelog.handler.JASLOG.File=C:/JXMLTool/jas.log).
    c) Remove comment marks from parameters jdelog.Debug, jdelog.handler.jasdebug, jdelog.handler.jasdebug.File, and jdelog.handler.jasdebug.Level.
    c) Ensure that jdelog.handler.jasdebug.File points to directory created in step 2 (for example, jdelog.handler.jasdebug.File=C:/JXMLTool/jasdebug.log).
    6) Create a new text file using the text editor of your choice (for example, Notepad).
    7)Paste the following text to the new document:
    @echo off
    REM Edit this file to the locations for Java and EnterpriseOne
    REM JDK root directory
    set JAVA_HOME=C:\j2sdk1.4.2_12
    set PATH=C:\j2sdk1.4.2_12\bin
    REM EnterpriseOne Windows client install path
    set OneWorld_HOME=C:\e812
    REM This directory
    set EXAMPLES=C:\Interop\JXMLTool
    REM Set the CLASSPATH environment variable.
    REM The following are libraries that are needed for Connector samples:
    set CLASSPATH=Base_JAR.jar
    set CLASSPATH=%CLASSPATH%;C:\Interop\JXMLTool\
    set CLASSPATH=%CLASSPATH%;C:\Interop\JXMLTool\JXMLTool.class
    set CLASSPATH=%CLASSPATH%;JdeNet_JAR.jar
    set CLASSPATH=%CLASSPATH%;System_JAR.jar
    set CLASSPATH=%CLASSPATH%;log4j.jar
    set CLASSPATH=%CLASSPATH%;xerces.jar
    set CLASSPATH=%CLASSPATH%;xalan.jar
    set CLASSPATH=%CLASSPATH%;ManagementAgent_JAR.jar
    set CLASSPATH=%CLASSPATH%;jmxri.jar
    set CLASSPATH=%CLASSPATH%;commons-httpclient-3.0.jar
    set CLASSPATH=%CLASSPATH%;commons-logging.jar
    set CLASSPATH=%CLASSPATH%;xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;jmxremote_optional.jar
    set CLASSPATH=%CLASSPATH%;%OneWorld_HOME%\system\classes\
    a) Ensure that "set JAVA_HOME" command sets the variable with correct path to JDK directory (for example, "set JAVA_HOME=c:\jdk142").
    b) Configure value of OneWorld_HOME such that it points to the directory where OneWorld® is installed (for example, “set OneWorld_HOME=C:\e812”).
    c) Ensure that "set EXAMPLES" command sets the variable with the correct path to directory created in step 2 (for example, "set EXAMPLES=C:\JXMLTool").
    d) Configure value of JDEINTEROPINI such that it points to the jdeinterop.ini file you copied in step 3 (for example,
    “set JDEINTEROPINI=%EXAMPLES%\jdeinterop.ini”).
    e) Append the path of the bin directory of the JDK to the PATH variable. For example, add the following line:
    “set PATH=%JAVA_HOME%\bin”
    8) Save the file as setenv.bat in the directory created in step 2 (for example, C:\JXMLTool\setEnv.bat).
    9) Create a new text file using the text editor of your choice (for example, Notepad).
    10) Paste the following text to the new document:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.GregorianCalendar;
    import java.util.Date;
    import javax.swing.JOptionPane;
    import javax.swing.JFrame;
    import com.jdedwards.system.xml.XMLRequest;
    import com.jdedwards.system.net.JdeNetTimeoutException;
    import com.jdedwards.system.net.JdeNetConnectFailedException;
    // Application: JXMLTool
    // Description: Java tool that submits XML requests to OneWorld® enterprise Servers
    // Author: Luis A. Santillo
    public class JXMLTool extends JFrame implements ActionListener {         
    Panel xmlPanel;
    Label ServerNameLabel;
    Label PortNumberLabel;
    TextField PortNumberField;
    TextField ServerNameField;
    TextArea RequestArea;
    TextArea ReplyArea;
    Button submitButton;
    String directory;
    String owServerName;
    String ReplyString;
    int owPortNumber;
    MenuBar mb = new MenuBar();
    Menu fileMenu = new Menu("File");
    Menu helpMenu = new Menu("Help");
    MenuItem openMenuItem = new MenuItem("Open");
    MenuItem exitMenuItem = new MenuItem("Exit");
    MenuItem helpMenuItem = new MenuItem("About");
    public static void main(String args[]) {
    JXMLTool jxmltool = new JXMLTool();
    jxmltool.init();
    public void init () {
    xmlPanel = createXMLPanel();
    this.setSize(640, 480);
    this.setResizable(true);
    this.getContentPane().add(xmlPanel, BorderLayout.CENTER);
    this.setVisible(true);
    openMenuItem.addActionListener(this);
    fileMenu.add(openMenuItem);
    fileMenu.add(new MenuItem("-"));
    exitMenuItem.addActionListener(this);
    fileMenu.add(exitMenuItem);
    helpMenu.add(helpMenuItem);
    mb.add(fileMenu);
    mb.add(helpMenu);
    this.setMenuBar(mb);
    submitButton.addActionListener(this);
    directory = System.getProperty("user.dir");
    private Panel createXMLPanel()
    GridBagLayout gridbag = new GridBagLayout();
    GridBagConstraints constraints = new GridBagConstraints();
    xmlPanel = new Panel();
    xmlPanel.setLayout(gridbag);
    buildConstraints(constraints, 0, 0, 1, 1, 10, 5);
    constraints.fill = GridBagConstraints.NONE;
    ServerNameLabel = new Label("OneWorld® Server Name", Label.LEFT);
    gridbag.setConstraints(ServerNameLabel, constraints);
    xmlPanel.add(ServerNameLabel);
    buildConstraints(constraints, 1, 0, 1, 1, 40, 0);
    constraints.fill = GridBagConstraints.NONE;
    ServerNameField = new TextField("", 20);
    gridbag.setConstraints(ServerNameField, constraints);
    xmlPanel.add(ServerNameField);
    buildConstraints(constraints, 2, 0, 1, 1, 10, 0);
    constraints.fill = GridBagConstraints.NONE;
    PortNumberLabel = new Label("Port Number", Label.LEFT);
    gridbag.setConstraints(PortNumberLabel, constraints);
    xmlPanel.add(PortNumberLabel);
    buildConstraints(constraints, 3, 0, 1, 1, 40, 0);
    constraints.fill = GridBagConstraints.NONE;
    PortNumberField = new TextField("", 20);
    gridbag.setConstraints(PortNumberField, constraints);
    xmlPanel.add(PortNumberField);
    buildConstraints(constraints, 0, 1, 4, 1, 0, 40);
    constraints.fill = GridBagConstraints.BOTH;
    RequestArea = new TextArea("", 10, 80);
    gridbag.setConstraints(RequestArea, constraints);
    xmlPanel.add(RequestArea);
    buildConstraints(constraints, 0, 2, 4, 1, 0, 5);
    constraints.fill = GridBagConstraints.NONE;
    submitButton = new Button("Submit");
    gridbag.setConstraints(submitButton, constraints);
    xmlPanel.add(submitButton);
    buildConstraints(constraints, 0, 3, 4, 1, 0, 40);
    constraints.fill = GridBagConstraints.BOTH;
    ReplyArea = new TextArea("", 10, 80);
    ReplyArea.setBackground(Color.gray);
    gridbag.setConstraints(ReplyArea, constraints);
    xmlPanel.add(ReplyArea);
    return xmlPanel;
    void buildConstraints(GridBagConstraints gbc, int gx, int gy, int gw, int gh, int wx, int wy) {
    gbc.gridx = gx;
    gbc.gridy = gy;
    gbc.gridwidth = gw;
    gbc.gridheight = gh;
    gbc.weightx = wx;
    gbc.weighty = wy;
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() instanceof MenuItem) {
    String label = ((MenuItem)e.getSource()).getLabel();
    if (label.equals("File"));
    if (label.equals("Open")) {
    FileDialog f = new FileDialog(this, "Open File", FileDialog.LOAD);
    f.setDirectory(directory);
    f.show();
    directory = f.getDirectory();
    setFile(directory, f.getFile());
    f.dispose();
    if (label.equals("Exit"))
    System.exit(0);
    if (label.equals("About"));
    if (e.getSource() instanceof Button) {
    if (ServerNameField.getText().equals(""))
    ReplyArea.setText("Error: server name is either null or empty!\nPlease enter new server name.\n");
    else {
    if (PortNumberField.getText().equals(""))
    ReplyArea.setText("Error: port number is either null or empty!\nPlease enter new port number.\n");
    else {
    owServerName = ServerNameField.getText();
    try {
    owPortNumber = Integer.parseInt(PortNumberField.getText());
    ReplyString = submitXMLRequest(RequestArea.getText());
    ReplyArea.setText(ReplyArea.getText() + "\n\n" + ReplyString);
    catch (NumberFormatException nfex) {
    ReplyArea.setText("Error: unable to format port number!\n");
    ReplyArea.setText(ReplyArea.getText() + "Exception: " + nfex +"\nPlease enter new port number.\n");
    public void setFile(String directory, String filename) {
    if ((filename == null) || (filename.length() == 0)) return;
    File f;
    FileReader in = null;
    try {
    f = new File(directory, filename);
    in = new FileReader(f);
    int size = (int) f.length();
    char[] data = new char[size];
    int chars_read = 0;
    while(chars_read < size)
    chars_read += in.read(data, chars_read, size-chars_read);
    RequestArea.setText(new String(data));
    catch (IOException e) {
    ReplyArea.setText(e.getClass().getName() + ": " + e.getMessage());
    finally { try { if (in != null) in.close(); } catch (IOException e) {} }
    public String submitXMLRequest(String xmlIn) {
    GregorianCalendar gregCalendar = new GregorianCalendar();
    String xmlOut = null;
    Date currentDate;
    try {
    ReplyArea.setText(gregCalendar.getTime() + " New XML request.\n");
    ReplyArea.setText(ReplyArea.getText() + gregCalendar.getTime() + " Creating XML request using text in area above.\n");
    XMLRequest xml = new XMLRequest(owServerName, owPortNumber, xmlIn);
    ReplyArea.setText(ReplyArea.getText() + gregCalendar.getTime() + " XML request submitted to " + owServerName + " using port number " + PortNumberField.getText() + ".\n");
    ReplyArea.setText(ReplyArea.getText() + gregCalendar.getTime() + " Waiting for reply from " + owServerName + ".\n");
    xmlOut = xml.execute();
    catch (JdeNetTimeoutException toex) {
    ReplyArea.setText(ReplyArea.getText() + "\nError: JDENet timed out!\n" + "Exception: " + toex +"\n\n");
    catch (JdeNetConnectFailedException cfex) {
    ReplyArea.setText(ReplyArea.getText() + "\nError: JDENet connect failed!\n" + "Exception: " + cfex +"\n\n");
    catch (java.io.IOException ioex) {
    ReplyArea.setText(ReplyArea.getText() + "\nError: IO Exception!\n" + "Exception: " + ioex +"\n\n");
    currentDate = new Date ();
    gregCalendar.setTime(currentDate);
    ReplyArea.setText(ReplyArea.getText() + gregCalendar.getTime() + " Reply received from " + owServerName + ".\n");
    return xmlOut;
    public void processWindowEvent(WindowEvent e) {
    if (e.getID() == Event.WINDOW_DESTROY) {
    System.exit(0);
    11) Save the file as JXMLTool.java in the directory created in step 2 (for example, C:\JXMLTool\JXMLTool.java).
    12) Create a new text file using the text editor of your choice (for example, Notepad).
    13) Paste the following text to the new document:
    @echo off
    call setenv.bat
    javac JXMLTool.java
    14) Save the file as build.bat in the directory created in step 2 (for example, C:\JXMLTool\build.bat).
    15) Build the JXMLTool Java application:
    a) Open a new MS-DOS Command Prompt window.
    b) Change the current directory to the directory created in step 2.
    c) Call the build.bat script to compile the Java code and create the JXMLTool Java class.
    d) Verify that JXMLTool.class exists in the directory created in step 2 (for example,
    “C:\JXMLTool\JXMLTool.class”).
    16) Create a new text file using the text editor of your choice (for example, Notepad).
    17) Paste the following text to the new document:
    @echo off
    call setenv.bat
    java -Dconfig_file=jdeinterop.ini JXMLTool
    18) Save the file as run.bat in the directory created in step 2 (for example, C:\JXMLTool\run.bat).
    Usage:
    1) Open a new MS-DOS Command Prompt window.
    2) Change the current directory to the directory created in step 2.
    3) Call the run.bat script to execute the JXMLTool Java application.
    5) In the Java application, enter enterprise server name and port number in appropriate text fields.
    6) Enter the following text in the upper panel:
    <?xml version='1.0' ?>
    <jdeRequest type='callmethod' user='JDE' pwd='JDE' environment='JPD812' session=''>
    <callMethod name='GetEffectiveAddress' app='JXMLTool'>
    <params>
    <param name='mnAddressNumber'>1001</param>
    </params>
    </callMethod>
    </jdeRequest>
    7) Modify the XML information to reflect the characteristics of the system:
    a) Replace user, password, and environment with correct values for your system.
    b) If 1001 is not a valid AddressBook number, replace it with a valid AB number.
    8) Click the button “Submit”.
    9) Verify that an XML reply is received from enterprise server. The reply will be displayed in the lower panel.
    Retrieving an XML Template for BSFN Request:
    1) Repeat steps 1 through 9 in Usage, using the following text in step 6:
    <?xml version='1.0' ?>
    <jdeRequest type='callmethod' user='JDE' pwd='JDE' environment='JPD812'>
    <callMethodTemplate name='GetEffectiveAddress' app='JXMLTool'/>
    </jdeRequest>
    2) Highlight the text in the lower panel, starting with tag “<?xml version='1.0' ?>”.
    3) Press Control (Ctrl) and C keys simultaneously.
    4) Open a new text document using the text editor of your choice.
    5) Paste contents into new text document.
    6) Remove tag “<returnCode=’0’/>”.
    7) Save text document with extension .xml.

Maybe you are looking for

  • Delivery Schedule line date customer receiving day dependant

    Hello Experts, We are working with transfers between plants with STO UB. Tha availability check is activated at storage location level and it works correctly. Now, some plants have a special day for receiving goods. Say, Plant A receives on monday, p

  • 503 Service unavailable error while creating a web application

    Hello, i ve just installed VS .NET 2003 & .net Connector 2.0. i get the following error when creating a web project: 'http://localhost/webapplication1', HTTP/1.0 503 Service unavailable. Have any of you faced this problem ? Thanks, Jamal

  • Oracle 8.1.5.0.0 e edition solaris8 intel oratab

    On the oracle cd that I received with solaris8 for intel the release notes quote : "Create the oratab File Information about Oracle instances is stored in the oratab file. This file is owned by the oracle account, but resides in a directory that requ

  • After effects crashing unpredictable, please help if you can?

    Only be happening for a week or so. seems to be related to blurs in adjustment layers. ill be using blurs to spot blur certain anatomy for a tv show. sometimes I track and blur  with mocha sometimes manual track. ill be adjusting a track or a mask an

  • Iphone 4 cannot upgrade 4.3.5 version

    My iPhone 4 cannot update software 4.3.5 version, message shows " disconnected", and that seems it takes over 90 minutes for download, anything wrong or solution?