I am getting an error while updating the webservice reference.
I doubt this is beacuse of the error in the machine.config file where I set up the usage of my custom SchemaImporterExtenstion.
PLease let me know how can i solve this?
...
I have a LiveCycle designed PDF that I want to make its submit button send the XML data in the form to a .NET webservice. I see how to do that, but I'm not really clear on the webservice side. What should my webservice's method signature be to accept the XML data?
[WebMethod]
public bool RecieveXML(XmlDocument input)
or
[WebMethod]
...
Hi!
Im creating a usercontrol which is controled client side, it has an javascript-file attatched to it. This control has a button and upon click a popup appears, this popup shows a list of my domain entities. My entities are fetched using a call to a webservice.
Im trying to get this popup usercontrol to work on all my entities, there...
Hi,
I've webservice and WebMethod
[webMethod]
[XMLInclude(typeof(ContractCar[]))
public object GetObjects(Cars[] cars)
{
return Translator.ToObjects(Facade.GetObjects(cars);
}
public static object GetObjects(Cars cars)
{
List<Car> cars =new List<Country(...fillingcollection)
return cars.ToArray(),
}
public static object ToObjects(o...
I'm relatively new to utilizing web services. I'm trying to create one that will be accepting data from a ASP.Net form whose input controls are created dynamically at runtime and I don't how many control values will be getting passed.
I'm thinking I'll be using jQuery's serialize() on the form to get the data, but what do I have the ...
EDIT: At first I thought it wasn't working cross domain at all, now I realize it only works in IE
I'm using jQuery to call a web service (ASP.NET .axmx), and trying to us jsonp so that I can call it across different sites. Right now it is working ONLY in IE, but not in Firefox, Chrome, Safari. Also, in IE, a dialog pops up warning ...
I need to handle all the exceptions globally in .NET 2.0 web service (ASMX), i tried using Application_Error event in global.asax, but it's not fired in web services case, it works fine for web based applications.
Any suggestions???
...
I need to tell my C# soap web service consumer to not validate the certificate and just accept it. Is this possible?
Why: we publish a https-only web service. A client needs to consume it but has some kind of firewall/proxy (WebSense?) which does something to the certificate to make it fail validation. At this point I don't even know...
If my web method throws an exception, what is the best practice for passing that exception to the client?
...
I am connecting to a web service to get some data back out as xml. The connection works fine and it returns the xml data from the service.
var remoteURL = EveApiUrl;
var postData = string.Format("userID={0}&apikey={1}&characterID={2}", UserId, ApiKey, CharacterId);
var request = (HttpWebRequest)WebRequest.Create(remoteURL);
request.M...
I'm writing my first C# web application that connects to an XML based service. It requires that I present a certificate and feed the XML stream. It seems to authenticate properly but then it gives the following error:
A connection attempt failed because the connected party did not properly respond after a period of time, or establi...
As far as i can see, i have the option of creating web services and WSDL file in Galileo.
Also, Looking here there is the Eclipse WSDL viewer : http://wiki.eclipse.org/index.php/Introduction_to_the_WSDL_Editor
How can i open a WSDL file in Eclipse ? If i just browse and open the file, nothing happens.
Someone please help, this is real...
I am looking for a service that can tell me if a given name is Male or Female. I have a list of names (possibly geo-tagged) and I want to filter out the Males/Females out of them. Any thoughts?
...
I am developing a Rails application which will need frequent access to public APIs, and I am not sure what is best way to put external API (SOAP/WSDL) code in Rails application, what about model thingy, how we can manage that? Any ideas, comments?
...
Explanation:
Let's say I have an object graph that's nested several levels deep and each entity has a bi-directional relationship with each other.
A -> B -> C -> D -> E
Or in other words, A has a collection of B and B has a reference back to A, and B has a collection of C and C has a reference back to B, etc...
Now let's say I want ...
i am new to webservices,
I have created a basic stockmarket webservice, I have successfully created the server script for it and placed it in my server, Now I also creted a clent script and accessed it hruogh the same server.. Is it valid ? can boh files be accesed from the same server? or do I have to place them in different servers? If...
I get an empty response back from this local WebService call via jquery / ajax.
I have verified the URL and XML input string by invoking the call in a browser.
I DO get XML code back as expected.
What am I missing? Could it have something to do with the return type "XmlDocument"?
I have tried changing out text/xml to text. No affec...
Hi guys i'm trying to connect asmx web services in Eclipse Enterprice Edition. i cant make it .it wants to wsdl. Any help will be appreciated.I just want to be client of the web services.
...
Hi,
We have a .NET client calling a Java webservice using SSL. Sometimes the call fails due to poor connectivity (the .NET Client is a UI that is used from the weirdest locations). We would like to implement an automatic retry mechanism that will automatically retry a failed call X times before giving up. This should be done solely with...
After trying to format my JSON data by hand in javascript and failing miserably, I realized there's probably a better way. Here's what the code for the web service method and relevant classes looks like in C#:
[WebMethod]
public Response ValidateAddress(Request request)
{
return new test_AddressValidation().GenerateResponse(
...