web-services

Reading HttpRequest Body in REST WCF

Hi All, I got a REST WCF Service running in .net 4 and I've tested the web service it is working and accepting HttpRequest I make to it. But I ran into a problem trying to access the HttpRequest body within the web service. I've tried sending random sizes of data appended on the HttpRequest using both Fiddler and my WinForm app and I ca...

WS Libs: com.sun.xml vs javax.xml

There are identical classes of java WebServices API & IMPL in those packages groups, only package names are different. http://mvnrepository.com/artifact/javax.xml http://mvnrepository.com/artifact/com.sun.xml Which ones should I use in my code? I would prefer NON-com.sun.* as per java conventions, but still my dependencies ( e.g. Spr...

What's the best way to transfer a large dataset over an ASMX web service?

I've inherited a C# .NET application which talks to a web service, and the web service talks to an Oracle database. I need to add an export function to the UI, to produce an Excel spreadsheet of some of the data. I have created a web service function to run a database query, load the data into a DataTable and then return it, which work...

why web service is called asynchronously? What is the reasone behind it?

why web service is called asynchronously? What is the reasone behind it? ...

Patterns/Best Pratices Parameters WebService

Camarades, I am developing a WebService, and wish to make it accessible to everyone, in all languages in a simple and practical way. For one of the access, I need to send two pieces of information, a token and an XML. In this case, was in doubt, I use parameters: String - String or String - XmlDocument? Well, in other words, my questi...

Using asp.net membership "THROUGH" wcf data services?

Hi there, can anyone help? I recently had asp.net membership setup using a connection string to my db via the web.config in my service layer. It enabled me to do something like this :- public bool IsValidLogin(string username, string password) { return System.Web.Security.Membership.ValidateUser(username, password); ...

Is there Any Way to Set the Namespace of a Web Service in Configuration instead of Code?

Currently we're using in code <System.Web.Services.WebService(Namespace:="https://ourservice/")&gt; to set the namespace, can this be done in web.config, instead? I've looked but can't find where? VS2008, ASMX web service. ...

WSDL: What do I do with it? Add service Reference? Noobie question

Hey guys! I have been given a WSDL with all the method requests and responses, and all the objects I'll need to use for creating a few webmethods. The thing is, I don't know what to do with it. I've added the WSDL as a Service Reference. I can see the methods and structures, I can instantiate them, it's all there, but the project doesn'...

How to debug jQuery ajax POST to .NET webservice

Hey all. I have a web service that I have published locally. I wrote an HTML page to test the web service. The webservice is expecting a string that will be XML. When I debug the web service from within VS everything works great. I can use FireBug and see that my web service is indeed being hit by they AJAX call. After deploying the we...

Accessing asmx WebService Using WCF

I am trying to access an old ASMX webservice using WCF by calling the ChannelFactory.CreateChannel() method. If the web service is created by WCF, everything is straightforward. I can instantiate the proxy client generated by the svcutil tool, or manually call the ChannelFactory.CreateChannel() method. Afterwards, I can call the web ser...

Best way to change jqGrid rowNum from ALL to -1 before pass to a web service

I'm looking to find the best way to allow users to choose to show ALL records in a jqGrid. I know that a -1 value passed for the rows parameter denotes ALL, but I want the word "ALL" not a -1 to appear in the rowList select element, ie. rowList: [15, 50, 100, 'ALL']. I'm passing the grid request to a web service which accepts an int fo...

Configuring WCF 4 with routing (global.asax) for both http & https endpoints

I'm still a newbie with wcf and not too well informed in .net in general. I have a WCF 4 web service that uses the global.asax routing approach and very simplified web.config using the standard endpoint method. This wcf service runs as an application with the default web site on iis 7.5 at present. I need it support both http and http...

How to get an error message out of my webpage

I have a web page that when I run it on a remote computer I get the message saying that remote errors cannot be viewed When I go to view it on my web server machine, I get a message saying: Internet Explorer cannot display the webpage • Most likely causes: • You are not connected to the Internet. • The website is encountering ...

consuming web service (for the first time) in php

It took me a while to get soap configured in php. Now I'm just trying to learn about it. I'm using the web service here to learn: http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=19 It says the WSDL is here: http://www.webservicex.net/stockquote.asmx?wsdl and this is my code: $client = new SoapClient('http://www.webservicex.ne...

Public api to manage documents in Office Web apps

Is there any API or webservices that allows us to manage online Office web apps documents (on sky drive)? What I would like to do is to use this API (or webservice) in order to create some reports in excel format without the need to use the HTML table trick, neither to have the Excel Com components installed on my server. ...

Send parameters to Web Service Persian ?

Display information in Farsi, but I have a problem when my site for web services can be sent a character "?" are displayed. pages are saved with Unicode(utf-8 with signature)codepage 65001 and the following tags in my master page : <'html xmlns="http://www.w3.org/1999/xhtml" lang="fa" xml:lang="fa" > <'meta http-equiv="Conte...

Local web application or windows application for my system

Hello all I am going to design system that will keep track of publications due by researchers in my work place Need for this project : 1- a database housing the information . 2- Automatic reports must be generated . the users will upload PDF and we have around 25 researchers. I can’t decide which one is better for my system . My questi...

XML Serialize and Deserialize Problem XML Structure

Camarades, I'm having the following problem. Caught a list Struct, Serialize (Valid W3C) and send to a WebService. In the WebService I receive, transform to a string, valid by the W3C and then Deserializer, but when I try to run it, always occurs error, saying that some objects were not closed. Any help? Sent Code: #region ListToXML ...

Problem in Apache CXF (Simple Frontend): 'Already connected'

I am using apache CXF for the first time. I am trying to establish a connection based on the CXF simple front end (Configuration notes) technology. I can't really see what I've done wrong, but I am getting a weird error (see below). I have also posted this question to [email protected], but I haven't received a response yet. Perhaps s...

Unable to call RESTful web services methods

Hello, I'm trying to dive into the RESTful web services world and have started with the following template: [ServiceContract] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)] public class Test { // TODO: Implement the...