Using a web services forms
Dear all,I used the following tutorial to use a web service forms:
http://www.Oracle.com/technology/OBE/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm
Unfortunately I JDev 10 and can not recover how to create the jar (the tutorial uses JDev 9).
Can someone help me?
Thank you and best regards,
Sébastien
I don't think that there is a difference between JDeveloper 9i and 10g to create a JAR file.
File-> New-> General-> profiles-> JAR file deployment
François
Tags: Oracle Development
Similar Questions
-
Creating form/table layout dynamically using different web services
Hello
I have the following requirement:
We have a web service for each data center device control settings for this device. To update the settings we provide an ADF UI or the form layout table layout by using the web service.
The number of servers being, it is not possible to create a different page for each web service.
Thus, the requirement is to create a user interface where the user can give the location of the wsdl file and choose if he wants to see details in a formatting or the table layout and click on the button to view the details,
Then, we need to read the web service and create control of data bindings, page links (in the binding container) and view the details on the user interface.
Please let me know if this is possible or not.
We create data programmatically control? We can add data connections to the container of link programmatically?
We can make the data on the user interface bindings dynamically? Is there a public API is to create links by programming?
or if control data and data links option is not available then is there any other alternative approach for it?
Please help me in this. The pointers in this regard could greatly help me.
Thank you
StephanieHello
assuming that the information that you provide to the servers are identical, you use a POJO that accesses the WSDL file by using a proxy client. Then, you can expose a common set of attributes on the POJO and list and generate a JavaBEan data control that you can build forms and lists. POJO basically will use you to transform the different web services in a format of individual business service.
Frank
-
How to use a Web Service in an Application.
Hello
I need to create a Web service and a single application.
I already did with the Web service, which is a method that get two studentId strings(name,lastname) and back if exist it, false otherwise. (works perfectly)
The problem is now being implemented in the application that needs to use the Web Service.
The application will have to electro-regulateurs.
Name:
First name:
Submit (Button)
No idea how to begin to do?
Really, I'd appreciate any help!
Thank you very much
Ed
PS. I use 10.1.3.1.0 JDeveloper and Oracle SOA Suite 10.1.3.1.0.Make a right click you Java proxy class and click on 'create an ADF data control' then you can drag and drop the method in the data control palette in your page and gout as ADF setting form - it will snap into place for you.
-
How to use the web service to update the data?
Hi team,
Need help in establishing a procedure for updating data using the web service, in the first instance, I think that it's the same reading webservice but I will produce an error:
29273 00000 - "the HTTP request failed.
* Cause: The UTL_HTTP package cannot run the HTTP request.
* Action: Use get_detailed_sqlerrm to check the detailed error message.
Correct the error and restart the HTTP request.
using this tag soap_request.
< ns1:Request >
< ns1:header >
< ns1:InterfaceName > OSMMVNECreateOrder < / ns1:InterfaceName >
< ns1:InterfaceId > OSM - XXX < / ns1:InterfaceId >
< ns1:CorrelationId > TEST-06262015 < / ns1:CorrelationId >
< / ns1:header >
< ns1:Mvno > MTI < / ns1:Mvno >
< ns1:orderId > < / ns1:orderId >
< ns1:orderType > CHANGE_STATUS < / ns1:orderType >
< ns1:orderDetails >
< ns1:subscriberId > 9469273 < / ns1:subscriberId >
< ns1:newStatusId > 2 < / ns1:newStatusId >
< / ns1:orderDetails >
< / ns1:Request >
the < ns1:subscriberId > 9469273 < / ns1:subscriberId > the Subscriber must search and
< ns1:newStatusId > 2 < / ns1:newStatusId > will replace the current state.
any suggestion on how to do it?
Best regards
Nelz Ki
There is no difference between calling a web service to write data, against the appellant for reading data. SOAP is SOAP. He cares not.
Example to interact with a web service is in Re: PLSQL webservice call
Regarding your error - stack display Tower full of error to see what said the trace of the error. The data you've posted unfortunately no sense to isolate the error.
-
Error downloading pdf application ADF using the Web Service &; BI Publisher
Hello
I work with BI Publisher 11 g and JDeveloper 11.1.1.7. I get the error when clicking on the below download link.
I tried the link below and to generate the report in my app, but after clicking view pdf button throw error.
Antonis Antoniou blog: integration of Web Services in your ADF Application Part 2
Basically, I want to download the PDF using the Web Service & BI Publisher pursuant to the ADF.
Someone has encountered this problem before? You have all the solutions / suggestion?
Thank you
Swathi
Have you tried to get the catalog via the service?
As I said before, there you have catalog you to see you making the user you are using to connect has access.
Have you tried to give the full url for the report? check out the blog I posted before where you see how to specify the full url.
Timo
-
Change the password using API web services?
I can create and update users using Adobe Connect API web services, but how do I change the password of a user?
I use the API "principal-update" that has a setting of password, but according to the documentation, it is only used for new users... not the users.
So exactly how to change user password using the web services?
Hello
There is an API that can be used to change the password: user-update - pwd
Format of the API :
Hope this helps!
Thank you
Nikhil
-
Authentication customized using the Web Service construction
Our requirement is that we want to create an application that uses the web service for authentication. How is it possible. A how to do this will help.
We create a Web Service with an applicationLogin method that takes the user name and password input and returns true or false. I want to use this web service to authenticate the application connection.Hello
Ok.
Can you check Home > Application Builder > application 100 > shared components > authentication schemes > change the authentication scheme
in the select field Invalid Page Session list
what page 2.
Check this page 101 a: APP_USER filled when you browse it.It seems that you have created a reference to Web Service manually by copy - paste SOAP envelope?
And region of SOAP response with field response Collection store
When you create a Web service reference with the location of the WSDL document, you are not asked for the name of the collection.
Only when you create processes on submit type Web service on page 101, there is an option to use the collection or the item.And if you manually create the Web service, it seems that you cannot choose between the collection and the element, you should use the collection that you specified during the creation of reference.
Anyway, you can use the collection to this approach to page dummy connection since: APP_USER is populated by anyone on page 101.
I updated most of the page and creates a Web service reference manually the SOAP envelope (from the same Web service)
and put the second region with the result. Collection is specified in a Web service reference.I hope that will solve your problem.
Kind regards
Oleg -
Find / create / update using the Web service data command.
Hello
I'm working on PS2 (JDEV 11.1.1.3). One of the requirements is to build Web services from ADF pages. Initially the user connection is looking for items. The results would then be displayed as a read-only table. The user will select line clicks on the button "edit / update" then I need see the second page with the details of record selected as a form. Then he can add / edit the page. The same page is also used to 'create '. I am facing issue while the user selects the record in the table Details the research and passing the Id on the second page of the update of the. Can someone help / guide me.
I went through the blog of Shay. http://blogs.Oracle.com/Shay/2010/05/updateinsert_with_adf_web_serv.html
But it's different compared to my needs.
Enjoy your entries.
Thank you
MaheshI don't see exactly how have more fields influence the approach.
If you are looking for a shortcut, you can try to drag the operation of fusion, as a form of parameter ADF - this will create all the fields for you. And then you will need to go in and change their value to point to the pageFlowScope object. -
problem in the use of Web service in my App ADF
Hi, OTN
I used this tutorial http://www.oracle.com/technetwork/testcontent/wsdc-085537.html to have a webservice in my ADF Application that returns as weather application.i used Jdeveloper 11 g 11.1.1.3.0. by following this tutorial that I could get the weather Info.but the first time I run my page or the first time I press the button getWeatherBy name after writing to the square there is an error message as follows
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: error occurred when get webservices record---> System.Data.SqlClient.SqlException: procedure or function 'GetLatByPlace' expects the parameter '@ZipcodeName', which was not provided. at System.Data.SqlClient.SqlConnection.OnError (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning () at System.Data.SqlClient.TdsParser.Run (RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData () at System.Data.SqlClient.SqlDataReader.get_MetaData () at System.Data.SqlClient.SqlCommand.FinishExecuteReader (SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds (CommandBehavior cmdBehavior, Boolean async, runBehavior RunBehavior, Boolean returnStream) to System.Data.SqlClient.SqlCommand.RunExecuteReader (cmdBehavior CommandBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader (RunBehavior runBehavior, CommandBehavior cmdBehavior, Boolean returnStream, method String) at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior, method String) at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior) at WeatherService.WeatherForecast.GetLatLonDataByPlaceName (String PlaceName) - end of the stack trace of inner exception - to WeatherService.WeatherForecast.GetLatLonDataByPlaceName (String PlaceName) at WeatherService.WeatherForecast.GetWeatherByPlaceName (String PlaceName) - end of inner exception stack trac
When I press ok for this error Message.I can write the name of the place and had Info weather, so how can we stop this error messages that appear on each first time user call the weather page?
Note: in the tutorial, I noticed that he has explained that there is an Error Message will appear (on the error window click OK.)
Published by: Miar on 13 October 2010 06:03The scenario of the tutorial indeed translates this strange behavior.
Note, however, that if you create a new page where you first drag the GetWeatherByZipCodeResults as a form, then drag the WeatherData in the form of a table and set the condition of all executables refresh to #{bindings. {ZipCode.inputValue not null}-page behaves as expected and only communicates with the Web service that there is a value in place.
-
Dynamics and Web Services forms?
So what we try to do, is get a dynamic of the form information in a database. We have several fields wrapped in a subform that is set to repeat on the form itself. It is related to an element of a web service that allows the form to grow according to the number of rows returned. We had to do this because, according to the choice of departments, there might be a different number of lines returned each time. It works very well. The form expands to show the options, based on the selection.
What we're going to have problems with writing changes to the database. We have a web service that is bound to the subform contains the fields and also related to the fields themselves, but we are only able to write information to the last node, that is to say if there were six options presented and you have made changes to the six, only the changes to the last one would be listed in the database. Is there something special that needs to be done on the side of the shape?
Any help is very appreciated.
Yes... .you set up the web service to receive a parameter... then you create a multiline field (make it invisible so that the user cannot see it). Then use this command to fill in the field with the form data:
fieldname.rawValue = xfa.datasets.data.saveXML ("pretty");
Now bind this field to the entry of web service and call it.
Paul
-
I use the Version of Eclipse: 3.4.1 with BlackBerry JDE component Pack Version: 4.6.1.27.
I intend to use an existing .net web service. I'm not aware of the process to use it in the BlackBerry environment.
Kindly help. Relevant sorce codes would be extremely useful.
I tried to use the Stub Generator available in Sun Java (TM) Wireless Toolkit 2.5 for CLDC and entered the following arguments
Name of the WSDL file URL: http://crmserver/Service06_10/Service06_10.asmx
Output path: C:\Documents and Settings\adam\My Documents
Output package: MyRMI
CLDC Version: 1.1
It gives the following error.
The stub generation failed
error: Modeler error: impossible to analyze the decument to 'http://crmserver/Service06_10/Service06_10.asmx': org.xml.sax. "SAXParseException: the type of the element 'p' must end with the corresponding end tag"
".I guess I'm missing something.
-
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;
-
By using the web service ActionsService to load the account data
Hello
We are looking to automate the loading data of an EPM - HFM Application accounts.
We wre able to charge through the front-end server. About Automation, we were able to configure GOSA strategies for the web service, create the native user in console weblogic and import and use the public key of client web service proxy.
The URL of the wsdl file that we ask is http://192.168.50.21:7363 / oracle-EMP-fm-Web services/ActionsService? wsdl
The method we are trying to call is iActionsService.loadData ("clustername", "name the Application", "E:\\testpad\\Hyperion\\data\\DATA.txt", null, ",", DataLoadMode.MERGE, false, false);
The errors below are found in the file log immediately after the race. Please help us find what needs to be done in the setting of these errors. Are we sending the right params to the web service?
Do we still need to make other changes to weblogic/em to make this work? Please suggest.
Oracle EPM-edition of Fusion
version - 11.1.2.4.0.79
Thank you and best regards,
Guna
Newspapers, we find that
We might be able to connect to the application - Session is created with the Session id: 5e95de6f-e828-4121-8765-36c186e72355
An unexpected error has occurred-
oracle.epm.fm.common.exception.HFMException: EPMHFM-65536: an unexpected error has occurred.
at oracle.epm.fm.common.exception.ExceptionHelper.handleException(ExceptionHelper.java:45)
at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:281)
Error EPMHFM-65925
java.lang.NullPointerException
at org.apache.thrift.protocol.TCompactProtocol.writeString(TCompactProtocol.java:325)
at oracle.epm.fm.thrift.protocol.TMultiplexedProtocol.writeString(TMultiplexedProtocol.java:112)
to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10236)
to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10152)
to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args.write(LoadExtractHandlerService.java:10087)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:63)
to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.send_loadData (LoadExtractHandlerService.java:639)
to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.loadData (LoadExtractHandlerService.java:629)
at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:269)
at oracle.epm.fm.actions.LoadDataAction.execute(LoadDataAction.java:100)
at oracle.epm.webservices.fm.ActionsService.LoadData(ActionsService.java:315)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
Post edited by: 2837182
Got it working now.
Case of a brain freeze. The data file must be located on the server.
-
"Unauthorized" error when you use native Web services
Hi community
I'm using Oracle 11 g 2 (11.2.0.3.0) and to try my first SOAP using XDB request
I followed the instructions at [using Oracle Native XML Web Services DB | ] [ http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb_web_services.htm#ADXDB5677 ] and have traveled the many threads on this topic and am stuck again.
The steps that I followed:
Logged in as SYS:
-Configuring HTTP access
EXEC dbms_xdb.setHttpPort (7776); -I was initially using 8080, according to samples, but I changed to a port that I knew that nothing else has used
EXEC dbms_xdb.setFtpPort (2100); -Don't know its purpose, but anyway
SELECT dbms_xdb.gethttpport () FROM dual;
-Result = 7776
-Check installed XDB
SELECT * FROM dba_registry WHERE id_comp = "XDB".
-Result = identifiant_composant = XDB; Version = 11.2.0.3.0; Status = VALID; Schema = XDB; Procedure = DBMS_REGXDB. VALIDATEXDB
-Configure the Servlet ORAWSV-
-Native web services are implemented using the servlet to "orawsv", which must be configured in the xdbconfig.xml file stored in DB XML itself.
-This can be done using the DBMS_XDB on the package, as shown below.
--
DECLARE
l_servlet_name VARCHAR2 (32): = "orawsv";
BEGIN
DBMS_XDB.deleteServletMapping (l_servlet_name);
DBMS_XDB.deleteServlet (l_servlet_name);
DBMS_XDB.addServlet (name = > l_servlet_name, language = > 'C', dispname = > descript 'Oracle query Web Service,' = > "Servlet to make queries as a Web Service", schema = > "XDB");
DBMS_XDB.addServletSecRole (servname = > l_servlet_name, rolename = > 'XDB_WEBSERVICES', rolelink = > 'XDB_WEBSERVICES');
DBMS_XDB.addServletSecRole (servname = > l_servlet_name, rolename = > 'XDB_WEBSERVICES_WITH_PUBLIC', rolelink = > 'XDB_WEBSERVICES_WITH_PUBLIC');
DBMS_XDB.addServletSecRole (servname = > l_servlet_name, rolename = > 'XDB_WEBSERVICES_OVER_HTTP', rolelink = > 'XDB_WEBSERVICES_OVER_HTTP');
DBMS_XDB.addServletMapping (template = > ' / orawsv / *', name = > l_servlet_name);
END; /
-I added ServletSecRoles for... _WITH_PUBLIC, and... _OVER_HTTP after initial sample didn't me give a result
-
ADF Mobile | using secure web services
Hi allI'm pretty new to ADF Mobile, I use JDev 11.1.2.4.
In my Mobile application I want to use the secure web service.
Here's what I do:
1. creation of a data control based on the WSDL binding.
2. get the web service methods in the data control.
3. during the race, I'm getting that error "oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client from server SOAP fault: Missing < wsse: Security > in the SOAP header.
When trying to run the WSDL binding in SOAP UI, I need set request username and passwordproperties, then only I will be able to invoke this web service.
Here, my question is where can I set these properties for the data control to the web service ?
Please suggest.
Thank you
Vieu
Hi Shay,
Thank you very much for the reply, I'm able to resolve the problem with the approach mentioned user guide.
I forgot to set it up for the first time: ADF Mobile allows you to specify a custom provider class in your
DataControls.dcx
file. This custom class extendsoracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider
. You can use it to specify an implementation of theSoapHeader[] getAdditionalSoapHeaders()
methodExample 9-1 shows how to extend the
SOAPProvider
and create a custom header has shown in example 9-2package provider.ebs.soap;
Import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;
Import oracle.adfinternal.model.adapter.webservice.provider.soap.SoapHeader;
SerializableAttribute public class EBSSOAPProvider extends SOAPProvider {}
SoapHeader public getAdditionalSoapHeaders() {}]
SoapHeader header [] = SoapHeader News [2];
SoapHeader token = null;
SoapHeader user = null;
SoapHeader pass = null;
header [0] = new SoapHeader ("http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/",
"SOAHeader");
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"Responsibility."
'SYSTEM_ADMINISTRATOR'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"RespApplication,"
'SYSADMIN'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"SecurityGroup."
'STANDARD'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"NLSLanguage,"
'AMERICAN'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"Org_Id."
"0"));
header [1] = (new) SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
'Security');
Token = new (SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
"UsernameToken");
User = new (SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
"Username."
"sysadmin");
pass = new (SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
"Password."
"sysadmin");
Header [1]. AddChild (Token);
token.addChild (user);
token.addChild (pass);
Returns the header;
}
}
Kind regards
Vieira
Maybe you are looking for
-
The model in question is VC863AA #UUW I want to get back the computer to the factory condition, so I rebooted and you press F11. Everything went exactly like this: http://support.hp.com/us-en/document/c00814731#N72 (chapter "Start a restore from the
-
El Capitan is compatible with a 2008 Black MacBook (4.1)?
I recently tried to update an old, 2008 Black MacBook (4.1) for El Capitan of Snow Leopard. I received a message saying that I was unable to install... This model is compatible with El Capitan? I have 4 GB of RAM. Thank you.
-
Shortcut keys no longer work after reinstallation of the System - Satellite A100-178
I reinstalled everything and return to my laptop as it was when I got it. As always, I have installed and uninstalled the software as I always do.But my shortcut keys do not WORK. I tried everything, they don't work. They have worked before, but they
-
Cannot install windows 7, it says it supports only windows 8?
Hi, today I burnt a windows 7 complete edition x 64 bit iso on a dvd and began installing boot camp. As soon as I clicked on the button install, it gives me a message that says that it only supports x 64 bit windows setup disk 8. I'm confused, she's
-
Motorcycle G 2014 noise problem
Hi everyone, just a bike g 2nd generation this week that everything is great, but I like to use Google hangouts that my application of text by default and today I realized that I do not get and its notifications when someone sends me a text. I made h