Hi Friends,
I got to work on PHP app which requires a webservice call to an Asp.net webserivce. Client insist to call this webservice with POST directly via jquery.
My knowledge says its not possible to call different domain webservice from JS and I'll have to create a proxy page to consume this webservice.
So I just want to confirm,...
So I have a client that needs to be running tomcat for various things (Solr and a webservice as well) and after having a meeting with him and another programmer on the project, I got a little confused. The other programmer was throwing around buzzwords and saying things like "We need to have middleware for tomcat." In response to this, m...
I'm trying to serve up Excel documents that I have stored in a database via a WCF RSS feed (the user clicks a link in the feed and it sends down a specific Excel document).
The Excel files aren't sitting in a directory any where (in which case I could just give each user a static URL).
So what I'd like to do is have a dynamically ge...
Hi All,
I have a winform application and a list of logins to some web-service. Upon checking 'remember me' I serialize a dictionary into a file along with the encrypted password, but I wonder if this is the best practice to do such a thing or not..
Here's my code
public void LoginsInit()
{
FileStream file = new FileStream(loginsFileP...
Hello,
I am currently working on a silverlight application, more precisely a game, that has 2 states : Lobby and Game.
I created my service application to reflect that structure. I created a LobbyService to handle all lobby related operations and a GameService to handle all actual game operations. On top of that, I have a third service...
Hello,
I am trying to make async web service call from asp.net 2.0 web client to WCF web service. I created the proxy class using the svcutil.exe with the async option. Here is an example of the client code calling the web service:
protected void Page_Load(object sender, EventArgs e)
{
WSClient client = new WSClient();
Asyn...
I have developed an application which is uploading a file in my system.Now i want to upload in another system or server. I have given the path of another system but iam getting forbidden 403 error. how to resolve that error.
Any suggestions plz.
...
This is maybe a really simple question, but I couldn't locate an answer:
For a client I need to HOST a webservice. The client has sent me a wsdl file that the webservice should 'implement'. How do I go about that? I've generated any number of client-rpoxies but this is the other way around. I can use both ASP.NET 2.0 webservices or Wind...
Hi
I'd like to know the correct / best way to handle concurrency with an Axis2 webservice.
Eg, given this code:
public class MyServiceDelegate
{
@Resource
UserWebService service; // Injected by spring
public CustomerDTO getCustomer()
{
String sessionString = getSessionStringFromCookies();
service.setJSES...
I skimmed through their documentation and found it a bit overwhelming at first. I know you can search for items by entering a UPC (the number below a 1D barcode), but I couldn't find a word about it in the API.
What I want to do is perform a product lookup by doing a UPC search after scanning a barcode.
...
I have a solution with several projects, one a web site the other a separate web server. (They will reside on different hosts.) I need to connect to the web service from some javascript in the web site. However, although this seems like an obvious, easy thing, I can't seem to get it right.
My web service works fine, I can connect to it f...
I want to use Fitnesse to do a subsytem testing of a WCF service.
Now to test a WCF service should I add the 'WebReference', and to add the webreference I require to host the service somewhere?
I believe Fitnesse as a new consumer to the service and it should add the WebReference.
...
How does one intelligently parse data returned by search results on a page?
For example, lets say that I would like to create a web service that searches for online books by parsing the search results of many book providers' websites. I could get the raw HTML data of the page, and do some regexs to make the data work for my web service,...
Hi,
I need to add permission levels to a list like: Full Control, Contribute, Manage Hierarchy, view Only, etc.
I see here: "programatically add user permission to a list in sharepoint", that this can be done using the Object Model. How would I do the same using Web Services?
I tried using the permissions.asmx web services, it works for...
I have a web service that contains this method:
[WebMethod]
public static List<string> GetFileListOnWebServer()
{
DirectoryInfo dInfo = new DirectoryInfo(HostingEnvironment.MapPath("~/UploadedFiles/"));
FileInfo[] fInfo = dInfo.GetFiles("*.*", SearchOption.TopDirectoryOnly);
List<string> listFilenames = new List<string>(fInfo....
Friends,
If I need to make a choice between using Restful versus Soap based web services, what factors should be considered in making this choice. Assuming that my applications can support both Restful and Soap based web services - what pros and cons need to be considered ?
Thanks,
avajurug
...
We can use polling to find out about updates from some source, for example, clients connected to a webserver. WCF provides a nifty feature in the way of Duplex contracts, in which, I can maintain a connection to a client, and make invocations on that connection at will.
Some peeps in the office were discussing the merits of both solutio...
I am using the Sharepoint Lists.asmx web service to read some data from a list, with the GetListItems method.
This is all working fine and as expected, but when you retrieve a field with a large amount of text, the whitespace and linebreaks are not included in the XML node.
Is there an option to include this whitespace in the return XM...
We have a .NET 3.5 app that calls a webservice on server. In nearly every installation of this app, the whole request/reply process takes about half a second.
In one particular installation, these requests are mysteriously taking almost exactly 85 seconds (within half a second).
My first thought was that the webservice client was ...
I have a webmethod that returns a Hashtable through a jQuery ajax call along the lines of:
$.ajax({
type: "POST",
url: webMethod,
data: {}
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(json){
**alert(json.d);**
},
error: function(XMLHttpRequest, textStatus, errorThrown)...