Web Service & Reader
I have just made a test connection to a web service.
When I view the form in Acrobat, it works fine..
When I tried to view the form through Reader it does not work.
I thought that this was because I needed to reader enable to form (extend features)
However after I extend the features with Acrobat and save the form, it still will not connect to the web service?
Any ideas?
Thanks
Hi,
Web services will not work in Reader, unless the form is Reader Enabled using the full Adobe LC Reader Extensions ES2 server product.
A summary of deployment options is here: http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
At the end of the post there is a link to the summary (in PDF).
Hope that helps,
Niall
Similar Messages
-
Web Service Call from PL/SQL
Hi Gurus,
I am calling a Web Service(RoadNet Application) from Oracle PL/SQL(11g Database). My code is working for simple xml type to get the response. But when I tried with a complex XML type, I am getting the response, but it does not have the complete output.
Working Sample Code
Here is the code and the calling block which I am using to call. This does not have any input parameters, just one output parameter.
-----------------Start of the procedure----------------------------------------------------------------------
create or replace
PROCEDURE ORACLE_TO_ROADNET_PROC_TEST (p_input IN NUMBER,
l_out_return OUT NUMBER)
AS
l_service UTL_DBWS.service;--TransportationWebService.Service?? what is DB data service?
l_call UTL_DBWS.call;--TransportationWebService.
l_wsdl_url VARCHAR2(32767);
l_namespace VARCHAR2(32767);
l_soap_env VARCHAR2(32767);
l_soap_enc VARCHAR2(32767);
l_instance VARCHAR2(32767);
l_schema VARCHAR2(32767);
l_service_qname UTL_DBWS.qname;
l_port_qname UTL_DBWS.qname;
l_operation_qname UTL_DBWS.qname;
l_xmltype_in SYS.XMLTYPE;
l_xmltype_out SYS.XMLTYPE;
l_xsdoc DBMS_XMLDOM.DOMDocument;
l_dn DBMS_XMLDOM.DOMNode;
l_return NUMBER;
BEGIN
l_wsdl_url := 'http://10.81.8.39:80/TransportationWebService.wsdl';
l_namespace := 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService';
l_service_qname := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
l_port_qname := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'VersionInformation');
l_service := UTL_DBWS.create_service (
wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
service_name => l_service_qname);
dbms_output.put_line('Created the Web Service');
l_call := UTL_DBWS.create_call (
service_handle => l_service,
port_name => l_port_qname,
operation_name => l_operation_qname);
dbms_output.put_line('Created the Web Service Operation');
--UTL_DBWS.set_target_endpoint_address(l_call, 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
UTL_DBWS.set_property(l_call, 'USERNAME', 'SAE');
UTL_DBWS.set_property(l_call, 'PASSWORD', 'CxzMte22');
--UTL_DBWS.set_property(l_call, 'DOMAIN', 'rhea');
UTL_DBWS.set_property(l_call, 'OPERATION_STYLE', 'document');
UTL_DBWS.set_property(l_call, 'SOAPACTION_USE', 'true');
UTL_DBWS.set_property(l_call, 'SOAPACTION_URI', 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
<VersionInformation xmlns="' || l_namespace || '">
<parameters>' || p_input || '</parameters>
</VersionInformation>');
dbms_output.put_line('Prepared the XML String to pass');
l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call ,
request => l_xmltype_in);
dbms_output.put_line('Invoked the Web Services');
UTL_DBWS.release_call (call_handle => l_call);
UTL_DBWS.release_service (service_handle => l_service);
dbms_output.put_line('Before Reading the XML output data');
l_return := l_xmltype_out.extract(''//ns1:VersionInformationResponse/ns1:version/text()','xmlns:ns1="http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService">').getNumberVal();
--dbms_output.put_line('After Reading the XML output data'||l_xmltype_out);
--dbms_output.put_line('l_return'||l_return);
-- l_out_return := l_return;
--dbms_output.put_line('l_dn '||l_dn);
END ORACLE_TO_ROADNET_PROC_TEST;
-------------------------------End Of Procedure----------------------------------------------------
---Call to Web Service----------------------------------------
declare
x_return NUMBER;
Begin
Oracle_to_RoadNet_proc_test (p_input => 1,
l_out_return => x_return);
dbms_output.put_line( ' x_return'||x_return);
end;
-----------------------------------------------------------------------------Sample Code Which is not giving output
Here is the other one which is not returing the right output. It got 3 input parameters and multiple output parameters, looks like it is not reading the inputs and not able to get the response.
-----------------------Start of the procedure---------------------------------------------
create or replace
PROCEDURE ORACLE_TO_ROADNET_PROC(p_region_id IN NUMBER,
p_location_type NUMBER,
p_location_id NUMBER,
l_out_return OUT varchar2)
AS
l_service UTL_DBWS.service;
l_call UTL_DBWS.call;
l_wsdl_url VARCHAR2(32767);
l_namespace VARCHAR2(32767);
l_soap_env VARCHAR2(32767);
l_soap_enc VARCHAR2(32767);
l_instance VARCHAR2(32767);
l_schema VARCHAR2(32767);
l_service_qname UTL_DBWS.qname;
l_port_qname UTL_DBWS.qname;
l_operation_qname UTL_DBWS.qname;
l_xmltype_in SYS.XMLTYPE;
l_xmltype_out SYS.XMLTYPE;
l_xsdoc DBMS_XMLDOM.DOMDocument;
l_dn DBMS_XMLDOM.DOMNode;
l_locationinfo varchar2(100);
BEGIN
l_wsdl_url := 'http://10.81.8.39:80/TransportationWebService.wsdl';
l_namespace := 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService';
l_service_qname := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
l_port_qname := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'RetrieveLocationByIdentity');
l_service := UTL_DBWS.create_service (
wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
service_name => l_service_qname);
dbms_output.put_line('Created the Web Service');
l_call := UTL_DBWS.create_call (
service_handle => l_service,
port_name => l_port_qname,
operation_name => l_operation_qname);
dbms_output.put_line('Created the Web Service Operation');
--UTL_DBWS.set_target_endpoint_address(l_call, 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
UTL_DBWS.set_property(l_call, 'USERNAME', 'SAE');
UTL_DBWS.set_property(l_call, 'PASSWORD', 'CxzMte22');
--UTL_DBWS.set_property(l_call, 'DOMAIN', 'rhea');
UTL_DBWS.set_property(l_call, 'OPERATION_STYLE', 'document');
UTL_DBWS.set_property(l_call, 'SOAPACTION_USE', 'true');
UTL_DBWS.set_property(l_call, 'SOAPACTION_URI', 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
<RetrieveLocationByIdentity xmlns="' || l_namespace || '">
<identity>
<regionID>' || p_region_id || '</regionID>
<locationType>' || p_location_type || '</locationType>
<locationID>' || p_location_id || '</locationID>
</identity>
</RetrieveLocationByIdentity>');
dbms_output.put_line('Prepared the XML String to pass');
l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call ,
request => l_xmltype_in);
dbms_output.put_line('Invoked the Web Services');
UTL_DBWS.release_call (call_handle => l_call);
UTL_DBWS.release_service (service_handle => l_service);
dbms_output.put_line('Before Reading the XML output data');
insert into utldbws.EBH_XMLDATA
values
(l_xmltype_out, sysdate);
commit;
select extractvalue(l_xmltype_out,'//ns1:RetrieveLocationByIdentityResponse/ns1:location/ns1:description', 'xmlns:ns1="http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService">' )
into l_locationinfo
from dual;
l_out_return := l_locationinfo;
dbms_output.put_line('l_locationinfo '||l_locationinfo);
END ORACLE_TO_ROADNET_PROC;
----------------------End Of the Procedure-------------------------------------------------------
----------------Calling Block------------------------
DECLARE
p_region_id VARCHAR2(50);
p_location_type VARCHAR2(50);
p_location_id VARCHAR2(50);
L_OUT_RETURN VARCHAR2(100);
BEGIN
ORACLE_TO_ROADNET_PROC(
p_region_id => '310',
p_location_type => '200',
p_location_id => '499022',
L_OUT_RETURN => L_OUT_RETURN
DBMS_OUTPUT.PUT_LINE('L_OUT_RETURN = ' || L_OUT_RETURN);
END;
-----------------------------------------------------------------------------------------------Looks like this is not reading the input parameters and not returning the output but execution is successful. Please go throguh this and let me know, if I am missing anything. If you have worked on similar Web Services, please let me know.
Thanks in advance!
Ravi
Edited by: BluShadow on 16-May-2013 15:19
added {noformat}{noformat} tags for readability. Please read the FAQ: {message:id=9360002} and do this yourself in future posts.1006367 wrote:
I am calling a Web Service(RoadNet Application) from Oracle PL/SQL(11g Database). I would not use UTL_DBWS. I had to do another web service interface recently, had a look at UTL_DBWS, and again decided not to use it. Simply put. It lacks.
I use SOAPUI (OpenSource/free version) to interrogate the web service (read wsdl) and format a sample SOAP envelope to use.
I then use UTL_HTTP and code a HTML POST for that web service, using the SOAPUI generated envelope as template. Supporting WSSE is also not a problem (easily done using PL/SQL).
I posted an example of my approach in {message:id=10448611} almost a year ago - and recent experience having looked at both UTL_DBWS and the plan vanilla PL/SQL HTTP approach, I still recommend the latter. -
Role of Web Services in cross organisation BPM
What are the pros and cons of using web service based decentralise approach for managing Inter-Organisational BPM? What are the challenges and what are the benefits?
Regards
Ganesh SawantPROS:
Using the Webservices you can trigger the BPM Process and pass the values from the web dypro component which will available for the end user and pass it on to the BPM Proess.
We can use EJB as a webservice, where the automated activity in the BPM can output the value based on the logic in the EJB Function. We can manage the automated activity which runs in the back ground of the process as per our logic and returns the value to the next task.
CONS
Using Webservices in the various activity with fewer data is not advisable as it takes longer time to deploy the process. And any change in the data in the webservices requires regularly re importing of the web services. -
Is Web-Services the only way to trigger Workflow on Time-Based conditions?
<p>
Here is the requirement:
When a Custom Object's record is set to a specific status and it hasn't been modified in 7 days an email should be sent to the owner to notify them to update the record.
Any thoughts on how we can do this?
Thanks,
Dan
</p>Tim, I would recommend that you post this question on the CRM On Demand Integration Development forum. Also, some of our On Demand partners are capable of creating this functionality with web services.
-
Publishing Web Services from NWDS in PI 7.4
Dear All,
We have a scenario where we publish a Web Service to be consumed by a 3rd party which in turn calls an ABAP proxy for an acknowledgement (Synchronous Call).
I have followed the various bloggs and SCN discussion points and have published a Web Service to the Service Registry by generating a Java Bean Skeleton from the Service Interface in NWDS.
I have generated an Integration Flow (simple Point to Point using a SOAP Sender and HTTP_AAE Receiver to the Proxy) and deployed it on the Integration Server. All OK at this point
The problem I have is that when I try and test the deployed Service through WS Navigator, the Proxy isn't called and I get a blank Response from the Web Service call. We don't have the option to use a SOAP Test Client (like SOAP UI) due to security reasons.
Could anyone give me some pointers as to why this isn't working.
Thanks,
MarkHi Mark -
Go to Integration Directory(swing client)-> open the corresponding ICo -> from the menu item (Integrated Configuration) -> select the option "Display Wsdl".
Use that URL to test your web service. -
Bulk batch Jax-WS web services and memory concerns
I have a requirement to create a web service client to upload 150,000+ records from our database. My main question is whether others are creating web services to process bulk data and how they handle memory concerns.
I began with the standard API, populating the jax-b annotated beans created from the wsimport. I used JConsole to analyze memory usage. I noticed that there is a sharp spike in the plot of the heap usage (from 200MB to 800MB) right after the invoke method call.
The problem is that the max heap size on our app server is set to 1GB and since this application shares it with other applications I keep getting a out of memory error.
I was asked to look for alternatives, so I tried using the Dispatch API creating the payload by sub-tree marshaling to StAX. The issue I then ran into is that I have a outputstream and the dispatch api is expecting an inputstream. I tried the options found here http://ostermiller.org/convert_java_outputstream_inputstream.html
However after using jconsole to analyze again it appears the writing to a temp file or using a byte array increases the amount of memory being used to almost equivalent of using the standard API. I tried using piped streams in separate threads and the single threaded circular buffer methods, but the application seems to hang after the invoke method call.
Any help would be appreciated.also, you could "page" the data, returning some max number of records in each page of data and a "next page" cookie. this is the standard approach to returning bulk data from a web service.
-
Using request object in java web service code
Hi,
I am working on a java web service and require the request object in my code.
This is because i want to get the name of the user who is using this web service.
I am getting error in the line
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
Please guide me how to use the request object.
Please also suggest if there is any other way to get the name of the user who is using the web service.Simple answer: This is not possible due a web service doesn't has such request objects.
If you want to use the user information you have to pass it from the programm logic you are calling the web service. When you have e.g. a JSPDynPage you can read out the user information and supply this information for your web service. -
Invoking P6 web services using PL/SQL block
Hi Team,
We have requirement like
Oracle jobs will invoke PL/SQL code to authenticate and establish a session with the P6 Web services.
Web service will export Project data from One Primavera database as an XML and copy to common location.
Then this XML project files will be imported into archive database.
Could anyone help me how I can establish sessio between Pl/SQL and P6 webservices?
Please let me know if you need any more information.
Regards,
Santosh
Edited by: SantoshV Singh on Apr 29, 2013 10:09 PMIt will be no different than connecting to any web services through PL/SQL which is pretty hard to do and if you are asking how to do it then you have a steep learning curve ahead of you and not a great deal in the way of good examples out there.
I wouldn't even attempt the approach you suggest. Instead I would probably write a Java application to do it and use your PL/SQL to enqueue a message that routed to the Java application. Then the java application with the Web Services support and P6 client would be easier to do what you want with web services. -
Well I am new to web services. I have a small doubt. We are trying to develop a tool which uses web service that standards the communication between my tool and different surveillance
systems.
What my tools should do is, it needs to get data from different surveillance
system using common API.
My first question is
1) Should I implement a web service or a client. I guess the answer should be, implement a client. if so, should I make my WSDL public and tell them and if you want to provide me the data you have implement a web service definition corresponding to my client. I am a bit confused here. So pleeeeeeeease help. I need to submit my design to my professor by the end of the week.If your tool needs to be called from the surveillance systems, you could publish a web service and give the wsdl to the various surveilance systems. Then when they need to contact you they can invoke your web service.
-
Hi,
I am currently using LiveCycle ES and having problems invoking nested web services on forms. It looks like I have to use flattened web services. I will be upgrading in a few months to ES3. Does it allow invocation of nested web services on forms?The 9.1 GTC Webservices provisioning connector does SPML only. It cannot consume a generic non SPML WSDL and generate stubs (no matter how much the documentation makes it sound like it can).
That said, I'm not sure I totally understand your question. An SMPL web service provider is going to have a WSDL and it can be run by a servlet or any other server technology (like .net) capable of exposing functionality as a web service. -
Web service invocation using pl/sql
Hi
Am trying to invoke a webservice using PL/SQL.
Any ideas?
I will be recieving the response as XML and then present the information using XSL which I have ready.
Or any other ideas to invoke Siebel Analytics report from portal (no BPEL). I have WSDL.1006367 wrote:
I am calling a Web Service(RoadNet Application) from Oracle PL/SQL(11g Database). I would not use UTL_DBWS. I had to do another web service interface recently, had a look at UTL_DBWS, and again decided not to use it. Simply put. It lacks.
I use SOAPUI (OpenSource/free version) to interrogate the web service (read wsdl) and format a sample SOAP envelope to use.
I then use UTL_HTTP and code a HTML POST for that web service, using the SOAPUI generated envelope as template. Supporting WSSE is also not a problem (easily done using PL/SQL).
I posted an example of my approach in {message:id=10448611} almost a year ago - and recent experience having looked at both UTL_DBWS and the plan vanilla PL/SQL HTTP approach, I still recommend the latter. -
How to check resource existance using standard web-services?
Hi,
There was the web-service KMNodeServiceStrdWSVi_Document in the SAP EP 7.0 that exposed the function "exists" checking whether the folder exists or not.
SAP EP 7.3 does not contain KMNodeServiceStrdWSVi_Document web-service and I did not find any function in the RepositoryFramework web-service.
Is there any other web-service providing this functionality?
Thanks in advance.Hi Arun,
I got the data in the context in the response node .But the problem is that the web service returns an array of objects which inturns has array ob object, I m only able to get those values from the response node from the context which are simple string type.Could u pls tell me how can i get the complex data which is present in the response node in the context.
Can i traverse the node(i.e) the rray in the context.CAn u tell me wat can i do.The response node has the complex structure as defined in the WSDL file ,i just need to get the data present in the array of that context which is populated by the web service. -
How to recombine exported tifs using IPM Web Services
Just like the title says, I would like to recombine exported single page tifs from one document, into a single multipage tif using the Web SDK. There is a thick client API call (ExportedDocument.RecombineDocument(Range)) to do this, but I cannot find its web service equivalent.
Hi Arun,
I got the data in the context in the response node .But the problem is that the web service returns an array of objects which inturns has array ob object, I m only able to get those values from the response node from the context which are simple string type.Could u pls tell me how can i get the complex data which is present in the response node in the context.
Can i traverse the node(i.e) the rray in the context.CAn u tell me wat can i do.The response node has the complex structure as defined in the WSDL file ,i just need to get the data present in the array of that context which is populated by the web service. -
Web Services in Inter Organisation BPM
Hi All,
What are the pros and cons of using web service based decentralise approach for managing Inter-Organisational BPM? What are the challenges and what are the benefits?
Regards,
Ganesh SawantPROS:
Using the Webservices you can trigger the BPM Process and pass the values from the web dypro component which will available for the end user and pass it on to the BPM Proess.
We can use EJB as a webservice, where the automated activity in the BPM can output the value based on the logic in the EJB Function. We can manage the automated activity which runs in the back ground of the process as per our logic and returns the value to the next task.
CONS
Using Webservices in the various activity with fewer data is not advisable as it takes longer time to deploy the process. And any change in the data in the webservices requires regularly re importing of the web services. -
Development of SPML Web Services in OIM
Hello All,
I need to write some custom SPML based web services, which are not available in OIM 9.1.0 release.
Is there any framework available that can be used for the same?
Thanks in Advance,
ShyamThe 9.1 GTC Webservices provisioning connector does SPML only. It cannot consume a generic non SPML WSDL and generate stubs (no matter how much the documentation makes it sound like it can).
That said, I'm not sure I totally understand your question. An SMPL web service provider is going to have a WSDL and it can be run by a servlet or any other server technology (like .net) capable of exposing functionality as a web service.
Maybe you are looking for
-
Problem with forwarding to new page in jsf
Hi I am facing a problem. I have a checkbox in my jsp page and 3 submit button. The two button works w r t check box and its woking fine. I am getting problem with the 3rd button. I want to fwd to next page once the button is clicked. For the check b
-
Wht is the tcode to include and report on the sap main screen?
Hi all, What is the Tcode to include any program on sap main screen? like when we logon to the sap, it will display abap editor, etc.... i want to include one more item there, can anybody let me know how to do that? thanks
-
BW data model and impacts to HANA memory consumption
Hi All, As I consider how to create BW models where HANA is the DB for a BW application, it makes sense moving the reporting target from Cubes to DSOs. Now the next logical progression of thought is that the DSO should store the lowest granularity o
-
My computer is consuming too much battery since i did the update yesterday. What could be the reason?
-
RAID Mirror failed - help interpreting error code?
Hi all - I run the primary disk mirrored on my Dual 2.0 Xserver (10.4.7) using Apple's software RAID. No problems for two years, but found this am a warning on System Monitor, showing my RAID as degraded - one disk had dropped out of the set. All fun