Export tags without a class for a cleaner code

Hello all!
Am I losing something here or InDesign CC always adds a class to your paragragh or character style tag? There's no way to export, for instance, a bold character style simply as <b> and not <b class="bold">? I'm pretty sure it was possible in CS6.

Hi,
You are right that this feature was available in previous versions but since "Emit CSS" functionality was added, the behavior changed and we started exporting classes always in out EPUB output. We have heard from a lot of users about this feedback and we will keep this request at priority while addressing EPUB specific issues.
Regards,
Pooja
InDesign Engineering

Similar Messages

  • Tag Libraries : multiple classes for same tag

    Hi ,
    I have a tag library like this
    <tag>
    <name>process</name>
    <tagclass>packagea.page1</tagclass>
    <attribute>
    <name>name</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    I have 15 tags like this with the same 'process' name but ofcourse different tagclass files (corresponding to 15 different PAGES)
    Now, while the container encounters the tag on any PAGE (all the tags on all the PAGES will have the same prefix 'process'), how will the container know which class file to pick from out of the 15 different class files ???
    does this happen sequentially or is there some mechanism of caching within the container ... ??

    probably it takes the first, if it's not throwing an exception about it. You should have 1 tag library and multiple tags which should have separate names, not separate tag libs with 1 tag each.

  • How to use multiple classes for each form

    Hi,
    I have created two forms using screen painter and now i want to use different classes for these two forms .
    I have declared the Sbo Connection in main class i.e. Set Application ,Connection Context() but while connecting to other classes
    for executing the code for that form SAP is not connected to that class.How to use multiple classes functionality i don't able to
    do that.Please provide some sample codes for that as it will be more helpful for me to understand.
    Thanks & Regards,
    Amit

    Hi Amit,
    In fact, its more advisable to use separate classes for every form that you use.  Have one common class, say, for eg., clsMain.cs which has all the connection and connectivity to other classes, wherein, the menu event and item event of this main class, will just be calling the menu / item event of other classes.
    The individual functionality of the child classes will be called from the item / menu event of the respective classes.
    Item event in clsMain.cs will be as below.
    private void oApplication_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                SAPbouiCOM.Form oForm;
                BubbleEvent = true;
                try
                    if ((pVal.FormTypeEx == "My_Form1Type") && (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD))
                        oForm = oApplication.Forms.GetForm("My_FormType", pVal.FormTypeCount);
                        NameSpace.Repots.ClsForm1.ClsForm1_ItemEvent(oApplication, oCompany, oForm, ref pVal, ref BubbleEvent);
                    if ((pVal.FormTypeEx == "My_Form2Type") && (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD))
                        oForm = oApplication.Forms.GetForm("My_FormType", pVal.FormTypeCount);
                        NameSpace.Repots.ClsForm1.ClsForm2_ItemEvent(oApplication, oCompany, oForm, ref pVal, ref BubbleEvent);
    Now, in the individual classes, you can have their respective item events, which will be called from the main class, and the respective functionalities will occur.
    Hope this helps.
    Regards,
    Satish.

  • How can we block the asset class for company code

    Hi Experts,
    At what level we can define asset class and how can we block the asset class for particular company code in group company
    Regards,
    Harish

    Dear Harish,
    You can block the asset through OAOA at asset class level blocking at Asset Class level, and same you can block for creation at a chart of depreciation level from AM05.
    And for additional acquisition you can block from AS05. I hope this will solve your issue. If you have doubts feel free to share.
    Regards,
    Pankaj A Bhalerao.

  • Asset Claas Activate For particular Company code in Company

    Hi,
    Asset class is defined at client and how can we activate asset class for particular company code in group company how can assign the asset class for particularly one company code in group company
    Regards,
    Harish

    Asset class depends on chart of depreciation , so if you have created an asset class on lets say US chart of Depreciation, it will be available to all the companies that have US Chart of Depreciation assigned to them .
    Thanks

  • Export Tags for Paragraph styles in Indesign CC without classes

    With CS6, when you set export tags for para styles, you could export them to epub without classes, for example body text as p, headings as h1 or h2 etc - without need for classes. This made very simple code. With Indesign CC, it seems that classes always get added no matter what. So all your body text is tagged with p with a class of normal or something. Is there a way to go back to setting export tags as straight p of h1, h2 tags??

    Nope. It was an intentional change on our part for CC.
    I do understand there are a number of folks who would like the option to do this on a per Style basis and I'm very actively considering it for a future CC update.
    Douglas Waterfall
    Architect, InDesign Engineering

  • How do I stop InDesign CS6 from suddenly forgetting export tags for accessible Adobe PDFs?

    Was working in InDesign CS6  on Windows 7 Enterprise today with a file that had a large number of export tags available, which I use when exporting accessible PDFs,
    Suddenly, my selection of tags became severely limited.
    When opening another blank file, even tags such as H1, P, and Story were missing.  I had to replace my InDesign application preferences with those from a backup made a few weeks ago, and reimport the tags from a file done last month. Is anyone aware of an issue which would cause InDesign to suddenly lose its ability to tag stories for export?

    I've moved your question to the InDesign EPUB forum.
    EXACTLY what version of CS6 are you running? There was a bug in an early version of CS6 that prevented either space before or space after from being recognized (I forget which). It was fixed in a later version.
    What does it say in the About InDesign dialog?

  • Error(2): Unable to find class for bean: connection defined by tag...

    I created a project, and a JavaBean that connects to the database and I want to use it in a JSP page that exists in my project.
    Bean:
    package BeerPackage;
    import java.sql.*;
    public class ConnectionBean
    JSP:
    <%@ page import="BeerPackage.*" contentType="text/html;charset=windows-1252"%>
    <jsp:useBean id="connection" class="ConnectionBean" scope="session"/>
    Then I get the error:
    Error(2): Unable to find class for bean: connection defined by tag with class: ConnectionBean
    When I try to build the JSP
    Any ideas?

    Seems even though I have an import, I still have to specify the package name in front of the useBean.
    What am I missing here?

  • [svn:fx-trunk] 8864: Fix for ASDoc @event tag assumes the class is in flash .events package

    Revision: 8864
    Author:   [email protected]
    Date:     2009-07-28 11:31:14 -0700 (Tue, 28 Jul 2009)
    Log Message:
    Fix for ASDoc @event tag assumes the class is in flash.events package
    Bugs: SDK-22275
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests, asdoc
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22275
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • Fat Jar Export: Could not find class-path entry for 'C:Java/jdk/mysql-connector-java-

    ok friends,
    have a normaly running project in eclipse and want to create a jar file...i tried ewerythin in ->export but nothing function
    i wanted to create a runnable jar file but that error ecures:
    JAR export finished with warnings. See details for additional information.
    Exported with compile warnings: ICQJJ/src/ICQJJ.java
    Jar export finished with problems. See details for additional infos.
    Fat Jar Export: Could not find class-path entry for 'C:Java/jdk/mysql-connector-java-5.1.8-bin.jar'
    what's the problem?
    ok, i am using a mysql db und using the driver mysql-connector-java-5.1.8-bin.jar....
    i improted this jar file like this run -> run configuration -> classpath -> add external jar....
    pls help me

    That looks like it might be a binary-distribution JAR that you should unjar. The actual JAR for the classpath is probably inside it.

  • Tag Extra Info Classes not recongnized on 8.1

              I am trying to migrate a web application from 6.1 to 8.1 and am running into an
              issue
              with custom tag libraries. These tags have TEI classes associated with them that
              are
              used to define fields in the JSP page where the tags are used. These fields are
              then
              referenced in the JSP. The JSP compiles fine in 6.1 but in 8.1 the compiler
              reports that
              it is unable to recognize the symbol for the various fields defined in the TEI
              and the
              JSP therefore fails to compile.
              Has anyone else run into this problem? Any workarounds or ideas about what needs
              to be
              done to make it work?
              Thanks in advance for your help.
              Regards,
              David Roytenberg
              

    There's already a patch available i believe.. (i cant find the CR rightnow)
              but im sure WebLogic support will help you out.
              "David Roytenberg" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I requested the patch. To your knowledge does it exist or
              > is BEA still working on it?
              >
              > Regards,
              >
              > David
              >
              > "Nagesh Susarla" <[email protected]> wrote:
              > >Ahhh.... This is a bug in 8.1. Unfortunately AT_END attributes are not
              > >being declared in the generated java file. Please contact
              [email protected]
              > >and ask for a patch for this issue.
              > >--
              > >Nagesh
              > >
              > >"David Roytenberg" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> HI Nagesh,
              > >>
              > >> Thanks for your reply. Here is the info you requested:
              > >>
              > >> The TEI class looks like this:
              > >>
              > >> import javax.servlet.jsp.tagext.*;
              > >>
              > >> public class LoginTEI extends TagExtraInfo
              > >> {
              > >>
              > >> public LoginTEI()
              > >> {
              > >> }
              > >>
              > >> public VariableInfo[] getVariableInfo(TagData tagdata)
              > >> {
              > >> VariableInfo variableinfo = new
              > >VariableInfo(tagdata.getAttributeString
              > >>
              > >> ("id"), "com.actuate.reportcast.tags.common.LoginTag",
              > >true,
              > >VariableInfo.AT_BEGIN);
              > >> VariableInfo variableinfo1 = new VariableInfo
              > >> ("userMap", "com.actuate.reportcast.utils.UserMap",
              > >true, VariableInfo.AT_END);
              > >> VariableInfo variableinfo2 = new VariableInfo
              > >> ("errorLogin",
              > >"com.actuate.reportcast.dstruct.ErrorObject",
              > >> true,
              > >> VariableInfo.AT_END);
              > >> VariableInfo avariableinfo[] = {
              > >> variableinfo, variableinfo1, variableinfo2
              > >> };
              > >> return avariableinfo;
              > >> }
              > >> }
              > >>
              > >> Here is an excerpt from the JSP that won't compile. Note that
              > >> the reference to errorLogin generates an error from the JSP Compiler.
              > >>
              > >> ...
              > >> // Retrieve any available parameters from the url.
              > >> String sAuthID = null;
              > >> String sDesignation = null;
              > >> String sLoginID = paramBean.getParameter("userID");
              > >> String sPassword = paramBean.getParameter("password");
              > >>
              > >> // --Start Portlet support
              > >> String sPrefix = paramBean.getParameter("pfx");
              > >> if ( sPrefix != null )
              > >> {
              > >> HttpSession httpsession = request.getSession();
              > >> sLoginID =
              (String)(httpsession.getAttribute(sPrefix+"userID"));
              > >> sPassword =
              > >(String)(httpsession.getAttribute(sPrefix+"password"));
              > >> }
              > >> // --End Portlet support
              > >>
              > >> String sVolume = paramBean.getParameter("volume");
              > >> String sServer = paramBean.getParameter("server");
              > >> String sServerURL = paramBean.getParameter("serverURL");
              > >> String sSystemName = paramBean.getParameter("systemName");
              > >> String sDaemonURL = paramBean.getParameter("daemonURL");
              > >> boolean bForceLogin = (new
              > >Boolean(paramBean.getNonNullParameter("forceLogin"))).booleanValue();
              > >> String sUserHomeFolder = null;
              > >> UserMap userMapObj = null;
              > >> // HANDLE LOCALES IN THIS BLOCK HERE
              > >> LocaleManager lm = LocaleManager.instance();
              > >> TimeZoneManager tzm = TimeZoneManager.instance();
              > >>
              > >> if (sLoginID != null)
              > >> {
              > >> bForceLogin = true;
              > >> }
              > >>
              > >> %>
              > >> <login:login id="login" userID="<%= sLoginID %>" password="<%=
              > >sPassword %>"
              > >> server="<%= sServer %>" force="<%= bForceLogin %>"/>
              > >>
              > >> <%
              > >>
              > >> if (errorLogin != null)
              > >> {
              > >> //redirect the browser back to the login page
              > >> String sErrorCode = errorLogin.getErrorCode();
              > >> response.sendRedirect(StaticFuncs.resolveURL(request,
              > >"/login.jsp") +
              > >> paramBean.createQueryString() + "&errorMessage=" +
              > >StaticFuncs.encode(errorLogin.getMessage())
              > >> + "&errorcode=" + sErrorCode);
              > >> return;
              > >> }
              > >> ....
              > >>
              > >>
              > >> The compiler's response to the snippet of code above is
              > >>
              > >>
              > >> [java]
              >
              >/export/home/roytenbd01/build/CR/actuate/acweb/war/WEB-INF/classes/jsp_serv
              l
              > >et/__authenticate.java:272:
              > >> cannot resolve symbol
              > >> [java] symbol : variable errorLogin
              > >> [java] location: class jsp_servlet.__authenticate
              > >> [java] if (errorLogin != null) //[ /authenticate.jsp; Line:
              > >99]
              > >> [java] ^
              > >> [java]
              >
              >/export/home/roytenbd01/build/CR/actuate/acweb/war/WEB-INF/classes/jsp_serv
              l
              > >et/__authenticate.java:275:
              > >> cannot resolve symbol
              > >> [java] symbol : variable errorLogin
              > >> [java] location: class jsp_servlet.__authenticate
              > >> [java] String sErrorCode = errorLogin.getErrorCode();
              > >//[
              > >/authenticate.jsp;
              > >> Line: 102]
              > >> [java] ^
              > >> [java]
              >
              >/export/home/roytenbd01/build/CR/actuate/acweb/war/WEB-INF/classes/jsp_serv
              l
              > >et/__authenticate.java:276:
              > >> cannot resolve symbol
              > >> [java] symbol : variable errorLogin
              > >> [java] location: class jsp_servlet.__authenticate
              > >> [java]
              response.sendRedirect(StaticFuncs.resolveURL(request,
              > >"/login.jsp")
              > >> + paramBean.createQueryString() + "&errorMessage=" +
              > >StaticFuncs.encode(errorLogin.getMessage())
              > >> + "&errorcode=" + sErrorCode); //[ /authenticate.jsp; Line: 103]
              > >> [java]
              > >>
              > >>
              > >> Any ideas?????????????
              > >>
              > >> Regards,
              > >>
              > >> David Roytenberg
              > >>
              > >>
              > >> Nagesh Susarla <[email protected]> wrote:
              > >> >David Roytenberg wrote:
              > >> >
              > >> >> I am trying to migrate a web application from 6.1 to 8.1 and am
              > >running
              > >> >into an
              > >> >> issue
              > >> >> with custom tag libraries. These tags have TEI classes associated
              > >> >with them that
              > >> >> are
              > >> >> used to define fields in the JSP page where the tags are used.
              > >These
              > >> >fields are
              > >> >> then
              > >> >> referenced in the JSP. The JSP compiles fine in 6.1 but in 8.1
              > >the
              > >> >compiler
              > >> >> reports that
              > >> >> it is unable to recognize the symbol for the various fields defined
              > >> >in the TEI
              > >> >> and the
              > >> >> JSP therefore fails to compile.
              > >> >>
              > >> >> Has anyone else run into this problem? Any workarounds or ideas
              > >about
              > >> >what needs
              > >> >> to be
              > >> >> done to make it work?
              > >> >>
              > >> >> Thanks in advance for your help.
              > >> >>
              > >> >> Regards,
              > >> >>
              > >> >> David Roytenberg
              > >> >
              > >> >Can you post the fields/symbols in question.
              > >> >
              > >>
              > >
              > >
              >
              

  • Include in ABAP class for Workflow

    Hi,
    In order to use BOR macros inside ABAP class, (From SAP help) came to know that we need to use include <cntn02> .
    How to add this include to ABAP class for workflow?
    Regds,
    Akshay

    Hi Akshay,
    Slight difference, I said "keeping the class clean of BOR <i>code</i>". By all means use BO's in the class: basically create a ZCL_MATERIAL, and use BUS1001 as an attribute (I use a naming convention BO_* for these). As long as it's the right type (SIBFLPORB I think - no system handy right now), and the key values are populated correctly the system will instantiate it as necessary. So in WF I can refer to ZCL_MATERIAL.BO_MATERIAL whenever I need any of the BO's functionality.
    You are correct though, creating a proper business class which you can instantiate such as material does involve a fair bit of effort and coding to set up. e.g. my last project I ended up creating one ZBOR subtype because all I needed was one new attribute - definitely not worthwhile creating a new class for. (USR01.zEmailAddress for what it's worth).
    I've said before somewhere, it's not without pain, so if you're under time pressure etc, then it may be better to do whatever's quickest. There's nothing wrong with using BOR macros, it will still work for quite a few versions. I just meant to say that pure class(y) code is a preferred way to go if it makes sense to do so. This is not always the case.
    Hope that helps,
    Mike

  • Error deserializing arguments, xml tag without a recognized type

    I am trying to run a webservice created using Weblogic Workshop 8.1sp2 that communicates
    with an ejb control. When I test in debug mode, I get the above error, specifically:
    <detail>
    <jwErr:jwErrorDetail xmlns:jwErr="http://www.bea.com/2002/04/jwErrorDetail/">
    com.bea.wlw.runtime.core.request.RequestValidationException: Error deserializing
    arguments.
    Encountered an xml tag without a recognized type: the type must be declared with
    an xsi:type attribute.
    Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered an xml tag with
    out a recognized type: the type must be declared with an xsi:type attribute.
    </detail>
    I am passing a Request object to the jws method (to the ejb) that has a Collection
    as an instance member. This Collection references objects of another type, Param
    (code for both objects below). Before passing the object, I convert the Collection
    to an array of objects. When I call the operation via a java client, I get the
    above message.
    In Workshop, I've included the Request and Param classes as the parameter xml
    and the soap style is rpc. I've tested the ejb by itself and it is working fine.
    Request.java:
    import java.util.*;
    public class Request implements java.io.Serializable
    protected Collection params=null;
    public Collection getParams()
    { return params; }
    public void setParams(Collection data)
    { params=data; }
    Param.java:
    public class Param implements java.io.Serializable
    private String name=null;
    private Object value=null;
    public String getName()
    { return name; }
    public void setName(String data)
    { name = data; }
    public Object getValue()
    { return value; }
    public void setValue(Object data)
    { value=data; }
    Here's the code from the jws:
    public class MyWS implements com.bea.jws.WebService
    * @common:control
    private control.PSEjbControl psEJB;
    static final long serialVersionUID = 1L;
    * @common:operation
    * @jws:parameter-xml
    * include-java-types="mypackage.Request mypackage.Param"
    * @jws:protocol soap-style="rpc"
    public void addData(mypackage.Request arg0) throws java.rmi.RemoteException
    System.out.println("arg0 : " + arg0);
    psEJB.addData(arg0);
    *Note: in the server console, arg0 comes through as null when called from my client.
    Here's the bit from my client:
    import weblogic.jws.proxies.*;
    import org.openuri.www.encodedTypes.Request;
    import org.openuri.www.encodedTypes.Param;
    public void go(String wsdl) throws Exception {
    MyWSSoap mw = null;
    mw = new MyWS_Impl().getMyWSSoap();
    Request req = new Request();
    Collection reqColl = new ArrayList();
    Param param1 = new Param();
    param1.setName("NAME");
    param1.setValue("Joe Tester");
    Param param2 = new Param();
    param2.setName("ADDRESS");
    param2.setValue("345 Test Drive");
    reqColl.add(param1);
    reqColl.add(param2);
    Object[] obs = reqColl.toArray();
    req.setParams(obs);
    mw.addData(req);
    Not sure if this enough to go by. Please let me know if you need more information.
    Any help is really appreciated. Thanks.

    Hi Keith,
    My only suggestion is to factor out the java.util.Collection (see the
    docs here [1]) with either primitive types or XMLBeans [2].
    Sorry, not much help. You might also ask your question in the workshop
    [3] newsgroup.
    Bruce
    [1]
    http://e-docs.bea.com/workshop/docs81/doc/en/integration/reference/refJavaClassConversion.html
    [2]
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/xmlbeans/conXMLBeansSupportBuiltInSchemaTypes.html
    [3]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.workshop
    Keith wrote:
    >
    Hi Bruce, thanks for the reply. I set the operation for document-style soap and
    still get the deserialization exception as mentioned in my original note. Below
    is the wsdl. Note: in my original note, the problematic operation was addData()
    which is now named addBusinessLocation(). As always, your help is greatly appreciated.
    Keith
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="PublicServiceWS.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/"
    xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:ope="http://www.openuri.org/">
    <s:element name="addBusinessLocation">
    <s:complexType>
    <s:sequence>
    <s:element name="arg0" type="ope:Request" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="addBusinessLocationResponse">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getBusinessLocation">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getBusinessLocationResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getBusinessLocationResult" type="ope:Response" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="Response" nillable="true" type="ope:Response"/>
    <s:element name="repeat">
    <s:complexType>
    <s:sequence>
    <s:element name="in" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="repeatResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="repeatResult" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string"/>
    <s:complexType name="Request">
    <s:sequence>
    <s:element name="Params" type="ope:Collection" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="Collection">
    <s:sequence>
    <s:element name="item" type="s:anyType" nillable="true" minOccurs="0"
    maxOccurs="unbounded"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="Param">
    <s:sequence>
    <s:element name="Name" type="s:string" minOccurs="0"/>
    <s:element name="Value" type="s:anyType" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="Response">
    <s:complexContent>
    <s:extension base="ope:Request">
    <s:sequence/>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    </s:schema>
    </types>
    <message name="addBusinessLocationSoapIn">
    <part name="parameters" element="s0:addBusinessLocation"/>
    </message>
    <message name="addBusinessLocationSoapOut">
    <part name="parameters" element="s0:addBusinessLocationResponse"/>
    </message>
    <message name="getBusinessLocationSoapIn">
    <part name="parameters" element="s0:getBusinessLocation"/>
    </message>
    <message name="getBusinessLocationSoapOut">
    <part name="parameters" element="s0:getBusinessLocationResponse"/>
    </message>
    <message name="repeatSoapIn">
    <part name="parameters" element="s0:repeat"/>
    </message>
    <message name="repeatSoapOut">
    <part name="parameters" element="s0:repeatResponse"/>
    </message>
    <message name="getBusinessLocationHttpGetIn"/>
    <message name="getBusinessLocationHttpGetOut">
    <part name="Body" element="s0:Response"/>
    </message>
    <message name="repeatHttpGetIn">
    <part name="in" type="s:string"/>
    </message>
    <message name="repeatHttpGetOut">
    <part name="Body" element="s0:string"/>
    </message>
    <message name="getBusinessLocationHttpPostIn"/>
    <message name="getBusinessLocationHttpPostOut">
    <part name="Body" element="s0:Response"/>
    </message>
    <message name="repeatHttpPostIn">
    <part name="in" type="s:string"/>
    </message>
    <message name="repeatHttpPostOut">
    <part name="Body" element="s0:string"/>
    </message>
    <portType name="PublicServiceWSSoap">
    <operation name="addBusinessLocation">
    <input message="s0:addBusinessLocationSoapIn"/>
    <output message="s0:addBusinessLocationSoapOut"/>
    </operation>
    <operation name="getBusinessLocation">
    <input message="s0:getBusinessLocationSoapIn"/>
    <output message="s0:getBusinessLocationSoapOut"/>
    </operation>
    <operation name="repeat">
    <input message="s0:repeatSoapIn"/>
    <output message="s0:repeatSoapOut"/>
    </operation>
    </portType>
    <portType name="PublicServiceWSHttpGet">
    <operation name="getBusinessLocation">
    <input message="s0:getBusinessLocationHttpGetIn"/>
    <output message="s0:getBusinessLocationHttpGetOut"/>
    </operation>
    <operation name="repeat">
    <input message="s0:repeatHttpGetIn"/>
    <output message="s0:repeatHttpGetOut"/>
    </operation>
    </portType>
    <portType name="PublicServiceWSHttpPost">
    <operation name="getBusinessLocation">
    <input message="s0:getBusinessLocationHttpPostIn"/>
    <output message="s0:getBusinessLocationHttpPostOut"/>
    </operation>
    <operation name="repeat">
    <input message="s0:repeatHttpPostIn"/>
    <output message="s0:repeatHttpPostOut"/>
    </operation>
    </portType>
    <binding name="PublicServiceWSSoap" type="s0:PublicServiceWSSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="addBusinessLocation">
    <soap:operation soapAction="http://www.openuri.org/addBusinessLocation"
    style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="getBusinessLocation">
    <soap:operation soapAction="http://www.openuri.org/getBusinessLocation"
    style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="repeat">
    <soap:operation soapAction="http://www.openuri.org/repeat" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="PublicServiceWSHttpGet" type="s0:PublicServiceWSHttpGet">
    <http:binding verb="GET"/>
    <operation name="getBusinessLocation">
    <http:operation location="/getBusinessLocation"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    <operation name="repeat">
    <http:operation location="/repeat"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="PublicServiceWSHttpPost" type="s0:PublicServiceWSHttpPost">
    <http:binding verb="POST"/>
    <operation name="getBusinessLocation">
    <http:operation location="/getBusinessLocation"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    <operation name="repeat">
    <http:operation location="/repeat"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="PublicServiceWS">
    <port name="PublicServiceWSSoap" binding="s0:PublicServiceWSSoap">
    <soap:address location="http://localhost:8010/WebService/PublicServiceWS.jws"/>
    </port>
    <port name="PublicServiceWSHttpGet" binding="s0:PublicServiceWSHttpGet">
    <http:address location="http://localhost:8010/WebService/PublicServiceWS.jws"/>
    </port>
    <port name="PublicServiceWSHttpPost" binding="s0:PublicServiceWSHttpPost">
    <http:address location="http://localhost:8010/WebService/PublicServiceWS.jws"/>
    </port>
    </service>
    </definitions>
    Bruce Stephens <[email protected]> wrote:
    Hi Keith,
    As a quick test, you might try changing the protocol style to use
    doc/lit (@jws:protocol soap-style="document") to see if this provides
    another view on the real issue.
    Could you post the generated WSDL?
    Thanks,
    Bruce
    Keith wrote:
    I am trying to run a webservice created using Weblogic Workshop 8.1sp2that communicates
    with an ejb control. When I test in debug mode, I get the above error,specifically:
    <detail>
    <jwErr:jwErrorDetail xmlns:jwErr="http://www.bea.com/2002/04/jwErrorDetail/">
    com.bea.wlw.runtime.core.request.RequestValidationException: Errordeserializing
    arguments.
    Encountered an xml tag without a recognized type: the type must bedeclared with
    an xsi:type attribute.
    Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered anxml tag with
    out a recognized type: the type must be declared with an xsi:type attribute.
    </detail>
    I am passing a Request object to the jws method (to the ejb) that hasa Collection
    as an instance member. This Collection references objects of anothertype, Param
    (code for both objects below). Before passing the object, I convertthe Collection
    to an array of objects. When I call the operation via a java client,I get the
    above message.
    In Workshop, I've included the Request and Param classes as the parameterxml
    and the soap style is rpc. I've tested the ejb by itself and it isworking fine.
    Request.java:
    import java.util.*;
    public class Request implements java.io.Serializable
    protected Collection params=null;
    public Collection getParams()
    { return params; }
    public void setParams(Collection data)
    { params=data; }
    Param.java:
    public class Param implements java.io.Serializable
    private String name=null;
    private Object value=null;
    public String getName()
    { return name; }
    public void setName(String data)
    { name = data; }
    public Object getValue()
    { return value; }
    public void setValue(Object data)
    { value=data; }
    Here's the code from the jws:
    public class MyWS implements com.bea.jws.WebService
    * @common:control
    private control.PSEjbControl psEJB;
    static final long serialVersionUID = 1L;
    * @common:operation
    * @jws:parameter-xml
    * include-java-types="mypackage.Request mypackage.Param"
    * @jws:protocol soap-style="rpc"
    public void addData(mypackage.Request arg0) throws java.rmi.RemoteException
    System.out.println("arg0 : " + arg0);
    psEJB.addData(arg0);
    *Note: in the server console, arg0 comes through as null when calledfrom my client.
    Here's the bit from my client:
    import weblogic.jws.proxies.*;
    import org.openuri.www.encodedTypes.Request;
    import org.openuri.www.encodedTypes.Param;
    public void go(String wsdl) throws Exception {
    MyWSSoap mw = null;
    mw = new MyWS_Impl().getMyWSSoap();
    Request req = new Request();
    Collection reqColl = new ArrayList();
    Param param1 = new Param();
    param1.setName("NAME");
    param1.setValue("Joe Tester");
    Param param2 = new Param();
    param2.setName("ADDRESS");
    param2.setValue("345 Test Drive");
    reqColl.add(param1);
    reqColl.add(param2);
    Object[] obs = reqColl.toArray();
    req.setParams(obs);
    mw.addData(req);
    Not sure if this enough to go by. Please let me know if you need moreinformation.
    Any help is really appreciated. Thanks.

  • Generated servlet error - unable to compile class for JSP - using NB5.5/SS9

    I am using NB5.5 beta2 and Sun server 9.0 with JSF 1.1 - all is OK when I am creating firts JSF application - welcomeJSF.jsp page is rendered normally - but when I am adding one more jsp with JSP view and so on - then - I am getting errors in both JSF pages - both - in original welcomeJSF and the new invoice.jsp page
    here is code for typical error
    org.apache.jasper.JasperException: Unable to compile class for JSP
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:99: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.jsf_core.ViewTag
    [javac] jspxth_f_view_0.setJspId("id7");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
    [javac] jspxth_h_outputText_0.setJspId("id17");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
    [javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
    [javac] ^
    [javac] 3 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:409)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:317)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    note The full stack trace of the root cause is available in the Sun Java System Application Server Platform Edition 9.0 logs.
    and there is output for another error:
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
    [javac] jspxth_h_outputText_0.setJspId("id17");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
    [javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
    [javac] ^
    [javac] 3 errors
    and here is code of my new invoice.jsp page:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <f:view>
       <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
          <h1><h:outputText value="Java Server Faces" /></h1>
        <h:inputText value="#{managerBean.currentInvoice.id}"/>
        <h:inputText value="#{managerBean.currentInvoice.description}"/>
        <h:inputText value="#{managerBean.currentInvoice.total}"/>
        <h:commandButton value="new_invoice"
                         type="submit"
                         actionListener="#{managerBean.createNewInvoice}"/> 
        </body>
    </f:view>and faces-config.xml file:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config>
        <managed-bean>
            <managed-bean-name>managerBean</managed-bean-name>
            <managed-bean-class>com.brl.ERPSolution.ui.ManagerBean</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
    </faces-config>managerBean was intended to be backing beans which will call the facaed beans of EJB 3.0 entity beans - but at presnet - almost empty methods are declared there:
    package com.brl.ERPSolution.ui;
    import javax.faces.event.ActionEvent;
    import com.brl.solutions.EJB3.*;
    * @author Administrator
    public class ManagerBean {
        protected int currentInvoiceId;
        protected Invoices currentInvoice;
        protected InvoicesFacade invoicesFacade;
        /** Creates a new instance of ManagerBean */
        public ManagerBean() {
        /* business methods */
        public void createNewInvoice(ActionEvent actionEvent)
            invoicesFacade.create(this.currentInvoice);
        public Invoices getCurrentInvoice()
            return this.currentInvoice;
        public void setCurrentInvoice(Invoices currentInvoice)
            this.currentInvoice=currentInvoice;
    }I read in one blog (actually - the only page which was returned by yahoo - so - this should be very rare error!!!) to try to use Sun server's verifier.bat - and - it reported 0 errors and 0 warning. Build was succesfull as well and also - deployment was without errors - but - above mentioned error appeared during the automatic compilation of jsp pages/servlet when newly deployed jsps are first accessed from remote browser.
    So - is it possible, please, to receive some advice - what to do further? I feel that my invoice.jsp page can be with errors, - however - the original welcomeJSF.jsp should be working without errors even the erronwous JFS jsp page is added to web application.
    Thans for any adice or hint in advance!!!

    OK - I have made 'clean and build main project' from NB menu and the deployed the resulting *.war and the error messages have disappeared... So - it seems to be bug...

  • Alv field with f4 help without using class

    Hi,
    Can any one give me a program of "Alv field with f4 help without using class".
    Thanking you in advance.

    hi
    <b>Linking F4 Help to Fields</b>
    For the last section, we will deal with linking F4 help to fields. It is easy. As usual, define, implement and register the event “onf4” at proper places in your code. For F4 help, you must register the fields whose F4 request will trigger the “onf4” event. For this you must prepare a table of type “LVC_T_F4” and register this table using the method “register_f4_for_fields”. While preparing table you must include a line for each field which will trigger F4 event. For each field in the structure;
    &#1048766; Pass the fieldname to ‘FIELDNAME’
    &#1048766; Set ‘REGISTER’ to make the field registered,
    &#1048766; Set ‘GETBEFORE’ to provide field content transport before F4 in editable mode
    &#1048766; Set ‘CHNGEAFTER’ to make the data changed after F4 in editable mode.
    DATA: lt_f4 TYPE lvc_t_f4 WITH HEADER LINE .
    lt_f4-fieldname = 'PRICE'.
    lt_f4-register = 'X' .
    lt_f4-getbefore = 'X' .
    APPEND lt_f4 .
    CALL METHOD gr_alvgrid->register_f4_for_fields
    EXPORTING
    it_f4 = lt_f4[] .
    Preparing table for the fields to be registered to trigger F4 event
    METHOD handle_on_f4 .
    PERFORM f4_help USING e_fieldname es_row_no .
    er_event_data->m_event_handled = 'X' .
    ENDMETHOD .
    A sample “onf4” method implementation
    Again, we set the attribute “er_event_data->m_event_handled” to prevent further processing of standard F4 help.
    regards
    Ravish
    <b>
    reward if useful</b>

Maybe you are looking for

  • Is there a way to view ical events as a list?

    Is there a way to view ical events as a list?

  • Error when trying to create XUSER information for SAPServiceSID

    Hi all, I am getting the following error when trying to create the XUSER information for the SAPServiceSID user on a WINDOWS/MAXDB 7.9 install..  Does anyone know a FIX for this? >xuser -c .\SAPServiceSID -U c -u CONTROL,P@ssw0rd -d SID -n HOSTNAME -

  • Really Transparent Windows...

    I saw lots of examples to fake a transparent window, thats fine for me... but what i couldn?t find out is if there is any way to make the "transparent" parts NOT clickable... when the user clicks the transparent part of the frame it passes this event

  • Changes History Report in Fire Fighter

    Hi, We have assigned FF ID to end user. By using that FF ID,user did some changes. Ex: End user has used SU01 transaction and he has assigned SAP_ALL to his own id and some other users via FF ID. When we checked the Log Reports in FF 5.3, we are able

  • ODI PDF to CLOB column

    Hi, How should I read a PDF content from some file share location and update a CLOB column in target DB. My Source is PDF file and target is Oracle DB. thanks Sanjeeva