Not able to connect to a remote Wcf service
I am trying to connect to a wcf service hosted on a server using this code
function {} Getresults()
var XMLHTTP;
If (! xmlhttp & typeof XMLHttpRequest! = 'undefined') {}
try {}
XMLHTTP = new XMLHttpRequest(); }
{} catch (e)
XMLHTTP = false;
}
}
return xmlhttp;
}
function getDynamicData() {}
var url = "http://xx.x.10.246/Service.Wcf/ReportsService.svc/Volume";
XMLHTTP.open("get",URL,true) ("GET", url, true);
xmlHttp.onreadystatechange = callbackFunction;
xmlHttp.setRequestHeader (Content-Type "," text/xml; charset = utf-8 "");
xmlHttp.send (null);
}
function callbackFunction() {}
Alert (XMLHTTP. ReadyState);
If (xmlHttp.readyState! = 4)
return;
Alert (XMLHTTP. Status);
Alert (XMLHTTP. StatusText);
Alert (XMLHTTP. ResponseText);
}
I always get the alert as 400 Bad request message, but the expected response is xml. I added it in the field. I am able to call the service, but not the function in the service and the function exists. Could someone help me with this?
Yes, I have listed it in the field. I found the problem that I was sending the incorrect soap request. But thanks for the solution.
Tags: BlackBerry Developers
Similar Questions
-
Not able to connect to a remote site to the Windows XP computer.
Original title: need help for the remote Office of information...
.......... A storm disabled the remote site. This site is now running, but my laptop refuses to connect to the remote site. What should I do?
Hi BarbaraAnnH,
1. you receive any code or an error message when you try to connect to the remote site?
2 are. what remote you referring?
You can temporarily disable all security software and check if the problem persists.
Note: Later, enable the security software after checking.
Reference: Remote Desktop: frequently asked questions
Hope the helps of information.
-
I am not able to connect a remote desktop from my laptop computer.
Remote Desktop connection problm
I am not able to connect to a remote desktop from my laptop with Windows XP Professional service Pack 2, but at the sametime I can access the remote computer from other laptops. I tried manythings but it doesnot work.can someone help me? Thank youHello
Is there an error code or the message that displayed when you try to establish the remote desktop connection?Try it out below mentioned methods and check if this may help solve the problem.Method 1:
Check out the link and follow the steps.Method 2:
You can also visit the link below and try the methods in the article.How to use the Windows XP Professional Remote Desktop feature
http://support.Microsoft.com/kb/315328 -
not able to connect database to another user of the operating system using the remote?
Hello
I want to connect database to another user of the operating system. I am able to connect Oracle database to the outside. but not able to connect different OS user.
As an ORACLE user:
[oracle@test1 admin] $ sqlplus /.
SQL * more: Production of the 11.2.0.2.0 version on Mon Jan 16 19:41:57 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
User not ORACLE:
[sample@test1 ~] $ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
[sample@test1 ~] $ export ORACLE_SID = rman
[sample@test1 ~] $ export PATH = $ORACLE_HOME/bin: $PATH
[sample@test1 ~] $ sqlplus /.
SQL * more: Production of the 11.2.0.2.0 version on Mon Jan 16 19:37:42 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux error: 2: no such file or directory
Process ID: 0
Session IDs: serial number 0: 0
Enter the user name:
Thank youMake sure ORACLE_HOME is exactly the same between 2 environments: note that an end "/" is not necessary and that ending ' / ' could trigger ORA-01034.
-
HP Color LaserJet Pro M177 MFP: HP Color LaserJet not able to connect to connected HP
Hello
I try to activate my printer (HP Color LaserJet M177fw MFP Pro) ePrint and much more, but I'm not able to do it cause connection problem, I guess.
When I'm trying to 'print the information sheet', for example, the printer is not able to connect (stay on 'Sign in' loop indefinitely).
My printer is less than a Vodafone EasyBox router, with firewall disabled and no specific barriers defined by me.
Should I set some port forwarding (even if they should apply to ignore the firewall, when turned on) or any other specific configuration in the router?
the same connection problem, of course, it happens when I do touch printer and console web administration, of course.
In addition, I'll let you know that my router is not blocking access, for example, to-from the web (i.e. I am able to manage my NAS from the outside, since he admitted to a DDNS) and other local devices
I alreay set 8.8.8.8 and 8.8.4.4 as DNS pri/sec and had an output of cycle after the series of DNS.
My printer also has a static IP address (defined by the DHCP protocol, based on the MAC address), so not a problem, I think.
Thanks in advance for your help,
Lorenzo
Hi Lorenzo,.
To enable Web Services fumctionality, you'll need to install the latest firmware on your printer (version 20160525)
You can locate the current version of your printer by selecting configuration > reports > Page of Configuration, the firmware version is listed under the information section on the printer.
Updated the firmware on Linux by following these steps, but I don't know if the latest firmware is available for Linux or not, try:
http://hplipopensource.com/hplip-Web/tech_docs/man_pages/firmware.html
If the latest firmware is not available for linux, temporarily install the printer on a Windows PC or a my and install the latest firmware:
Kind regards
Shlomi
-
I am not able to connect to my facebook account and the error message reads "this website does not provide information on property." Help, please
only title bar opens and nothing else... Please help
Clear the cache and cookies from sites that cause problems.
"Clear the Cache":
- Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.
'Delete Cookies' sites causing problems:
- Tools > Options > privacy > Cookies: "show the Cookies".
Also check the cookie exceptions.
-
2000-2314TU HP: not able to connect to the LAN and Wireless network
Hello
I have a HP laptop and it had Windows 8 is installed. It was very slow so I installed windows 7. After the downgrade, I am not able to connect to LAn or wireless n/w. I think that there are some missing drivers. Can anyone please suggest what drivers should I use?
You are the very welcome.
-
Satellite L650-11R - not able to connect to public networks
Hello.
Although I am very satisfied with my laptop, I have a problem. I am not able to connect to public networks using ethernet cable to some location (not everywhere) with different laptops users have no problem connecting to networks of same that I can't, so I think that the problem is my laptop.
I always get the error 'unidentified network '. I tried to replace the cable but the problem still remains.
Any suggestions?
It is not easy to tell what the problem may be, but it is certainly related to the firewall and network settings. Try to disable the firewall and check the connectivity.
Try to compare the LAN settings with others who use the same operating system.
-
Not able to connect to the server with modem 56 k
I try to connect my Tecra via modem 56 k Internet.
Also, I tried with another computer laptop with the same details and that worked.
But when I try it on my Tecra I get an error that is not able to connect to the server.So I think that it is a parameter that is not defined correctly for the modem.
(If you compare it to another laptop all parameters are the same as windows).Thanks in advance,
Theo
Hello Theo
Please remove the Dial-up connections all created and after that, remove the modem from Device Manager. Restart the device and initially ensure that the modem is properly configured (query modem Agic under Diagnostics). I put t know which Tecra you have, but many of them have preinstalled TOSHIBA PC Diagnostic Tool. With this tool, you can see all the equipment including modem.
After having it set up new Dial-up connection and check the functionality. Be sure to wait for the tone option is disabled.
-
my ipod nano is not able to connect to itunes.
my ipod nano is not able to connect to itunes.
What version of Nano? What kind of computer? What operating system on the computer? What happens when you try to connect?
-
I am not able to connect to the main wifi network but can connect to the network of comments.
Hello
This is something new, I am facing to where I am not able to connect to a main network of airport extreme, but can connect to the network of comments. Guest network works perfectly fine while the main network does not connect to devices in the home. I also found that none of my base stations are visible in the airport utility (I Airpot extreme and Airport Express on the same network). Help, please.
The first step in troubleshooting with this type of problem is to perform a complete network power cycle on your network. If you decide to do...
Power off all the devices on your network... modem, routers, computers, printers, etc... in any order you want.
Wait a minute
Turn on the modem first and leave a few minutes, he managed by itself
Turn on the next device that is connected to a modem and leaves turn a good minute
Keep turn on devices one by one at a time, one minute apart, until the entire network is back
Recheck the network and report on your results
-
not able to connect to the game of google on mobile data store
I bought gold x 2 lenovo 32 GB vibe.
in this unit, I am not able to connect to the playstore in mobile data, it says check your connection. But Internet is active n I can navigate can open FB also.
Yet one thing I'm not receving messages instantly in whatsapp, fb, viber. Once I open the app and then receive only the mesaages.
and after the last firmware update whatsapp contacts are not synchronized, integrated Lenovo Security app is diabling syning whatsapp contact.
Please give the solution.
-
Not able to connect to Wifi, USB ports, bluetooth
Hello team
I bought the new HP laptop today. I have installed Windows 7 OS. I am not able to connect to Wifi, not be able to use the blue tooth, not be connected to the USB. I downloaded the drivers from the website of the other computer. But how can I install it with one of them works. Please help us on the question mentioned.
Product number: G8D85PA #ACJ
Thank you
Sunil
Hi Sunil_motukuri,
Thank you for visiting the Forums HP's Support and Welcome.I would be happy to help you. I read your thread on your computer laptop 15-g030au HP and who need wireless for Windows 7 drivers. Here is a link to the drivers.
Hope this helps you.
Thank you.
-
Original title: Win32/Sirefef.DAtrojan
Recently, I got the following virus. Win32/Sirefef.DAtrojan
I was not able to connect to the internet since then.Y at - there someone who can help me with the connection to the internet?I have a Dell XPS600Microsoft XP ProfessionalHello
1. what happens when you try to connect to the internet?
2 - is confined to the browser Internet Explorer problem?I suggest you perform a full scan of the system.Here is a link that will give you know howPerform a full scan of the system:
http://www.Microsoft.com/security/scanner/en-us/default.aspxNote: 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. -
I reinstall windows xp & he said that if I continue, I'm not able to connect to windows. I accidentally hit continue and now I can't log on. Help, please. What should I do now? Lynn B.
original title: Reinstalling windows xpHi Lynn B,.
· What is the exact error message?
· What type of installation you perform? Is this an upgrade or fresh on-site installation?
· What service pack is installed on your computer?
· You have the Windows installation disc?
You can consult the following Microsoft articles:
Install, reinstall, or uninstall Windows
http://Windows.Microsoft.com/en-us/Windows/help/install-reinstall-uninstall
How to perform an upgrade on the spot (reinstallation) of Windows XP
http://support.Microsoft.com/kb/978788
Hope this information helps.
Maybe you are looking for
-
HP Pavilion 17 Laptop: Power light is not out after closing
HP customer care has tried the following: Hard reset, Bios Update, update drivers & software with windows update, power management and system options question Recovery.The persists. The issue only began after download of Windows 10. #ABA product num
-
HP Pavilion dv9310us Notebook PC/1.0 GB Ram/Windows Vista Home Premium with SP2 installed / processor is AMD Turion 64 x 2 Mobile Technology TL-52 / no changes to the factory configuration Lights Out requires:OS: Windows 98/ME/2000/XPCPU: Pentium III
-
BlackBerry smartphones can not configure anti-spam filters
Hi, my father has recently acquired a blackberry from the University of Granada (UGR) and I should be able to enter to http://blackberry.orange.es/ , but after entering my PIN / IMEI, I get an error saying that I can't access a client HTML but direct
-
Differences between versions of the ADF
Can someone point me in a direction where I can read about the differences between the versions of the ADF, more precisely between 11.1.2 and last. I tried googleing but it's difficult as I find information on the differences between the versions of
-
Got "the page you are trying to access is not valid." When trying to access the document
We have an EchoSign document already sent to the clouds to Adobe via API v20, after successful sending that get the URL to access the document. And in our application that is a cluster with two application servers, say a server and Server B and send