Run my web service in custom Execute Queue

i developed my web service using the WorkShop 8.1 Sp3
I created a custom execute queuem in my weblogic server
Can anyone guide how i can instruct my web serivce to run in my custom execute queue.
Always it's going to the Default execute queue.
Found for servlet and jsp the dispatch policy can be specified in the deployment descriptor.
But how i can specify for the web service ?
thanks

Hi Senthil
If you are still in Sp3 then the solution will NOT work.
You cannot edit the web.xml and get it working.
Sp4 is better compared to sp3 and you should be able to run your application on sp4 without any changes.
Below is some details on how it works and why you cannot use it on Sp3:
If you can move to Sp4, yes you can follow the docs provided by Raj (http://e-docs.bea.com/workshop/docs81/doc/en/workshop/reference/configfiles/con_web_xml_ConfigurationFile.html)and configure the dispath-policy in web.xml
After the build the information in web.xml will go into the EJB xml descriptor weblogic-ejb-jar.xml of the workshop internal EJB (SyncDispatcherBean)
Your weblogic-ejb-jar.xml for the SyncDispatcherBean will have
<dispatch-policy>
weblogic.jws.sync.dispatch
</dispatch-policy>
However if you remain on sp3, this config put into the web.xml will not work as the functionality was introduced only in sp4.
For Sp3, BEA does not support the manual editing of the weblogic-ejb-jar.xml of the SyncDispatcherBean as these get regenerated everytime on build.
Thanks,
Vimala

Similar Messages

  • Error when running the Web Services java client file

    Hi,
    I am working on web services with 9iAS.
    I am using the StatelessExample file included during installation.
    The ear file was created and the application was deployed using OEM Web.
    But when I try to execute the client java file StatelessClient. I get an error. The error is something about content type.
    The error message is pasted below.
    And also how do I run the web service on the browser.
    Please help.
    regards
    Kamlesh
    D:\ora9ias_portal\j2ee\home\demo\web_services\java_services\client>java -classpa
    th .;StatelessExample_proxy.jar;%CLASSPATH%; StatelessClient
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type &quot;text/html&quot;, must be: &quot;text/xml&quo
    t;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;
    /HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;or
    acle.j2ee.xanadu.JasperGenerationError: no source generated during code generati
    on!: 1 in getFile name: oracle\j2ee\ws_example\StatelessExample.class
    &lt;br&gt;1 in getFile name: oracle\j2ee\ws_example\StatelessExample.java
    &lt;br&gt;error: error message &apos;class.format&apos; not found&lt;br&gt;binar
    y class definition not found: oracle.j2ee.ws_example.StatelessExample
    &lt;br&gt;
    &lt;br&gt;      at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGener
    ator.java:267)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebServi
    ce.java:662)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:76
    7)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    &lt;br&gt;      at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    &lt;br&gt; at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java
    :283)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:2
    69)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util
    .ThreadPoolThread.run(ThreadPoolThread.java:64)
    &lt;br&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
    at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
    at org.apache.soap.rpc.Call.invoke(Call.java:260)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.makeSOAPCallRPC(St
    atelessExampleProxy.java:51)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.helloWorld(Statele
    ssExampleProxy.java:35)
    at StatelessClient.main(StatelessClient.java:8)

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • Running a web services applicatio​n without time-run engine

    Is possible for my clients (without run-time engine) to run my web service aplikation?

    Thanks for all the responses I got,
    Martin, Thank you
    I tried the same advises on my static IP address and it works fine, and very quickly some times, thank you.
    My Appache function well and I test a sample webpage.
    The domain name did not succeed in my network, may be because its a fake one, I do not really know but I already have an active domain but want to use it when the things will work for sure in all the aspects, and finish the tests.
    Your advises were very useful for me.
    But I still get the TCP_Error with timeout, some times, I think, the issue is related to the network now (not sure, but the tests takes long time and I prefere to let you know the development for now) , I'm trying to fix the network, as much as I can to get the perfect performance. But I just wonder about the Listener , may be there is something we need to change, still testing
    Did you tried your applications onsite from multiple workstations at the same time in Oracle XE using your web server?
    Appriciate your help and all other attendants.
    Thanks

  • Which JAR's are required to run a Web Service Proxy?

    Hi,
    I successfully generated a Web Service Proxy, which runs when I start it in JDeveloper. However when I generate a JAR with all classe files, and try to start the main class of this JAR I get the following error:
    java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
    Which additional JAR's do I need to run the Web Service Proxy outside JDeveloper.
    Note, that I have JRE 1.4 and not 5!
    Thanks for hints Thomas

    Hi,
    the class is part of Java EE 5 platform. So you need to run it n that context
    Frank

  • Error when running P6 web services Demo

    Hi All,
    I am trying to run P6 web services demo application, p6 web services server is running, however I get this error when running the demo application:
    org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
    Appreciate if someone can help me to resolve it.
    Thanks in advance

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • Running Simplest Web Service Client

    Hi
    I have made one Ws to open the notepad only using netbeans ide. I have made its java cleint also using netbeans IDE with WSDL URL.
    My tomcat is running at 8080 port.
    If i run the jar fiel of client in command prompt, it is opening the Notepad.
    Nowi have deployed teh Web Service in some other machine's tomcat whichis running at 4040 and one more machine 's tomcat running at 8080 port.
    I have copies the jar fiel of its cleint in somem local directory.
    Now i am running the client jar file in command prompt but it is not opening the Notepad. Even it is not showing any error in command prompt.
    Thanks in advance !

    I narrowed down the problem to the fact that from my webservices impl class, I am trying to call classes and libraries that perform tasks like database calls etc....
    I think that I am not adding these classes or libraries to the jaxws environment as I should. I have ploughed through the documentation, and I noticed the <classpath> tag under <wsimport> which I added to the build.xml file pointing to my specific classes and libraries. Doing this enabled me to build the server sucessfully. However at runtime it throws that NoClassDef exception. Can some one offer some tips on how I can get the my classes to be executed at run time...
    Thanks

  • Calling Web Services form Custom Apps (11.5.7) Forms 6i

    Hi,
    My basic goal is to invoke a .net web service from a custom form. The web service is used to make a charge to a creditcard. I am currently using kind of convoluted method to achieve this. Below are the sequence of steps I do to achieve this
    1) I make a call to concurrent prog (host prog) and wait on the concurrent program to finish.
    2) From the concurrent prog's shell script I run the Java prog
    3) The Java prog invokes the web service and upon successful completion inserts a record into database
    4) In the form I check for the newly inserted record after the concurrent prog completes and treat it as a successful transaction.
    The limitations I have is Oracle 8i database, Forms 6i and EBS 11.5.7. Additionally I need to wait on the web service to complete successfully before I display a message to the user, this was the reason I was using a concurrent prog.
    Any suggestions/ideas to cut short the process is appreciated.
    Thanks,
    Srikanth

    This may seem a bit silly but could you install a 10g/11g database somewhere and then create a plsql package/function on the new rdbms to call the webservice? Then access the function via a dblink? I haven't done it with webservices but we do access plsql programs over dblinks all the time (we usually do keep them at the same rdbms version though).
    Edited by: mcharchu on Jan 8, 2009 8:56 AM

  • Problem in running a web service having Native Method invocation

    Hi guys,
    i am trying a run web service, that is calling some Native Method
    The arguement for the operation is a byte[] and the return type is boolean.
    The web service type i am using is "Documentary-Literal"
    Actually what happend is, whenever i am calling the web service, i didn't get any error or exception, but i didn't get any output too.
    if the code inside the operation is executed properly then, operation should return FALSE, but now it is returning TRUE.
    What may be the problem?
    someone help me..........
    thanx,
    subbu

    Hi guys,
    i am trying a run web service, that is calling some Native Method
    The arguement for the operation is a byte[] and the return type is boolean.
    The web service type i am using is "Documentary-Literal"
    Actually what happend is, whenever i am calling the web service, i didn't get any error or exception, but i didn't get any output too.
    if the code inside the operation is executed properly then, operation should return FALSE, but now it is returning TRUE.
    What may be the problem?
    someone help me..........
    thanx,
    subbu

  • Error while running ABAP web service

    Hi,
    I have WAS 6.4 with ABAP STACK and NetWeaver '04. I created an ABAP web service, it was deployed successfully, but while running it I am getting an error that "Settings for J2EE do not exist".
    Do I need to configure anything to rectify this error....?
    Plz suggest me.
    Thanks,
    Ravindra.

    hello, please i attend too developpe a web service client in java to access to a webservice server PHP, I use axis api, but when i launch my web service client, I receive, all content of the wsdl file from server. please somebody can I help me

  • Error while running 10g web services tutorial

    I am trying to learn and evaluate JDev 10g. I followed the web services tutorial for 10g. In the end when I tried to run the example I get the following error. Any help will be appreciated. Thanks.
    PS: I am also seeing this error in the message pane for the embedded server "Source Files\JDeveloper\j2ee\home\oc4j.jar;C:\Program does not exist."
    C:\Program Files\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JavaWebService\Model\classes;C:\Program Files\JDeveloper\jdev\lib\jdev-rt.jar;C:\Program Files\JDeveloper\jdev\lib\jdev-rt.jar;C:\Program Files\JDeveloper\soap\lib\soap.jar;C:\Program Files\JDeveloper\lib\xmlparserv2.jar;C:\Program Files\JDeveloper\jlib\javax-ssl-1_2.jar;C:\Program Files\JDeveloper\jlib\jssl-1_2.jar;C:\Program Files\JDeveloper\j2ee\home\lib\activation.jar;C:\Program Files\JDeveloper\j2ee\home\lib\mail.jar;C:\Program Files\JDeveloper\j2ee\home\lib\http_client.jar webservtest.EmbeddedMyPersonWSStub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;Servlet error: Cannot generate Class: &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
         at org.apache.soap.rpc.Call.invoke(Call.java:268)
         at webservtest.EmbeddedMyPersonWSStub.sayHello(EmbeddedMyPersonWSStub.java:175) at webservtest.EmbeddedMyPersonWSStub.main(EmbeddedMyPersonWSStub.java:40)
    Process exited with exit code 0.

    Hi,
    Unfortunately, your web service is failing at runtime because JDeveloper (and more specifically, the embedded OC4J) is installed in a directory whose path contains a space character. If you move JDeveloper from "Program Files" to another directory, perhaps "Program_Files", then it'll all go smoothly.
    Apologies if this causes you inconvenience.
    Regards,
    Alan.

  • Calling a Web Service Through Custom iView

    Hi All,
    I have to create a Custom iView that would call a Web Service that is available over internet. This web service returns data in form of an XML file and have to display this file.
    It means that I have to create a Portal Application and call web service in that application and parse the XML file that this web service returns and finally display the parsed XML file in an iView.
    Can anybody please help me on this?
    Thanks,
    Vivek

    Hi Vivek,,,
    To consume the webservice u need to start with getting the wsdl of it..
    these links nd easy to follow weblogs are kool ..,
    check out
    BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP
    Accessing an External Web Services in Portal
    Developing single document WSDL to schedule a web service
    The specified item was not found.
    http://help.sap.com/saphelp_bw33/helpdata/en/68/d4623c046a9b67e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/81/12703e5da3e946e10000000a114084/content.htm
    Cheers..,
    Swathi
    Do offer pts nd ncourge:-)
    ping ur mailid will give u screenshot tutorial on this ..

  • Standard Web Service and Customized Web Services with or without PI?

    Hi All,
    I want to know how I can use Standard Web Service available in SAP  and customized Web Services
    without PI Interface?
    And what is the best practice to expose services ,via PI Interface or directly?
    Thanks in advance!!
    Pushkar

    This is purely based on your requirement. If you use PI middleware to expose web services, you get standard functionalities such as certificate authentication, logging, message reprocessing for the failed messages etc.  If your requirement is so simple, then you might not need PI. In this case you can develop simple webdynpro for abap program to create webservice and expose the webservice in ECC webservice runtime. You can let anyone to consume within your network. other ways like exposing BAPI/RFC as webservice.  I would recommend going with PI.

  • Erorr calling long running sync web service

    Hello
    I have definied simple async process:
    assign (from process input to ws invoke input)
    sync ws invoke
    assign (from ws invoke output to process output)
    Sync Web Service is long running (few minutes). In order to avoid timeout I have accordingly set sync-max-wait-time property.
    I have observed that after starting process instance I can't see it in BPEL Console (however I know it is working). Furthermore when invoke activity ends (so instance state must be saved in database) I can see following error on system console:
    <BaseCubeSessionBean::logError> Error while invoking bean "delivery": Cannot ins
    ert audit trail.
    The process domain was unable to insert the current log entries for the instance
    "2314" to the audit trail table. The exception reported is: RollbackException:
    The transaction has been marked for rollback (timed out)
    Please check that the machine hosting the datasource is physically connected to
    the network. Otherwise, check that the datasource connection parameters (user/p
    assword) is currently valid.
    sql statement: INSERT INTO audit_trail ( cikey, domain_ref, count_id, log ) VALU
    ES ( ?, ?, ?, ? )
    <2005-01-06 13:14:10,268> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseSc
    heduledWorker::process> Failed to handle dispatch message invoke instance messag
    e 0c92305db480f36d:149b290:10147dc1b2e:-7fd6 ... exception Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.
    engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Transac
    tion was rolled back: timed out; nested exception is: java.rmi.RemoteException:
    No Exception - originate from:java.lang.Exception: No Exception - originate from
    :; nested exception is:
    java.lang.Exception: No Exception - originate from:
    Best Regards

    Hi,
    There are 2 ways to work around the error that you are seeing.
    Option #1: increase the JTA timeout of the underlying application server.
    Option #2: in the bpel.xml of your process, add a "nonBlockingInvoke" property to the partnerLink representing the interaction with the long running service.
    Option #2 should also address the fact that the instance is not visible in the bpel console.
    Edwin

  • XML/Web Service Load into Delta queue

    Hello,
    What is the mechanism to push an XML file into the BW delta queue for use by an XML/SOAP or Web service based datasource? There is no XI in the picture so the XI based how/to papers are not germane to this question. The HOWTO paper on XML load has a script for loading an XML file but it errors out on creation of the Activex object, plus it needs XML parser etc. Is there an SAP approved way of routinely loading XML files into the delta queue versus some test script?

    This can be done in BW.
    Try the links given below, also there is a How to document available from SAP on this.
    http://help.sap.com/saphelp_bw33/helpdata/en/9f/9b8f3c855f0454e10000000a11405a/content.htm
    http://www.sapteched.com/presentations/session.asp?sid=140
    Thanks.

Maybe you are looking for

  • Wrong House Bank defaulted in tx. F110

    Hi Everyone, So here is a weird issue I am facing.  I went live last monday with ECC 6.0.  AP has been implemented as standard as it gets.  I am running tx. F110 to pay four invoices, from four different vendors.  Check lot "1" has been properly crea

  • Hyperlink in MS Word document to Oracle Portal 9.0.4 form does not work

    Hi, In a MS Word document a link to a Oracle Portal 9.0.4 form is written this way: http://myserver/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=47602092358 When clicking on the link, and at the same time holding the Ctrl-

  • Can Connect To Server With Apple Mail?

    Hey All, I've had my OS X Server running as a mail server for a few months now and things have been pretty sweet. My local clients have been using Mail.app to access their mail and Squirrelmail for when they are out of the office. My question is, som

  • /etc/iftab not being respected

    Hi all, I'm running an up-to-date Arch Linux on my server which has two gigabit Ethernet ports. I have my /etc/iftab as follows: eth0 mac 00:1d:7d:96:f8:dd eth1 mac 64:70:02:10:55:41 However, ifconfig -a tells me that the interfaces are the opposite

  • ITunes will not authorize a particular  song - weird alert

    I have just bought legally the Beatles album Abbey Road  on iTunes and can play every song except: You Never Give Me Your Money Whenever I click on it, up comes this alert: But putting in my Apple ID and password doesnt do anything but tell me that t