Through apex web service call.
Apex 4.1.I'm trying to bind a simple web service to my apex page. Web service is hosted on a different server. When I try to add the path to the WSDL file reference, I get the error message. Obviously its waiting for a proxy server address must be configured. But we do not have a proxy server to access our web service. Even we were able to link the same service to an infopath form by directly giving the path to the WSDL file.
Very grateful if someone can help me on this.
Thank you
You have configured ACL to the owner of the workspace?
Tags: Database
Similar Questions
-
Hi all
I'm having a hard time finding ways to Rest Web service calls.
I tried this runs directly through the browser and I get an error.
http:localhost:8080/r EST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected] & arg2 = password
13:18:20, 613 [RestSecurityServlet] error code: 401
Access to the requested resource is not allowed: / atg/userprofiling/ProfileServices
- atg.rest.RestException: access to the requested resource is not allowed: / atg/userprofiling/ProfileServices
at atg.rest.processor.RestSecurityProcessor.checkAccess(RestSecurityProcessor.java:546)
at atg.rest.processor.RestSecurityProcessor.handleGetRequest(RestSecurityProcessor.java:313)
at atg.rest.processor.RestSecurityProcessor.doRESTGet(RestSecurityProcessor.java:199)
at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:417)
at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:260)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320)
at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:264)
at atg.rest.servlet.HeadRestServlet.service(HeadRestServlet.java:130)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)
Documentation, I understand that I need to create a session, the session is needed to access the secure components since this
method specific 'ProfileServices.loginUser' was declared as non-secure, restSecurityConfiguration.xml
In addition, there are two different ways in which I can connect
- 1. with the help of RestSession.createSession providing the user name and password.
- 2. or by using ProfileServices.loginUser or ProfileFormHandler
Can someone please clarify
If you call the REST web service from a Java client, you can create a RestSession object using the createSession method. But in your case you seem to be invoking it with an HTTP request, which, by default, would be considered a GET request by application of the REST of the ATG. So either a GET, he would try to get a property "loginUser" of the component/atg/userprofiling/ProfileServices (based on your URL) that would always fail.
To call the method ProfileServices loginUser() with your argument, you need to tell the system to the REST of the ATG to process your incoming request not GET, but as a demand that you can do to atg-rest-http-method of the parameter control in your application like this
http:localhost:8080/rEST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected]& arg2 = password & atg-rest-http-method = POST
It should work in this way, your restSecurityConfiguration.xml is correct.
-
Is it possible to recover all the virtual machines in a cluster in a single web service call?
I tried to retrieve the list of all virtual machines in a cluster to a single web service call, but to no avail. It seems that there is no direct web service API to achieve this goal. Alternative options must first recover the hosts or data warehouses in the cluster and then recover virtual machines from there. But still, if anyone has an idea how we can do this please let me know. All help information will be greatly appreciated.
It is possible, if you use the PropertyCollector.
(It is usually the answer to questions of the form "Is it possible to retrieve the X in a single web service call").
Call"propertycollector.retrievecontents:
allows you to retrieve a whole bunch of stuff in a single call, which you then have to go through and interpret.
A snippet of code Java VI is not-really-tested to find virtual machines in a ComputeResource (cluster) is attached.
-
Hi all
I try to use APEX Web service to make a rest request, the API integrated does not work for me and I have spent long hours to fix it but couldn't.
Documentation on this API is small and the internet search came back much.
Basically, I use PUT to create a compartment of Amazon s3 and whenever I get access denied from Amazon, when I use APEX in common to create the Web Service, and then use the web service as a process page that it will work.
So, I suspect that the API now works correctly.
I used the API below:
L_CLOB: = APEX_WEB_SERVICE. () MAKE_REST_REQUEST
p_url = > URL Service.
p_http_method = > 'PUT ',.
p_body_blob = > my IMG,.
p_parm_name = > apex_util.string_to_table('Host:Authorization:Date:Content-Type'),
p_parm_value = > apex_util.string_to_table (V_HOST |': ' |) V_AUTHORIZATION |': ' | T_DATE |': ' | V_CONTENT_TYPE)
Thank youI try to use APEX Web service to make a rest request, the API integrated does not work for me and I have spent long hours to fix it but couldn't.
Documentation on this API is small and the internet search came back much.
Basically, I use PUT to create a compartment of Amazon s3 and whenever I get access denied from Amazon, when I use APEX in common to create the Web Service, and then use the web service as a process page that it will work.
I suggest that you take a look at this:
http://ORA-00001.blogspot.com/2011/03/Amazon-S3-API-for-plsql.html
-Morten
http://ORA-00001.blogspot.com
-
Web service call - works locally but not on mobile?
Hello
I have a web service call (the service is hosted on the cloud is an external area of permamnent) which works fine when I test locally using the Flex Buritto built in emulator or directly by using my browser.
But when trying a android phone (tried a few of them - link one, nexus s and galaxy tab) the service is called but never returns anything.
Is there a good way to trace of call / understand the problem?
Thank you
NIR
Export project based on your device...
If your developling locally you must do in order to get the remote calls to work
That should solve your problem
-
Results of long-term with the web service call process
I'm starting a long-lived process that dragged out variables using a .net web service call. I would like to be able to get these output variables. I find all of the features in the JobManager service to do this... y at - it another way to do this? I am not above querying the Livecycle database...
Thank you
Mike
It will work only after that the process is 'complete'.. then you need to check the status... .and when that is complete, then you can check the results.
Paul
-
Hello
I want to route the ODSI web service calls to different hosts in different environments. In other words, in my development environment, I don't want to call a quick service to "myosb - dev.mycompany.com:7001", but in production, I don't want to call the same service to the "myosb - prod.mycompany.com:8021".
I see that I can configure a different port for the Physics Department in the ODSI administration console. However, it is not very practical, since the original WSDL must contain information port for all environments from the get-go. If the service is reinstalled in the production, I need to update the wsdl file and redeploy my data space for moving. This can be a problem due to the cycle of deployment of my app be out of sync with the service that I give the floor.
My question is: is it possible to configure the addresses to host more dynamically? Is it possible to use a variable to control this information a set of services that are located on the same server?
Thank you!
The fGo to the Console ODSI. Click your data space. Click the physical Source (at the bottom of the left panel).
Click on "Web Services" and select the Web service you want to change.You will see a place where you can specify a 'new value' for the wsdl file. So if you make a copy of your wsdl and the change of the
to the other server, you could specify that wsdl.It seems you could also copy the "service" element (or just the "port" element) in the original wsdl, and substitute in the ODSI console for the appropriate service or port. I've never tried that. I'm not sure if you also need to copy any elements that refer to the service or port.
Here's the doc http://download.oracle.com/docs/cd/E13162_01/odsi/docs10gr3/admin/server.html#wp1049919
Here's a thread about doing this via WLST Dataspace imports with WLST : Full Deployment option?
-
Call apex web services (WSDL)
Hi all
I have web services (WSDL) as (http://localhost: 8080/merlin-services/services/ContraIndicationService? wsdl) of the example.
and I want to call this service from Apex, how I can do this, any idea?
I tried a web service reference found in the apex, but he can't.
Please any idea on this subject.
Thank you and best regards.
Mohd.
Published by: such on August 26, 2010 10:23Hello
Try
select extractValue(value(t),'/code','xmlns="urn:Vidal"') code from wwv_flow_collections c where c.collection_name = 'MY_COLLECION_NAME' ,table(xmlsequence(extract(xmltype.createxml(c.clob001),'//code','xmlns="urn:Vidal"'))) t
Kind regards
JariPublished by: jarola on August 29, 2010 11:29
Also try
SELECT extractValue(value(t),'/*/code','xmlns="urn:Vidal"') code, extractValue(value(t),'/*/id','xmlns="urn:Vidal"') id, extractValue(value(t),'/*/name','xmlns="urn:Vidal"') name FROM wwv_flow_collections c WHERE c.collection_name = 'MY_COLLECION_NAME' ,table(xmlsequence(extract(xmltype.createxml(c.clob001),'//cim10','xmlns="urn:Vidal"'))) t
-
The secure web service call error.
Hello
I try to access a web service secured through a simple BPEL process in SOA Suite 11 g. When I test it through the company Manager, I get the following error. Since this is a guarantee websecure I put the policy(oracle/wss_username_token_client_policy) WS in the external reference and also provided identifying information. If someone had a similar error or know the solution please let me know. Also, I'm not sure if its related to security, or is - the way I am calling the service.
Error message:
Error ID reference: 80014
Lack of time may 22, 2011 12:54:45
Anomaly of the non-recoverable system:
javax.xml.ws.soap.SOAPFaultException: 99999: unknown Service
Error message: {http://schemas.oracle.com/bpel/extension} remoteFault
Error default/Mocking!1.0*soa_be35cb3e-5f05-49df-a696-a653d5703681/BPELProcess1/30017-BpInv0-BpSeq0.3-3 ID
Lack of time may 22, 2011 12:54:46
Anomaly of the non-recoverable system:
< bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns = "http://schemas.oracle.com/bpel/extension" > < a name = "summary" part > < summary > 99999: unknown Service < / summary > < / part > < part name = "detail" > < details > & lt; con xmlns:Con: fault = "http://www.bea.com/wli/sb/context" > & lt; Con: errorCode > 99999 & lt; / con: error code > & lt; Con: reason > unknown Service & lt; / con: reason > & lt; Con: location > & lt; Con: node > PipelinePairNode1 & lt; / con: node > & lt; Con: pipeline > PipelinePairNode1_request & lt; / con: pipeline > & lt; Con: Stadium > stage1 & lt; / con: Stadium > & lt; / con: location > & lt; / con: fault > < / detail > < / part > < part name = "code" > < SOAP: server code > < / code > < / piece > < / remoteFault > < / bpelFault >This occurs if you have several (different webservices) WSDL imported into your project and they share common artifacts(XSD's). In this case, what you do, it's just that you separated from xsd to wsdl and deleted conflicts. This approach is suggested when you do not have control on WSDL that may be provided by different team and they all share common XSD.
Thank you
Smail
http://soadiscovery.blogspot.com -
Problem with the web service call
I use ajax with json to call webservice but its not working with the localhost url in the emulator of the ripple. If I use an ip address or external url does not call the webservice.
I also tried with BlackBerry, webservice does not.
can someone guide me how to call the Web service?
Thank you
Sundaram
Your file config.xml needs the ip address or the url in the "whitelist". Use the access for that tag. for example:
The piece above is not secure because it whitelists ALL------* areas. You can put your url in the uri.
-
Data is encrypted for web service calls?
I wrote a small JME (J2ME) application for a BlackBerry handheld device. This application calls web services to accomplish its mission. I am using the advantage of the specifications of Web Services, J2ME (JSR 172) supported by Blackberry JDE 4.3 +. I use Java Wireless Toolkit 2.2 from Sun to generate stubs and other support classes. I am able to invoke web services and also get the correct answers to it.
After recalling some documents and websites, I understand that any communication that happens between your handheld and BES is encrypted (3DES or AES).
Is the question that I have, if the data between the computer pocket and BES/MDS previously described WebService invocation are also encrypted? I have a question to cause that communication here is initiated by the device.
Can someone please let me know the answers? Thanks in advance.
If you are using MDS: Yes. Between the MDS and the webservice: No.
If you use another link, as direct tcp, wifi etc.: No. -
I try to call a Web ADF SOAPUI or browser Service.
There are two URLS but one of them is accessible and others it does not. We need to put in place something on cloud of Fusion so that we can access the service?
https://ebxg-test.fs.em2.oraclecloud.com/finApInvQuickInvoicesModel/InvoiceInterfaceService?WSDL -does not work
https://ebcy-test.fin.US2.oraclecloud.com/finApInvQuickInvoicesModel/InvoiceInterfaceService?WSDL -I could call it from SOAPUI
All directions?
Kind regards
SID
To elaborate a little more on what Jani said, ". end.«» segment in the second URL means that demand will the field of finance, which is the right place for a web service of financial data. The '.fs.' in the first URL means "Functional Setup" and is another server (domain) that doesn't have the expanded financial services web service, so it won't work.
Hope this helps,
Mr Oliver Steinmeier
Fusion applications Developer Relations
-
Hi Experts,
I am looking for a best practice to make the error handling in the MAF.
Currently my application is using AMPA and call the REST service.
However, I would like to know how to handle this kind of error
1. the device is not connected to the network (can we personalized it?)
2. the device is connected to the network but cannot call service
3 and the other exceptions of the asynchronous call to the AMPA
In addition, how to mark a method call in the exception handler?
referring to this http://multikoop.blogspot.com/2014/02/adf-handling-exceptions-from_14.html in ADF tf we mark as exception handler.
Best regards
Hendry
Hendry,
You have several options. It depends on how you want to handle exceptions:
-If you just want to hide the mistakes of web service end-user call, you can set the showWebServiceInvocationErrors property in the persistence - mapping.xml to false (you want to generally this set to false, by putting your application in production, the default value is true, because during development, it is more convenient to directly see the errors of appeal WS)
-If you want to display a custom error message, you can create a subclass of RestJSONPersistenceManager, register for this subclass using the property "remotePersistenceManager" in persistence - mapping.xml and override the handleInvokeRestServiceError method.
It depends also how you want to process POST/PUT/DELETE requests that fail. Do you want the AMPA runtime register this request as pending for the runtime synchronization action automatically tries to return the claim later? Or you just want to display an error message to the end-user with a text like "try again later?
Steven Davelaar,
Oracle Mobile A-team.
-
Synchronous asynchronous Webservice Web service call error
Hello. I have the following scenario.
I created an asynchronous Web Service (WS_1) to SOA that takes a string as input and waits 10 seconds then returns a reminder. I call this Web Service asynchronous to another web service (WS_2) (that I also created in SOA). In the BPEL I use "invoke activity" to call the Web Service asynchronously and below, I use "activity to receive" a reminder of the Service.When Web I test this Web (WS_2) Service in WeblogicEM, I'm not getting any reminder of asynchronous Web Service (WS_1). On the trail of the flow, 'receive activity' is highlighted and said "Receive1 (in progress)".
-Does anyone know what is happening here?
-Thank you
It is not a good practice to call services async to sync processes.
For your scenario, have the property of the value requiresNew transaction. This property is listed under your synchronization bpel component in composite.xml
-
Hi all
I have to call ODI requests of web service to execute a Plan of management scenario by a presentation (OBIEE) Web tool.
After my current setup:
-R Host: ODI Agent (standalone agent)
-Host B: OBIEE, Weblogic
Following up on my question:
-Can I call web service with an autonomous agent request?
Thanks in advance
Hello
Yes, you can use both the JEE and autonomous agents. It's build-in for both, nothing else to deploy.
-Standalone Agent: http://
: /oraclediagent/odiInvoke? wsdl -Java EE Agent: http://
: / /odiInvoke? wsdl You can use invokeStartScen, invokeRestartSess and getSessionStatus.
It will be useful,
Kind regards
JeromeFr
Maybe you are looking for
-
Re: What is the part number?
Hello people... I was wondering what the part number is suppose to say? Does this affect the specification of your laptop to another? for example, I have this laptop [Satellite A300 - 1 G 5 | http://eu.computers.toshiba-europe.com/innovation/jsp/SUPP
-
How fast is Portege R830 SATA controller?
Hello Recently, I started looking for an SSD performance of my laptop.How fast is SATA R830 - 3 or 6 Gbps controller?Is there a list of supported devices? Thank you! R.
-
Hi all, I just bought my Sansa Fuze (I got a front e250r). I dragged and it deleted all my music files (mp3, for the most part) and they play very well. I'm running a PC with XP. The song title tags came through very well. However, none of my arti
-
Goes to blue screen, don't stay long enough to get an error code.
I upgraded to windows vista, then let it off all by installing. Now, it won't turn. It starts and then goes to blue not screen long enough for even a code of error of about 2 seconds, then asks me if I want to restart normally or repair of the launch
-
How can I access full administrator for some printers via Group Policy?
Original title: give users full rights to printers First of all, I would like to a GPO that will allow all of our users to be able to add, remove, install drivers, etc for all printers on their local computers without being a local administrator. We