Forum Array

WCF / ASMX :: Consuming Webservices With Https?

I wrote some webservices in my solution and it works fine when i consume it in my local machine... BUT when i deploy it in the public IP and using https. I'm not able to consume the webservices i got a "The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via" Error... I tried to change my configuration in my web app from security mode="None" into security mode = "transport" and I got an error... (forgot to log the error) Note* I'm using virtual IIS (this is where i test my project)

View Answers

Very Similar Questions

ActionScript 3.0 :: Does Flash Web Services Allows Https:// Over HTTP
Does flash web services allows https:// over http ?

MVC Switching Between Secure To Non - Secure Content
After logging to the mvc site using a secure connection (https), calling actions using https connection show up with the user logged in but calling actions using http it bahaves as if user didn't log on. Since I need to use a virtual directory for https connections(and can't use that directory for http connection) Https links start with: [URL]

I want to know abt the https: and SSL connection. how can we implement it.

.net - Passing Data To ASP.NET Webservice Using JSON?
I have successfully returned data from a ASP.Net webservice in JSON format (using a service method that required no parameters) but have struggled with making a webservice call that requires a parameter. Webservice: [Code]...

I am installing a “CubeCart” (On a dedicated server), my cart and DB work fine however when I try to get cranked on the HTTPS/SSL. I create an endless loop I did run a test <?php echo $_SERVER["HTTPS"]; // if return 0 my php environment doesn't give a value for // $_SERVER["HTTPS"] ?> It returned 0 Reason is that it looks like the server/php doesn't have a value for that variable then it will never detect it and CubeCart will go into a continious loop.

HTTPS Doesn't Work - Secure And Non Secure Data On Web Page?
I have a browser compatibilty problem with https? I have SSL installed and is in usage. Until today morning, my https part is working well. From then, Https is shown as https(with slashed in red color) saying the page has some insecure content. I have not changed any code and suddenly i see this problem in chrome. In IE 8, i see the same problem but on every page, it shows me a popup if i should allow to opne secure and non secure or just secure. Firefox has no issues . It shows correct https without any problem. I am fed up with it searching all over. Why is this happenening for me in Chrome and IE 8.

AJAX :: Custom Exception Handling In Webservice?
I am trying to write a webservice that's going to be used through ASP.Net Ajax. In this webservice I have to add exception handling so that in case of any error, I could log them to some central place and then throw. In my other areas of code (like aspx pages), i have been using a basepage which Overrides System.Web.UI.Page class's OnError by adding a custom event handler. I want to do the same for my webservice as well. Basically I do not want to decorate each webservice method with a Try Catch block. Instead if there is a clean way like to override the on error method, i want to go for that. Unfortunately the WebService class does not seem to have any functionality for this.

JQuery Calling Webservices With Parameters And Getting Data Back?
I have a JQuery template, and I want to call a webservice and populate the fields in it. The issues I am having are, I'm not sure how to pass parameters in my $.ajax call (ideally, I want to pass a dictionary so I can pass as many or few parameters as I want). I tried data: { Key : Value } but get a 500 server error saying something about not a valid JSON primative. Once the webservice is called, how can I get my data back in a JSON string that is compatible with a JQuery template? My webservices usually get a List and my jquery template works with a JSON object. The problem is basically the format of data between client and server. My webservice call works fine, it's simply a problem of JSON and data. Edit: I have succeeded in calling the webservice with a dictionary, I am now trying to figure out how to get the data back. I'm getting a circular reference error.

When I was studying Jatar K's illustration of a secure log-in system, he did mention that it should be used in conjunction with HTTPS - I'm assuming for extra security. I've seen https pages (https appears at the beginning of the url string and a little padlock usually (always?) appears at the bottom of the browser window) but what does https do? And how do you do it? and what is the advantage of a https page over a regualr http page? As you can tell, I really know nothing about this, but I want to do what i'm doing correctly and - even if my login script is working well and appears to be secure - I just want to make sure.

.net - Webservice To WCF?
we had developed a webservice in,framework 2.0. We would need to rewrite this websevice in WCF with framework 3.5. Please provide some guidance regarding this and also there are many othersystems consuming our webservice url. Will this conversion have impact on the source system or does it involve any build activity for the source system to consume the url that will be developed with WCF method?

Web Forms :: What Is The Use Of OutputCache
<%@ OutputCache Location="None" VaryByParam="None" %> Because when am using this line in http then the attachment is opening fine but not for https.But after removing this line then https is working fine.

Copy Data From DataTable To ArrayList
I am trying to implement ajax auto complete control using a standard webservice. inside webservice a table adapter is called which will return a dataTable containing a single column. this table adapter uses a stored procedure with following script

C# - Performing Authorisation/authentication Between Webservices?
i am developing webservices.In that i want to maintain state information so that all WebMethods could be access only after Login.I have tried but getting problem.I am attaching my code.Any other alternative will also be welcomed. [ WebService(Namespace = "")] [ [code]...

AJAX :: AutoCompleteExtender Not Calling Webservice?
I have the following code to retrieve a list of employee names from a webservice.  The webservice works fine when tested alone but using it here, it never gets called as I type in the Textbox.  If I try the example at, it states the CompletionListCssClass and ones below it are invalid attributes of the Externder class??? <asp:ScriptManager ID="ScriptManager1"[code].... :: Securing Web Services To Be Consumed From Flash?
my team is building a game in flash to be embeded in a application.When the game is over the player have the chance to type his name to save his score.This is done using web services called from flash. The webservice receives the name and score.Since the webservice is publicly available how can I make it only callable from my flash given the following conditions:The .swf is hosted by the same application There are two domains that can access the same application (I have run previously into cross domain issues).Using SSL is not an option. The webservice has to be consumed by the .swf file.

Security :: Secure Login From A Non Secure HTTP Page?
I have a custom mini login user control that I have embedded in the top of my website which shows on every page. These pages are non-secure HTTP://.   I would like to avoid having to redirect the user to a HTTPS page to perform the login but I definitely don't want to send login credentials to the server in plain text. I am trying find a method to send the user's login credentials encrypted via https from a non-secure (http) page. I tried to set the postbackurl for the login button to itself but in https, but the user's input is not retained and the buttonLogin_click is not fired when I set the button postbackurl property. My web application is VB.Net framework 4.0 I am assuming this can be done because I see lots of websites where login fields are on available on every page and they are running http and I can believe they are not encrypting the login credentials.

WCF / ASMX :: How To Execute WebService Asmx Link From Default.aspx Page Link Using HTTPRequest And ...
I have spent a couple of days on this one.  I have an ASP.NET website that has Linkbuttons on the Default.aspx page..  I added a WebService to the Website because later on the WebService will subscribe to a Provider(Feed) of News, Sports and Weather and things like that.  So when a Linkbutton on the Default.aspx page is clicked it will connect to the link in the WebService which will load the News, Sports or Weather onto  the Default.aspx web page.       The problem is I can't get the LinkButton to execute the Link in the WebService.  The link will call the page up to where you see all of the Web References.  But then if you want to execute one of those references you have to click its link and the Invoke button that will follow. My questioh is how can the link on my Default.aspx page execute the link in the WebService.  Now I changed the LinkButton into an <a href> but I still can't execute the link in the WebServices.  I always use as the link when testing and I wasn't sure about the return type so I put "void" for an HTTPRequest,  so below is the link from the Default.aspx web page and below that is he asmx file: [code]....

C# - Failed To Load Asmx File?
I am using the gleamtech filevistacontrol for a back-end of a website. When i load the page which contains the control i get an error that a language file could not be found. I get an 404 response when calling the webservice. The application is running on a windows server 2008. On my development machine the application is running without problems. I got the filevista control running in another application but this is running on a windows server 2003 machine. Things i have tried:1. Verified all that all files are there and that the permissions are set correctly I added the following line in my web.config in the system.web section. <webServices> <protocols> <add name="HttpPost"/> </protocols> </webServices> I started from scratch with deploying the application. I tried two different versions of the filevistacontrol My guess is that is has something to do with the asmx that couldn't be loaded but i am out of options..

C# - Transforming A List Of Objects Into List<List<string>> Of Data?
I am trying to use the jquery DataTables plugin for my system, using a webservice to populate the data through an ajax call.What I need to return from the webservice is a List like this: List<List<string>>;I have about 120 different domain classes being used by this as the core data objects, so I need some kind of system where I can get the data from the different domain classes and transform them into List<List<string>> in a somewhat automatic way.The way I am getting the data is something like this (example code):List<Core.Room> coreDataList = Core.GetRoomsInHotel(int hotelID);I have been looking into DynamicLinq and System.Reflection, but have gotten nowhereUPDATE: What I need to return from the webservice is an array like this: [ ["data-col-1","data-col-2","data-col-3","data-col-4"], [code]....

I want to access a Lotus Notes Database via SOAP. PHP Version is 5.2.0, OpenSSL support is active (OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004) But I get this error message: Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: Unable to set private key file `test.cer' in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: failed to create an SSL handle in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: Failed to enable crypto in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient(https://notes.domain.tld/samson/sam...sf/Partner?WSDL) [function.SoapClient-SoapClient]: failed to open stream: Operation now in progress in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "https://notes.domain.tld/samson/samain20.nsf/Partner?WSDL" in /abbreviated/soap-test/index.php on line 7 Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://notes.domain.tld/samson/samain20.nsf/Partner?WSDL' in /abbreviated/soap-test/index.php:7 Stack trace: #0 /abbreviated/soap-test/index.php(7): SoapClient->SoapClient('https://notes.s...', Array) #1 {main} thrown in /abbreviated/soap-test/index.php on line 7 Here is my code snippet: <?php $wsdl = 'https://notes.domain.tld/samson/samain20.nsf/Partner?WSDL' $options = array( 'local_cert' ='./test.cer', ); $client = new SoapClient($wsdl, $options); ?> The aquired the certificate with "openssl s_client -showcerts -connect notes.domain.tld:443" My question is now, wether I made a mistake or the SOAP server doesn't work properly. But when I access the WSDL file via browser, I get a valid XML file back. Any ideas for me? Thx Peter

SSL .. Https
In my server I can generate a CRT Code, a Primary Key, and a CSR code ... And i know how to check for https using : $_SERVER['https'] and if it isnt https, change it to header("Location: https://$thispage"); HOW do i INCLUDE it in a webpage? do i copy the code my CRT-generator gives me and paste it on top of my HTML? or all i have to do is type https:// and the certificate in my web server will be active? question: Do i paste the CRT-generated code into my website? If so... how ? on top? on bottom? etc... What do i do with the CRT code: -----BEGIN CERTIFICATE----- "my CRT code" -----END CERTIFICATE----- and the CSR code (if i need it) : -----BEGIN CERTIFICATE REQUEST----- "my CSR Code" -----END CERTIFICATE REQUEST----- Is there any other ways in which i can use PHP with SSL, perhaps some extra functions or snippets that may be of use while using SSL?

Translate PHP Json Webservice Request TO .Net Json Webservice Request?
I have to send a request to Webservice and I have a working PHP solution, that I have to translate in Here's the code working in PHP //fill in the details of the contacts.userId is obtained from loginResult. $contactData = array('lastname'=>'Valiant', 'assigned_user_id'=>$userId); //encode the object in JSON format to communicate with the server. [code].... Naturally I imported a reference to a Json library and Imported (Imports Newtonsoft.Json)?

Jquery - Use JSON With APS.NET?
I have an assigment where I must send queries to the database and the returns data. I would like to convert that data to a json and then use it with jQuery My idea is make an array (¿arrayList?) and then convert it to json. How can i use json with vb? I'm not allowed to use a webservice yet

Actionscript 3.0 :: Json : How To Post JSON Data
I have to work with webservices in Actionscript. I found the following code that allows me to use JSON URLs that implement only the GET method. However, it doesn't work for POST methods (doesn't even enter the "onComplete" method). How can i "POST" JSON data using Actionscript 3.0? package { import flash.display.Sprite; import; [code]....

Url's Shows Non Secure When Moving Away From A Secured Link Without Hardcoded Url's In Html
I have an site. It has an order form which is accessible at The links on the site do not include the domain name. So for example the home page is 'default.aspx'.The issue is that if I click on a link like the home page from the secure page, the url becomes instead of's a good way to handle this? The scheme should automatically work using any domain name based on where it's launched from. So if the site is launched from 'localhost', moving away from the secured page, the url's should be http://localhost/...

Warning: File_get_contents() [function.file-get-contents]: URL File-access Is Disabled In The Se...
i got an error message when i try to do file_get_contents() function Warning: file_get_contents()[function.file-get-contents]: URL file-access is disabled in the server configuration in /data/20/1/112/111/1927437/user/2100551/htdocs/cti-dev/admin/my path My site is https.

Open/read A Remote Https File?
How can I do this? cURL isn't available. I have tried Code: $filename = "; $handle = fopen($filename, "r"); But $handle doesn't seems to exists Any suggestions??

.net - Deserialize JSON Into An Object?
I'm having an issue with getting some of the values from with this json string: { "kind": "shopping#products", "etag": ""YZWJaKE3MHROIW8rCIlu9mAACLM/6qxBB-GwuSPy5L3_zVS6sS2NYFI"", "id": ",2010:shopping/products", "selfLink": " [code]....

JSON.Net VB Deserialize Not Working?
I'm new to VB and trying to write a webservice that exports and imports JSON.I'm using JSON.NET 3.5 and can serialize fine: My Token class is: <DataContract()> _ Public Class Token [code].....

Make JSON String Much Faster?
I was using a JSON MAKER class to make a JSON string to send off from my webservice - it was way too slow - so I thought I would do the string manipulation right in the recordset loop - how could I go wrong - it is only 1141 records![code]...

Web Services - POST A JSON To A Specific Url Using .NET?
I'm a newbie about web services in VB.NET. I'm making a desktop application that will talk to JIRA[URL]..They provided a REST api that I decided to use. The first step is to login which they say that... "To log in to JIRA, you need to POST a username and password in JSON format..." {"username" : "admin", "password" : "admin"} to this url... https://addressgoeshere (we are using https) Can someone provide me a sample code to do this so I can have a guide and a good start?

Javascript - JSON Array Type Resolution In ASP.Net Webservices?
I have worked out how to pass my custom objects into ASP.Net json webservices. Works a charm. Problem I am having is passing in straight arrays of my custom objects or alternatively passing in arrays that are parameters of my custom objects. So for example... Public Class WebService1 Inherits System.Web.Services.WebService <WebMethod()> _ [code].... Fails with error: The value "System.Collections.Generic.Dictionary`2[System.String,System.Object]" is not of type "WebApplication1.WebService1+Person" and cannot be used in this generic collection. Parameter name: value So how do I explain to that it is infact an array of Person? note: That changing the function to as List(of Person) or ArrayList does work but given that I implement my own custom collections this is not optimal for me. UPDATE: Ok so what I have worked out so far is that this problem is definitely associated with how the JavascriptSerializer uses the SimpleTypeResolver to resolve types. Basically if I do something like this Public Function AddPersonList(ByVal PersonList As String) As PersonList I can recreate the error using the following code. Dim PersonList As PersonList = jsonSerializer.Deserialize(Of PersonList)(PList) However when I provide my own custom type resolver along the lines of Dim jsonSerializer As New JavaScriptSerializer(New MyCustomTypeResolver) I can successfully create an instance of my custom list.Now I have worked out how to provide my own custom convertor in the web.config file. Along the lines of this.... <system.web.extensions> <scripting> <webServices> [code].... PSS: I have tried to use the assembly fully qualified name as specified in the docs for the SimpleTypeResolver (SimpleTypeResolver MSDN) but this throws a "Operation is not valid due to the current state of the object." exception - which is an error caused when the TypeResolver cannot resolve the name? My problem was never passing in a List(of Object) into my webservice (I simply posed the question as such to simplify it for stackoverflow). In such a case I would be willing to completely accept using a Generic List(of) but my problem was actually that one of my custom objects implemented a property with a strong typed List(of) so for example: Customer {CustomerID AS Guid, FirstName AS String, LastName AS String, EmailAddresses AS EmailAddressList} which now needs to be changed to Customer {CustomerID AS Guid, FirstName AS String, LastName AS String, EmailAddresses AS List(Of EmailAddress)} This is admittedly not the end of the world and is probably better in the webservice context (as you have suggested) but definitely a detriment when it comes to internal application usage of my Collection properties. What this means is that once I have this property I either need to cast it to my CustomCollectionList every time I want to use some advanced feature or I need to implement another property which exposes the CustomCollectionList.

Javascript - Return JSON From ASP.NET .asmx?
I have the following test method:Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols <WebService(Namespace:="")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <System.Web.Script.Services.ScriptService()> _ [Code]... Even with the ResponseFormat attribute added the response is still being returned as XML rather than JSON.

Security :: HTML Reader Working On A Secure Website?
I am working on an application to read some data from a website that requires a login. I am using the WebClient class to read the page. For example if I have a page it can read the page fine. However If I have a page than it requires authentication. I have the username/password required I just need to know how to pass it in using C# .net.

Using Iframe In Secure Page Show Non Secure Message On IE8?
I have a web page that used IFrame to show an http website in my https page. The problem is: It keeps showing user non-secure message.(as in attachment) I have read some articles. Most of those articles suggested to change the security setting in the IE, which is not a good solution. My question is: Do we have any solution that show both Secure and Non-Secure site in the same page without showing security message?

Resources On Secured Web Site?
We have a web site in the domain, let's name: It is necessary to implement same look-and-feel on another web site ( As we can see, the 2nd is in the sub-domain of the 1st one, but it is secured (it uses https).To achieve same look-and-feel same DLLs are used in both web sites. These DLLs contain functionality for menus, JavaScripts, etc). But the 2nd web-site uses images and some css files from the 1st one. For example, in order to display "Logo.png" instead of usual "~/Images/Logo.png" the following path to file is rendered into HTML: ""

Difference Between Synchronous And Asynchronous Webservices?
What is the difference b/w synchronous and asynchronous Webservices? And In what situation we gonna use in real time.

Logging Username With Elmah For WCF Webservices?
We are using the approach described here to log our webservice errors with Elmah. And this actually works, but sadly the username beeing logged is empty. We did some debugging and found, that when logging the error in the ErrorHandler the HttpContext.Current.User has the correct User set. We also tried: HttpContext context = HttpContext.Current; ErrorLog.GetDefault(context).Log(new Error(pError, context)); and ErrorLog.GetDefault(null).Log(new Error(pError)); Without success. how we can make Elmah log the username? On a sidenote, when logging the error directly within the Webservice, the username is logged as expected. But taking this approach is not very DRY.

AJAX :: Call Viewstate In AutoCompleteExtender's GetAutoCompletionList Method?
I am using VS 2008. I am using Ajax Autocomplete extender to populate a textbox. usually there is a webservice method which populates data into the autocompletion list... but in my case, the data is coming via an instance method... At the time of doing the autocomplete, the autocomplete calls the method, the data is getting lost in the page postback..My situation is such that I cannot use a static method to get data from database, since there is already a public instance method.I am using the technique of calling GetAutocompletionList without using a WebService method.  [System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]     public static string[] GetAutoCompletionList(string prefixText, int count, string contextKey)     { // want to use static viewstate here ..

AJAX :: Return Complex Type In Json Format?
I was using Extjs to send a json object to my webservice/Update method , but I find the following error in firebug reseponse. [Code]....

WCF / ASMX :: Signature Or Decryption Was Invalid?
We are using wse 2.0 sp2 and I recently installed a new webservice as windows service previously it worked fine but once I re-installed it as windows service it throws an error The signature or decryption was invalid Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.Services.Protocols.SoapException: The signature or decryption was invalid Source Error: [SoapException: The signature or decryption was invalid] Microsoft.Web.Services2.Messaging.SoapClient.SendRequestResponse(String methodname, SoapEnvelope envelope)

JQuery :: Parse Or Use Returning A String Array From Websevice?
i wrote a webservice method. i am using it with ajax jquery. method returns string[] array. ho can i read array's values using ajax jquery.

MVC :: Can DataAnnotations Persist Through Serialization
I am using business objects that are accessed via webservices.  These objects can be loaded via the webservice and serialized to my mvc app.  The mvc app can get a web reference to the objects and they can be utilized in the mvc app.  However, the business objects are where the classes are defined, and where the annotations are applied.   The mvc validation seems to have no idea that there are System.ComponentModel.DataAnnotations attributes applied to this business object class.   1) Are DataAnnotations lost when objects are serialized / deserialized?  2) If in mvc I use a view model approach, and have nested objects (which themselves have public properties - decorated with DataAnnotations) can/will the mvc validation system traverse the entire object model, the model being used for my view?  (so it can see DataAnnotations attributes of the nested object)?

Accessing Web Service From Jquery - 403 Forbidden Error?
When I'm accessing web service from jquery, I'm getting the 403 forbidden error.. I published and created in the virtual directory too. Wat's the cause of this error and how to rectify it? I've added the webservice in the same solution.. This is my following code.. $(document).ready(function() { $("#sayHelloButton").click(function(event){ $.ajax({ [code].... I suppose using that url path for webservice is wrong.. I used the path 'DummyWebservice.asmx'. There I'm getting the 500 internal server error.

AJAX :: AutocompleteExtender Does Not Work?
I have aproblem with autocomplete extender in Vb website , it does not work at all never call the webservice here is the code for the page [code]....

AJAX :: Autocompleteextender In A ModalPopupExtender?
I have a working AutoCompleteExtender that gets it data from a webservice and have it on a number of my forms to retrive a list of names for my application user to select from.I've had no real problems setting this up but I now want to use it within one of the pop up windows on my app.Is it allowed to have an AutoComplete inside a PopUpExtender as it's not showing up as I'm typing.  I've just plain copied the AutoCompleteExtender straight to the Panel that is the Pop Up window.

GetXML From A Table Adapter In Code Behind?
I have a TableAdapter coFW_OrderDetails_Details_SPTableAdapter that exposes the method GetData. GetData accepts numerous parameters. I would like to return the data using dataset.getXML for a webservice. The code I am using to fill the table adapter is below.

Checking Username Availability?
I need to check the username availability like ( in 3.5 with AJAX concept. How to do this?

Jquery :: Looping Over A Json Array?
I am getting the following JSON string from a webservice. [{"TITLE":"asdasdasd","DESCRIPTION":"asdasd","PORTFOLIOID":1}, {"TITLE":"sss","DESCRIPTION":"sss","PORTFOLIOID":2}, {"TITLE":"sdfsdf","DESCRIPTION":"sdfsfsdf","PORTFOLIOID":3}] Can i loop over this array in jquery and output the individual key/value pairs?

JQuery :: Split HTML In Divs - Based On HR Tags?
I want to split articles (= HTML content) that I receive from a webservice in different DIVs, based on a HR tag.I explain with an example, this is what I receive from the service: <p>This is an article bla bla</p> <hr/> <p>this is the next page of the article blabla ...</p> I want to make, based on the HR-tag: <div><p>This is an article bla bla</p></div> <div><p>this is the next page of the article blabla ...</p></div> I tried different thinks but is doesn't work. How can I do that with Javascript or JQuery (or with another method ;-))?

C# - SOAP WebService And .Net?
I have to connect with PHP WebService via SOAP from a .Net (C#, WPF) application. I added reference to this service, some proxies were generated.When I invoked some function: var client = new someAPIPortTypeClient(); XmlNode[] response = client.status(arg1, arg2); I got response: [code]...

Soap - Consume A Webservice Returning ComplexTypes ?
I am using PHP 5.2.10 and I am trying to consume a webservice which returns complex data types using the standard SOAP extension.The problem is that SoapClient does not populate objects which are nested into other objects / array of objects. A simplified example of what I get when I call the getUtente method, specifying "my_unique_id" as a parameter is: stdClass Object ( [getUtenteReturn] => stdClass Object[code].... What I found I am not the only one experiencing this problem. In particular I found this comment in the PHP official documentation and this other forum entry to give two different ideas on how to approach the problem, but I have not been able to turn any of those two ideas into a working solution: I seem not to completely understand the logic behind the examples given. I would be grateful if anybody could guide me in this: some working code on another webservice would be welcome, but what I am primarily after is really understanding the problem and the logic of the solutions proposed (the fish lane, not the fish!).

Read Long Value From Webservice Using SoapClient?
I'm writing a soap consumer in PHP for a ws written in Java (Jax ws). The webservice exports a function listRooms() that returns an array of the complex data type Room which contains an id (64 bit long) and a description (string). Now whenever I consume the webservice using SoapClient, the id is converted to float (as there are no 64 bit integers in PHP) and I want to avoid it. As I will need the room id to consume other web services I would rather avoid this implicit conversion to float, keeping it in a string.

PHP SOAP And Passing Identically Named Nodes
I am having trouble passing parameters into the SOAP client functions of PHP. I would like to pass the following XML onto the webservice (example for demonstrational purposes) : Code:

SOAP Class For PHP4?
I need to connect to a webservice via soap, and only realized that the server I need to work on is PHP 4. Are there any good methods to connect to a web service using PHP 4?

What Is HTTPs
I have a PHP program that runs on Apache and connects to MySQL. The network administrator told me that they will block HTTP and allow HTTPS, will that cause a problem with my application? The administrator will install the certificates, do I need to change the code? The database is hosted on the same server too.

Web Services - Generate Code From Wsdl?
I have a bunch of webservices that I need to write PHP clients for. Now I can manually write wrappers for each of the WSDL files but i wanted to see if there is a tool that can help me by generating the wrappers in PHP.

Wcf - Soap Request Client To Webservice Using .net?
How do I send/Receive SOAP messages usiung .NET I wanted to invoke a webservice, however not like the way shown in the link above.What I did was, created a service reference with the wsdl url(in a windows application with a button click event) [URL] have created a client object Dim objProxy As MyClient = New MyClient() I have populated the objrequest and objreqheader using the below methods, (assigning string values and not xml) = "abcd" Finally the below line invokes the service objresponsehead = objProxy.myoperation(objreqheader, objrequest, objresp) From reference vb, this is the myoperation public function Public Function myoperation(ByVal RequestHeader As AFA.RequestHeaderType, ByVal GetTransactionDetailsReq As AFA.GetTransactionDetailsReqType, <System.Runtime.InteropServices.OutAttribute()> ByRef GetTransactionDetailsResp As AFA.GetTransactionDetailsRespType) As AFA.ResponseHeaderType [code].... I checked the property of objProxy, it is having basic http binding as the property. Anyone invoked the service like this? From soapui, the response is fine, after i populate the request fields.How can i enable the trace to see what is the request going and where is the problem.

C# - Cookie In Default Not Secure But Secure In SSL?
I have a GUI when i log in i create a cookie and it encrypt it. I am usin SSL. I check in the Login.aspx page if the cookie is secure, which it is. but then before going to the default page it goes to the Global.ascx page. Here in the Application_AuthenticateRequest it gets the cookie and decrypts it for the default page.. Now i know that it is getting the same cookie as all the other attributes match the one that was created in the Login.aspx page excet that the secure value is "False". this is the case for all other pages after default. the value of the is false. why is this happening as i want all the pages to be secure by SSL. Also the pages are opening as https not http. here is my web.config [code]....

Page Contains Both Secure And Non Secure Items
I'm working on a legacy web application - frames and a mixture of html, asp and aspx. The entire site is https. For some strange reason when I hit a specific page I get the magic message that says the Page contains both secure and nonsecure items. (IE obviously doesn't want to tell me what those resources are) I have checked the page that's being loaded and there are absolutely no http://... links - everything is relative links. I have fired up fiddler and checked what's being requested - everything looks fine. I am completely at wit's end here. I have absolutely no idea why I'm getting this message, but it's completely screwing with the site.

How To Achieve Condition For Webservices Synchronous And Asynchronous
I have one small problem. I am using Asp.Net web services in my application. In aspx application i have a condition that for sample, [code].... look up my above condition. In the else if condition suppose a is greater than zero i wil call webservices. But what i need that suppose the services are not returned the value within 4 seconds, i will need to go to first condition that is call stored procedure. I hope you understand. How can we achieve this condition. I thought that we can achieve syncronous. But i dont know exactly about it.

AJAX :: Sync Postback To Form With A Different URL / PORT When Form Contains ScriptManager / UpdateP...
I have a page with a ScriptManager / UpdatePanel.  I currently need to PostBack to a https page from an http page (different ports).  I also need the same session data.  Currently, I copy my form to a new form, and when I postback to my new Target on a new Port, I get a crash in xmlHttp..something.  I will have to post more details later.  I'm currently wondering if this is possible.  And does anyone know of such a fix.  I even tried to Turn off Partial Rendering and I still get crashes.  I can't do this until I pull out the scriptManager / UpdatePanel.

Membership Force HTTPS On PostBack?
I have a login form on the home page of an ASP.NET 3.5 website which for performance reasons needs to be accessed with a standard HTTP connection. Since the normal postback for an ASP.NET page is relative call for the post, it would mean that when the browser posts the values are sent unprotected. I would like to do one of two things to make this secure: Force the Postback to be secure to the same page Send the post to a different page using an HTTPS connection Is there a way to implement option one? I'm also looking at the Authentication Service, but looking at the URL reference it is using a relative path: Sys.Services._AuthenticationService.DefaultWebServicePath = '../Authentication_JSON_AppService.axd'; I don't see a way to override this to put in an HTTP path.

Javascript - Dynamically Change Form Post URL?
I want to make the results of an ASP.NET form POST "bookmarkable", and I'm thinking of using query parameters to accomplish this. The idea is that a user will visit and they will type in a math problem, and view the results. The query and results are visible at{some guid here}The only part I don't really know is how do I change the target of the form URL since I'm using a POST instead of a GET..Here are the options I came up with, and I'm not sure what is practicalSubmit form as usual, server redirects to a URL with the new parameters attached Use a webservice or callback to get new URL. Javascript then updates form target

Passing Multiple Parameters To Web Service
I have a simple Web Service method defined as: [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string MyWebMethod(string foo, string bar) { // DataContractJsonSerializer to deserialize foo and bar to // their respective FooClass and BarClass objects. return "{"Message":"Everything is a-ok!"}"; } I'll call it from the client via: var myParams = { "foo":{"name":"Bob Smith", "age":50},"bar":{"color":"blue","size":"large","quantity":2} }; $.ajax({ type: 'POST', url: '', data: JSON.stringify(myParams), contentType: 'application/json; charset=utf-8', dataType: 'json', success: function (response, status) { alert('Yay!'); }, error: function (xhr, err) { alert('Boo-urns!'); } }); However, this yields the following error (a breakpoint on the first line in MyWebMethod() is never hit): {"Message":"No parameterless constructor defined for type of u0027System.Stringu0027.","StackTrace":" at System.Web.Script.Serialization.ObjectConverter.ConvertDictionaryToObject(IDictionary2 dictionary, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeMain(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) at System.Web.Script.Services.WebServiceMethodData.StrongTypeParameters(IDictionary2 rawParams) at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData, IDictionary`2 rawParams) at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","ExceptionType":"System.MissingMethodException"} I'd like to pass in two string parameters and use DataContractJsonSerializer to write new Foo and Bar objects. Am I missing something?

AJAX :: Get AutoCompleteExtender To Work?
I'm trying to implement an <asp:AutoCompleteExtender>. Its some extension i downloaded from te web called the AjaxControlToolkit. Does anyone have experience with it cuz i cant get ik to work like it should. To start: I'm trying to make an asmx file but VS2008 makes a cs file instead. What are Page Methods? What steps do i need to take to make it work? My Code: [Code].... And thats about all the code i inserted... i don't get an error it just does not work... What is it i don't see / know... i'm new to all of this after all. And how do i test the webservice file?

AJAX :: AutoCompleteExtender Not Firing In IE 7 All The Time?
I'm using Visual Studio 2008, .NET 3.5, on a Vista 64 bit machine. I have a simple application that has 2 textboxes that are both setup with an AutoCompleteExtender. They both work as expected with the following exception only in IE7. The top textbox has the focus by default, I set this in a pageLoad javascript function. [Code].... I enter in some text in the top textbox and after 2 characters (MinimumPrefixLength="2") I get the list from my webservice and I've coded it so that once an item from the list is selected it uses the OnClientItemSelected="eventHandlerPnum"to call the javascript function 'eventHandlerPnum' which sets the document.location to a url with the item as a query parameter. This works fine the first time. If I use the back button when I start entering text into the top textbox I get the browser cached entries in a dropdown after the first character and the list from my webservice doesn't show up after the second character. I've tried this in Firefox, Chrome, and Safari and they all behave correctly, ie they always display the web service list after the second character.

Validate Url With Or Without Subdomain?
How do you validate a url whether it has subdomain (www) or http:// or https://? This Regex doesn't look good, Dim re As New Regex("^(http|ftp)://(www.)?.+.(com|net|org)$") Dim mc As MatchCollection = re.Matches("") When a user inputs a url at the browsers address bar, say "", the browser simply append "http://", making it a valid url. Also, if the user inputs a complete url "" then might as well live it, it's valid anyway. I would like to have the same functionality using a Regex if it is possible.

.net - Calling A WCF WebService Via WsHttpBinding
I have a WCF webservice I can connect to it via basicHttp, but not wsHttp. I try to conenct to it via wshttp via the following: $service = new SoapClient ([URL] array( "location" => "[URL] "trace" => true, 'soap_version' => SOAP_1_2 ) ); The call to the SoapClient constructor returns fine. When I try to call one using $client->FunctionName, the page just sits there loading for quite a while, and eventually returns the error "Error Fetching http headers". What exactly is this supposed to mean and how do I fix it? (Consuming the service from .Net client works perfectly.)

SoapClient Escaping XML Tags?
I recently lost hours to the PHP 5.2.1 SoapClient when trying to use a remote webservice. There are two methods I have to use, the first one worked like a charm and the second one has me fuming mad. The two methods are "GetSessionToken" which expects two strings, and "SetProjectData" which expects XML wrapped in a CDATA tag. My problem is that the XML I pass to SetProjectData is being escaped by the PHP SoapClient and I don't know how to turn this off. The XML characters < > and & are being escaped to < > and & -- I need this to stop! It's not documented on anywhere and I don't know where to turn. Sample: $client = new SoapClient('my.wsdl',array('tracing'=>1));   $getSessionTokenParams = array('username'=>$username,'password'=>$password); //When passed to the webservice in the next line, this creates two XML tags, <username> and <password> with the appropriate values inside   $client->GetSessionToken($getSessionTokenParams); //Runs properly, gives me a session token.   $setProjectDataPayload = "<![CDATA[<data><projectinfo>details</projectinfo> [Code]... Most importantly: How the heck do I turn "feature" off? I just want it to pass the literal data I send to it,

SOAP, PHP, RPC And C# .Net
I have an app that calls a webservice written in PHP. I have referenced the WSDL and when sending data to the server, methods like following work fine: soapservice MySoap=new soapservice ();"arg1","arg2"); However, when I need to receive data from the server or extract results, I am not sure what to do. None of the methods list any data type returns. Of course, I know what should be returned and we had been using "RPCResult" and XML documents from a SoapReader in VB6 using the SOAP SDK. Assuming I am going to retrieve an RPCResult and XML file from the above method, does anyone have any advice?

Asmx Json Serialization Versus Wcf Json Serialization?
I have two experimental web services. One is an asmx contained within a .net web application. The other is a WCF service library being invoked from the web application.The asmx basically does everything I need, but I think WCF would be better, except that it doesn't do anything as I would expect after fiddling with the asmx service.For example, the same method behaves differently in each: ' ASMX <WebMethod(BufferResponse:=True, EnableSession:=False)> Function Test(aObject as Object) as Object ' object will have been successfully serializaed into a dictionary [code]...

How Do I Make It Login In At A Distant Website Using Vb6? -and By Useing A .txt File
Hi,im making a program that will open a username from a .txt file and a password from a .txt file, it's most like a basic auth for my program. I will probally make the program connect to a php file to see if the authorization is correct and the user will have to make their own txt file and write in the username i gaven them and do the same with the password... (I know there are many other login functions but I want it this way only.)lets say the website looked like this;[url]")So what im really asking is, how do I make the visual basics read a username from a .txt file and put the first word it see's onto the browser? then read the password file (.txt) and put in on the browser at the same time and press enter?this is what I thought the code might of looked likeVB Code:Private Sub Home_Click()x = text1Print "Text1"y = text2Print "text2"Shell ("explorer End Sub[b]x[/b]?pass=[b]y[/b]") that coding probally get's you confused much as I. Thats why im asking if you have any idea on how to do this? even a suggestion in how to code this would be great! Im stuck on this one part so please help me thanks.

CS4: Where Did The Layers Chain Link...
Layers used have individual chain link options. (CS1) The way it is handled now, is awkward and time consuming. If you want to link layers that are not next to each other, you shift-select all the unwanted ones in between as well. Than you need to de-link those in a second go. (By moving down to buttom for each single layer you need to deselect) Is this supposed to be a smart improvement? Is there an on/off option to have individual chain link with every layer, that I have missed?

VS 2010 : Convert Datatable To JSON?
I want to be able to turn a datatable or dataset or the results of my SQL queries into JSON - purpose is for a WCF service which will not do it.

Could Not Deserialize JSON Object?
We are trying to consume WCF service which returns employee details in JSON {"d":[{"_type":"Employee:#","BigThumbNailURI":null,"ID":1,"Name":"E1"},{"_type":"Employee:#","BigThumbNailURI":null,"ID":2,"Name":"E1"}]} From code behind when I am trying to deserialize it it's stating that "Expecting state 'Element'.. Encountered 'Text' with name '', namespace ''."

Send JSON As Response From A WebService In .NET?
I'm building a Web Service in VB.NET and I want to answer using JSON. Currently my answers looks like this {"myVar1" : "From moscow", "myVar2" : "With love"} I would like to be able to use " (and CarriageReturn), and have the reponse like this : {"myVar1" : "From moscow", "myVar2" : "With love"} How can I avoid this transcoding of the " in " ? Here is my interface definition : <OperationContract()> <WebGet(UriTemplate:="/TemplateGet?ID={id}", ResponseFormat:=WebMessageFormat.Json, [Code]....

Jquery :: WCF Not Deserializing JSON Input?
I have a WCF service defined as follows: Imports System.ServiceModel Imports System.ServiceModel.Web <ServiceContract()> [code].....

WCF Not Deserializing JSON / Parameters In Web Service Are Null
I am having the same issues as per this question: WCF not deserializing JSON input..I am at a loss and desperate for a solution. I have scoured the net for answers, but I have found only this question that matches my exact problem. My datacontract parameter is also nothing when the service starts.I have tried the points of the answer in the question above, but they provide me with no clues (The web service executes OK -I am not getting any exceptions - and I can't see what the deserializer is doing - or not doing as the case may be).I am using POST, due to the size of the nested JSON.If more detailed information is needed, I will provide it on request.[code]

Passing A JSON Object As A Dictionary(Of String, Object) To WCF Web Service?
I'm trying to setup a WCF web service to be consumed by JavaScript using JSON and jQuery.I've noticed that you can send JSON without a DataContract if the service method parameters match the naming structure of the JSON object: <ServiceContract(Namespace:="")> <AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> [code]....

Android - Json String Mutating?
I have a .Net WCF Rest service returning Json to be consumed by an Android app. In debug, the WCF service correctly has the return value (Json) as: {"BaseLoyaltyPoints":1480,"BonusLoyaltyPoints":0,"BrandId":1414, [etc...] } Also in debug, when it returns to Notepad, the return value has changed to: {"BaseLoyaltyPoints":1480,"BonusLoyaltyPoints":0,"BrandId":1414, [etc...] } [Code]...

ASMX Call - Returning Response Header As XML Instead Of JSON
My ASMX call is returning Content-Type = text/xml; charset=utf-8 I am using ASP.NET 3.5 and jQuery.Ajax. Have added these things are per numerous suggestions from Stack Overflow. I have done these things Done this at web.config <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> [Code] ..... But whatever I do, the response header is still of type xml. What part am I missing here?

Return Multiple Objects As JSON From Webservice?
I have the following code to return a one-object JSON array, Imports System.ServiceModel Imports System.ServiceModel.Activation Imports System.ServiceModel.Web [code].... The returned data is : {id:1,Text:"TText test"} How to make it returns : [{id:1,Text:"Text 1"},{id:2,Text:"Text 2"}]

How To Return Base64Binary From A Webservice Request
How would I return a base64Binary type back from a web service request? I would like to return the base64Binary of a PDF document from the binary datatype from SQL Server 2008. Is base64Binary the same as Byte? Do I have to convert the Byte to Base64 then to String? - Create JSON Data With .NET?
At the moment, I am building json data as follows: <%@ Page Language="VB" Debug="True" EnableViewState="false" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient" %> [Code]..... Is this the preferred method of creating JSON data using .NET? I think I am supposed to use asmx web services with arrays converted to json? But all the examples I have seen are in C#.

Professional :: Reproducible Error: Flash Can Not Parse This Document
I have a reproducible error: I am being forced to fix corrupted flash files that give the "Flash can not parse this document" error. But shortly after I fix the problem, the files are re-corrupted.   Here is how the problem is reproduced: when I update a custom component that is used in other symbols in the library. When a new version of a custom component symbol added to the library, replacing an older version, the symbols that contained the old symbol are corrupted in the XML. This is tedious and time consuming to work around.

Json :: Flex - Flash Builder Will Not Read Local File?
So I've tried to build a small utility to view the contents of a JSON file in an easy-to-understand manner (for non-tech people).I have Googled far and wide, high and low, but every example that shows how to consume a JSON file in Flash Builder uses the HTTP service, pointing to a file on the web.Here I am, sitting in front of my MacBook, wondering why I can't make this work. In the documentation I've found (sort of relating to this issue), they always show Windows examples, and they seem to work fine:That doesn't work. I've tried some "resolve to path" syntax, but the HTTP service does not seem to allow for anything but file paths in quotes.

ActionScript 3.0 :: Read Json Data From A Web Service?
I'm trying to read json data from a web service. The problem is that it seems URLLoader always return the data as XML so I can't decode the json string.   This is my code :   import com.adobe.serialization.json.JSON; var myRequest:URLRequest = new URLRequest(<asmx, web service path>); myRequest.method = URLRequestMethod.POST; var variables:URLVariables = new URLVariables(); [code].... not surprisingly i get an error on the json decode because as far as i can see using trace, i get xml data.Also i tried to run it on the browser, didn't help. Also tried to set the content type in the request to 'application/json', but it gave me an error.Even though i googled it, i couldn't fint what is the problem in my as3 code. It seems to me it should have worked.

.net :: Create WCF Services That Can Be Consumed By Flash?
I'm a beginner in WCF, which I have chosen instead of Web Services because all articles and blogs I've read seem to point out that ASMX is old news.I have read a bit about the differences between old Web Services and WCF, and I got the general idea. I also took the MSDN WCF tutorial which seemed simple enough.My problem is that I want to create WCF services that can be consumed by Flash. I've read that it's doable everywhere, but with no obvious A-Z tutorial on how to proceed with the server-side and client-side...

Running A File Hosting Site
going to be starting a file hosting site, i know that the main problem on these sort of sites for the owners is Bandwith and HD space. Just want to know some perhaps some advice on how to run this kind of business as far as the hosting part of it goes. Do i just keep purchasing servers lets say at midphase for example they offer 10TB 250 Gigs of hdspace at 200 a month, so if i go over do i just keep purchasing servers and then load balance the site across all the servers i get? is that the basics ? When sites start to consume massive amounts of bandwidth is their cheaper alternatives then just going with the normal BW that hosts offer, like working out deals with certain companies that specialize in giving BW deals, would CDN networks be an option?

AJAX :: Using UpdateProgress As A ModalPopup / Disabling Webform While UpdateProgress Is Running
I have a webform that works the following way: 1. Button_openPanel will display panel Step2Panel through ModalPopupExtenderStep2. 2. Button_runThread (inside Step2Panel) will close Step2Panel and will then run a lengthy process server-side. This lengthy server-side process will cause the UpdateProgress control to be displayed. Similar to the ModalPopup, I want to disable the whole page while the UpdateProgress control (with its animation gif) is running. Currently, the UpdateProgress is displayed, but I can click Button_openPanel (or anything else) which will cause the application to break. Is this possible? This is basically all the code. I stripped anything that was unneeded: [Code].... The code-behind is basically this: [Code].... Everything's working pretty good now, but I need to disable everything while the time-consuming process is running and UpdateProgress is displayed. I was thinking of displaying the UpdateProgress control as a a sort of ModalPopup, but I'm not sure if it's possible. If not, then the alternative would be to disable Button_openPanel while the time-consuming process is running and UpdateProgress is displayed.

Shared Host For High Traffic Blog
Is there any shared host which can easily drive a wordpress blog with 100,000-150,000 unique visitors every month? The blog in question has wp-supercache and is quite a bit tweaked and consumes roughly 30-50GB of bandwidth every month (with mod deflate enabled on server). My priorities are good uptime, fast servers and network (especially to India) and good customer support.

Shared Host Which Can Bear 1 Million Pageviews Per Month
Which shared host you have come across, can handle 1 Million page views per month? Assuming - Impression happens across the clock in same pattern. Maximum pages (60%) are static html, rest php+mysql+drupal All pageviews consume max of 20 GB Cost under $20/month Close to 100% uptime (As we all know 100% is not possible) I know these name only (not sure they agree all above mentioned conditions or not) - medialayer steadfast unitedhosting pair - I read some -ve reviews for pair, that they suspend the account without notice

File Bandwidth
Can i find how much a file consumes bandwidth when the file is executed on the server or when the request is made on the server?

Heavy Data Transfer From Cpanel Server
One of my Cpanel servers is showing heavy data transfer this month. In 6 days, it crossed 600 GB data transfer which is equal to what it did last month. Also, all the websites collectively have only consumed around 60 GB data transfer in 6 days. How do I find out what exactly is causing heavy data transfer?

Custom Server Controls :: Turning An Ascx User Control Into A Redistributable Custom Control?
I followed the article to create a user control, when i came to the last step of consuming the dll, the control doesn't show up on my form.It is just a blank page being showed.When i test the user control on a new form, it works. [Code]....

CDN With Secure File Delivery
Does anyone know of a CDN that can provide secure file delivery for 100+ people? I'm looking for something that will allow me to send product download links to customers and have them only download the files once each. They mustn't be able to view or distribute the actual file location for their friends to download. I'm looking for a pay as you go service with no sign up fee. I know simpleCDN offers pay as you go, at a rate of $0.09 per GB with no sign up fee, but they only seem to offer http and https delivery at present, which is half way there, but it lacks the secure delivery. I know Edgecast offers a 'secure token' system that allows download links to be sent out that can only be used once. However, they have a whopping $550 sign up fee, and then a whopping $550 per TB transferred. This has the secure delivery, but lacks the pricing my company can afford. Does anyone know of any more CDNs that have this secure download link function? The 'secure token' functionality of Edgecast is a good idea, but even a CDN that just allows you the standard function of creating multiple FTP accounts with different permissions will do to trick.

WCF / ASMX :: Dataset Table Order Returned By Web Service On Framework 4?
I have recently converted all my applications to framework 4.0 and am very happy as a whole. I have, however, run into a bit of a bind: i have exposed quite a few web services that have methods returning datasets. Clients immediately started complaining that the order of the tables within the returned datasets were different. I investigated and can confirm that the webmethods are indeed shuffling the tables within the datasets. The order of tables in the method result are markedly different from the table order in the code before being returned. My question is: is it possible to hard code the order of tables within the dataset being returned by a webmethod? I know that clients should, ideally, be referencing the tables via the table names, but that is - unfortunately - not the case in the really real world.

WCF / ASMX :: Exception Handling In DTO Mapping With Web Service?
I am going to be receiving data in a web service. After I receive this data I will be mapping it to a data transfer object. I want to be able to catch exceptions if the data from the service is missing any of the required values, times out or any data is malformed. What can I do to generally catch these exceptions?

AJAX :: Cascading Dropdown List Multiple Parameter Passing To Web Service
I have a problem when trying to refactor old code that uses JavaScript callbacks to populate multiple drop down lists to using the new Cascading Drop Down List Extender on a user control (.ascx file) that is used by several .aspx pages. The way it worked before was for the primary drop down list to make JavaScript callbacks to a webservice that contained multiple parameters and populated the following drop down list and so and so forth. JavaScript contained all the logic for this on the .ascx file and the web method accepted multiple parameters. I'm refactoring this to use the ASP.NET Cascading drop down list without changing the logic in the current web method, as all the JavaScript callbacks should be replaced by the cascading drop down list control. The problem is that the web method for the cascading drop down list takes only the "known category values" and "category" parameter and nothing else. I need to pass a whole lot more into the web method in order to populate the drop down lists in context. I've also read about a third "context key" parameter but unsure of what it actually does. In any case, I must have an older version of the toolkit because my Cascading Drop Down List control doesn't have the context key property. What version of the AJAX Toolkit does this property exist on for the Cascading Drop Down List control? How do I pass a lot of required parameters into my web method in order to populate my drop down lists using the cascading drop down list control?