web-services

.NET SoapDocumentMethodAttribute SoapRpcMethodAttribute difference

I have Reference generated from WSDL (JIRA-SOAP API), which will throw an exception at deserialization (http://stackoverflow.com/questions/2188662/jira-soap-createissue-from-c), so my workaround would be to return only XmlNode of the response and parse it myself. However if i change [return:] element of: [System.Web.Services.Protoco...

Authentication problem with JQuery and SharePoint Web Service

I'm calling a SharePoint Web Service (Webs.asmx) with JQuery to get a list of all subsites: $(document).ready(function() { var hrefParts = window.location.href.split('/'); var wsURL = ""; for (i = 0; i < (hrefParts.length - 2); i++) { if (i > 0) wsURL += "/"; wsURL += hrefP...

Object graphs and web services

I'm really new to web services and need to create a webservice that can deal with object graphs. My canonical example would be a CRM web service that given a customer number would return an "object" of type Company with a collection property of Contacts. ie: [WebService] public Company GetCompanyByCustomerNumber( string customerNumber ...

Visual Studio/SOAP - 'Add Service Reference' vs 'Add Web Service Reference'

I've found that I can import a SOAP/WSDL service that I plan on using into my solution either as a "Web Service Reference" (System.Web.Services) or as a "Service Reference" (System.ServiceModel / WCF). I was wondering if what the differences were. I understand that 'Add Service Reference'/WCF is newer, are there any disadvantages to us...

VS2008 - Unable to Add Web Reference to Web Application Project (The web services enumeration components are not available)

I've run into a situation where I was unable to add a Web Reference in Visual Studio 2008 to a Web Application Project. The error I couldn't resolve was "The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application." How can I resolve this? ...

access response from .NET webservice in callback function on HTML page

Hi All, I am trying to call a .net webservice from HTML page. This HTML page will be hosted on a different server. I using the following html code for this. The webservice code is below HTML code. This code runs just fine in IE and runs fine in Mozilla when debugging with venkman. But fails in normal execution in Firefox. I dont get any...

Hosting WCF web services on IIS - works in VS, but not in IIS

I'm very new in web programming stuff, so my question is about basics. I'm developing a SilverLight application and need to access the database from it. I'm using LINQ to SQL to get data from database and a WFC web service to deliver it to my app. Everything is working fine when I'm running my app within Visual Studio. When trying to p...

Server-Side XML Validation with CXF Webservice

Hey guys, I'm working on an Apache CXF webservice (using JAX-WS, over SOAP). The service itself is pretty simple: receive a request, insert the request into a database, and return whether the insert was successful. I'd like to rely on XML validation to enforce a number of constraints on the request. So, my question. How do I return ...

Implement a web service or use scripts for iPhone App interaction?

I'm in the middle of working on my first native application with networking and I have a question regarding the best way for interacting with remote storage. In a perfect world I'd like to do the following. Prompt the user for login information from the iPhone. Verify the users credentials and connect to a MYSQL database hosted by m...

Hotlinking Twitter avatar images ?

The Twitter API returns this value for the Twitter account 'image_url': http://a1.twimg.com/profile_images/75075164/twitter_bird_profile_bigger.png In my Twitter client webapp, I am considering hotlinking the HTTPS version of avatars which is hosted on Amazon S3 : https://s3.amazonaws.com/twitter_production/profile_images/75075164/twitt...

Service broker - multiple queues vs single queues when communicating with external apps

We currently have an application that uses service broker to queue messages to sent to an external system, which we communicate with via a web service interface. At present we only integrate with a single company, so one queue is sufficient - however we need to start passing messages to multiple companies who all use the same web servic...

Using a profile property of type List in .NET Membership

Hi, I'm working on a C# Webservice that needs to provide authentication as well as roles and profile management. I need each profile to have a property of type List. The profile section in the web.config looks like this: <profile defaultProvider="MyProfileProvider" enabled="true"> <providers> <remove name="MyProfileProvider"/> ...

What are the alternatives to paypal for non-supported countries?

Hello, Not sure whether to ask this question here but here is the question. What are the alternatives to paypal for countries whom paypal does not support? For example, I am from Pakistan and i am looking for easy way like paypal to transfer and receive amounts from the services buyers whom i render my freelance service. Thanks ...

Keytool set hostname

Good Morning, I am just attempting to use the java keytool but I cannot figure out how to set the hostname. This is what is how I am attempting: hostname[username:/this/is/a/path][640]% keytool -keystore server.keystore -genkeypair -alias hostname Enter keystore password: Re-enter new password: What is your first and last name? [U...

Keytool create a trusted self signed certificate

I am trying to use the (java) keytool to create a self signed certificate but when I attempt to use it I get the following exception (see bottom for entire exception). ...<5 more exceptions above this> Caused by: sun.security.validator.ValidatorException: No trusted certificate found at sun.security.validator.SimpleValidator.b...

caching remote json (or xml) calls (from webservices)

Any clues on how to do it ? ...

Web Service and System.InvalidOperationException while serializing

Hello, I have the following class which throws an InvalidOperationException when the class is serialized public class CustomFieldList : CustomField, IList { public CustomFieldList() { this.ControlType = Rflex.Framework.MetaData.ControlType.DDL; } public Type ReferentielType { get; set; } ...

My Reporting Services 2008 web service URL only shows a directory listing

I have reporting services setup on my machine. I can access http://localhost:8080/Reports_SQL2008 and the reports manager works fine. When I try accessing the web service URL (http://localhost:8080/ReportServer_SQL2008) all I get is a directory listing that looks something like: -------------------------------------------------------...

Trying to create a WebService to return a 3D Array to populate table with javascript.

I am trying to create a dynamic table that is being built based on the value of a search text box. The Table will have probably 6 columns of 20(max) rows. My problem is I can't figure out how to return the data from the web-service to the JS function in a way that will allow me to extract the data that I need. Here is the web-serv...

WCF Service 405 Method Not Allowed Exception

I'm writing a WCF service in Visual Studio 2008 to be hosted on a Windows 2008 Standard server. I've created a new Web Site in IIS7 with its own application targeted to ASP.NET 2.0. I added .NET 3.0 Framework features to the server role. I've already gone through all of the steps involving *.svc extensions and the aspnet_isapi module. I...