How to stop the success recorded by the web service to display two times answer
I use the HTTP communication to send the entire PDF document to a web service. I'm not having problems with the actual presentation.
However, the status message "registered success' that is returned by the web service displayed twice. Why?
This is the response from the web service code.
Context.Response.Clear)
Context.Response.Buffer = True
Context.Response.ContentType = "application/vnd. FDF.
Context.Response.Write ("%FDF-1.2" & CRLF)
Context.Response.Write ("1 0 obj < <" & CRLF)
Context.Response.Write ("/ FDF < <" & CRLF)
Context.Response.Write ("/ status (form successfully registered)" & CRLF ")
Context.Response.Write ("> >" & CRLF)
Context.Response.Write ("> >" & CRLF)
Context.Response.Write ("endobj" & CRLF)
Context.Response.Write ("trailer" & CRLF)
Context.Response.Write ("< < / Root 1 0 R > >" & CRLF)
Context.Response.Write("%%EOF")
Context.Response.End)
Thank you
Diane Asberry
I've upgraded to Adobe Reader XI and the problem disappeared.
Thanks for your help.
Diane Asberry
Tags: Acrobat
Similar Questions
-
How to call the web service?
Hello
I want to know how to call the web service from my application HTML5 & javascript.
Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.
I just want that when you call a web service method, I will return the result.
Please try this out for a WebService call
var xmlhttp; xmlhttp = new XMLHttpRequest(); xmlhttp.open("get","your url",true); xmlhttp.setRequestHeader("Accept","application/json"); xmlhttp.setRequestHeader("Content-type", "application/json"); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { if (xmlhttp.status == 200) { console.log(xmlhttp.responseText); } } } xmlhttp.send();
This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.
-
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.
-
How to consume the web service using PLSQL in 11g
Hello
I created a site using jDeveloper, web services which when I put in the web browser and press enter, it will display the settings screen and when I pass the value for the parameter, and then it displays the output of the XML returned by the PL/SQL (called in the Web Service) package. Now, I want to call this webservice in PL/SQL and read XML data and fill in the staging table. Can anyone suggest me how to achieve this functionality by using Oracle PL/SQL
I use the database 11g and jDeveloper Version :-Studio Edition version 10.1.3.0
Thank you very much in advance.
Vijay
The WSDL file describes the web service.
To obtain the WSDL, you enter the URL of the web service and add some ? WSDL to the URL. This indicates the web service to return to its definition.
For example
URL of the Web Service: http://wsf.cdyne.com/WeatherWS/Weather.asmx
WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL
When you read (using 'web browser' UTL_HTTPpackage) the XML response from the web service, read as strings (PL/SQL varchar2, size 32 K max).
You should read the answer as the strings, then writing/writeappend these channels in a CLOB (using the DBMS_LOB package). If you are VERY sure that the web service call ALWAYS returns an XML of less than 32 k, you can skip using a CLOB.
Whatever it is, read you the response from the web service in the form of text (such as plain text, it is what is sent). The next step on your part is to parse text into an XML DOM (document object model) - and storing the DOM in an Oracle XmlType variable.
When in a DOM, you can use Oracle XML functions to extract the attributes and values of the key element of the response from the web service.
-
How to add THE web service to the ACL?
I want to access a web service from a PL/SQL procedure (using UTL_HTTP) since a 11g R2 database. However, before you do anything, I need to give access to the web service by adding the web service to the access control list (ACL).
I want to test the web service is full here: http://www.service-repository.com/service/overview/-1789095104
This is a free WS, you can use to test the code WS. The endpoint is http://www.w3schools.com/webservices/tempconvert.asmx
Therefore, adding www.w3schools.com to list ACL will be fine, I think? Am I wrong?
I tried the method below but I get this error and the user guide is not clear what to do.
SQL > exec dbms_network_acl_admin.assign_acl (LCD = > 'temp_ws1.xml', host = > 'www.w3schools.com');
BEGIN dbms_network_acl_admin.assign_acl (LCD = > 'temp_ws1.xml', host = > 'www.w3schools.com'); END;
*
ERROR on line 1:
ORA-31001: handle or path of the invalid resource name ' / sys/acls/temp_ws1.xml '.
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 86
ORA-06512: at "SYS." DBMS_NETWORK_ACL_ADMIN', line 94
ORA-06512: at "SYS." DBMS_NETWORK_ACL_ADMIN', line 479
ORA-06512: at line 1
Any help would be greatly appreciated.
This,
host-online "www.w3shools.com."
is not the same thing as this,
host-online "www.w3schools.com".
-
How to access the web service from Oracle?
Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
I'm making a call to a web service through a procedure/function...
I tried to use
But it's me ORA-29272: HTTP request failedCREATE OR REPLACE PROCEDURE Call_Rest_Webservice AS t_Http_Req Utl_Http.Req; t_Http_Resp Utl_Http.Resp; t_Request_Body VARCHAR2(30000); t_Respond VARCHAR2(30000); t_Start_Pos INTEGER := 1; t_Output VARCHAR2(2000); BEGIN /*Construct the information you want to send to the webservice. Normally this would be in a xml structure. But for a REST- webservice this is not mandatory. The webservice i needed to call excepts plain test.*/ t_Request_Body := 'the data you want to send to the webservice'; /*Telling Oracle where the webservice can be found, what kind of request is made and the version of the HTTP*/ t_Http_Req := Utl_Http.Begin_Request('**webservice address**', 'GET', 'HTTP/1.1'); /*In my case the webservice used authentication with a username an password that was provided to me. You can skip this line if it's a public webservice.*/ --Utl_Http.Set_Authentication(t_Http_Req, 'username', 'password'); /*Describe in the request-header what kind of data is send*/ Utl_Http.Set_Header(t_Http_Req, 'Content-Type', 'text/xml charset=UTF-8'); /*Describe in the request-header the lengt of the data*/ Utl_Http.Set_Header(t_Http_Req, 'Content-Length', Length(t_Request_Body)); /*Put the data in de body of the request*/ Utl_Http.Write_Text(t_Http_Req, t_Request_Body); /*make the actual request to the webservice en catch the responce in a variable*/ t_Http_Resp := Utl_Http.Get_Response(t_Http_Req); /*Read the body of the response, so you can find out if the information was received ok by the webservice. Go to the documentation of the webservice for what kind of responce you should expect. In my case it was: <responce> <status>ok</status> </responce> */ Utl_Http.Read_Text(t_Http_Resp, t_Respond); /*Some closing?1 Releasing some memory, i think....*/ Utl_Http.End_Response(t_Http_Resp); END;
ORA-06512: at "SYS." UTL_HTTP", line 1029
ORA-12545: Connect failed because target host or object does not exist
But I can connect to the web server by going on * webservice address * through my browser.
Is there an ACL must be open in order to have this capacity? I asked my s/n, but she asked me that I will need to give its name to username/password / ip in order to open an ACL...
However there is no name to username/password required during a tour of the web service...
Any help would be much appreciated...
Thank you
Published by: 986006 on March 4, 2013 08:38Y.L wrote:
This is because the database could not connect to the specified server. Bad host name or IP address specified. Inability to resolve the hostname to an IP address. Firewall blocking. Etc.
The host name, I put here can be visit through my browser. I think that it is not question of the host server... So, it could be a firewall on my side of the database which must be opened in order to visit the host?
The "web browser" (your PL/SQL using UTL_HTTP code) code is running on the Oracle database server. He needs the same type of network access that has your browser on your PC. (firewalls open, authentication of the proxy if necessary, etc.).
On 11g. Not on 10g.
I saw the code example you post from the link you provided... those who only works on 11 g?
If we can work on 10g, which package or what are the steps I need to follow in order to have that works on me?The code I posted works on both versions. My comment was regards the ACLs. No ACLs exist on 10g. If you only need to execute privs on the affected packages (e.g., UTL_HTTP, etc.).
ACL were introduced with 11g - 11g, you also need the ADMINISTRATOR to create an ACL for you which will allow access to the UTL_HTTP network so now.
-
How to deploy the web service PAPI
I am new to OBPM.
I use BPM studio 10.3 to create processes.
I set the preferences of the engine "from PAPI web services." This works.
But I do not know how to deploy them to web services PAPI since the BPM web service console shows that no service is deployed.
Please tell me how to deploy BPM processes.
Thank you very much
Published by: YE on March 27, 2009 09:58To expose processes that Webservice, please follow the steps below.
Just click on process--> select process Webservice then it will open a new window, and then specify the name of the corresponding input parameter Web service method.Then build the application and test the service by clicking on the icon LaunchDeployedWebServiceswebapp in Eclipse, it will open the new window, it contains information about Web service, URL endpoint to access the WSDL Style HTTP WS, WS-Security authentication basic authentication.
Thank you best regards &,.
M.Kumaraswamy. -
Need to use the web server or to publish web pages, is there anywhere to start easily, thank you.
Help-> find examples - > LV Queue Server
/Y
-
How to stop the search box to display bookmarks
The moment I start typing in the search box of Firefox, a menu drop-down if poster just below it displays the names of the Favorites whose names begin with the same letters of distinctive research group typed, I created. How can I STOP doing this?
You can check the parameters of location bar:
- Firefox/tools > Options > privacy > address bar: when you use the location bar, suggest: history and bookmarks, history, Favorites, nothing
- https://support.Mozilla.com/kb/location+bar+AutoComplete
Note that the sites you have visited will become part of history and you need to clear this history.
-
I use a Panda scan after the start and believes that this same cookie is found and removed whenever (Atlas DMT Cookie) how can I stop this?
The path to the file is settings\user\cookies\woby1h2u.txt and the documents of c:\Hello
This seems to be a problem with Spyware, I suggest that you download and run a full scan of the system using the Microsoft Safety Scanner.
Microsoft safety scanner
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note:
The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
You may also be interested in downlaoding the Microsoft Security Essentials, which offers protection in real time for your home or small business PC that protects against viruses, spyware and other malicious software.
Click on the link provided below for more information.
http://www.Microsoft.com/en-us/security_essentials/default.aspx
-
I just bought an HP deskjet printer 3525 and after setting up, whenever I open assistant printer scan etc, the e-print web page will automatically open in my browser. I don't use print e & it becomes extremely irritating. I'm about to return to that retailer because of this situation, small but very annoying printer
Oh Yes... I had the same problem but I forgot to mention... my bad
the solution is...
- Copy the url.json file to another location (Office, perhaps)
- Then, change the copied file and save
- then copy this file and replace the original one in your file assistant hp
- Open the hp printer assistant
I guess access to modify the refused for security of windows 7
to stop people or programs make changes to files, particularly in the C drive.
Remember to keep a backup of the file in case something goes wrong...
-
How to call the web service in blackberry sdk 3.6 using eclipse
Hello
I said it
His work very well when I run as html in the browser IE.
while I try to run in webworks, it gives the error.
Thank you
Barro
-
How to create a generic method that calls the Web Service
Hi I have a question how to create the Web Service client. In design mode, I can't specify static URLs? WSDL and process.
I found the briliant method in library of apache cxf.
for example
DCF JaxWsDynamicClientFactory = JaxWsDynamicClientFactory.newInstance ();
Customer customer = dcf.createClient ("http://soabpm-vm:8001 / soa-infra/services/default/MailSender/mailsender_client_ep?") WSDL");
Object [] results;
try {}
Results = clientA.invoke (QName new ("http://xmlns.oracle.com/SynchDSBpel20/MailSender/MailSender", "process"), '@', 'body', 'subject');
} catch (Exception e) {}
In my case, I should create a method with params (URL? WSDL, URI, name of operation, param1, praram2, param3)
Y at - it something like CXF in the ADF library?If your question has been answered, can you please mark as answer?
THX
Antonis -
Unable to connect to the Web Services Proxy/unused (a HP 7500 JO)
Hello
Here's the situation:
Previous installer:
. I have connected my 7500 for the corporate network (IP = 172... series)
. registered the product with ePrintCenter
. used a PC under Windows to print (and scan) with the printer
. web proxy entry "webproxy.phila.gov".
. However, because homeland security rules, I could never work, so I just let it go
Current situation
. has taken the home printer and set up on my home network, i.e.,.
-using the 192.168.xx.xx series
-Router broadband Netgear ' G' (1 years) set up at the 192.168.xx.254
-SSID & encryption assigned
-printer, the value 192.168.xx.155 (static IP address, the subnet and the gateway assigned as well)
-My DNS is identical to the bridge and it works fine for all the internet access to this day
-with the help of a PC and a Macbook Air to print and scan and everything works fine
. HOWEVER,.
-Initially, 'web services' were active (carried over from when I was on the company neetwork?)
.. Are looking for, found and downloaded updates
-When I went to hp.com ePrintCenter he showed the product as 'registered '.
.. He would'nt I would like to connect (with a name and a password I had used previously), or create a new account
.. I never remember getting an email address of the printer
.. and I had never been able to send anything to the printer to print because of my problem of network security
-Yes, after trying all sorts of things, I:
.. I tried to get another email without success
.. tried to re - enable web services, but he said I need to 'proxy', and I discovered that he had always "webproxy.phila.gov."
.. I have reset the values by default web services and network values
.. I put the static IP address return address in (i.e., printer, subnet and gateway (it has nowhere to put in a DNS one))
.. printing and scanning to 192.168.xx.155 works fine
.. From my iPad AirPrint works very well
. BUT, I still can not online and therefore web server, web services are not enabled, therefore not ePrint
-everytime I try, it says it needs a proxy
- but I don't have a proxy installed on my internal home network bit
-Comcast/Xfinity, my ISP, do not use a proxy
So, I'm dead in the water. I can't figure out how to get the web services enabled; I do not use a proxy, so I don't know how to go beyond this issue. How to regenerate address of the printer; and so, how do I connect an account on the ePrintCenter (or get them to send me my old account information). I'm dead in the water and cannot use a feature most of my printer that I desperately want to be put in place and functional.
Any help would be greatly appreciated!
Tommy
Problem solved, but I don't know exactly how I did it. However, I went back in and let the printer assign the IP address. Then I turned the printer off and on again. Last I kept pressing the button "Printer e-mail address", who has repeatedly failed, but then finally went through and print the 'printer' page, I quickly used to connect to the ePrintCenter and put everything in place.
Now it's working. -
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.
Maybe you are looking for
-
an I can cushion of wireless photosmart 5510?
can I an I Pad wireless connection with photosmart 5510?
-
I'm changing the ownership of files/directories with a domain network environment. Using takeown /f \\server\share/r/a/dy. It works fine but when I check the property is actually on my administrative account as the owner. I'll need for administrators
-
Transfer to external hard drive?
How can I transfer emails selected as 'Good' currently in Windows Mail on an external hard drive?
-
error codes ox800704227 & ox8100002f remember to come to the top, what I do.
-
Safe mode - the F8 key does not work after update.
HelloKey F8 used to work well before the updates, what should I do to get it back?I know how to use options in msconfig startup and other workarounds for SM, but all I want is key F8 works again.TKS.PS - Configuration of initial startup of PC always