I have developed some code to call a web service in c#. The code works fine when not running via the company's network. However, when running from the network it can't see the destination. I believe that this could well be because of a proxy server which is in place.
Does anyone know how to set the proxy server details within the call to the web service?
Thank you.
User Profile
Collapse
-
Web Service - Getting Past the Proxy Server
-
How to page through large volume of data?
I'm creating a web page that will show a form that allows a user to query a database and then page backwards and forwards through the data. In other words one record of the returned data will be displayed on the form and the user can move forward to display the next record or back to display the previous one.
My problem is that a large volume of data may be returned and I'm wondering the best way to keep this data between postbacks. I would... -
Okay, thanks very much for taking the time to respond. I'll give it some thought. -
Thanks for your response NitinSawant.
Would I be able to display a prompt to the user though, only if the order id already exists, asking them whether they want to keep the current order id that they've entered or enter another one?Leave a comment:
-
How can I use server side validation that asks the user a question?
I'm trying to use validation (probably utilising the CustomValidator in ASP.NET 2.0) that checks whether a user entered order id already exists in a database, then, if it does exist, display a prompt for the user to ask whether they want to overwrite the order or enter a different order number.
I'm not sure how to do this. I know I can use client side validation for the user prompt, and server side validation to check the order number against... -
-
Thanks for your reply Frinavale. I've been looking at the event logs but haven't really got anywhere. However, earlier today I think we may have discovered the problem. Passing XML in one of the string parameters seems to cause a problem. It works okay from a .net application but I presume that it's already a string when sent from .net. However, from SAP, the XML appears to affect the soap message somehow. The client has wrapped the XML in CDATA...Leave a comment:
-
Problem Calling ASP.NET Web Service from SAP
I've developed a fairly simple web service which receives an xml string, validates it and passes it on to our internal database.
This has been written to enable one of our clients to send us idocs from their SAP system.
The trouble is that, although the web service works fine from a .net program, over the internet, the client's SAP system can't access it. They either get just an http 200 back (rather than the status code that the web... -
-
Thanks very much for your answer Frinny, it's much appreciated. However, I'm not sure that it's going to be applicable to me. I've only got one IP address to play with so creating two web sites may not be possible. Also I'm using IIS 6 and I'm not sure whether you can do web site redirections from IIS 6 (unless you know otherwise)....Leave a comment:
-
Is there a way to force web service request to use HTTPS.
I have an asp.net web service which has SSL enabled via IIS. It works fine if the user uses https, however I have a user that insists on using http on the url.
What I'd like to do is have the web service (asmx) do the equivalent of the response.redire ct to change http to https automatically.
I don't believe that I can do this from a web service so does anyone know a of a similar solution for web services. -
How to use port number on url. SSL port 443.
Hi, I'm using asp.net on IIS 6 but I guess this issue might not be specific to this environment.
I've created a web service on a public facing web server uitilising ssl.
When I use it using https://domain.com/webservices/sendfile.asmx it works fine. However, one of my clients wants to use the port number instead of https i.e. http://domain.com:443/webservices/sendfile.asmx. This, second, url does not work.
I've looked at the... -
OnTextChanged issue
Thanks for all your help. Just to let you know that I've actually gone for the asynchronous callback route which seems okay so far, and much slicker for the user. However, one thing to be aware of, which caught me out, is that if you set the 'value' on readonly fields, the data gets lost on postbacks. I ended up changing them to enabled=false instead.Leave a comment:
-
I've found a way that I can retrieve the name of the control that's received focus (by using a javascript function and storing the control name in a hidden field on the asp page). So I could issue a call to set the focus of this control after I've accessed the database. What I'm not sure about (because of my lack of knowledge of c#) is how to action the event on a control where i've only got a string of it's name. e.g. it the string is "TextBox2"...Leave a comment:
-
-
ASP.NET OnTextChanged issue
Hi,
I wonder if anyone has any ideas regarding the following issue I have.
I have a form with multple Textboxes. One of the Textboxes uses 'OnTextChanged' to retrieve information from a database using the information keyed into the Textbox.
My problem is that the user will click or tab to another Textbox, the data is retrieved successfully, but, when the form is available again, the textbox that the user clicked...
No activity results to display
Show More
Leave a comment: