Click here to Skip to main content
15,914,642 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Second Post but no Reply (Webservice in Firefox) Pin
Sathesh Sakthivel29-Aug-07 23:49
Sathesh Sakthivel29-Aug-07 23:49 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb29-Aug-07 23:56
Abubakarsb29-Aug-07 23:56 
AnswerRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync29-Aug-07 23:58
Michael Sync29-Aug-07 23:58 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 0:10
Abubakarsb30-Aug-07 0:10 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync30-Aug-07 0:38
Michael Sync30-Aug-07 0:38 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync30-Aug-07 0:41
Michael Sync30-Aug-07 0:41 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 2:32
Abubakarsb30-Aug-07 2:32 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync30-Aug-07 3:08
Michael Sync30-Aug-07 3:08 
You can use "statusText" to know what problem is.

eg:

alert("Problem: " + req.statusText);


Internal Error 500

The server encountered an unexpected condition which prevented it from fulfilling the request.


I would like to suggest you one thing. It is better if you try this in new project.

#1. Create Web Project (C#)
#2. Add Web Service item to your web project.
#3. Paste Web Service Code that I gave you.
#4. Rebuild the application and test whether your web service is working fine or not.. (If you don't know know how to test the web service, I will tell you one simple way. Click "Add Web Reference" and find the web service. If you found the correct web service, click to this link. it will show two functions (testwebservice1 and testwebservice2). then, click on this link and type some data and click "Invoke" button. )
#5. If those steps above are working fine, paste the javascript code to your aspx page. and paste the HTML code.
#6. Check the url whether it is correct or not. (the url from sample might not be matched with the actual URL of your project)
#7. then, try to invoke the function which has no parameter first.... if it is working fine, try another function with argument...


if you are still getting the error, let me know which step you got error... The code that I gave you has been tested with Visual Studio 2005 on Windows XP. It is working fine. Please try first with my code without modifying anything... if it works then you can carry on with your code....





3

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. Smile | :)

GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 3:57
Abubakarsb30-Aug-07 3:57 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 4:34
Abubakarsb30-Aug-07 4:34 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 4:45
Abubakarsb30-Aug-07 4:45 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync30-Aug-07 5:21
Michael Sync30-Aug-07 5:21 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 11:49
Abubakarsb30-Aug-07 11:49 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync30-Aug-07 15:19
Michael Sync30-Aug-07 15:19 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb31-Aug-07 0:32
Abubakarsb31-Aug-07 0:32 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync31-Aug-07 5:36
Michael Sync31-Aug-07 5:36 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Michael Sync2-Sep-07 16:24
Michael Sync2-Sep-07 16:24 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 1:31
Abubakarsb30-Aug-07 1:31 
GeneralRe: Second Post but no Reply (Webservice in Firefox) Pin
Abubakarsb30-Aug-07 1:33
Abubakarsb30-Aug-07 1:33 
QuestionRegular expression Pin
Mr.Sam29-Aug-07 23:35
Mr.Sam29-Aug-07 23:35 
AnswerRe: Regular expression Pin
Imran Khan Pathan30-Aug-07 0:27
Imran Khan Pathan30-Aug-07 0:27 
Questionhow to call function Pin
kuwl_mark29-Aug-07 23:15
kuwl_mark29-Aug-07 23:15 
AnswerRe: how to call function Pin
Michael Sync29-Aug-07 23:20
Michael Sync29-Aug-07 23:20 
GeneralRe: how to call function Pin
Sonia Gupta29-Aug-07 23:53
Sonia Gupta29-Aug-07 23:53 
GeneralRe: how to call function Pin
Michael Sync30-Aug-07 0:06
Michael Sync30-Aug-07 0:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.