Web service queuing
I write java web services under axis and tomcat.
I want to maintain two queues for the incoming requests to a web service so as
to be able to decide what to do in my web service depending on which queue holds a request to it.
Any ideas on how to implement the queues?
Help appreciated.
Did you have a look at UMS ? UMS provides two interfaces: XML Document, and URI Query string. We gave a video demo of this on GlassFish TV a few months back -- if you to just have a look -- browse here .
If you need something else, please clarify so we can help you further.
-- Ed
Edited by: ebratt on May 21, 2009 7:43 AM
(sorry cr saved instead of adding the link)
Similar Messages
-
Weblogic queues each request from Web Services client
Hello everyone,
Currently, I have a performance issue deploying a web services application on Weblogic 11g Patch1 (10.3.2).
There are 40 clients which consume Web Services. After Weblogic queues each requests (40 requests) which takes about 2 or 3 minutes, then it starts to process the request (i.e. try to connect AuotVue Server with a servlet called VueServlet).
I also found that during the process of queuing, even I ping the VueServlet or Web Services WSDL file in IE, it will take a long time to response.
Look like all the weblogic resource is used to receive the requests and no resource is available for VueServlet.
The problem happens when I deploy WS on windows 2003 server which is VMware machine with 3G RAM, and it doesn't happen when I deploy it on Windows 2008 server with 4 G RAM and duo cpu.
Any help will be appreciated.
Thank you very much.
SongMaybe there are some problems with WebLogic and Windows 2003. See also this thread Oracle HTTP Server (OHS) Installation Problem on Win 2003 Server SP2
I think it would be handy if you file a support request. -
Hi @ll
I try to define a specific jms response queue for a web service client that communicates SOAP/jms, running on a WLS 9.2. The web service itself runs also on a WLS 9.2 where also the request and response queues are located. By default the client receives the responses from a temporary response queue. Is there a way to define a specific response queue e.g. setting the JMSReplyTo property in the request on the client side?
/cheers&greetz
DaniWLS do not have a light SOAP client with callbacks yet. It is
not a planed feature for 7.0, but we will considering this for
post 7.0.
regards,
-manoj
"markhu" <[email protected]> wrote in message
news:[email protected]..
Hi, guys:
I have a system : client written in Java/Swing, HTTPS authentication,
and then subscribes to a WLS 61. SP2 based JMS Topic and also has the
ability to send message to a Queue, since I can not bring down the size of
the client side WLS JMS dependency lib, I am thinking about using SOAP /
web service as the communication tier between my client and server, so the
question is: since the client need get the price updates in a real time
mode, I need build a server side based PUSH for all the new price updates
which come into the JMS Topic, and broadcast as SOAP messages to client,is
this mean that I have to build the Call - Back for the Java Swing Client,so
it can automatically get the new price updates as it's getting from JMS
Topic now ? Any Idea on how to build server side PUSH based SOAP message
center as web service ?? Thanks a lot.
regards,
mark
FYI:
I need the same PUSH service for my .NET based client as well. -
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. -
Web service which listens/replies over JMS Queues/Topics - HOW?
Hi all,
I need help - I have to implement the following Web Service for Weblogic 8.1:
- Simple Helloworld operation
- The Web service should listen on a Queue(or Topic) - say Queue1
- The response of the service should be put in another queue - predefined - say Queue2(or taken as propetry of the request "ReplyTO")
I looked for such an implementation in the available examples and forum topics, but without luck.
Please, give an example or a guide how to implement such a service if possible!
Thanks,
IvoHi,
I have a work around to this problem please see if it suits you or you might already be knowing it.
Workaround is
1. Create a Simple Webservice as needed which puts a message in a Queue.
2. Create an MDB which listens to you Queue / Topic and call the created webserivce in the onMessage function of the MDB.
Vivek -
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 ?
thanksHi 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 -
Hi,
I am using Service Invocation Framework to raise business event and call the external web services. The web service is called and we got the synchronous response back to EBS into a inbound agent WF_WS_JMS_IN.
Once the message is received here then I want to grab it and process further in my PL/SQL and update into the staging tables.
Could you please guide me how I can achieve this?
Regards
KhaleelHi;
Please check below which could be helpful for your issue:
How To Troubleshoot Service Invocation Framework(SIF) In 12.1.1 Integrated SOA Gateway (Doc ID 736404.1)
Regard
Helios -
I have a web service that I am trying to use an MDB with.
I have a web service where I request using soapUI, and the the response from the soapUI that I get is correct. However, in addition to this "regular" program flow, I am sending data to a queue where 2 things should happen:
1. my message should get put in that queue....(not a problem I think, it's says it can connect and send to this one)
2. a MDB should get triggered, but isn't, and the MDB should start it's own program flow after this.
this is the basics as to what is happening in my program, and I get this error below on the end of the output. so would anyone have any theories as to what might be wrong?
ApplicationDispatcher[] Servlet.service() for servlet HandlePrecompiledJsp threw exception
com.sun.enterprise.tools.guiframework.exception.FrameworkException: Unabled to handle pre-compiled JSP '/jsp/LogDetail.jsp'. Expected pre-compiled classname: 'org.apache.jsp.jsp.LogDetail_jsp'.
at com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:316)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:192)
at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
Caused by: javax.servlet.ServletException: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'beginDisplay' event for 'LogDetail'.
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
at org.apache.jsp.jsp.LogDetail_jsp._jspService(LogDetail_jsp.java:126)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:57)
... 67 more
LavanyaYou cannot gift to another country at all.
-
'Payload not Serializable' with custom WSDL data types in message-style web service
I'm implementing a message-style web service which publishes to a JMS Queue.
I had the web service built and deployed, but noticed that the "sendRequest" message's
part was of type "xsd:anyType." This is not specific enough for our interface,
since it is externally facing and needs to describe the object we're expecting
on the back end.
So I replaced xsd:anyType with mynamespace:MyType, which is defined as a complex
type in the same WSDL document.
My problem is that when I test the web service with the new WSDL (using the client.jar),
I get a server-side exception from the DestinationSendAdapter.doPost() method.
The exception reads:
javax.servlet.ServletException: Payload not Serializable
at weblogic.soap.server.servlet.DestinationSendAdapter.doPost(DestinationSendAdapter.java:129)
The domain object ('classic' JavaBean) that it should map to on the server side
extends a class that implements Serializable, so it should inherit the trait.
So my questions are:
1) Did I properly go about trying to restrict the object type that gets sent to
my Destination?
2) If no, what is the correct way? If yes, why am I receiving the Payload not
Serializable error if the domain object implements Serializable?
Thanks in advance.Resolved:
Apparently this is the right approach, as it boiled down to a classpath issue
on the client-side. Thanks anyway. -
How to create a Web Service in ABAP 4.7E
Dear Experts,
We are on SAP R/3 4.7E. Can anybody tell me what are the Pre-requisites or steps to exposed an existing BAPI / RFC's as Web Services. Kindly explain me in detailed. or if any link is available.
Regards,
UmeshHi Umesh,,
Follow these Steps:--- They may help you...
+Configuring Web Service Security in AS-ABAP
Use
To configure Web service security in SAP NetWeaver usage type AS-ABAP, you have to do the following:
· Configure the RFC destination for the Web service security services
· Configure the logical port for the Web service security services
Configuring the RFC Destination
Perform the following steps to configure the RFC destination for the Web service security services:
1. Use transaction SM59 to create a new RFC destination of type HTTP Connections to Ext. Server.
2. Specify connection type G and enter an arbitrary description.
3. Specify the following technical settings:
¡ Target Host: Host name of the Integration Server (AS-Java)
¡ Service No.: Port number of the Integration Server (AS-Java)
¡ Path Prefix: Path prefix of the Integration Server (AS-Java)
Depending on the logon procedure or security settings you are going to specify in Step 4, you must set the path prefix as follows:
§ If the logon procedure is Basic Authentication and the SSL option is inactive, enter the path prefix /wssproc/plain?style=document.
§ If the logon procedure is Basic Authentication or Send SAP logon ticket, and the SSL option is active, enter the path prefix /wssproc/ssl?style=document.
§ If the logon procedure is SSL Client Certificate or Send SAP logon ticket, and the SSL option is active, enter the path prefix /wssproc/cert?style=document.
4. Select the logon/security settings that correspond to the path prefix specified in Step3..
Configuring the Logical Port
Perform the following steps to configure the logical port for the Web service security services:
1. Use transaction LPCONFIG to configure the logical port by specifying the following attributes.
Settings for the Logical Port:
Attribute
Value
Proxy class
CO_WSSEWSSPROCESSOR_VI_DOCUMEN
Logical port
BASIC
Description
Any description
Default port
Select the check box
Runtime
Select Web Service Infrastructure
Call parameter: HTTP Destination
Enter the RFC destination you configured above
2. Save and activate the logical port.+
+Wizard-Based Basic Configuration
After full installation and before manual configuration, you can run the wizard-based basic configuration for SAP NetWeaver usage type PI. The configuration wizard saves you time and manual steps.
Only carry out the wizard-based configuration if your system has never been configured before. If you have modified the system already or if you have upgraded from an older release, do not use the configuration wizard. Instead, use the manual steps as required.
To carry out the wizard-based configuration steps required for your PI system, perform the following steps:
1. Call the wizard-based configuration tool as described in Configuration Wizard.
2. Select the scenario PI and the task PIPostInstallProcess.
3. Choose Execute.
A list of the steps to be executed by the wizard is displayed.
4. Choose Install.
The steps are executed one after the other (some steps may take some time).
The wizard-based configuration for usage type PI performs the following post-installation steps:
● Checking sap.com services
● Performing automatic customizing
● Assigning application roles to user groups
● Maintaining a product for the technical system
● Maintaining a business system for the Integration Server
● Creating RFC destinations in the ABAP environment
● Creating RFC destinations in the ABAP and Java environments
● Creating the HTTP destination pmistore
● Configuring the role of the Integration Server
● Registering queues used by the Integration Server
● Triggering the Self-Registration of the Adapter Engine
If you do not want to use the configuration wizard to perform the basic configuration steps required for usage type PI, you have to carry out these steps manually as outlined in the step descriptions you access by following the hyperlinks above.
Afterwards, perform the following checks:
Ensure that
See
You have installed the XI add-on in each involved business system that is based on SAP Web Application Server (AS) 6.20.
Use SAP Web AS 6.20 kernel patch level 1253 if you want to generate new ABAP proxies in your business systems based on SAP Web AS 6.20.
SAP Note 439915; if you generate ABAP proxies, see SAP Notes 675441 and 721160.
You have imported the content of software component SAP_BASIS into the Integration Repository (interfaces, mappings, and so on).
For more information, see Importing Process Integration Content.
The connection between the Integration Server and the SLD has been established by calling transaction SLDCHECK.
The system displays a log that lists the current configuration data, the function test results, errors, and notes for checking.
Installation Guide SAP NetWeaver 2004s on SAP Service Marketplace at service.sap.com/installNW2004s.
SAP System Landscape Directory
System Landscape Directory in SAP Exchange Infrastructure.
If you want to use a central SLD, further manual steps are required. For more information, see SAP Note 939592.
If you want to use an Integration Server client other than 001, further manual steps are required. For more information, see SAP Note 940309.
+
+Optional Additional Configuration Steps
The following additional configuration steps are optional:
· Configuring the Change Management Service (CMS)
· Configuring message archiving for the Adapter Engine
· Configuring the Integration Builder documentation editor
+
And then you may goto Link->:http://help.sap.com/saphelp_nw04s/helpdata/en/b8/cb1141e109ef6fe10000000a1550b0/frameset.htm
This will give you complete description ...
"Plz Dnt forget to reward points"</b></u>
Regards,
Mandeep. -
Error in calling External web service from soa suite 11.1.1.3
Hi
I am getting following error while calling external web service......
####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.integration.platform> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <SOA-20136> <WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException>
####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <BEA-000000> < Payload after BaseActionHander.requestMessage :{parameters=oracle.xml.parser.v2.XMLElement@bd2382}>
####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866063> <BEA-000000> < Properties after BaseActionHander.requestMessage :{ReferenceInstance=[email protected]63ea5,
####<Jan 20, 2011 6:54:29 PM IST> <Error> <oracle.webservices.service> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529869375> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.fabric.common.FabricInvocationException.>
I am able to hit external ws from soap ui and getting response but while calling from soa suite getting this error.
Any clues?
Thanks
VibhorWS Binding: exception durign SOAP invocation: java.util.NoSuchElementException
Looks like the error is in the data sent to or expected from the service in your composite. Check that audit logs and composite flow to make sure your soap message when using soapui matches what you are working with in soa suite. -
Error while calling SPML web service call in OIM 11g
Hi,
While testing the SPML web service call, I am getting the "failure in security check" errors.
And I have attached the request and responce .
Request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:ns1="urn:names:spml:ws:header">
<ns1:ServiceHeader>
<ns1:serviceId/>
</ns1:ServiceHeader>
<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>xelsysadm</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXXXX</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body xmlns:ns2="http://xmlns.oracle.com/idm/identity/spmlv2custom/Username">
<ns2:validateUsernameRequest xmlns:ns3="urn:oasis:names:tc:SPML:2:0" requestID="12345" executionMode="synchronous" locale="en" policyURI="http://www.sample.com/string/string">
<ns2:capabilityData mustUnderstand="true" capabilityURI="urn:oasis:names:tc:SPML:2:0:reference"/>
<ns2:username>TCS1000</ns2:username>
</ns2:validateUsernameRequest>
</soap:Body>
</soap:Envelope
Response:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>ns0:FailedCheck</faultcode>
<faultstring>FailedCheck : failure in security check</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
I have attached the log file from OIM
####<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-0000000000000838> <1335450433058> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>
####<Apr 26, 2012 10:27:13 AM EDT> <Notice> <Stdout> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-000000000000083d> <1335450433058> <BEA-000000> <<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>>
Please help me how to solve this issue.
Thanks in advance
SivaYour business logic has to be implemented by using OIM APIS. oimclient.jar..
you can then expose these business functions accordingly using a webservice or rest ...
for business logic refer:-
http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/apis.htm#OMDEV734
You will basicsally have to deal with UserManager class for managing users.
java API:
http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm -
Hi, every one:
Here's my question of my day - >>>
I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K, and
I got a web service up and running called Price Update web service through
which user can pick up a price and push a deal to another web service
called: deal service, the deal service will take the user deal and book the
deal ( sending a JMS message to a Queue, a MD will pick up and do the work,
then send the confirmation to another JMS Queue ), then the confirmation
will be picked up and sent to another web service , called: User Deal
Confirmation Service, here's the question:
1. Since the client application is only allowed to see its own confirmed
deals, how I can make the confirmed deal encrypted based on a server
generated key or the session id that client application provides
2. Now, I have 3 webservices: update, deal and confirm, each of them has a
client.jar file available - from the client application point of view, do I
need all these 3 client.jar, or I just need one of them ?????
3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
beta, you can do this easily in the workshop, in the second question above,
I think I need some how relate the confirmation to the client conversation
id ??
thanks a lot for the input, have a nice day.
regards,
mark.Any comments ?
mark
"markhu" <[email protected]> wrote in message
news:[email protected]..
Hi, every one:
Here's my question of my day - >>>
I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K,and
I got a web service up and running called Price Update web service through
which user can pick up a price and push a deal to another web service
called: deal service, the deal service will take the user deal and bookthe
deal ( sending a JMS message to a Queue, a MD will pick up and do thework,
then send the confirmation to another JMS Queue ), then the confirmation
will be picked up and sent to another web service , called: User Deal
Confirmation Service, here's the question:
1. Since the client application is only allowed to see its own confirmed
deals, how I can make the confirmed deal encrypted based on a server
generated key or the session id that client application provides
2. Now, I have 3 webservices: update, deal and confirm, each of them has a
client.jar file available - from the client application point of view, doI
need all these 3 client.jar, or I just need one of them ?????
3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
beta, you can do this easily in the workshop, in the second questionabove,
I think I need some how relate the confirmation to the client conversation
id ??
thanks a lot for the input, have a nice day.
regards,
mark. -
Call a Web Service from JavaFX running als WebStart or embed in a Browser
Calling a Web Service from a JavaFX running as a application all is fine.
Wenn run the same JavaFX as WebStart or Browser embed I get a runtime exception:
=================================
Java-Plug-in 10.7.2.10
JRE-Version verwenden 1.7.0_07-b10 Java HotSpot(TM) Client VM
Benutzer-Home-Verzeichnis = C:\Users\Olaf
c: Konsolenfenster löschen
f: Objekte in Finalisierungs-Queue finalisieren
g: Garbage Collect
h: Diese Hilfemeldung anzeigen
l: Class Loader-Liste ausgeben
m: Speicherauslastung drucken
o: Logging auslösen
q: Konsole ausblenden
r: Policy-Konfiguration neu laden
s: System- und Deployment-Eigenschaften ausgeben
t: Threadliste ausgeben
v: Thread-Stack ausgeben
x: Class Loader-Cache leeren
0-5: Trace-Ebene auf <n> setzen
Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_07
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files (x86)\Java\jre7\bin\javaw.exe
args is:
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.0 found at C:\Program Files (x86)\Java\jre7\
enabled is: true
registered is: false
system is: true
Match: ignoring maxHeap: -1
Match: ignoring InitHeap: -1
Match: digesting vmargs: null
Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
Match: digest LaunchDesc: file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jnlp
Match: digest properties: []
Match: JVM args: [JVMParameters: isSecure: true, args: ]
Match: endTraversal ..
Match: JVM args final:
Match: Running JREInfo Version match: 1.7.0.07 == 1.7.0.07
Match: Running JVM args match: have:<> satisfy want:<>
CacheEntry[file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jar]: updateAvailable=true,lastModified=Tue Sep 04 21:16:35 CEST 2012,length=39432
java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at javafxapplication4.ws.NewWebService_Service.<init>(NewWebService_Service.java:42)
at javafxapplication4.JavaFXApplication4.start(JavaFXApplication4.java:25)
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:131)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:67)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "xml.catalog.ignoreMissing" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.sun.org.apache.xml.internal.resolver.CatalogManager.<init>(Unknown Source)
at com.sun.org.apache.xml.internal.resolver.CatalogManager.<clinit>(Unknown Source)
... 14 more
======================================================
Any hint for me.
thx
OlafSign your application.
http://docs.oracle.com/javafx/2/deployment/deploy_overview.htm#CEGJGHDA -
Error While configuring PeopleSoft Listener Web Service in new OIM setup
Hello,
setup 1: I've an existing OIM 9102 BP15 install with JBOSS server. PeopleSoft Listener Web Service is setup on this environment to read Change-Based Reconciliation.
setup 2: I installed a parallel OIM 9102 BP15 with Weblogic server pointing to the same database (as with JBOSS) when JBOSS was down. This a new parallel environment to JBOSS and works alright. However, when i tried accessing the endpoint URL after successfully deploying the same peopleSoftUserMgmt.war into weblogic...(updated xlclient.properties - all other configuration remained the same)
i see below error:
####<Mar 20, 2012 3:21:34 PM PDT> <Error> <HTTP> <my-hostname> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e24a8026bbd689e0:f44fe7f:136322f4b1e:-8000-000000000000002e> <1332282094570> <BEA-101017> <[ServletContext@321747825[app:peopleSoftUserMgmt module:peopleSoftUserMgmt.war path:/peopleSoftUserMgmt spec-version:null]] Root cause of ServletException.
javax.servlet.ServletException: Error initializing reconciliation
at Com.thortech.xl.Integration.peoplesoft.PeopleSoftAction.initializeRecon(Unknown Source)
at Com.thortech.xl.Integration.peoplesoft.PeopleSoftAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Any pointer to resolution?
Thanks,Does it means that
1) deploy peopleSoftUserMgmt.war as a application file through Weblogic console (Deployments -> install -> upload files -> .....).
2) Then go to deployed folder (which folder?? ..../Oracle/Middleware/user_projects/domains/oim_domain/servers/OIM_SERVER1/stage/peopleSoftUserMgmt/peopleSoftUserMgmt.war) and manually replace the folder content with separately exploded peopleSoftUserMgmt.war/ folder ?
thanks,
Maybe you are looking for
-
Create AP/AR line item report for parked items
Dear all, Has anyone been able to create a line item report in AP or AR that includes parked items? I have created an aging report using standard 0SAPDUEAN-01 as a base, using report painter. Now the Finance department want to be able to see the numb
-
Problem with public pages having PL/SQL portlets
I am having problem with a public page which has PL/SQL portlets. When I try to access that page without doing login, it displays everything but the portlets which are database driven. Is this the way this public page should behave? Is there anyway b
-
InDesign cs6 and cscc compatiblity issues
I packaged my Indesign CC document and sent it to printers. I then saved same document as itml as they only had CS6. When they opened it, and linked it to the files in the package, we had two problems - one where a totally wrong picture was placed,
-
Does RMI support the use of UDP?
Hi, I'm writing a publication and I need a verifiable resource (i.e. a web document written by the people at Sun) that indicates definitively whether RMI is capable of supporting UDP. I've been searching the forums and came across some dissonant info
-
How to exit the program using AS3??
Hi guys , i'm trying to use a button to exit the program. anyone knows which code to use?