Doubt on webI

Hi All,
1)Please tell me that how many sections and breaks can we apply on one report.
2)How many times an object instance occurs in Bo
Thank you.

hi,
1) There is no limit on number of sections and breaks in a WEBI report.
2) When you schedule a WEBI report, an instance is generated. The number of instances depend upon the number of schedules. Schedule status may be Success or Failure. You can have Recurrence Scheduling.
Regards,
Vamsee

Similar Messages

  • Doubts in Web Application Designer

    Hi Experts,
             I want to know about the following things in Web Application Designer.
       1. How to display the desired text in Ticker item?
       2. How can we make alinments between web items such that there is no extra gap between them? (I even used table to make alignments. But it isn't satisfied.)
             Please clarify my doubts....
    With Regards,
    Yokesh Kumar.

    Hi,
             Thanks for ur reply.  But I cn't able to find that 'SAPBexTicker' . Please say where to srch for that. I already tried to srch in XHTML tab and also in the computer itself. But there is no such things found.
            Please give me the exact details. It will be helpful for me.
    With Regards,
    Yokesh Kumar.

  • Doubts developing web services on JDev 10.1.3.0.4

    Hi,
    I was trying to follow this guide
    http://www.oracle.com/technology/oramag/webcolumns/2003/techarticles/balusamy.html
    in order to develop this web service on Jdev 10.1.3.0.4.
    But the menus are different from the version used on the tutorial. I´m having some difficulties with the selections that i have to make in the menus. Also, after trying several options, the files generated are different from the ones that appear on this tutorial.
    Does anyone know how to reproduce this tutorial on this version of jdev ?
    Thanks.

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • Doubt about Web Service Client

    Hi,
    I'm triyng consuming a WSDL file. When I create a Web Service Client with the URL of the WSDL, the compilation shows this message:
    init:
    wscompile-init:
    Created dir: C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\classes
    Created dir: C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc
    IISelector-client-wscompile:
    Copying 1 file to C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\wsdl
    advertencia: Procesando la operación "GeneraTurno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    advertencia: Procesando la operación "ActivaTurno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    advertencia: Procesando la operación "EliminaTurno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    advertencia: Procesando la operación "DevOcupacion" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    advertencia: Procesando la operación "DevTurnosADesp" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    advertencia: Procesando la operación "Helloword" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    advertencia: Procesando la operación "DevElementosDigiturno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
    BUILD SUCCESSFUL (total time: 3 seconds)
    What does it mean?, and how can I solve it?
    Thanks in advance.

    When I build the project shows this warnings:
    init:
    deps-jar:
    wscompile-init:
    IISelector-client-wscompile:
    web-service-client-generate:
    Created dir: C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\empty
    Compiling 63 source files to C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\classes
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_RequestStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_RequestStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_EliminaTurno_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
    // JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
    C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_EliminaTurno_RequestStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
    62 warnings

  • Doubt regarding web.xml

    I have a serlet that is using a file which contains the list of email addresses. I have passed that file in init method. But when I execute that I am getting error. I guess I have to make some changes in my web.xml file. Can anyone tell me how to do that.
    In my init method I have used the following like to get the file:
    filename = config.getInitParameter("addressfile");
    Also tell me where we have to place the file-addressfile.
    And also tell me whst code in web.xml will make it work.
    This is the code
    import java.util.Vector;
    import java.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ListManagerServlet extends HttpServlet
    private Vector addresses;
    private String filename;
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    System.out.println("Before");
    filename = config.getInitParameter("addressfile");
    if(filename == null)
    throw new UnavailableException(this,
    "The \"addressfile\" property "+
    "must be set to a file name");
    try
         System.out.println("After");
    ObjectInputStream in =
    new ObjectInputStream(new FileInputStream(filename));
    addresses = (Vector)in.readObject();
    in.close();
    catch(FileNotFoundException e) { addresses = new Vector(); }
    catch(Exception e)
    throw new UnavailableException(this,
    "Error reading address file: "+e);
    protected void doGet(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    res.setContentType("text/html");
    res.setHeader("pragma", "no-cache");
    PrintWriter out = res.getWriter();
    out.print("<HTML><HEAD><TITLE>List Manager</TITLE></HEAD>");
    out.print("<BODY><H3>Members:</H3><UL>");
    for(int i=0; i<addresses.size(); i++)
    out.print("<LI>" + addresses.elementAt(i));
    out.print("</UL><HR><FORM METHOD=POST>");
    out.print("Enter your email address: <INPUT TYPE=TEXT NAME=email><BR>");
    out.print("<INPUT TYPE=SUBMIT NAME=action VALUE=subscribe>");
    out.print("<INPUT TYPE=SUBMIT NAME=action VALUE=unsubscribe>");
    out.print("</FORM></BODY></HTML>");
    out.close();
    protected void doPost(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    String email = req.getParameter("email");
    String msg;
    if(email == null)
    res.sendError(res.SC_BAD_REQUEST,
    "No email address specified.");
    return;
    if(req.getParameter("action").equals("subscribe"))
    if(subscribe(email))
    msg = "Address " + email + " has been subscribed.";
    else
    res.sendError(res.SC_BAD_REQUEST,
    "Address " + email + " was already subscribed.");
    return;
    else
    if(unsubscribe(email))
    msg = "Address " + email + " has been removed.";
    else
    res.sendError(res.SC_BAD_REQUEST,
    "Address " + email + " was not subscribed.");
    return;
    res.setContentType("text/html");
    res.setHeader("pragma", "no-cache");
    PrintWriter out = res.getWriter();
    out.print("<HTML><HEAD><TITLE>List Manager</TITLE></HEAD><BODY>");
    out.print(msg);
    out.print("<HR><A HREF=\"");
    out.print(req.getRequestURI());
    out.print("\">Show the list</A></BODY></HTML>");
    out.close();
    public String getServletInfo()
    return "ListManagerServlet 1.0 by Stefan Zeiger";
    private synchronized boolean subscribe(String email) throws IOException
    if(addresses.contains(email)) return false;
    addresses.addElement(email);
    save();
    return true;
    private synchronized boolean unsubscribe(String email) throws IOException
    if(!addresses.removeElement(email)) return false;
    save();
    return true;
    private void save() throws IOException
    ObjectOutputStream out =
    new ObjectOutputStream(new FileOutputStream(filename));
    out.writeObject(addresses);
    out.close();
    Message was edited by:
    aniketh_parmar

    I want to know what chnages we have to make in web.xml so that my servlet can use the file that I have passed in init method.
    Please reply

  • Doubts regarding web development

    hi friends.. iam going to design an web application with jsp,struts,mysql.I need to know how to build strong design while in developing web application.. anyone can tell me the links that related to Web development strategies or anyone tell me the important issues that come into mind while developing web application... thanks in advance

    +>>I need to know how to build strong design while in developing web application.+.
    for mvc model architecture to do better and strong application...
    +>> important issues that come into mind while developing web application+
    - clear data model and app architecuture
    -security
    -internationalization
    -validation
    -standards

  • Web report doubt

    Hi,
    I have a doubt regarding web report, Suppose if i want include or exclude a values on characteristic do i need to modify in BEx or directly in web report? what is the procesdure..
    Thanks in Advance
    Satya

    Hi,
    Whatever changes you make in Bex query are reflacted in Web report.
    So you have to change the query.
    Regards
    SS

  • Standard F4 (search help) in the web dynpro JAVA

    Hi,
             I have a small doubt in web dynpro Java. Basically I am an ABAP developer. We created some custom Remote function modules (RFM). Now are able to call RFM through web dynpro JAVA in the portal. We are able to run the RFMs in the portal.
             But we have problem with search help. How can I built the search help for the input fields in the portal using web Dynpro  Java.
             Can we bring standard search help (which is exist in R/3) in the portal?

    Hi,
    I think there is no standered functionality available in WDJava to achieve this functionality like ABAP or WDAbap. but, you can still achieve this using OVS option. to do this also, first you should have an interface which can talk to the R3 system and search the dB as per the query parameters i.e, an RFC which can the desired form of input and give you the desired output.
    for more info on OVS, please look into this below links.
    OVS:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#51 [original link is broken]
    WDJ tutorials:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]

  • JSF - Web Application Fast

    Hai Respected Friend
    Sorry for posting this doubt in this site because this not a JSF related Question.
    I have some doubt regrading Web Page working fast . Actually some website is working vary fast while some one is not . please let me know normally web site working speed based on what
    1) Java Technology , Server (Application , Webserver). or
    2) Our client ,m/c Hardware requirement or Server m/c Hardware requirement include RAM speed , Processor Speed. or
    3) Data base server or
    4) Net Connection service Provider speed .
    Advance Thanks for your later Reply .
    Thanks
    Selvakumar

    It depends....
    How do you have (where) the connection, how you obtain them, etc?

  • Dynamically Select measure field in webi

    Hello Experts,
    I am creating a web I report on top of Universe which is developed on Bex query.
    I have one doubt with web I functionality:
    My requirement is, I have two different measure field (one is in pound & one is in dollar). My user want to see any one measure field at one time. Like if he clicks on Pound, pound key figure should display & if he clicks on dollar, dollar key figure should display.
    There is one functionality called "Input Control" in web I, I have gone through few blogs & thread in which this requirement is mentioned. But all this blogs & thread are on different database like MYSQL etc. not on SAP BW.
    I have SAP BW as my back end. So can anyone have idea how we can achieve this ?
    Thanks in advance,
    With Regards,
    Chintan Vora.

    Hi,
    Here is what happens.
    1) You create a WebI report WITH a key figure on say 2 dimensions. In this case WebI knows how the two dimensions are to be joined, because you also included a keyfigure/measure (from the fact table) and WebI will only return the relevant rows (the relationsships are defined in the universe).
    2) You create a WebI report WITHOUT a key figure, again on 2 different dimensions. In this case WebI does not know how to join the two dimension tables because you did not include a facttable and WebI will create the cartesian product, i.e. it will display all members of the first dimension combined with all members of the second dimension. So two dimensions with 1000 members each will result in 1.000.000 mio. rows to be returned. If you add more dimensions to your query/report they will give even more combinations and the number of result rows are: Members in first dimension * Members in second dimension * Members in third dimension and so on.
    Creating reports on master data only will only make sense if you are creating it on single infoobjects or on infoobjects that are related, e.g. creating a report using a infoobject and one or more of its related attributes.
    Hth.,
    Jacob

  • Show user's menu  in a Web Aplication Disigner 7

    Hi Experts,
    I have a doubt abaout Web Aplication Designer 7
    I want to know how to show a user's menu (EX: Favorites or RoleMenu ) in a Web Template, done with the Web Aplication Designer 7.
    In 3.X version this feature is avalaible as standard Web Item, but we can't use 3.X version.
    Any fedback will be really apreciated
    Thanks in advance

    Hi David,
    In WAD 7.0 Role Menu is replaced by the role based display of content in the SAP Netweaver Portal.
    Role menus are displayed in portal and passwords becomes case sensitive.
    The role menu web item is obsolete and doesn't show 2004s templates/queries. There is a core mod possible to make this happen, but is not recommended. Instead, use one of the publishing options from the blog. It gives you all the possible options.
    For your publishing strategy, please read this blog carefully:
    /people/prakash.darji/blog/2006/11/19/sap-netweaver-2004s-bi--define-your-publishing-strategy-part-2
    Check these threads:
    /thread/735294 [original link is broken]
    Rolemenu not found in BEx  BI Web Application Designer - Urgent
    Hope these helps u...
    Regards,
    KK.

  • EAI AND WEB SERVICES

    Hi,
    What is the difference between web services and EAI ?
    Thank you.

    Hi,
    Salient Differences between Traditional EAI Solutions and Web Services
    A few essential differences between traditional EAI solutions and Web Services are, as follows:
    Simple: There is no doubt that Web Services are much simpler to design, develop, maintain, and use as compared to a typical EAI solution which may involve distributed technology such as DCOM and CORBA. Once the framework of developing and using Web Services is ready, it will be relatively easy to automate new business processes spanning across multiple applications.
    Open Standards: Unlike proprietary EAI solutions, Web Services are based on open standards such as UDDI, SOAP, HTTP and this is probably the single most important factor that would lead to the wide adoption of Web Services. The fact that they are built on existing and ubiquitous protocols eliminates the need for companies to invest in supporting new network protocols.
    Flexible: Since EAI solutions may require point-to-point integration, changes made at one end have to be propagated to the other end, making them very rigid and time consuming in nature. Web Services based integration is quite flexible, as it is built on loose coupling between the application publishing the services and the application using those services.
    Cheap: EAI solutions, such as message brokers, are very expensive to implement. Web Services, in the future, may accomplish many of the same goals - cheaper and faster.
    Scope: EAI solutions, such as message brokers, integrate applications treating them as single entities, whereas Web Services allow companies to break down big applications into small independent logical units and build wrappers around them. For example, a company can write wrappers for different business components of an ERP application such as order management - purchase order acceptance, status of order, order confirmation, accounts receivable, and accounts payable.
    Efficient: As mentioned in the previous point, Web Services allow applications to be broken down into smaller logical components, which makes the integration of applications easier as it is done on a granular basis. This makes Web Services solutions for EAI much more efficient than traditional EAI solutions.
    Dynamic: Web Services provide a dynamic approach to integration by offering dynamic interfaces, whereas traditional EAI solutions are pretty much static in nature.
    Read this article:
    <a href="http://www.webservicesarchitect.com/content/articles/samtani01.asp">EAI and Web Services</a>
    Regards,
    Boris

  • Java implementation of web service concept

    I am so confused. What exactly is the Java implementation of web service concept? SOAP, J2EE, JSP+Servlets+beans or what?

    For an excellent description of webservices in Java read the following article
    http://www.theserverside.com/resources/article.jsp?l=WebServices-Dev-Guide
    It should clear most of your doubts.
    Web services means a client server program which exhanges data in XML over HTTP.
    Soap is one way of implementing web services. A java soap implementation is freely available at
    http://xml.apache.org/soap/index.html
    Also, you can read about ebXML (which is another model for making web services).
    http://www.xml.org/feature_articles/2000_1107_miller.shtml
    http://java.sun.com/features/2001/09/ebxmlrev.html
    hope this helps.
    regards,
    Abhishek.

  • I want you to check why moderator locked my thread?

    I am a j2ee guy. from so long we are into this forum. I used to post and answer so many j2ee and java related threads. I have posted a thread and the discussion was going on, mean while in the discussion we ran into a geniric question on web applications and when we are discussing on that moderator locked my thread. after all j2ee is for web applications and we are j2ee developers. when we have a generic doubt on web applications where will we go for that. in j2ee forums there will lot of people who worked on web applications. so when we ran into a discussion in between it should be allowed. people post struts and some other stuff which is not related at all. they are being fine but when i am discussing a general web application issue in j2ee forums i dont feel that moderator has done the right thing. After all j2ee is about developing enterprise applications so when we are on topic why does it get locked. my thread is
    how does facebook comments work? I mean if i have to do in j2ee.
    or
    is there any other forum for this?

    Perhaps useful to note the main thrust of discussion has continued on {thread:id=2496863} ....
    (NB: thanks OP for NOT supplying a link to this and wasting my time! ... I am not impressed by picking up a thread with zero replies to see a related thread discussion going on elsewhere)
    It certainly appears to me the thread was off topic for the forum it was in, though my java/j2ee is really scant, so I can't say for sure. As such OP probably has no gripe against a thread lock.
    Perhaps the question involved really which technology to use to solve a particular problem ... any may have skipped accross boundaries. As far as I can tell there is no appropriate 'general questions' category; but I suspect the thread might not have been out of totally out of context under
    {forum:id=922} ... but some may argue this is more under j2ee than straight Java. So an alternative forum suggestion or move might have been a different way to go. That said .... forum moderators have limited spare time so if they choose to lock rather than move that would be okay by me.
    I guess moderators will discuss this if necessary (if it is not already) on: Too much mod ( This is a moderator only discussion .... so i have no clue what is said).

  • Mapping Java Types to XML Types

    Hi, I have a small doubt in web services,
    1)  how a java data type can match with xml data type in wsdl,
    2)  how and where the java program can find the matching java
        data type to xml data type and vice versa
    3)  whether any mechanism is available for this data conversion?
    4)  where can i find that one?
    Please advice me
    Regards
    Marimuthu.N

    Hi Marimuthu.N,
    My answers for your question, Kindly let me know if you need some more inputs.
    +1) how a java data type can match with xml data type in wsdl,+
    In SOAP 1.1 you have the following data types which is in XSD(XML Schema Definition), the same data type is also available in Java. For example (string, normalizedstring in xml is available as java.lang.String)
    The complete list can be found in the table below.
    XSD to Java Mapping.
    XSD Type--------------------------------Java Type
    base64Binary----------------------------byte[]
    hexBinary---------------------------------byte[]
    boolean------------------------------------Boolean
    byte-----------------------------------------Byte
    dateTime----------------------------------java.util.Calendar
    date-----------------------------------------java.util.Calendar
    time-----------------------------------------java.util.Calendar
    decimal------------------------------------java.math.BigDecimal
    double-------------------------------------Double
    float-----------------------------------------Float
    hexBinary---------------------------------byte[]
    int--------------------------------------------Int
    unsignedShort---------------------------Int
    integer--------------------------------------java.math.BigInteger
    long------------------------------------------Long
    unsignedInt-------------------------------Long
    QName-------------------------------------javax.xml.namespace.QName
    short----------------------------------------Short
    unsignedByte---------------------------Short
    string---------------------------------------java.lang.String
    anySimpleType-------------------------java.lang.String
    +2) how and where the java program can find the matching java+
    data type to xml data type and vice versa
    Here is my WSDL which has a method getHello --> Pass Input as String --> Get Response as String.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://zackria.googlepages.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://zackria.googlepages.com" xmlns:intf="http://zackria.googlepages.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.4
    Built on Apr 22, 2006 (06:55:48 PDT)-->
    <wsdl:types>
      <schema elementFormDefault="qualified" targetNamespace="http://zackria.googlepages.com" xmlns="http://www.w3.org/2001/XMLSchema">
       <element name="getHello">
        <complexType>
         <sequence>
          <element name="s" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="getHelloResponse">
        <complexType>
         <sequence>
          <element name="getHelloReturn" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
      </schema>
    </wsdl:types>
       <wsdl:message name="getHelloResponse">
          <wsdl:part element="impl:getHelloResponse" name="parameters"/>
       </wsdl:message>
       <wsdl:message name="getHelloRequest">
          <wsdl:part element="impl:getHello" name="parameters"/>
       </wsdl:message>
       <wsdl:portType name="Test">
          <wsdl:operation name="getHello">
             <wsdl:input message="impl:getHelloRequest" name="getHelloRequest"/>
             <wsdl:output message="impl:getHelloResponse" name="getHelloResponse"/>
          </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="TestSoapBinding" type="impl:Test">
          <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="getHello">
             <wsdlsoap:operation soapAction=""/>
             <wsdl:input name="getHelloRequest">
                <wsdlsoap:body use="literal"/>
             </wsdl:input>
             <wsdl:output name="getHelloResponse">
                <wsdlsoap:body use="literal"/>
             </wsdl:output>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="TestService">
          <wsdl:port binding="impl:TestSoapBinding" name="Test">
             <wsdlsoap:address location="http://localhost:8080/TestWebService/services/Test"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>I use apache axis for the client side code. I also suggest to start using this to get quickly into SOA(Service Oriented Architecture)
    package com.googlepages.zackria;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    * TestClient for Webservice
    * @author $author$Mohammed Zackria
    * @version $Revision$1.00
    public class TestClient {
         * main method
         * @param args pass nothing as far now
        public static void main(String[] args) {
            try {
                String endpoint = "http://localhost:8080/TestWebService/services/Test";
                Service service = new Service();
                Call call = (Call) service.createCall();
                call.setTargetEndpointAddress(new java.net.URL(endpoint));
                call.setOperationName(new QName("http://zackria.googlepages.com", "getHello"));
                //String Conversion
                String ret = (String) call.invoke(new Object[] { "Zack" });
                System.out.println("Sent 'Zack', got '" + ret + "'");
            } catch (Exception e) {
                System.err.println(e.toString());
    }+3) whether any mechanism is available for this data conversion?+
    Check the above code which has the following portion
    //String Conversion
    String ret = (String) call.invoke(new Object[] { "Zack" });
    By default APACHE Axis returns Object Array which can be Casted to your WSDL defined data type.
    +4) where can i find that one?+
    [Eclipse Webservice|http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html]
    Hope this helps out, Kindly Let me know if you need some more or if i have not answered your question.
    Regards,
    Zack
    Edited by: zack on Nov 22, 2008 1:47 PM
    Edited by: zack on Nov 22, 2008 1:49 PM

Maybe you are looking for

  • AppleScript - figured out a way to make it wait (sort of).. advice?

    i've been trying to write an applescript that acts sort of as a printing helper in sketchup (getting accurate prints from sketchup is way too confusing and actually impossible to really get it right) anyway, things were moving along nicely until i hi

  • Creative MP3 Players (Especially ZEN Touch 2) durability: satisfied?

    Hello, I'm willing to buy a ZEN Touch 2, it look so amazing! However, what I would like to know more: durability! Is the ZEN Touch 2 (Or any other MP3 Player from Creative) durable enough? I'll still have the year warrantee, but I'll need to ship it

  • First movie rental a bust

    I rented a movie but it would not download. I was charged but never downloaded. Now it is no longer showing as ready to download. Are refunds possible? How?

  • Running SAPF101 after changing reconciliation accounts

    When I run SAPF101 after changing reconciliation accounts in Customer masters should  see the following adjustments: Cr old reconciliation account Dr adjustment account Cr adjustment account Dr new reconciliation account this then corrects the balanc

  • Move to comment

    Dear All, Here the code: SELECTION SCREEN COMMENT dis-01 If i write: MOVE  'titi'  TO dis-01     -> comment is filled But: tmp='dis-01' MOVE  'titi'  TO ????      -> how use tmp variable to have comment filled ? Thanks a lot, Rodolphe.