Deploy a data as a web service store in ODI
Hi allI have a requirement where I have to deploy a datastore in ODI as a web service.
I set up axis2 on oc4j. Its up and running.
In Manager topology for the Base URL for the published Services, I gave:
http://kksingh-lap.IDC.Oracle.com:9704/axis212/services /.
According to me, the URL I give is the problem.
Could someone tell me please the correct URL.
Thanks in advance,
Krishna
Hello Krishna,
In this case, you will need to check your application server deployment and ensure that when you access the following from any browser, it displays the list of available services.
http://kksingh-lap.IDC.Oracle.com:9704/axis212/services /.
These services should also be active.
Once, he is then make settings of topology ODI.
In my case, I installed axis2 on Tomcat
Base URL for the published services: http://localhost: 8080/axis2/services /.
Application Web Axis2 base URL: http://localhost: 8080/axis2/axis2-admin /.
Thank you
Fati
Tags: Business Intelligence
Similar Questions
-
Exception during consumption of huge data from a web service.
Hello
I m developing an application to receive data from a Web Service and retain the data received on the device.
App is developed for OS 4.3.0
The Web Service call is made using Ksoap. The Code receives the data from the web service, analyzes the data and stores it in an object. This object is then persisted on the device. The data are essentially the coordinates. It takes the number of contacts required as input and passes it to the Web Service. The Web Service then returns the requested number of records
The code works if I ask data of up to ~ 600 cases. If I specify more than 600 cases, it throws the following exception
Chain rg.xmlpull.v1.XmlPullParserException:unexpected type (position: TEXT entity request in T...@1:24 in java.io.InputStreamReader@1f87d1b4)
When I debugged using Eclipse, this exception is thrown on this statement ht.call (soapAction, envelope);
Would it be because of a time-out? OT is because the Analyzer is not able to analyze huge data?
Given that this exception occurs on the declaration of ht.call, I guess the problem is with the web service call and not with the code for persistent storage.
I have included the code here... Is could someone please show me what the problem is?
C ode to call Web Services
public Vector getWebData(String count) { Vector personsVectorto = new Vector(); try { StringBuffer receivedContent = new StringBuffer(); String serviceUrl = "........"; String serviceNamespace = "....."; String soapAction = "........."; SoapObject rpc = new SoapObject(serviceNamespace, "GetContactsList"); //rpc.addProperty("listSize", "5"); rpc.addProperty("listSize", count); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.bodyOut = rpc; envelope.dotNet = true; envelope.encodingStyle = SoapSerializationEnvelope.XSD; HttpTransport ht = new HttpTransport(serviceUrl); ht.debug = true; ht.call(soapAction, envelope); // This is where thexmlpullparser exception occurs Object obj = envelope.getResponse(); SoapObject soapResult = (SoapObject)obj; for(int i=0; i < soapResult.getPropertyCount(); i++) { PersonDTO personto = new PersonDTO(); SoapObject choice = (SoapObject)soapResult.getProperty(i); if( choice!=null) { for(int j = 0; j < choice.getPropertyCount(); j++) { receivedContent.append(" Reading Property Number" + String.valueOf(j) + " Value = " + choice.getProperty(j).toString()); if (j==0) personto.setElement(1,choice.getProperty(j).toString()); if (j==1) personto.setElement(2,choice.getProperty(j).toString()); if (j==2) personto.setElement(3,choice.getProperty(j).toString()); if (j==3) personto.setElement(4,choice.getProperty(j).toString()); if (j==4) personto.setElement(5,choice.getProperty(j).toString()); if (j==5) personto.setElement(6,choice.getProperty(j).toString()); if (j==6) personto.setElement(7,choice.getProperty(j).toString()); if (j==7) personto.setElement(8,choice.getProperty(j).toString()); if (j==8) personto.setElement(9,choice.getProperty(j).toString()); if (j==9) personto.setElement(10,choice.getProperty(j).toString()); } } personsVectorto.addElement(personto); //storepersistentobject(personsVectorto); } }catch(org.xmlpull.v1.XmlPullParserException ex2) { String bah1 = ex2.toString(); Dialog.alert("String: " + bah1); String bah2 = ex2.getMessage(); Dialog.alert("Message: " + bah2); } catch(Exception ex){ String bah = ex.toString(); Dialog.alert("Response: " + bah); } return personsVectorto; }
Thank you
Hi Philippe,.
First Question: Print server response
Yes - I think for you too in fact just print the answer you'll have to do a regular HTTP call to the server and print it like this:
StringBuffer sb = new StringBuffer();
int thumb;
HttpConnection httpConn = (HttpConnection) Connector.open (url);
httpConn.setRequestMethod (HttpConnection.GET); or by POST depending on your needs
in = httpConn.openInputStream ();
While ((thumb = in.read ())! = - 1).
{
SB. Append ((Char) inCh);
}
System.out.println ("server response:" + sb.toString ());
Try and see if you get a request too large entity. Note: you should probably put your SOAP request in GET or POST http request.
Second Question: Is zipping required?
This is how I chose to do for my particular needs that transfer me a large amount of data and the compression algorithm seems to keep all my data well below 40 k. However, it is not the only way, you could actually make several requests and get data piece by piece, but I don't know if it works well with SOAP responses. Depending on the type of Network Setup Blackberry you have, you can also set this limit to be higher (I think a maximum of 1 024 Ko for BES).
Third Question: Timeout Logging
For wait times, usually the exception you get should indicate that there was a timeout, but if you are suspicious that it's a timeout check your web service and see.
Hope that helps!
R
-
ADF Mobile Page with the data control of Web Service not showing latest results
Hello
I developed a simple mobile application of ADF. It has two functions members and subscriptions. These two pages are part of my Taskflow. On the members page I show all members in a list by using the Web Service method data Find command. In the list item have a listener property Set where I'm storing MemberId in a variable of pageFlowScope for action. On the subscription page, I have a bar graph that gets the data with the help of a Find method in control of data to the Web Service. The find method is based on a view created criteria which has a member ID of input parameter. in the model of ADFBC project. I connected the variable using the AMX page binding. The variable is being levied on the pageFlowScope variable.
The page displays the chart first to a member. And shows the same graph for the other members. I printed the memberId variable and it shows the value of the respective members. But the cards are not get updated every time I select new Member.
I use JDeveloper 11.1.2.4.0.
Any suggestions?
Thank you
Mehabub
Go to the Connections tab, and then click the Green plus sign on the central section - you need to add a 'invokeAction. Give it a name, and then select the iterator that built the table, and that's all you should have to do. The invokeAction fires whenever you visit the page and should update the list.
Rich,
-
How to fill a ComboBox with data from a Web service
I have a simple application that contains a DataGrid control that gets its data from a web service. I prefer to put these data in a ComboBox instead of a DataGrid control. My web service returns objects.
Someone has an idea how to do?
< mx:DataGrid id = dataProvider = "{ws.getProjects.lastResult"dgProjects"}" > "
... < mx:columns >
... < mx:DataGridColumn dataField = "projectID" headerText = "ID of project" width = "100" / >
... < mx:DataGridColumn headerText = "Project name" dataField = "projectName" / >
... < mx:DataGridColumn headerText = "Doc UNID" dataField = "docUNID" visible = "false" / >
... < / mx:columns >
< / mx:DataGrid >Exactly what I needed.
Thank you very much!!!
-
https://blogs.Oracle.com/ADF/entry/changing_endpoint_url_for_a_web_service_data_control
Using this link as a reference, I created a data control Web Service, and when I deploy via JDeveloper for different environments I can change my point of endpoint accordingly on this screen:
However when I change my point of termination at the design time, the changes do not appear in the screen "Configuration of the deployment. This would not normally be a problem, but our automated deployment (maven/ant) seems to keep picking up the url "Deployment Configuration" instead of what we change in the DataControl.dcx. So I have a few questions:
1. Why is there a difference between what we have in the source code and what is shown on this ""Deployment Configuration "screen for manual deployment of JDeveloper? "
2. where is this "Deployment Configuration" end point url located? I can change it during an automated deployment as I can on a manual deployment?
3. What is the best practice to change a url endpoint to the Web Service data control with during an automated deployment?
It turns out that the connections.xml had the url of the endpoint that the profile of the deployment and jdeveloper was referencing at deployment time.
In order to get our automated generation work, we use a search and replace of Ant utility to change endpoint in this connections.xml before construction/deployment of the application.
-
Extract the data from the web service response
Hello
I called a web service and in response to XML data, now I have to extract the values and store them in the array
My steps,
1 call WebService
2 answer stored in the CLOB column
3, then used after the request
SELECT loc.*
OF my_xml PO,.
XMLTable (XMLNAMESPACES)
"urn: schemas-microsoft-com: XML-diffgram-v1" as "diffgr".
,'http://api. .com / "as"ns0"
)
,'/ ns0:DataSet / diffgr:diffgram/NewDataSet/OptOutAll '
PASS xmltype.createxml (PO.xml_data)
COLUMNS
"E-mail" TANK (100) path "Email."
'Reason' TANK (150) PATH 'reason '.
) As loc
WHERE ROWNUM < = 10;
I wrote using this example
But it does not work, do not know why
/ ZabIf I use the XML (stored in the table XMLType TMP_XML) below:
2012-05-09T22:40:00+02:00 information 111111 Subscriber confirmed 2012-06-07T22:30:00+02:00 information 111111 Subscriber confirmed 2012-06-14T00:20:00+02:00 information 111111 Subscriber confirmed 2012-06-19T20:50:00+02:00 information 111111 Subscriber confirmed Then I can do:
SQL> SELECT x.* 2 FROM tmp_xml t 3 , XMLTable( 4 XMLNamespaces( 5 'http://www.w3.org/2003/05/soap-envelope' as "soap" 6 , 'urn:schemas-microsoft-com:xml-diffgram-v1' as "diffgr" 7 , 'http://api.***.com/' as "ns0" 8 ) 9 , '/soap:Envelope/soap:Body/ns0:GetOptOutAllResponse/ns0:GetOptOutAllResult/diffgr:diffgram/NewDataSet/OptOutAll' 10 PASSING t.object_value 11 COLUMNS OptOutTime TIMESTAMP WITH TIME ZONE PATH 'OptOutTime' 12 , MailingList VARCHAR2(100) PATH 'MailingList' 13 , Reason VARCHAR2(150) PATH 'Reason' 14 ) x 15 ; OPTOUTTIME MAILINGLIST REASON ----------------------------------- ------------------------------ -------------------------------------------------------------------------------- 09/05/12 22:40:00,000000 +02:00 information Subscriber confirmed 07/06/12 22:30:00,000000 +02:00 information Subscriber confirmed 14/06/12 00:20:00,000000 +02:00 information Subscriber confirmed 19/06/12 20:50:00,000000 +02:00 information Subscriber confirmed
Are you getting something different?
-
I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.
This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.
Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?
There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")
Please help me ASAP!
Thank you
Ivan
I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.
It's important to create the system DSN if you want your VI of web service to communicate with the database.
PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.
-
Does anyone know how to get data from a web service of Labview with ajax or JSON?
Hello
I try to use ajax and json to service Web restful which I build with the labview. However I get errors
For example. I create a web service from a labview vi (z = x / y http://localhost: 8080/math/divide/5/20 will give {Z: "4,000,000"})
I get errors for the attached html files.
Does anyone know how to get al labview WebService with ajax or json data?
Thank you... Eran
-
How to clear the inputText field that contains control data to the Web Service data?
Hello
I use JDeveloper 12.1.3 and 2.2 of the MAF.
I created a Web Service data control that offers the feature of the View object on the server side.
To use this, I created a taskflow with two pages of amx. The first page of the amx contains a button to call the other.
The second page of the amx contains fields inputText with the values of the parameters of creation out of the data control functions.
If I call the second page of the amx inputText fields are empty. On the page, I have a button to call the function of creation itself. By pressing the key the inputText field values will be sent to the server. Everything works great! Pressing on the button also calls for action to return to the first page of amx in the taskflow.
Now, if a next time I call the second page the inputText fields contain the values from the last call.
I want the inputText empty fields each time. How can I achieve this?
Thanks in advance.
Martin
You can ask this question in the forum of the MAF
-
Data for the Web service control
Hello
I have jdeveloepr User 12.1.3, I WSDL soap, I create the data control for the web service from the WSDL, the problem is when creating data controls the separate parameter that the method, for example, below it is the method that I call the setNotificationAction name and the parameter IN (P_ACTION, P_NOT_ID, P_PASSWORD_ERP, P_TOKEN (, P_USER_ID P_USER_ID_ERP), as below, why the separate parameter that the method?
Note that I try the binding WSDL SOAP UI and its ok and works as expected.
Resolved by changing the typesList.add (Object.class) at typesList.add (GenericType.class)
-
Error in creation of Control (SOAP) data to the Web Service in the ADF Mobile app
Hi, I tried to create a Control (SOAP) Web Service data in a Mobile application of ADF in JDeveloper 11.1.2.4.0 under Mac OS X 10.8.5
The application has been newly created (no features) and I tried to create a Web Service data control directly.
In the 'Create Web Service data-> step 1 control', when I entered the URL of the WSDL and left the text box, the window "WSDL Document for reading" came and I got an error message saying "invalid WSDL URL.
The error description is given below:
Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is DCA-29000. Are parameters of error message ({0 = oracle.webservices.mdds.MddsException, 1 = java.io.InterruptedIOException: connection timed out})
I have JDeveloper put 11.1.2.4.0 in place on a Windows 8 and follow the same steps with the same WSDL URL and he accepted the URL.
Can anyone help on how to fix this problem as I want to develop on Mac.
Hello
We have solved the problem by asking the dev team to provide the file for the web service's .wsdl. We copied the file in the file system on the mac and then instead of provide the URL, inviting us to the wsdl file. Who does the work on the mac.
We were able to put a URL as http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL (a non-secure web service) and the wizard to create the Web Service data control accepted the URL on the mac. Can be to secure web services, we have the .wsdl himself file. (the web service that we were trying to access was on EBS and was a secure web service)
-
Jdev 11 g AD / display objects - updated and complete control of data to the web service
Hi Experts...
Looking for the best approach here.
I hope someone can give me some ideas / advice on how best to achieve the filling of a webservice data control to a view object.
Basically, I created an application traction of data sources by using the ADF BC VO tables I put a command button "Update record", that will open a dialogue with a web service data control.
I hope to be able to fill in the fields of data control, with the values of the selected recording VO.
I'm tipping at this point, I'll have to programmatically?
This is the recommended approach?
Examples of code?
Thanks in advance to anyone who can help!
SimoShould be similar to this:
http://blogs.Oracle.com/Shay/2011/03/passing_parameters_between_web.html
But the first page should get the data from the original Version instead of Webservice.Since you use API-PL/SQL in the database to make the update, it may be more efficient to have just a method of AM service that uses the existing JDBC connection / transaction and calls this PL/SQL stored procedure and passes the info of the VO.
See: http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadvgen.htm#BABEIFAIOr even take it:
http://download.Oracle.com/docs/CD/E17904_01/Web.1111/b31974/bcadveo.htm#sm0328 -
How to send data to a Web service
Hello everyone. I have a very simple example of sending data (2222) to an existing Web service as follows:
topmostSubform.Page1.SEND::click - (JavaScript, client) var url="http://Localhost:8080/4DWSDL"; var serv = SOAP.connect(url); app.alert("hello "); serv.MethodeSOAP(2222); app.alert("hello 2");
However, it works fine in Acrobat, but not in the drive. Is it possible to make it work?
In addition, although in this example, the data to be sent are only worth 2222, but my goal is to send all the information from the form to a Web service. Someone has tried it before, or is there an other way easier to do? I would appreciate any suggestion on your part thanks
Hello
Via web service calls data connections will not work in the drive, unless the form has been activated in LC Reader Extensions ES2 to drive:
I have a summary here:
http://www.assuredynamics.com/index.php/2010/11/using-LiveCycle-Forms-in-Acrobat-and-Reade r.
Hope that helps,
Niall
-
Validation prior to submitting the data to the web service
HI guys,.
I need your help because I use Adobe LiveCycle Designer 8.2 in desiging an electronic form in offline mode, which takes the user data and insert it into a database using a WSDL for the web service on the server. I now had the button on which to run the web service method parameters are related to certain fields, but I need to validate these field at the time of the application?
So I tried to write the validation script in the handler preExec, but if this right I need to know how to cancel the preExec execute event?
And if it's not just please help me otherwise
Thank you.
Osama
To cancel the event (submit it in this case), you would use xfa.event.cancelAction = true;
This was added in version 8, I believe so if you are using a Reader/Acrobat earlier that this will not work.
You could have your hidden real submit button and expose a normal button to the user for the presentation. This would allow you to write code on the normal button to check your postings and if they work out then you would hit the Send button programmatically:
buttonName.execEvent ("click")
Hope that helps
Paul
-
Houston-25080 error on the use of data to the web service control
Do not get all the answers to that. Is this a bug? and if so, how do I file the bug?
Hello
I'm trying to use Jdev 11 g to build a simple web application. The application page uses a web service (called "theAssetType") data control. But I get the following error message when I try to get the message 'return' on the page widget. The name of the service on the server is CM_RJCP2.
Besides - this service works very well with the HTTP Analyzer - so don't know why it doesn't work in the JSF page.
Your help is greatly appreciated!
oracle.jbo.NoDefException: Houston-25080: definition name: CM_RJCP2 does not correspond to the file in which it is responsible for: oracle.myweb.model.theAssetType.CM_RJCP2. CM_RJCP2
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:999)
at oracle.jbo.mom.DefinitionManager.loadParent(DefinitionManager.java:1228)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:933)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
at oracle.jbo.mom.DefinitionManager.findDefinitionObjectDontCheckName(DefinitionManager.java:433)
at oracle.adf.model.bean.DCBeanDataControl.findStructureDef(DCBeanDataControl.java:1884)
at oracle.adf.model.bean.DCBeanDataControl.getAttributeDefs(DCBeanDataControl.java:1936)
at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3142)
at oracle.jbo.uicli.binding.MyIteratorBinding.getAttributeDefs(JUAccessorIteratorDef.java:494)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:485)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:437)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:511)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:501)
to oracle.jbo.uicli.binding.JUCtrlValueBinding$ 1JUAttributeDefHintsMap. < init > (JUCtrlValueBinding.java:3857)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:3952)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2417)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2379)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
Published by: rjcovert on December 29, 2009 09:11
Published by: rjcovert on January 3, 2010 08:31There is a bug with datacontrol whose name is the same as the package directory.
I think that you can run in this case - you can try working in a different package name?
(or try to refactor-> move your files).
Maybe you are looking for
-
How the @# $&; search my questions in the forum?
I want to find my previous questions in this forum. It is easy in the Seamonkey forum, but seems impossible here?
-
Hello! is it possible to print smaller than 6 x 4 photos? I think to makin some gifts for Christmas and do a few key ring personalized, but they are 34 x 44 mm and my printer (photosmart b110) seems inappropriate! Any suggestions? Thank you
-
Satellite U300: "an unexpected i/o error has occurred."
Hello My newly purchased U300 worked fine, today would not start and is now indicating that an unexpected i/o error has occurred, with a code of 0xc00000e9 The message preceding that States that this may be due to recently responsible for hardware or
-
How the SUM cells including the text and the number?
Hello world Someone can tell me how the SUM cells include the text and the number? 1 Bob 20 2 30 Jane 3 50 Jame Total 100 Thank you
-
Key of Activation Windows 2007 Outlook Express/product for Samsung - key does not work.
I have a Samsung laptop and it was sent to me by my insurance company once my old man died. It has Windows Vista on it, and microsoft outlook express 2007. When I got to the laptop, he gave me his registration for registration period, now that the in