[wls-11gR1]EJB3.0 SLSB converting to JAX-WS issue

I'm deploying an EJB.ear to wls 11gR1 patch2.
When converting SLSB(stateless session bean) EJB to JAX-WS,
all the methods in the SLSB will be converted to web service operations,
no matter the method is with annotation @WebMethod or not.
h3. Is there any way to limit the conversion?
Following is my testing SLSB. There's only two method, one with *@WebMethod* annotation, one no.
But when it is published to server, both of them are in the WSDL.
===========================================================
package com.sti.es.ejb.impl;
import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;
import com.sti.es.ejb.TestServiceEJBLocal;
import com.sti.es.ejb.TestServiceEJBRemote;
@Remote(TestServiceEJBRemote.class)
@Local(TestServiceEJBLocal.class)
@Stateless(name = "TestService", mappedName = "TestService")
@WebService(name = "TestServicePortType", serviceName = "TestService")
public class TestBean implements TestServiceEJBRemote, TestServiceEJBLocal{
public String sayHello(String name){
     return "Hello, " + name + "!";
@WebMethod
public String sayBye(String name){
     return "Bye, " + name + "!";
===========================================================

Hi,
By Default All the Methods which are declared as <b><font color=maroon>public </font></b>inside the WebService class (which is declared using @WebService Annotation) will be considered as a WebService Operation. And Will be Published to the Client as part of the WSDL.
So if you dont want to Publish your "sayHello(String name)" Method as a WebService Operation then ...*Dont Declare it as a "public" Method*.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

Similar Messages

  • WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file

    <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file</b>
              We are using WLS 7.0.4 - One of JMS connection factory setting in admin console we selected "Server Affinity" options.
              We see this messages appear in Weblogic log file,
              ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster> <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
              d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <000123> <Conflict start: You tried to bi
              nd an object under the name sbetrmi2 in the JNDI tree. The object you have bound from liberatenode2.dc2.adelp
              hia.com is non clusterable and you have tried to bind more than once from two or more servers. Such objects ca
              n only deployed from one server.>
              and then,
              ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster> <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
              d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <000125> <Conflict Resolved: sbetrmi2 for
              the object from liberatenode5.dc2.adelphia.com under the bind name sbetrmi2 in the JNDI tree.>
              Should we use 'load balancing option' instead of 'server affinity' ?
              Any thuoghts?
              Thanks in adv.
              Vijay

    Test Reply
              <Vijay Kumar> wrote in message news:[email protected]..
              > <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log
              > file</b>
              >
              > We are using WLS 7.0.4 - One of JMS connection factory setting in admin
              > console we selected "Server Affinity" options.
              >
              > We see this messages appear in Weblogic log file,
              > ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster>
              > <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
              > d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
              > <000123> <Conflict start: You tried to bi
              > nd an object under the name sbetrmi2 in the JNDI tree. The object you have
              > bound from liberatenode2.dc2.adelp
              > hia.com is non clusterable and you have tried to bind more than once from
              > two or more servers. Such objects ca
              > n only deployed from one server.>
              >
              > and then,
              > ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster>
              > <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
              > d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
              > <000125> <Conflict Resolved: sbetrmi2 for
              > the object from liberatenode5.dc2.adelphia.com under the bind name
              > sbetrmi2 in the JNDI tree.>
              >
              >
              > Should we use 'load balancing option' instead of 'server affinity' ?
              >
              > Any thuoghts?
              >
              > Thanks in adv.
              > Vijay

  • JSF 2 and Primefaces with  WLS 11gR1(10.3.6) problem

    Hi all,
    I would like to create a web application in OEPE, which uses JSF 2 and Primefaces 3.2 and then deploy & develop onto WLS.
    I added the primefaces jar to WEB-INF/lib.
    See my publishing stacktrace below.
    (I tried using the Shared JSF libraries and including jsf-api and impl in WEB-INF/lib, but neither of these options worked.)
    Do you have any ideas what I am doing wrong? Thanks,
    András Liter
    <2012.04.14. 21:32:21 CEST> <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected exception when attempting to tear down the Mojarra runtime
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
         at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
         at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:309)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3225)
         at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1545)
         at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:509)
         at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
         at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
         at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
         at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:677)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:63)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <2012.04.14. 21:32:21 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1334431938841' for task '32'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \Oracle\Middleware\Oracle_OSB1\soa\connectors\FileAdapter.rar!fileAdapter.jar (The system cannot find the file specified)
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at java.util.jar.JarFile.<init>(JarFile.java:135)
         at java.util.jar.JarFile.<init>(JarFile.java:72)
         at com.sun.faces.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:252)
         Truncated. see log file for complete stacktrace

    Hi --
    I just tried using OEPE 11.1.1.8.0 against a WLS 10.3.6.0 install to build and deploy a JSF 2.0 application and it worked successfully.
    The project is here if you want to take a look:
    http://dl.dropbox.com/u/15657493/oepe-test-jsf2.zip
    The only minor gotcha I found was that I needed to reorder the libraries on the project so that the Shared-Library[jsf] was higher than the WebLogic System Library - this then let me use the JSF 2.0 programming API successfully instead of the 1.2 version that is included in the WLS System Library.
    Here's a couple of screen shots of the facet and project as well as the overall development environment:
    http://dl.dropbox.com/u/15657493/oepe-jsf-facet.png
    http://dl.dropbox.com/u/15657493/oepe-project-libs.png
    http://dl.dropbox.com/u/15657493/oepe.png
    For that zip file error, one thing perhaps is to Check your CLASSPATH setting to see if it has an entry for that FileAdapter.rar. I don't know why it's causing that problem but if it's in the CLASSPATH try removing it and then starting the server.

  • Convert to Gray scale issue in spot color file

    Hi,
    I am having some problem in Acrobat X Pro on Convert to Gray Scale Preflight Fixup, but the same PDF file is working good in Acrobat 9.0 Pro for the same process.
    Even I tried with the error report, but there was no error details in that report.
    Please help me out to find the reason for that problem. The PDF file is having a spot color.
    Please find the RGB and converted Gray image
    Thanks in advance,
    Veeramani.M

    Kumararaja,
    You can upload you file  using any public/private FTP and then can embedd the link here.
    Or when you click on Edit (in your message division), you get a browse option in the bottom left cornet. That allows upto 8.9MB. The way i attached!!!
    BTW, what's the issue?
    ~Sandeep V.

  • WLS 6.1 - Oracle 8.1.6 - Siteminder - ArrayOutOfBounds issue

    Getting an ArrayIndexOutOfBoundsException when trying to
    run Wls 6.1 with Oracle 8.1.6 and Netegrity Siteminder (Security
    module for sign-on privileges) ..
    ####<Sep 25, 2001 11:10:26 AM CDT> <Error> <Posix Performance Pack> <olc221> <flextrialserver>
    <ExecuteThread: '13'
    for queue: 'default'> <> <> <000000> <Uncaught Throwable in processSockets>
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.servlet.internal.MuxableSocketHTTP.isMessageComplete(MuxableSocketHTTP.java:282)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:448)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:378)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<Sep 25, 2001 11:12:26 AM CDT> <Error> <Posix Performance Pack> <olc221> <flextrialserver>
    <ExecuteThread: '12'
    for queue: 'default'> <> <> <000000> <Uncaught Throwable in processSockets>
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.servlet.internal.MuxableSocketHTTP.isMessageComplete(MuxableSocketHTTP.java:282)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:448)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:378)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<Sep 25, 2001 11:14:26 AM CDT> <Error> <Posix Performance Pack> <olc221> <flextrialserver>
    <ExecuteThread: '14'
    for queue: 'default'> <> <> <000000> <Uncaught Throwable in processSockets>
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.servlet.internal.MuxableSocketHTTP.isMessageComplete(MuxableSocketHTTP.java:282)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:448)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:378)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<Sep 25, 2001 11:15:26 AM CDT> <Error> <Posix Performance Pack> <olc221> <flextrialserver>
    <ExecuteThread: '13'
    for queue: 'default'> <> <> <000000> <Uncaught Throwable in processSockets>
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.servlet.internal.MuxableSocketHTTP.isMessageComplete(MuxableSocketHTTP.java:282)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:448)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:378)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Sagar,
    Can you test you application with Service Pack 1 for WebLogic Server 6.1
    WebLogic Server 6.1 with Service pack 1
    http://commerce.beasys.com/downloads/weblogic_server.jsp
    If you need just the service pack for WLS 6.1 , you will need to have a
    websupport login and password.
    Refer to this url for more information on this.
    http://contact.bea.com/bea/www/BEACustRegLogin.jsp
    http://websupport.bea.com/custsupp/
    Hope this helps
    Raj Alagumalai

  • Converting PDF to Word Issue

    Hello: I just installed Acrobat 9 Pro and wish to convert some PDF files to Word documents. When I chose Export to Word, a message of "Could not convert the document (exception caught). <Expected a number object>. The file conversion process did not work. Any suggestions?
    Thanks!!!

    Thanks for your idea, but this is a 60 page file that includes pictures.I just tried your copy and paste suggestion and the text came over but not any of the graphics.

  • Convert into Data Table issue from Excel Sheet Table

    Hi 
    i've excel file where 10-12 sheets are available in that excel file.one of the sheet is named as summary.there are 8-10 tables(named as Table1,Table2,Table3....) in that summary sheet as well. 
    i've to actually get the Table1 from the summary sheet into the DataTable. 
    So,i've written a following method to read "summary" sheet and then i checked if the Table1 exist then break the loop.My problem is i've found Table1 but i am not able to convert it into the DataTable.Can anyone tell me how to do it.
    private void GetProjectTable(string ExcelFileUrl)
    string sheetName = "Summary";
    string value = null;
    // Open the spreadsheet document for read-only access.
    try
    String siteURL = SPContext.Current.Site.Url;
    SPSecurity.RunWithElevatedPrivileges(delegate()
    Stream dataStream = null;
    using (SPSite site = new SPSite(siteURL))
    using (SPWeb web = site.OpenWeb())
    SPFile file = web.GetFile(ExcelFileUrl);
    dataStream = file.OpenBinaryStream();
    using (SpreadsheetDocument document =
    SpreadsheetDocument.Open(dataStream, false))
    // Retrieve a reference to the workbook part.
    WorkbookPart wbPart = document.WorkbookPart;
    Sheet theSheet = wbPart.Workbook.Descendants<Sheet>().
    Where(s => s.Name == sheetName).FirstOrDefault();
    // Throw an exception if there is no sheet.
    if (theSheet == null)
    throw new ArgumentException("sheetName");
    WorksheetPart wsPart =
    (WorksheetPart)(wbPart.GetPartById(theSheet.Id));
    DocumentFormat.OpenXml.Spreadsheet.Table table = null;
    DataTable dt = null;
    foreach (TableDefinitionPart tdp in wsPart.TableDefinitionParts)
    if (tdp.Table.DisplayName == "Table1")
    table = tdp.Table;
    break;
    catch (Exception ex)
    Note: I am using this code in the Visual Web Part for SharePoint

    Hi hellofragrance,
    According to the description, you want to convert to the table in Excel to DataTable using Open XML SDK.
    As far as I know, there is no such API we can achieve the goal directly. However, we can write custom code to complete the job. Here are some major steps for your reference:
    1. Get the information of the table we wanted to convert. For example, column information and the range address for the table. And we can get the these information via the
    Table object of
    TableDefinitionPart Class
    2. Then we can create a DataTable via the column information we get from step1 and initialize the data table via read the data from range of table.
    In addition, here is helpful article about read the value of specific cell for your reference:
    How to: Retrieve the values of cells in a spreadsheet document (Open XML SDK)
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Convert to web/sRGB issues

    Hi Guys,
    I am having a hard time understanding what is happening in Photoshop when saving files for the web.
    My print ready images are in the Adobe RGB colour space. If I convert these to sRGB (edit - convert to profile) and then upload them, I get what appears to be fairly consistent colour across browsers (both colour managed and unmanaged).
    However, if I use the save for web function and enable 'convert to sRGB' then there seems to be a large saturation increase in the preview compared to the original file. This isn't a problem as long I choose to embed the colour profile, but If I un-tick this and simply have it set to 'convert to sRGB' without any other options selected (i.e. embed colour profile un-ticked) then my final file ends up being 'untagged' and has the same over saturated colours as the preview. So to me this would suggest that I'm not actually converting to the sRGB colour space, but simply some weird photoshop guestimate.
    So my question is, what exactly is happening here? And is there any reason why I should use the 'save as for web' feature when I can simply convert to sRGB and save as a jpeg manually thus what appears to be producing the most accurate colour across browsers!?
    Thanks for your help in advance!

    Hi,
    If you check on "convert to sRGB" in save for web, but unclick "Embed Profile" the document's color numbers will be converted to sRGB and the document will be stripped of any embedded profile.  It's possible that colors can appear different in both managed and non managed applications for two possible reasons:
    1. For non managed applications, the colors in this untagged document will be directly interpreted through the monitor profile since the non managed application doesn't know that it should interpret the color numbers as though they're coming from sRGB.
    2. For managed applications, if the working space is set to something other than sRGB, it will interpret the color numbers in the untagged document as though they were coming from the working space instead of sRGB.
    Hope this helps.

  • WLS 6.1 SP2 NSAPI and iPlanet (Sun One) issues

    Hi. I am going nuts with this NSAPI issue. I am working in a Solaris 8 environment,
    WLS 6.1 SP2 and iPlanet (Sun One)and NSAPI. I can get everything to work fine
    and dandy in aniPlanet 4.1 environment. I can not get it to work in an Iplanet
    (Sun One) 6.x environment. It appears that some things work differently between
    the versions of iPlanet (ie. things contained in magnus.conf and/or obj.conf).
    I have tried moving things, removing things, adding things and nothing seems
    to work....it's almost as though the NSAPI, etc. are being ignored.
    I've attached my magnus.conf and obj.conf files (I cut and pasted them into a
    single file so I could upload it). Can anyone help me out here...I've been working
    for weeks on this and can't seem to get any answers.
    Thanks!
    Doug
    P.S. For security purpses I changed the first part of the IP add. in the files
    to 1234567, etc.
    Thanks
    [conf_files.txt]

    Hi Doug
    U have to put the following section
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="./libproxy.so"
    Init fn="wl_init"
    into magus.conf
    and put the rest into obj.conf
    Best Regards
    Alex
    "Doug E" <[email protected]> wrote:
    >
    Does anybody know of a good reference document on how to properly install
    the NSAPI
    plug-in for WLS6.1 & iPlanet6(SunOne) on Unix (Solaris). Many of the references
    that
    I have been finding are either incomplete, have typo's and are mostly Windows
    oriented
    (ie. with the .dll's, paths, examples, etc.)
    My problem is that our old iPlanet 4.x works fine...everything proxies,
    etc. iPlanet
    6 just doesn't want to seem to communicate with WLS 6.1 SP2 We tried many
    of the
    saem things from the 4.x magnus & obj.confs...but things look somewhat different
    in iPlanet 6.x (did they move tings..such as the fn's from one to the other,
    etc.)
    If so..and there are big differences in installing iPlanet 4.x vs. 6.x
    then many
    of the docs out there are inaccurate. Does anyone know if there is a newer
    version
    of the NSAPI plug-in for Unix.
    I would love to see a basic, working set of magnus.conf obj.conf, MIME,etc
    from someone
    who has actually gotten NSAPI to work between WLS 6.1 and iPlanet 6 on Unix
    (Solaris)
    It blows my mind that 4.x works and 6.x doesn't. An updated NSAPI plug-in
    , if it exists and perhaps fixes the problem, would make my day. Any ideas?
    Thanks!
    -Doug

  • Convert SmartForm to PDF issues

    I am using the following code to convert a SmartForm into PDF.  I got a lot of the code from a Wiki but I have a few issues with it.  The first is that I do not want to display the SmartForm to the user; I want it saved, as a PDF, imediatly.  My other issue is that I get an error when it calls the FM 'CONVERT_OTF_2_PDF'.  The error says: 
    'OTF end command // missing in OTF data'. 
    What does that error mean and how do I fix it?
    Below is my code:
    DATA: d_fname TYPE rs38l_fnam,
          d_object_id TYPE sysuuid_c,
          d_col_name TYPE string.
    DATA: it_otf   TYPE STANDARD TABLE OF itcoo,
          it_docs  TYPE STANDARD TABLE OF docs,
          it_lines TYPE STANDARD TABLE OF tline,
          st_job_output_info      TYPE ssfcrescl,
          st_document_output_info TYPE ssfcrespd,
          st_job_output_options   TYPE ssfcresop,
          st_output_options       TYPE ssfcompop,
          st_control_parameters   TYPE ssfctrlop,
          v_len_in                TYPE so_obj_len,
          v_language              TYPE sflangu VALUE 'E',
          v_e_devtype             TYPE rspoptype,
          v_bin_filesize          TYPE i,
          v_name                  TYPE string,
          v_path                  TYPE string,
          v_fullpath              TYPE string,
          v_filter                TYPE string,
          v_uact                  TYPE i,
          v_guiobj                TYPE REF TO cl_gui_frontend_services,
          v_filename              TYPE string,
          v_fm_name               TYPE rs38l_fnam.
    CONSTANTS c_formname          TYPE tdsfname VALUE 'ZTEST'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = 'ZAS_SMF_CFOLDER_RFI'
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
    IMPORTING
      fm_name                  = d_fname
    * EXCEPTIONS
    *   NO_FORM                  = 1
    *   NO_FUNCTION_MODULE       = 2
    *   OTHERS                   = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION d_fname
    EXPORTING
    *     ARCHIVE_INDEX              =
    *     ARCHIVE_INDEX_TAB          =
    *     ARCHIVE_PARAMETERS         =
      control_parameters         = st_control_parameters
    *     MAIL_APPL_OBJ              =
    *     MAIL_RECIPIENT             =
    *     MAIL_SENDER                =
      output_options             = st_output_options
      user_settings              = 'X'
      i_object                   = d_object_id
      i_col_name                 = d_col_name
    IMPORTING
      document_output_info       = st_document_output_info
      job_output_info            = st_job_output_info
      job_output_options         = st_job_output_options
    EXCEPTIONS
      formatting_error           = 1
      internal_error             = 2
      send_error                 = 3
      user_canceled              = 4
      OTHERS                     = 5
    IF sy-subrc = 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *.........................CONVERT TO OTF TO PDF.......................*
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      IMPORTING
        bin_filesize           = v_bin_filesize
      TABLES
        otf                    = st_job_output_info-otfdata
        doctab_archive         = it_docs
        lines                  = it_lines
      EXCEPTIONS
        err_conv_not_possible  = 1
        err_otf_mc_noendmarker = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *..................................DOWNLOAD AS FILE....................*
    v_filename = 'C:/TESTPDF.PDF'.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        bin_filesize            = v_bin_filesize
        filename                = v_filename
        filetype                = 'BIN'
      TABLES
        data_tab                = it_lines
      EXCEPTIONS
        file_write_error        = 1
        no_batch                = 2
        gui_refuse_filetransfer = 3
        invalid_type            = 4
        no_authority            = 5
        unknown_error           = 6
        header_not_allowed      = 7
        separator_not_allowed   = 8
        filesize_not_allowed    = 9
        header_too_long         = 10
        dp_error_create         = 11
        dp_error_send           = 12
        dp_error_write          = 13
        unknown_dp_error        = 14
        access_denied           = 15
        dp_out_of_memory        = 16
        disk_full               = 17
        dp_timeout              = 18
        file_not_found          = 19
        dataprovider_exception  = 20
        control_flush_error     = 21
        OTHERS                  = 22.
    IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Aaron

    when calling the function module for the smartform, you will have to add the get_otf parameter of one of your exporting parameters.
    I'm not sure if this is the st_control_parameters or the st_output_options parameter. Look for field get_otf in one of these parameters and mark it like 'X'.

  • Converting images to pdf Issues

    converting a jpeg image to pdf causes the image to shrink dramatically and be surounded by huge white margins. I tried to remove the white margins by using the crop function but i get the error about the 0.4 inch limitation. can anything be done?

    Are to trying to use Createpdf service or using Adobe Acrobat service for conversion?
    Is it specific to some jpeg images or any jpeg image?
    What is the size of the jpeg image you are trying to convert?

  • Converting MovieClip to Sprite issue

    I was reading that you can optimize your Flash project by using Sprites instead of MovieClips if you don't need the timeline. So I right clicked on one of my MovieClips in the library and changed the Base Class from flash.display.MovieClip to flash.display.Sprite and it now has a green gear icon. I changed my variable declaration from var myThing:MovieClip to myThing:Sprite as well. But now all of my textfields and buttons in that Sprite are causing compiler errors:
    Access of possibly undefined property textfield_txt through a reference with static type flash.display:Sprite.
    Am I going to have clear all those textfields and buttons and re-add them in Actionscript? It would be nice if I could position them using the GUI.

    After some more Googling, this is my understanding of what is going on. Please correct me if I am wrong. Dot notation is for accessing properties, not for accessing children.
    dot notation can be used to access children added in the authoring environment.
    But the reason why myMovieClip.myTextField_txt works is because MovieClip is a dynamic class. Sprite is not a dynamic class, which is why all my previous dot notation failed when I tried to access my buttons and textfields of mySprite, which is a former MovieClip.
    correct.
    I was able to access my old buttons and textfields with SimpleButton(mySprite.getChildByName("myButton_btn")) and
    TextField(mySprite.getChildByName("myTextfield_txt")), but having to call getChildByName and casting them every time would probably offset any performance gains by converting my MovieClip into a Sprite.
    there are no appreciable performance gains obtained by using sprite instead of movieclip.  there are memory gains because a sprite occupies about 36bytes (<10%) less memory than a movieclip.
    The right way to do it would be to clear all my old buttons and textfields and re-add them with actionscript. Children of sprites are accessed directly, which is why mySprite.newButton.addEventListener doesn't work and just doing newButton.addEventListener does work. Is that about right?
    correct

  • Converting to .PDF bookmark issue

    Bookmark issue:  I am writing this for another user.  I am not familiar with InDesign but have analyzed the issue.  Version of InDesign: CS3 v5.0 version of Acrobat: 8 v8.1.3 version of Page Maker: 7 v7.0.1  The user creates an InDesign document with several 'chapters' of content.  The structure of the document   looks like the following where an X represents an entire chapter and a B represents a subsection of the   chapter.  X1   B1   B2   B3 X2   B4   B5   B6 X3   B7   B8   B9  The user then creates bookmarks for each chapter and subsection.  The bookmarks have a parent/child   relationship between X and B, respectively.  The same structure seen above is the structure the bookmark   tree takes on.  When the user goes about creating the file as a PDF, an odd issue occurs.  All of the bookmarks work except   B2, B4, and B7.  B2, B4, and B7 point to B1 even though they pointed to the appropriate locations in   InDesign.  Obviously, the appropriate settings are toggled to pull the bookmarks across to Acrobat.  Something isn't   quite right, and I want to figure out where the issue lies.  Things to consider: The InDesign files were migrated over from Page Maker files.  Anybody have any clue.  Any further information needed? --

    I add bookmarks to my ID files on a daily basis and hardly ever found a fault with it. As far as I can tell, they appear exactly in the same tree hierarchy in the PDF as created in ID.
    ... The InDesign files were migrated over from Page Maker files. ...
    may be a clue. ID may leave some rubbish in its files, and that rarely (for me, at least) may lead to otherwise unexplainable errors. Perhaps the PM import was not as 'clean' as you'd hope. Try this: export the file to INX and re-load it (you should use the "Open.." command for this). Check if the bookmarks display correctly in their little panel; then try the exporting to PDF again.
    Are you sure about the sub-version number? 5.0 is an original, unpatched version, and a number of issues have been fixed -- I think the most up to date version would be 5.0.3 (don't quote me on that, check the updates!). It's not that I remember this issue from the updates, but you never know.

  • How to use convert function in my issue

    CASE WHEN RATE_CODE='BS' then  '0.00' ELSE ((COST)/TOTAL_UNITS)end AS COST this function is showing when rate_code='Bs' then 0.0000. i want only 0.00 in this. 
    thank you all
    actually my query is getting when RATE_CODE='BS' IS THEN 0.0000.but i want this value 0.00 to display.how can i achive

    We do not do display in the database; we have a presentation layer. This is the most basic principle of any tiered architecture. I will guess you have been programming for a only a few weeks, but t6his is usually covered in the
    early part of any course. 
    You probably need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • JAX-WS SOAPHandler can not deployed in BEA WLS 10.0 - Bug?

    Hi,
    currently I'm trying tp deploy a simple JAX-WS webservice with JAX-WS SOAPHandler in BEA WLS 10.0.
    Therefore I provide a WAR file with the webservice and handler classes.
    The SOAP Handler is defined in the webservice via the @HandlerChain(file="handler.xml")
    My handler.xml looks as follows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <javaee:handler-chains xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <javaee:handler-chain>
    <javaee:handler> <javaee:handler-class>com.bmw.wss.server.handler.AuthenticationHandler</javaee:handler-class>
    </javaee:handler>
    </javaee:handler-chain>
    </javaee:handler-chains>
    This handlers.xml is in the classpath within the WAR file.
    If i trying to deploy this WAR file I always get the following exception from BEA WLS 10:
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "WSAATestService" failed to preload on startup in Web application: "wsaa-jaxwshandlertest.war".
    java.lang.NullPointerException
    at weblogic.wsee.monitoring.WseeRuntimeMBeanManager.createJaxWsHandlers(WseeRuntimeMBeanManager.java:108)
    at weblogic.wsee.monitoring.WseeRuntimeMBeanManager.createJaxWsPort(WseeRuntimeMBeanManager.java:80)
    at weblogic.wsee.monitoring.WseeRuntimeMBeanManager.createJaxWsMBean(WseeRuntimeMBeanManager.java:57)
    I seems BEA WLS 10 has some problems with the JAX-WS SOAPHandler. I've deployed the same WAR-file on a Glassfish v2 server... without any problems!
    Does anyone already used the JAX-WS handler mechanism in BEA WLS 10? Any ideas?
    Thx.

    Hi,
    thx for your answer. Now I've found the problem. The BEA WLS don't accept null return value of the SOAPHandler method getHeaders(). If I return a dummy object everything wotks fine:
    public Set<QName> getHeaders() {
    return new TreeSet<QName>();
    However I think this behaviour of the BEA WLS 10 is some kind of strange. Why do I have to implement the method getHeaders() if I don't want to use it.
    Sun's Glassfish allows a null return value like expected.

Maybe you are looking for

  • 2.6 gig indicates 64 days of music

    After several days of moving libraries around and between computers and external drives I finally got everthing working how and where I want it. Unfortunately I Tunes library now indicates my 2.67 gig, 828 song library will play for 67.6 days! Since

  • Local characters urgent

    Please help, using jdev10g ADF BC & JSF, I've switched to mac os x from windows, and developed a few apps only to discover that they don't support local characters (croatia), so I've looked on my windows machine and found out that in tools -> prefere

  • Has Anyone Ever Had All There Music Deleted Off I Pod Then Not On I Tunes Account Either?

    Has Any One Ever Lost All Music And Not On I Tunes Account Either?

  • HCM Structural Profile Assignments

    I'm at a client that has a large org structure and wants profiles created at the org unit level 2 different ways.  This is primarily for time administrators and time approvers.  If the time administrator moves from one org unit to another, I'm having

  • T60 won't boot after thinkchang​e biometrick driver installed

    help,my windows 7 was not starting after I installed this driver.system restore cannot solve the problem since it does not delete drivers but reinstalls it.