Web services and Sessions
HelloIs it possible to maintain a session on the server for the duration of a series of web service for an individual consumer requests?
What I want to do, it is something like this:
1. the consumer to invoke the Web service with a name of user and password combination in the SOAP header.
2. the web service authenticates the user on the database and inserts a session id in the SOAP header.
3. the consumer makes another call to the webservice for some data, and if the session id matches the session stored on the server, the web service returns data for this and all subsequent applications that have the id correct session stored in the SOAP header.
Does anyone know if there is any way I can do this or do I must write the data to a database and the text for each call?
The first links of Google when I searched for the service coldfusion web
cookies.
http://tjordahl.blogspot.com/2006/06/how-to-set-cookies-in-ColdFusion-SOAP.html
http://tjordahl.blogspot.com/2006/06/how-to-get-Web-service-response.html
Tags: ColdFusion
Similar Questions
-
How to enable web services and search for printer email address
I am trying to sign up for the monthly INK from HP. As part of the application, they ask me a CODE. However, I can't CODE because I am advised that my Web services are not enabled. How to enable Web services so that I can complete my application? Thanks for any help you can offer me.
Hello
What model of printer you have?
Assuming your eprint-enabled printer, please follow the steps below to connect to web services and get your email from the printer.
To find printers e-mail you need to enable web services from the front panel of the printer. It is normally a button on the front panel or an option in a menu.
The printer will be connected to your WiFI network, and once the device is activated, it should display a page with a code composed of letters and numbers. It is the e-mail address of printers (when you add a @hpeprint.com to it).
Once you have this, go ahead and configure a connected HP account and register the printer to your account. This will allow you to manage settings of the ePrint printer but also to track the history of the work.
-
The consumption of web services and paging data.
Hi all
I am building an ADF application where I need to make web service calls to two different external systems. Each of them say return 50 records. On the user interface, I want to display 10 records at a time. Also, I need check duplicate records.
What is the best approach in this case. Will I call the web services and generate the data in a temporary table and ADF - BC allows to display these data on the user interface. In this case set the data of a given user will be a challenge. Or will I programatically create 100 your and use them to display data on the UI (tabular) with paging option.
Help, please!
Yes, the pagination of POJO would be appropriate.
-
How to connect to an Adobe Javascript(Folder Level Script) SAP Web Service and retrieve the response in a table of the Adobe Javascript/AcroJS. Could you please it explain with an example. I have two required input parameters that must be filled.
I s generic SOAP example/tutorial on my blog: get a serial number in a form using SOAP - KHKonsulting LLC
The web service uses only a single parameter, but you should be able to adapt the code to two arguments without problems.
-
Basic authentication with the RESTful WEb service and a Web Service reference
Hi all
We have made significant progress on getting an application to work with RESTful web services, but are now trying to understand how to lock a RESTful Web service while making it available for a particular application.
We use one of the 'emp' table sample web services come with Apex 4.2 and are trying to apply the Basic Auth to the WEb Service using Weblogic filter defined in the web.xml file. Which works very well. I now get challenged when I try to go to:
https://wlogic.edu/Apex/BNR/ACE/HR/empinfo/
And when I authenticate this challenge, I am able to get the data. (we are usiing the Weblogic-level LDAP authentication)
However, I'm not sure how to get even basic authentication to work with Web Service reference in my application. I see the error message in the application when I try to call this Web Service:
401 Unauthorized <
And I see:
"The request requires user authentication. It MUST contain a header field WWW-Authenticate (section 14.46) containing a fault that is applicable to the requested resource. The client MAY repeat the request with a suitable authorization (section 14.8) header field. If the request already includes identification of the authorization information»
How can I provide the credentials in the Web reference or provide credentials in the Application?
Web service works fine if I remove the auth basic RESTful web service in the Web.xml file.
We should NOT use basic auth and auth Weblogic web service definition basic RESTful Workspace use instead. If so, how would we implement THIS basic authentication in the definition of Web Service and the Web SErvice reference on the application?
Thank you
PatHello Scott,
Thank you. There is a function for rest in the package:
function make_rest_request( -- -- This function invokes a RESTful Web service with the supplied name value pairs, body clob, or body blob -- the response as an clob. -- -- Arguments: -- p_url The url endpoint of the Web service -- p_http_method The HTTP Method to use, PUT, POST, GET, HEAD or DELETE -- p_username The username if basic authentication is required for this service -- p_password The password if basic authentication is required for this service -- p_proxy_override The proxy to use for the request -- p_body The HTTP payload to be sent as clob -- p_body_blob The HTTP payload to be sent as binary blob (ex., posting a file) -- p_parm_name The name of the parameters to be used in name/value pairs -- p_parm_value The value of the paramters to be used in name/value pairs -- p_wallet_path The filesystem path to a wallet if request is https -- ex., file:/usr/home/oracle/WALLETS -- p_wallet_pwd The password to access the wallet -- p_url in varchar2, p_http_method in varchar2, p_username in varchar2 default null, p_password in varchar2 default null, p_proxy_override in varchar2 default null, p_transfer_timeout in number default 180, p_body in clob default empty_clob(), p_body_blob in blob default empty_blob(), p_parm_name in wwv_flow_global.vc_arr2 default empty_vc_arr, p_parm_value in wwv_flow_global.vc_arr2 default empty_vc_arr, p_wallet_path in varchar2 default null, p_wallet_pwd in varchar2 default null ) return clob;
My point was that using the API makes things easier if you have to look for a solution.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
http://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
Web services and wsdl for beginners
Hi I wonder if someone could you help me , I need a guide on the way to create , consume et publish a web services and wsdl in jboss for beginners using the tools of eclipse or netbeans.
Thank you very muchWeb services based on Java works very well (such as those created in other languages), and I find the JBoss Eclipse pretty easy to use tools. If you use the LiveCycle ES Server products, you can create a workflow and that using a breakpoint web service expose as well.
As you build on the reverse for a PDF form I would say maintaining literal web services (as opposed to the PRC). You can keep to simple object types as well (string, int, etc.), because it will facilitate the binding.
-
Make Image more using the Web Service and Ksoap2
Hey all, I was wondering if someone can help me with a problem. I use a .net web service that grows on a collection of person objects when a person runs a query from the blackberry phone. To implement this I'm using ksoap2. In my service, I'll send in a string as a parameter. I returned the collection of people that contain the firstname, lastname, address, race, sex. I also try to send a picture. Now, I got this works very well when you do not include the image settings. In my class on the side of .net in person my class, I have 'image' public property which is a string. I get the bytes of the image and convert it to a base 64 string:
MemoryStream ms = new MemoryStream();
System.Drawing.Bitmap.bmp = new System.Drawing.Bitmap (imagePath);
BMP. Record (MS, System.Drawing.Imaging.ImageFormat.Bmp);
p.Image = Convert.ToBase64String (ms, GetBuffer());
BMP. Dispose();
Mrs. Close();
Note: in my outings, I see the 64Encoding string.
On the side of blackberry, I have:
Byte [] imageArray = ((person) personVector.elementAt (i)).image.getBytes ();
EncodedImage = bitmap
EncodedImage.createEncodedImage (imageArray, 0, imageArray.length);
gridMgr.add (new BitmapField (bitmap.getBitmap ());
Unfortunately, my number of vector appears as empty and I keep get get a parse error. As I mentioned before, if I remove ownership of the Image on both sides, it works like a charm. I tried to use just about everything. Any ideas on how to overcome the image using ksoap? I tried to make the image property in the two classes as arrays of bytes, but he had no success. My problem when you use the byte array was in the class of person on the side of the blackberry for the PropertyInfo, that I didn't know what to use (for example STRING_CLASS, OBJECT_CLASS, LONG_CLASS); in any case, neither worked. What do you suggest me?
I was able to do successfully the bytes of the image the device in the following way in my seriealize class.
In the getProperty method, I use the following:
info.type = MarshalBase64.BYTE_ARRAY_CLASS;
-
read Web service and display it in a gridview
Hi, I am using widgets with plugin .net. I have a wan to make a grid and fill it with the Web service data. A few examples? How can I do?
Thank you, Oscar
Here are some of the threads I found by doing a search on the forums for "web service":
http://supportforums.BlackBerry.com/T5/Web-development/Web-service-parameter/m-p/421999
http://supportforums.BlackBerry.com/T5/Web-development/using-Web-services-in-widgets/Ta-p/503194
-
OfficeJet 7310 all-in-One: activate the Web Services and printing of Tablet
I can't find a way to enable Web Services on my 7310 all-in-One. It is connected by wire to my internet router, and I use the built-in print server. ePrint online information, says this printer is supported. When I go into the ePrintCenter registration page, or when I go into the app on my Android tablet, it won't give me an option to manually enter the printer and can't find the printer on my home network. All this suggests that I should update the firmware of the print server, but I can't find a way to do it. Any help would be welcome.
Ok. I found my own solution, but the documentation is really bad.
The answer is: If you select document, it gives you the choice of the printer on the wireless network, even when not compatible eprint. But who knows? I would have thought to implement a printer first.
-
the RESTful web service and database NoSql.
I configured a database version Oracle NoSQL 3.0.5.
I wrote the below 12 c JDev RestFul web service.
the Rest works well, but when running query (GET) it returns the following error.
I don't know how to correct it. Need help
package store;
import com.hp.hpl.jena.query.Query;
import com.hp.hpl.jena.query.QueryExecution;
import com.hp.hpl.jena.query.QueryExecutionFactory;
import com.hp.hpl.jena.query.QueryFactory;
import com.hp.hpl.jena.query.ResultSet;
import com.hp.hpl.jena.query.ResultSetFormatter;
import com.hp.hpl.jena.query.Syntax;
import com.hp.hpl.jena.rdf.model.Model;Import javax.ws.rs.GET;
Import javax.ws.rs.Path;
Import javax.ws.rs.Produces;Import oracle.kv.impl.api.ops.Get;
Import oracle.rdf.kv.client.jena.OracleModelNoSql;
Import oracle.rdf.kv.client.jena.OracleNoSqlConnection;@Path ("store")
public class StoreResourceHandle {}
public StoreResourceHandle() {}
Super();
}public static String queryStoreNoSQL() {}
String StoreName = "semep;
String HostName = 'localhost ';
String HostPort = "5000";
String szModelName = "http://example.org/Captation";
String ModelName = "http://Repository";
OracleNoSqlConnection conn = OracleNoSqlConnection.createInstance (StoreName, HostPort, HostName);
Model = OracleModelNoSql.createOracleModelNoSql (ModelName, conn);
String szQuery = "SELECT? s? p? o\n +.
"where {\n" +
" { ?s ?p ?o}\n" +
"}";
System.out.println ("Execute query" + szQuery);
Query query = QueryFactory.create (szQuery, Syntax.syntaxARQ);
QueryExecution qexec = QueryExecutionFactory.create (query, model);
ResultSet results = qexec.execSelect ();
String textResults = ResultSetFormatter.asText (results);
qexec. Close();
Model.Close ();
Conn.Dispose ();
Return textResults;
}
@GET
@Produces("text/plain")
public String getStoreQuery() {}
String result = StoreResourceHandle.queryStoreNoSQL ();
System.out.println ("result");
return the result;
}}
[Running the application on IntegratedWebLogicServer StoreResource...]
[21: 45:44] StoreWebApp.war of Module Web recognized in the project Store.jpr
[Another instance of the storeresource application is running on the server. JDeveloper redeploy the application.]
[21: 45:44]-deployment began. ----
[21: 45:44] the target platform's (Weblogic 12.x).
[21: 45:44] recovery of the existing application information
[21: 45:44] analysis of the dependence running...
[21: 45:44] deployment 2 profiles...
[21: 45:44] wrote on the Web for C:\Users\memus\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\StoreResource\StoreWebApp.war application Module
[21: 45:44] wrote the Module Enterprise Application to C:\Users\memus\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\StoreResource
[21: 45:44] application is not transferred
[21: 45:44] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:
[21: 45:44] http://localhost:7101 / StoreResource-store-context-root
[21: 45:44] time to deployment: 1 second
[21: 45:44]-deployment is complete. ----
Run start time: 554 ms.
[Application running on IntegratedWebLogicServer StoreResource]Target application w- http://localhost:7101/StoreResource-Store-context-root/resources/application.wadl
Target URL - http://localhost:7101 / StoreResource-store-context-root/resources/store
< 25 may 2014 21: 45 CEST > < error > < com.sun.jersey.spi.container.ContainerResponse > < BEA-000000 > < exception contained in MappableContainerException could not be mapped to a response, re - throw to the HTTP container
java.lang.NoClassDefFoundError: oracle/rdf/kv/customer/jena/OracleNoSqlConnection
to the store. StoreResourceHandle.queryStoreNoSQL (StoreResourceHandle.java:41)
to the store. StoreResourceHandle.getStoreQuery (StoreResourceHandle.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Truncated. check the log file full stacktrace
>
< 25 may 2014 21: 45 CEST > < error > < HTTP > < BEA-101017 > < [ServletContext@10446167[app:StoreResource module: StoreResource-store-context-spec: null, path root-version: 3.0], request: [ weblogic.servlet.internal.ServletRequestImpl@1e35577
GET StoreResource-Store-context-root/resources/store HTTP/1.1
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10: 00
Accept: text/plain
X HTTPAnalyzer-Rules: 1@localhost:8099Root cause]] of ServletException.
java.lang.NoClassDefFoundError: oracle/rdf/kv/customer/jena/OracleNoSqlConnection
to the store. StoreResourceHandle.queryStoreNoSQL (StoreResourceHandle.java:41)
to the store. StoreResourceHandle.getStoreQuery (StoreResourceHandle.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Truncated. check the log file full stacktrace
>
< 25 may 2014 21: 45 CEST > < opinion > < Diagnostics > < BEA-320068 > < Watch "UncheckedException" in the module "Module-FMWDFW" with severity "Notice" on the server "DefaultServer" triggered on 25 may 2014 21: 45 CEST. Details of the notification:
WatchRuleType: Journal
WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))
WatchData: DATE = may 25, 2014 21: 45 CEST SERVER = DefaultServer MESSAGE = [ServletContext@10446167[app:StoreResource module: StoreResource-store-context-spec: null, path root-version: 3.0], request: [ weblogic.servlet.internal.ServletRequestImpl@1e35577
GET StoreResource-Store-context-root/resources/store HTTP/1.1
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10: 00
Accept: text/plain
X HTTPAnalyzer-Rules: 1@localhost:8099Root cause]] of ServletException.
java.lang.NoClassDefFoundError: oracle/rdf/kv/customer/jena/OracleNoSqlConnection
to the store. StoreResourceHandle.queryStoreNoSQL (StoreResourceHandle.java:41)
to the store. StoreResourceHandle.getStoreQuery (StoreResourceHandle.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
to com.sun.jersey.spi.container.JavaMethodInvokerFactory$ 1.invoke(JavaMethodInvokerFactory.java:60)
to com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ TypeOutInvoker._dispatch (AbstractResourceMethodDispatchProvider.java:185)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at weblogic.jaxrs.server.portable.servlet.ServletContainer.service(ServletContainer.java:218)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.j2ee.ws.server.jaxrs.TenantServletFilter.doFilter(TenantServletFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '1' for the queue: MSGID "(self-adjusting) weblogic.kernel.Default" = BEA - 101017 MACHINE = mustapha TXID = the CONTEXTID = 6a226c0c-6115-47df-833a-8465cd21cc68-0000002f TIMESTAMP = 1401047153802
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
< 25 may 2014 21: 46 CEST > < emergency > < oracle.dfw.incident > < BEA-000000 > < 65 incident created with the key to problem "DFW-99998 [java.lang.NoClassDefFoundError] [oracle.j2ee.ws.server.jaxrs.TenantServletFilter.doFilter] [StoreResource]" >Hi MEMU,.
I have it. And he has deployed in the built-in container. It works very well. Note that I did the following.
(1) change the project properties,
In the libraries and Classpath, I need to add in Classpath entries associated Jena libraries, slf4j, sdordfnosqlclient.jar, kvclient.jar etc.
(2) use the xercesImpl - 2.9.1.jar instead of xercesImpl - 2.10.0. Jdev 12 c appears to use an older version of xerces as bundles of Jena.
Once done the configurations above, I can execute your project without changing Java code.
Here is the result:
[14: 34:08] wrote the Web application Module for /home/alwu/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/UniversalSparqlQuery/queryWebApp.war
[14: 34:09] wrote the Module Enterprise Application to /home/alwu/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/UniversalSparqlQuery
[14: 34:09] Application deployment...
[14: 34:15] Application deployed successfully.
[14: 34:15] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:
[14: 34:15] http://192.168.1.1:7101 / UniversalSparqlQuery-application-context-root
[14: 34:16] for deployment time: 9 seconds
[14: 34:16]-deployment is complete. ----
Run start time: 9573 ms.
[Application running on IntegratedWebLogicServer UniversalSparqlQuery]
Target application w- http://localhost:7101/UniversalSparqlQuery-query-context-root/resources/application.wadl
I went in a universal store
I create the connection to: model
Run the select query
I leave the store: store
I spent in-store universal semep
I create the connection to: http://Repository
Run select select? s? p? o where {? s? p? o}
I leave the store: semep
It will be useful,
Zhe Wu
-
Basic questions about the PL/SQL web services and data source names
Hello
I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).
The following code was generated in the base class for web services:
However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.__dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?
Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?
Thank you
LuisI forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
.
JDBC/ref_name_from_web. XML
JDBC/new_jndi_name
.
And in this way, you will not have to change any code level to point your web service to another connection.Vishal-
-
Native web services and SOAP version.
Hello
I'm hoping to use the functionality of the native web services on the release of 11g 1 as an easy solution to expose certain procedures. On the test it seems to use SOAP version 1.1 by default, anyone know if it is possible to configure/patch to use version 1.2?
I hope someone can help...Sorry, but for now we are limited to 1.1. What 1.2 features are of interest, given the scope of the current application
-
Web services and ADF 11 g - get result from backing bean
I will carry out a backup action bean (Web service call that returns complex data types)
BindingContainer links = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("unesiPonudu");
Object result = operationBinding.execute ();
instance of oracle.adf.model.adapter.dataformat.XMLHandler$ DataCollection result but DataCollection is not accessible.
How to get the results of the method?
TNX,
AndrejaHello
There should be a result iterator in the executable files of the article that cotnains the result. If this isn't the case, create from the result WS entry in the palette of DC. Once this iterator is updated, you get this iterator data as is the case of a table goes backwards
Frank
-
Problem running the report with the Web Service and BI Publisher
Hello
In fact, I'm trying to run a report of Bi Publisher via the Web Service.
I use the following documents:
-http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
-"How to integrate Oracle BI Publisher via Web Services in the form of Oracke.
Everything works fine. But when I try to copy the file on the local computer is 0 length. I use the method of "getReportBytes".
Here's the code I tried with:
String userName = "Administrator";
String password = "Administrator";
System.out.println ("calling" + myPort.getEndpoint ());
System.out.println (myPort.validateLogin (username, Password));
ReportRequest repReq = new ReportRequest();
RepRes ReportResponse = new ReportResponse();
repReq.setAttributeFormat ("pdf");
repReq.setAttributeLocale("en-US");
repReq.setAttributeTemplate ("sales world");
repReq.setReportAbsolutePath ("/ Sales Manager/World Sales/World Sales.xdo");
repRes = myPort.runReport (repReq, userName, passWord);
System.out.println (repRes.getReportContentType ());
Byte [] binaryBytes = repRes.getReportBytes ();
OutputStream out = new FileOutputStream ("D:
out.pdf");
out. Write (binaryBytes);
out. Close();
System.out.println ("success for performance report');
Thanks in advance.Hello
I assume you are using 10.1.3.4. Otherwise, my index is not relevant to you...
There is a new parameter in the web service API to set the size of the segment. HéLas is by default not so, the behavior is as in versions (not size segment... the entire document at once). If you set the size of segment-1, you should get your document. So, try adding
repRequest.setSizeOfDataChunkDownload(-1);concerning
Rainer -
Problems related to vCO Web Services and WaveMaker
Hello guys,.
It has been awhile, but here I am again today, with more questions.
Q1. Cannot build the link to vCO through the SOAP URL:
Here's what I'm trying to do: connect to vCO using wavemaker
I tried the following URL:
http://157.191.16.150/VMware-VMO-WebControl/WebService?WSDL
http://157.191.16.150:8280 / vmware-vmo-webcontrol/webservice? WSDL
https://157.191.16.150:8281 / vmware-vmo-webcontrol/webservice? WSDL
And I got this:
Q2. How to publish the wavemaker on win2008R2 Server project?
The project is built on the premise, if all that he's fine, I want to publish the entire project on a web server so that more people could access it.
Any suggestions on how I'm supposed to do? How can I address a LDAP group for control of authentication by here?
Thank you very much
DH
HM, the first question belongs rather to the WM COMMUNITIES. I guess it's also uses default JDK, as much as I know it is not necessary to copy the jdk in any case.
For certificates: do not have a proper name resolution might indeed be a problem. At least you have to ensure that the host name in the certificate is exactly server name (and which must also be the name that you use when you create the service within WM connection). the name of the file shouldn't matter. I know not if, if same everything that works with IP addresses only.
My recommendation: do a test with host names, configure hosts on the vCO and WM box files if you do not have a DNS configuration.
See you soon,.
Joerg
Maybe you are looking for
-
When I click on 'search tools', options are no longer displayed (for example, the tool that allows a search of limited date or search for videos of different lengths). I happened to have a search page open before the update and drop-down menus to sea
-
Impossible to reset my Satellite phone to factory settings
I am trying to format a Toshiba satellite laptop, he is 12 months old and has 8.1 of Windows on them.I press the 'ZERO' the ignition key, but when I get back to the part of setting factory he tries for a few seconds and then comes up with "Impossible
-
Dual monitor support for desktop HP Pavilion p6210y PC
I would add an additional monitor to my HP Pavilion p6210y. According to the data sheet of the product HP, the M2N78 - motherboard comes with 300W power supply which currently comes with: * Built-in video is not available if a graphics card is insta
-
Business Structure - timer / controlled waveform
Hello world I am building a waveform of controlled time/switch. I have three different parts of waveform to 8192 samples each. I have a case of Structure inside the While loop. Structure of the case must have the following properties: -1st line (from
-
How to restore the icons of windows 7 original for shortcuts
Hello I use Windows 7 Professional. In a completely unexpected way (probably after installing Nero essentials 8) pictures of my shortcut (with the classic arrow) icons have changed. Now ALL my shortcuts are represented with the same icon files that a