Workshop webservices deployment

Can a webservice written in Weblogic Workshop be deployed on websphere or any other
J2EE app server? Has anyone tried this?

In the first release our focus has been deployment on WebLogic server and on
standardization efforts around the JWS file format itself, and have not
tested the work required to port to other application servers. We anticipate
that over time other application server vendors will support the .jws format
just as they have adopted J2EE.
-Carl
"Tedie West" <[email protected]> wrote in message
news:3c867946$[email protected]..
>
Thanks for the quick response. One followup, will the .ear have everything(including
things provided/created by workshop)needed by the webservice? Would anychanges
have to be made to the contents of the .ear? I guess my question is reallythis:
Could a devloper use Weblogic Workshop to build/test webservices and thendeploy
them on another J2EE 1.3 app server without going through a big process.Or would
it be as simple as deploying the .ear file?
Thanks!
Jim Weaver <[email protected]> wrote:
Workshop will build EAR files for the GA release. At that point a
developer
will be
able to port the EAR file to another server that supports J2EE 1.3.
Thanks
Jim Weaver
Developer Relations Engineer
BEA Systems, Inc.
Tedie West wrote:
Can a webservice written in Weblogic Workshop be deployed on websphereor any other
J2EE app server? Has anyone tried this?Content-Description: Card for Jim Weaver
begin:vcard
n:Weaver;Jim
x-mozilla-html:FALSE
org:BEA Systems Inc.
adr:;;.;;;;
version:2.1
email;internet:[email protected]
title:Developer Relations Engineer
fn:Jim Weaver
end:vcard

Similar Messages

  • Unable to deploy workshop webservice (8.1SP2)

    I have recently upgraded to WLS8.1SP2, created a workshop domain, deployed a workshop webservice application using ant and ran into the below error. Please help!
    deploy:
    [wldeploy] weblogic.Deployer -debug -remote -upload -noexit -name spider -sourc
    e \opt\sfc\spider\local\spider.ear -targets -adminurl t3://127.0.0.1:7001 -user
    admin -password ******** -deploy
    [wldeploy] DeploymentData : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Initiated Task: [0] [Deployer:149026]Deploy application spider on cg
    Server.
    [wldeploy] Task 0 failed: [Deployer:149026]Deploy application spider on cgServe
    r.
    [wldeploy] Deployment failed on Server cgServer
    [wldeploy] dumping ApplicationException message
    [wldeploy] Exception:weblogic.management.ApplicationException: prepare failed f
    or avsWebSvc
    [wldeploy] Module: avsWebSvc Error: Could not load avsWebSvc: weblogi
    c.management.DeploymentException: [HTTP:101283]ServletContext(id=1223009,name=av
    sWebSvc,context-path=/avsWebSvc): jspServlet "weblogic.servlet.WlwJSPServlet" de
    fined in weblogic.xml could not be loaded.
    [wldeploy] java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    [wldeploy] at weblogic.utils.classloaders.GenericClassLoader.findClass(Gene
    ricClassLoader.java:198)
    I double check the classpath and knex.jar is definitely on the classpath server startup script:
    CLASSPATH=C:/opt/bea/weblogic81/common/lib/jms1.1.jar:C:/opt/bea/weblogic81/serv
    er/lib/weblogic_knex_patch.jar:C:/opt/bea/weblogic81/common/lib/log4j.jar:C:/opt
    /bea/weblogic81/server/lib/debugging.jar:C:/opt/bea/weblogic81/server/lib/knex.j
    ar:C:/opt/bea/weblogic81/javelin/lib/javelin.jar:C:/opt/bea/weblogic81/server/li
    b/wlw-lang.jar:C:/opt/bea/jdk141_05/lib/tools.jar;C:/opt/bea/weblogic81/server/l
    ib/weblogic_sp.jar;C:/opt/bea/weblogic81/server/lib/weblogic.jar;C:/opt/bea/webl
    ogic81/server/lib/ojdbc14.jar:C:/opt/bea/weblogic81/server/lib/ant/ant.jar:C:/op
    t/bea/jdk141_05/jre/lib/rt.jar::C:/opt/bea/weblogic81/server/lib/webserviceclien
    t.jar:C:/opt/bea/weblogic81/server/lib/webserviceclient+ssl.jar:C:/opt/bea/weblo
    gic81/server/lib/xbean.jar:C:/opt/bea/weblogic81/server/lib/wlxbean.jar:C:/opt/b
    ea/weblogic81/server/lib/xqrl.jar:C:/opt/bea/weblogic81/server/lib/netui/netui-c
    ompiler.jar:C:/opt/bea/weblogic81/server/lib/wli.jar:C:/opt/bea/weblogic81/serve
    r/lib/fop.jar:C:/opt/bea/weblogic81/integration/adapters/sample/lib/sample-eis.j
    ar:

    Hi Ravi,
    can you please indicate the NWDS and NWDI versions and JDK being used?
    Regards,
    Désiré

  • Webservice deployment in Oracle e-Business Suite

    Oracle e-Business Suite R12 contains Oracle AS 10.1.3.0.
    My question is: Is it possible to deploy webservices build in JDeveloper to this application server version?
    Iam not talking about BPEL, just a custom build webservice or a webservice generated by Jdeveloper based on an existing PL/SQL procedure.
    The Rapid Install of Oracle e-Business Suite (R12) creates an Oracle AS 10.1.3.0 without a metadata repository. Do you need this for webservice deployment?
    Regards,
    Gertjan.

    When the JRE was installed/configured on the workstations was the jar cache placed on a LAN drive instead of the local drive? We have experienced poor performance with both the JRE and Jinitiator when the Workstation Sysadmins configured the jar cache to be located on a LAN drive. Also is the size of the jar cache on the workstation sufficient to hold all of your required jar files. It could be downloading the jar files all the time.
    Overall our performance with the JRE is comparible to the Jinitiator.
    Sorry I have not experienced the problem that you are having with you pdf reports so I can't provide any comments on it.

  • JSP calling WorkShop WebServices Proxy - Unable to do

    I have created simple Workshop webservices. Tested in Workshop IDE. works fine.
    Now Ihave created proxy jar , placed it under web-inf/lib folder. I have created
    JSP which is calling this webservices.
    But when i call this jsp, im getting following error
    D:\bea7plat\weblogic700\samples\server\config\examples\examplesServer\.wlnotdelete\DefaultWebApp_DefaultWebApp_2429105\jsp_servlet\__soap.java:93:
    cannot resolve symbol
    probably occurred due to an error in /soap.jsp line 7:
    proxy.makePayment("avc" ,"bb" , "ge" , 45.56);%>
    Full compiler error(s):
    D:\bea7plat\weblogic700\samples\server\config\examples\examplesServer\.wlnotdelete\DefaultWebApp_DefaultWebApp_2429105\jsp_servlet\__soap.java:93:
    cannot resolve symbol
    symbol : method makePayment (java.lang.String,java.lang.String,java.lang.String,double)
    location: interface weblogic.jws.proxies.SubmitEFTBillSoap
    proxy.makePayment("avc" ,"bb" , "ge" , 45.56); //[ /soap.jsp; Line:
    7]
    ^
    1 error
    my jsp is simple
    %@ page import="weblogic.jws.proxies.*" %>
    <% SubmitEFTBill_Impl obj = new SubmitEFTBill_Impl(); %>
    <%
    SubmitEFTBillSoap proxy = obj.getSubmitEFTBillSoap() ;
    proxy.makePayment("avc" ,"bb" , "ge" , 45.56);%>
    Any pointers why im getting this error.
    Thanks

    Hi Ted,
    The Java source is in the proxy jar, so you should open it (the proxy jar) with
    WinZip, and see what's in the weblogic.jws.proxies.SubmitEFTBillSoap.java and
    weblogic.jws.proxies.SubmitEFTBill_Impl.java files.
    HTH,
    Mike Wooten
    "Ted" <[email protected]> wrote:
    >
    I have created simple Workshop webservices. Tested in Workshop IDE. works
    fine.
    Now Ihave created proxy jar , placed it under web-inf/lib folder. I have
    created
    JSP which is calling this webservices.
    But when i call this jsp, im getting following error
    D:\bea7plat\weblogic700\samples\server\config\examples\examplesServer\.wlnotdelete\DefaultWebApp_DefaultWebApp_2429105\jsp_servlet\__soap.java:93:
    cannot resolve symbol
    probably occurred due to an error in /soap.jsp line 7:
    proxy.makePayment("avc" ,"bb" , "ge" , 45.56);%>
    Full compiler error(s):
    D:\bea7plat\weblogic700\samples\server\config\examples\examplesServer\.wlnotdelete\DefaultWebApp_DefaultWebApp_2429105\jsp_servlet\__soap.java:93:
    cannot resolve symbol
    symbol : method makePayment (java.lang.String,java.lang.String,java.lang.String,double)
    location: interface weblogic.jws.proxies.SubmitEFTBillSoap
    proxy.makePayment("avc" ,"bb" , "ge" , 45.56); //[ /soap.jsp;
    Line:
    7]
    ^
    1 error
    my jsp is simple
    %@ page import="weblogic.jws.proxies.*" %>
    <% SubmitEFTBill_Impl obj = new SubmitEFTBill_Impl(); %>
    <%
    SubmitEFTBillSoap proxy = obj.getSubmitEFTBillSoap() ;
    proxy.makePayment("avc" ,"bb" , "ge" , 45.56);%>
    Any pointers why im getting this error.
    Thanks

  • Worklist client webservice deployment problem

    Hi Guys,
    I am very new to BPEL.
    we have custom worklist app client deployed as webservice which returns the tasks and status of the tasks.
    it works ok on my local local environment ( it returns the status of the task).
    I deployed this web service on our server (created connection to the server in Jdeveloper and deployed to the server). and I can see the webservice deployed on the server. when I invoked the server with instance id it does not return anything.
    I tried one of the instances of the Bpel process from my local environment it returned the status of the instance.
    what's happening is even though I deployed it to the server it still looks at the BPEL process instances on my local environment not the server.
    How can fix this? any ideas.
    I hope this make sense.

    Hi Satinder,
    I have changed the <serverURL> in wf_client_config.xml to our server on my local machine. But it is still not working.
    I deployed the web service to the server and it does not return the status of the task.
    When i invoked the web service with one of the instance id on my local machine it returns the status.I think it is still looking at the local machine.
    Please Help.

  • Trouble deploying Weblogic Workshop Webservice in Production Mode

    Hi,
    We have created a set of Web Services using Web Logic Workshop. They work fine
    on the development server(Weblogic 7.0 SP4) when run from Workshop. We packaged
    the Services into an EAR file and deployed them on the Production Server (Weblogic
    7.0 SP4, Platform Domain) where the property WLS_PROD_MODE is set to True. When
    we try to access a Web Service thru the URL, we are getting a Null Pointer exception.
    I would highly appreciate if somebody can give us pointers on the problem.
    Thanks
    Vikram

    Vikram,
    Can you check the startweblogic.cmd script and verify that the following
    property -Dweblogic.jws.ProductionMode is set to true ?
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Vikram" <[email protected]> wrote in message
    news:3f6f071f$[email protected]..
    >
    Hi,
    We have created a set of Web Services using Web Logic Workshop. They workfine
    on the development server(Weblogic 7.0 SP4) when run from Workshop. Wepackaged
    the Services into an EAR file and deployed them on the Production Server(Weblogic
    7.0 SP4, Platform Domain) where the property WLS_PROD_MODE is set to True.When
    we try to access a Web Service thru the URL, we are getting a Null Pointerexception.
    >
    >
    I would highly appreciate if somebody can give us pointers on the problem.
    Thanks
    Vikram

  • ServiceControlException exception in Weblogic Workshop webservice

    Hi,
    I have created WebService control file (*.jcx) from an appropriate wsdl file in Weblogic Workshop(jrockit81sp3_142_04). My interface declaration in control file looks like:
    * @jc:location http-url="http://<host>:<port_number><service_address>"
    * @jc:wsdl file="#InternalWebServiceWsdl"
    * @common:xmlns namespace="urn:fais:InternalWebService.wsdl" prefix="tns"
    * @common:xmlns namespace="http://www.iso20022.org/" prefix="iso20022"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/wsdl/mime/" prefix="mime"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/wsdl/http/" prefix="http"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/wsdl/soap12/" prefix="soap12"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/wsdl/soap/" prefix="wsdlsoap"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/soap/encoding/" prefix="soapenc"
    * @common:xmlns namespace="http://www.w3.org/2001/XMLSchema" prefix="xs"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/wsdl/soap/" prefix="soap"
    * @common:xmlns namespace="http://schemas.xmlsoap.org/wsdl/" prefix="wsdl"
    * @common:xmlns namespace="urn:fais:FaisWSTypes.xsd" prefix="fais"
    * @common:target-namespace namespace="urn:fais:InternalWebService.wsdl"
    public interface InternalWebServiceControl extends com.bea.control.ControlExtension, com.bea.control.ServiceControl {
    My method declaration in control file looks like:
    * @jc:protocol form-post="false" form-get="false"
    * @jc:parameter-xml include-java-types="java.lang.String java.util.Calendar"
    * @jc:return-xml include-java-types="wsdl.faisInternalWebService.NAVStatistics"
    public wsdl.faisInternalWebService.StatisticsNAVResponseDocument StatisticsNAV (java.lang.String ISIN, java.util.Calendar FromDt);
    When invoking webservice through this control file I get an error message:
    <14.03.2007 12:44:17 EET> <Warning> <WLW> <000000> <Id=internalFaisParser; Method=processes.com.omx.fais.controls.InternalWebServiceControl.StatisticsNAV(); Failure=com.bea.control.ServiceControlExcep
    tion: SERVICE FAULT:
    Code:com.bea.xml.marshal.XmlEncodingException
    String:Unrecognized element StatisticsNAVResponse - expected StatisticsNAVResponse@urn:fais:InternalWebService.wsdl
    Detail:
    END SERVICE FAULT>
    ERROR2
    com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:com.bea.xml.marshal.XmlEncodingException
    String:Unrecognized element StatisticsNAVResponse - expected StatisticsNAVResponse@urn:fais:InternalWebService.wsdl
    Detail:
    END SERVICE FAULT
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(ServiceControlImpl.jcs:1237)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:373)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
    What does it mean? How should I solve this problem?

    Vikram,
    Can you check the startweblogic.cmd script and verify that the following
    property -Dweblogic.jws.ProductionMode is set to true ?
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Vikram" <[email protected]> wrote in message
    news:3f6f071f$[email protected]..
    >
    Hi,
    We have created a set of Web Services using Web Logic Workshop. They workfine
    on the development server(Weblogic 7.0 SP4) when run from Workshop. Wepackaged
    the Services into an EAR file and deployed them on the Production Server(Weblogic
    7.0 SP4, Platform Domain) where the property WLS_PROD_MODE is set to True.When
    we try to access a Web Service thru the URL, we are getting a Null Pointerexception.
    >
    >
    I would highly appreciate if somebody can give us pointers on the problem.
    Thanks
    Vikram

  • How to consume a webservice deployed on the Oracle Cloud

    Hi,
    Created an adf app with webservices and deployed it onto cloud.
    Trying to consume the exposed webservices from a client application.
    Following is the exception when i try to make a call to client.
    Exception in thread "main" javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from www-proxy.us.oracle.com - 148.87.19.20 --> java-trialannv.java.us1.oraclecloudapps.com failed hostname verification check. Certificate contained *.java.us1.oraclecloudapps.com but check expected java-trialannv.java.us1.oraclecloudapps.com
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
    at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
    at com.sun.xml.ws.client.Stub.process(Stub.java:272)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
    Is there any i can get through the SSL.
    any workaround to get through this.
    Thanks in advance,
    Manohar

    Rick,
    Thanks for the quick response. I used the SQL Workshop, script upload function (in Apex) to upload a package that I wrapped on my pc (Windows 7) using the wrap command line utility (11g). It uploaded fine but when I tried to run it, it returned a message like "Wrapped code is invalid or corrupted". This was not what I would have expected since I know you can import/export wrapped code between systems (different OS) without issue. Perhaps the command line wrap is OS specific and the import/export is doing some kind of translation?
    Anyway, I know you cannot use the command line option directly in the cloud because, as you say, you don't have access to the command line. DBMS_DDL is too tedious to use and has the 32K limit and unfortunately, there is no command like, "Alter package body xxx compile wrapped". So that leaves using the SQL Developer Cart option to move wrapped code from a local db to the cloud db. Unfortunately, I'm still having roles and permissions issues with my account which Oracle Support hasn't been able to fix over the last few weeks so I can't try this option (or even login using SQL Dev). Has anyone tried to do this? Does anyone know of another way to do this that I'm not thinking of?
    Thanks,
    Steve

  • Workshop WebService - Source file .jws not found

    Hi,
    I have developed WebService using BEA Weblogic Workshop 8.1. On my developement machine everything works perfectly. But when we build application (It is portal application with portal project - our corporate internet presentation and Webservice project with my WebService) using ant script exported from Workshop into ear and deploy it onto our testing servers WebService Doesn't work. When I try to call it I get this error message "Source file WebService.jws not found." When I add requested JWS file into its place, WebService starts to work as expected.
    Application is deployed from exploded directory which is created by unpacking EAR, this is to simplify patching of application and server is running in production mode.
    Any idea what is wrong?

    Hi,
    thank you very much. We have changed name of directory with exploded enterprise application to appname.ear and added -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dweblogic.jws.ProductionMode=true to java commandline and it works for now, don't know which change helped, but It works so I don't care.
    I tried these parameters before and it didn't work but I might have done some mistake so I was clueless.
    Thanks,
    Petr

  • Looking for sample ANT files for building workshop webservice app outside the IDE

    Hi,
    I am currently planning to use Workshop for implementing a webservice application.
    I am looking for any sample ANT files that would enable me to build and deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

    Hi Raj,
    Yup, I did see that sample file. However, it only demontrate how to build an
    EAR file. I am also looking for samples of how to generate the client JAR (using
    proxy to gain access to the webservice) and also how to deploy the web service
    EAR file to the server.
    I tried to use the ANT tag "clientgen" referencing the generated EAR file. It
    complainted of the missing WAR file. I checked the content of the EAR file and
    found no WAR file generated.
    I am also looking for a better way of accessing the webservice more generically
    instead of going through the proxy which is quite coupled to a specific app server.
    Please provide examples.
    Regards,
    Bao Nguyen
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Bao,
    Please refer to my post "Ant script for building EAR "dated August 21
    2003.
    I have attached a sample which does this.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1285&utag=
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Bao Nguyen" <[email protected]> wrote in message
    news:3f61477e$[email protected]..
    Hi,
    I am currently planning to use Workshop for implementing a webserviceapplication.
    I am looking for any sample ANT files that would enable me to buildand
    deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

  • Plsql webservices deploy error in weblogic.... Can anybody help me.. Urgent

    Could any body look into this exception....
    I am stuggling with this for the last one week........
    I have generated the webservices from PLSql procedure, deployed and tested in oc4j which is successfull running and I can access the webservice too.....
    The same ear file, when i deploy in to weblogic I am getting the follwing error, can anybody look in to this and help me....
    <May 20, 2006 2:09:14 PM GMT+05:30> <Error> <Deployer> <BEA-149231> <Unable to s
    et the activation state to true for the application 'gtry-gtry-WS'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "gwsSoapHttpPort" fa
    iled to preload on startup in Web application: "gtry-gtry-context-root".
    java.lang.IllegalStateException: could not find schema type named {{http}//orass
    pcon/Gws.wsdl/types/}EmpRecUser
    at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder$GlobalTypeNod
    e.getSchemaType(AnonymousTypeFinder.java:181)
    at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(
    AnonymousTypeFinder.java:86)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.create
    BindingTypeFrom(Deploytime109MappingHelper.java:888)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.proces
    sTypeMappings(Deploytime109MappingHelper.java:466)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBi
    ndingFileFrom109dd(Deploytime109MappingHelper.java:246)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>
    (Deploytime109MappingHelper.java:162)
    at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.create
    RuntimeBindings(RuntimeBindingsBuilderImpl.java:80)
    at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.jav
    a:272)
    at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:94)
    at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:58)
    at weblogic.wsee.server.servlet.WebappWSServlet.initRuntime(WebappWSServ
    let.java:70)
    at weblogic.wsee.server.servlet.WebappWSServlet.initImpl(WebappWSServlet
    .java:32)
    at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:40
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(St
    ubSecurityHelper.java:276)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecuri
    tyHelper.java:68)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubL
    ifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHel
    per.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:493)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:1688)
    Thanks in Advance
    Jayanthy.

    Hi Supriya,
    Check the following:
    * Whether the Report is locked in the server.
    * Are the parameters you pass from the form to report have the similar data types.
    Hope your problem is fixed.
    Regards.

  • Workshop : webservices : Dynamic Client

    I am using WebLogic Workshop 8.1 to crate a test Web Service.
    I have created a webservice with two methods to support
    1. SOAP RPC call
    2. SOAP document call
    This is working fine with the test harness provided by workshop.
    I have written two Dynamic clients to test this web service (one for soap RPC
    type call and another for soap "document" type call).
    The SOAP RPC type call dynamic client is working fine.
    The SOAP "document" type call dynamic client is throwing the following exception
    javax.xml.rpc.JAXRPCException: failed to invoke operation 'ReservationRQ' due
    to an error in the soap layer (SAAJ); nested exception is: Message[ failed to
    serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:ReservationRQ}]StackTrace[
    javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:ReservationRQ}
    at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
    at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
    at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:619)
    at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:444)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:430)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:539)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:392)
    at TestWSClientDoc.main(TestWSClientDoc.java:74)
    Caused by: weblogic.xml.schema.binding.SerializationException: mapping lookup
    failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:ReservationRQ}
    at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
    at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
    at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
    at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:324)
    ... 9 more
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:559)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:392)
    at TestWSClientDoc.main(TestWSClientDoc.java:74)
    Failed to send doc.
    I have attached a zip file conatining the following files with this.
    TestWebService.jws - web service code
    TestWSClientDoc.java - dynamic client to test "document" type call
    TestWSClientRpc.java - dynamic client to test "rpc" type call
    test.xml – test document.
    Could you please let me know here am I doing wrong?
    Thanks
    Purna
    [webservice.zip]

    Hi Mike,
    Your code worked for me. I will go from here.
    Thanks,
    Purna
    "Michael Wooten" <[email protected]> wrote:
    >
    >
    >
    Hi Purna,
    I have attached the source for a DII client that I think may work for
    you.
    It contains comments that describe what I think is causing the problem
    you are
    having in WLW 8.1, because I was having the same problem in WLW 7.0 :-)
    You'll need to have %WL_HOME%\server\lib\webservices.jar in the client's
    CLASSPATH,
    because that's where the ElementCodec (and DocumentCodec) is. Let me
    know if it
    works.
    Regards,
    Mike Wooten
    "Purna" <[email protected]> wrote:
    Hi Bruce,
    The example you provided is working fine. In fact I had used your example
    to write
    the Dynamic client.
    Background on my requirement:
    I had created a web service out of my application, which has set ofenterprise
    java beans. The web service is working fine with WLW test harness and
    static client.
    I want to write a Dynamic Cient for this web service. Inside this web
    service
    the methods are expecting a document object. I am getting the exceptions
    for
    the Dynamic Client.
    Please find the attached zip file containg the wsdl files.
    It would be great if you can provide a working document style web service
    (*.jws
    file - generated from WL workshop) and Dynamic Client code.
    Thanks,
    Purna
    Bruce Stephens <[email protected]> wrote:
    Hi,
    I would suggest trying to narrow down the problem. I suspect that there
    are server side issues. Try going back to this example and making
    sure
    it works OK.
    http://newsgroups.bea.com/cgi-bin/dnewsweb/domdocdyn.zip?cmd=article&group=weblogic.developer.interest.webservices&item=4127&part=2&utag=&/domdocdyn.zip
    Spin up WLW and compare the two WSDLs. I suspect there will be some
    differences that could be causing your problem.
    Could you tell us a bit about your goal?
    Thanks,
    Bruce
    Purna wrote:
    Hi Bruce,
    I have removed the "rpc" style method and now I have only "document"style method,
    but still I am getting the same exception with Dynamic Client.
    Do you have any suggetions?.
    Thanks,
    Purna
    Bruce Stephens <[email protected]> wrote:
    Hello,
    Take a look at "style" attribute:
    http://edocs.bea.com/wls/docs81/webserv/wsp.html#1015120 in the
    web-service element, it states the "style" attribute applies to
    an
    entire Web Service, all operations specified in a single <web-service>
    element must be either RPC-oriented or documented-oriented; WebLogic
    Server does not support mixing the two styles within the same Web
    Service.
    Hope this helps,
    Bruce
    purna wrote:
    I am using WebLogic Workshop 8.1 to crate a test Web Service.
    I have created a webservice with two methods to support
    1. SOAP RPC call
    2. SOAP document call
    This is working fine with the test harness provided by workshop.
    I have written two Dynamic clients to test this web service (one
    for
    soap RPC
    type call and another for soap "document" type call).
    The SOAP RPC type call dynamic client is working fine.
    The SOAP "document" type call dynamic client is throwing the followingexception
    javax.xml.rpc.JAXRPCException: failed to invoke operation 'ReservationRQ'due
    to an error in the soap layer (SAAJ); nested exception is: Message[failed to
    serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement
    class context=TypedClassContext{schemaType=['http://www.openuri.org/']:ReservationRQ}]StackTrace[
    javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement
    class context=TypedClassContext{schemaType=['http://www.openuri.org/']:ReservationRQ}
    at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
    at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
    at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:619)
    at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:444)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:430)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:539)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:392)
    at TestWSClientDoc.main(TestWSClientDoc.java:74)
    Caused by: weblogic.xml.schema.binding.SerializationException:
    mapping
    lookup
    failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:ReservationRQ}
    at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
    at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
    at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
    at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:324)
    ... 9 more
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:559)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:392)
    at TestWSClientDoc.main(TestWSClientDoc.java:74)
    Failed to send doc.
    I have attached a zip file conatining the following files with
    this.
    TestWebService.jws - web service code
    TestWSClientDoc.java - dynamic client to test "document" type
    call
    TestWSClientRpc.java - dynamic client to test "rpc" type call
    test.xml – test document.
    Could you please let me know here am I doing wrong?
    Thanks
    Purna
    Name: webservice.zip
    webservice.zip Type: Zip Compressed Data (application/x-zip-compressed)
    Encoding: base64

  • Changing Database connection on webservice deployment

    Hi All,
    I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
    What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
    When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
    This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
    I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
    Everytime I deploy to our production platform I keep getting the development data sources created.
    Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
    I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
    Anyone got any ideas????
    Thanks and Regards
    Neil

    When you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
    There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
    The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
    An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
    dai
    JDev devt. team

  • 10.1.2.0.2 WebServices Deployment

    Hello,
    some genral questions.
    Can I deploy Soap Web Services on a OC4J -Instance without anything else as Webcache/Apache and how is the deployment there?
    When we deploy WebServices in a WebCache/OC4J-Instance (standalone) is it certified to deploy Oracle PL/SQL WebServices against a 8.1.7.4 Database?
    Thank you in advance.
    Regards.
    Frank

    In order for the JPDK to generate links that use resource proxying, both the PPE (Portal) and JPDK must be configured with a shared key.
    For the PPE, an init-param called resourceUrlKey must be defined.
    For the JPDK, a JNDI environment variable with the same name (resourceUrlKey) must be defined.
    The key must have the same value in both places.
    Please see section 4.11 of the 10.1.4 Portal Configuration Guide for more information.
    The JPDK will fall back to the old behaviour if either key has not been set -- which is what I think you are seeing in your case.
    I hope that helps.
    Andy.

  • Consuming Weblogic Workshop WebService

    Hi,
    I am getting an error running the generated client stubs for a weblogic workshop based document style webservice. (I don't have a problem with a rpc style webservice in the same configuration.)
    The error is to do with extracting the return string/int and fromElement is reporting a classcast exception. Using tcp monitor I have seen the return message and it seems fins. There is no 'xsi:type' attribute on the return xml element.
    Also I can't seem to access the xmlelement value, the return string/int in the debugger watch window. I have casted the element to a node and getValue on the node returns null.
    Any help would be appreciated.
    James

    Hi,
    Additional Information
    I am able to access the weblogic workshop doc style webservice from VB.NET generated proxy without a problem.
    Stack Trace
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLText
         java.lang.Object oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.fromElement(org.w3c.dom.Element, java.lang.Class)
              WrappedDocLiteralStub.java:473
         java.lang.String hello.HelloWorldStub.HelloStr(java.lang.String)
              HelloWorldStub.java:97
    James

Maybe you are looking for

  • MRP indicator in Goods Receipt

    Hi All, MRP indicator when we post the Goods Receipt for excise material. And when we ticked the MRP indicator tab then your GR/IR amount is not equivalent to po net price. So I need that MRP indicator should be GREY out for plant secific, so that no

  • RFC ERROR IN WEB DYNPRO

    Hi I m Doing Web Dynpro Program For DMS Project There Is Some Problem Occuring In Default Function Module ARCHIVOBJECT_CREATE_FILE And The Error Msg Is : Cannot Call RFC Program And No Return Possi By Srinivasan.R

  • Potential issue with itunes 7.4.3.1 vs 7.4.2.4

    Let me start with this: I have 2 Macbook Pro laptops (same exact specifications, OSX, etc.) Both laptops run Parallels due to the need to use MS Outlook 2003 among other applications that are Windows specific. The Windows OS is XP Pro with the latest

  • Itunes 7 wont install because quicktime wont

    i tryed reinstalling itunes 7, but it says that i need quicktime 7.1.3, but the quicktime wont download. HELP!!!!!!!!!!!!!!!!!! windows xp   Windows XP  

  • START AND STOP

    Hello all, I recently updated my Norton Internet Securiy in my system(running Windows XP professional) with Oracle 9i R2 was running fine before the update. Now am not able to access my iSQLPlus.I checked Controlpanel services and found Http service