web-services

Problem regarding integration of various datasources

We have 4 datasources.2 datasources are internal and we can directly connect to the database.For the 3rd datasource we get a flat file (.csv) and have to pull in the data.4rth datasource is external and we cannot access it directly. We need to pull data from all the 4 datasources, run business rules on them and store them in our databas...

How to set timeout for Java Wireless Toolkit generated web service calls?

I have used the Java Wireless Toolkit Stub Generator to create a bunch of web service call stubs for a mobile app (BlackBerry J2ME app). The problem I'm having is that there doesn't appear to be any way to set a timeout on the calls. This causes the app to sit and wait for at least a minute waiting to timeout if the web service that is c...

Windows Service not showing up when installed with Setup project

Hello, I have a simple windows Service developed in VS.net 2008 and VB.net. When I install the service using Installutil.exe from the command prompt it is working like a charm. When I try to add a setup project and set the output and build and install it though it says successfully installed, it is not showing up in the services. The e...

web service references - dynamic URL

I am currently working on a SharePoint project that needs to use the Lists SharePoint web service (Lists.asmx). Therefore, we need to add a service reference to it in Visual Studio. However, we all develop and test on different virtual machines (with different VM names, URLs, etc.). The QA, Test and Production environments all have diffe...

SharePoint UserData and the ;# Syntax in returned data

Can a SharePoint expert explain to me the ;# in data returned by the GetListItems() call to the Lists web service? I think I understand what they are doing here. The ;# is almost like a syntax for making a comment... or better yet, including the actual data (string) and not just the ID. This way you can use either, but they are nicely p...

Windows service running on Windows Server 2003 cannot call an xml web service on the same machine

Hello all, I have an XML web service running on my Windows 2003 server. I have a windows service running on the same machine. I want to call the XML web service from the windows service. This works fine on my development machine, which is running Windows XP. However, when I try to do this on my Windows Server 2003 box, it times ou...

Should I describe REST services in a machine readable format?

Most REST interfaces I see are described with a simple web page describing the URL, the method, accepted input and returned result. For example the Amazon S3 or the Twitter API documentation. But why should I settle with what is apparently good enough for Amazon or Twitter... So, is it worth describing a REST API in a machine readable f...

What is the best suited authentication technique for this scenario ?

Please suggest me the best authentication way to implement in the scenario mentioned below: The requirement is I have to deploy a WCF web service in multiple countries across the world. NOTE : All the machines on which the service is deployed are on the same domain. 1.The clients that access this service should fall in the same domain...

Retrieving amazon book recommendation

Hi, Does any one know how to retrieve Amazon book recommendation like what BookSeer does. I visited Amazon book service page but I am overwhelmed by the amount of information in it. I could not seem to figure out which amazon webservice that I can use to retrieve Amazon book recommendation. Cheers. ...

username or email id for login?

For a web application, which is the better option? Usernames has to rely on an email for the person to recall later. Conversely, it's rare for a user to use multiple usernames for a particular web application. Also, sending details back to the user's email gives a certain level of security. Email on the other hand has additional relate...

asp.net web reference for reporting services

Hi there, I'm trying to access a reporting services site using the provided web services, from a basic asp.net website. I've added the reference to reportservice2005.asmx on the reporting server, but I'm having problems getting intellisense working and for anything to run/compile. From examples, I've seen people create an instance of ...

How do I include my own wsdl in my Webservice in C#

I have a .wsdl file that my web service (old asmx style) must implement. That is taken care of. When I publish the web service you can call it with ?wsdl parameter to get a generated wsdl. How do I include my .wsdl file so that is the one that is returned instead of the generated one? Is it possible to do with an attribute in my web se...

WCF STS Token Expiration Problem

I have a WCF service (FooService) protected by Secure Conversation. Also have an STS (StsService) that provides tokens to clients calling FooService. The tokens are good for 15 minutes. The STS is custom-build (no Geneva). The client also has some custom WCF extensions to allow re-use of the token across several services during the lifet...

How to call a web service from data layer

I have a data layer project which receives a byte array that needs to be persisted. The byte array will be stored in Sharepoint 2003, so I'd like to be able to call a SP web service from within the data layer (keeping all persistence in this layer). Here's the approach I am considering, if there are any comments on it. http://blogs.ms...

Silverlight WCF Service Cross Domain Question

I have a silverlight app (hosted at intranet.mydomain.net) and a WCF service at (webservices.mydomain.net) Do I need a cross-site policy file? If so, what would it look like to only allow access from intranet.mydomain.net? ...

Secure Silverlight to Web-Service communication without IIS using Public-key cryptography

If I have a Silverlight client connecting to a web service hosted in a windows service, there's no obvious way to secure communications between the two if you're not using IIS. SSL isn't available, and wsHttpBinding isn't supported by Silverlight. So here's what I'm planning on doing, and just wanted to see if I'd missed any obvious sec...

How can you create a test project to debug (with stepping into) a web service?

I hope this I can explain what I am trying to achieve: I want to be able to create a unit test in the same solution as my web service, have it fire up the web service environment and be able to set breakpoints in the unit test code and in the web service code and have the debugger stop on both of them. Is this possible? ...

Unexpected JAXRPC endpoint, this version is not supported 1.1

I'm trying to compile a webservice through NetBeans 6.7 using Glassfish v3 as the host is there anyway to fix this issue: 'Unexpected JAXRPC endpoint, this version is not supported 1.1' ...

Can not call web service with basic authentication using WCF

I've been given a web service written in Java that I'm not able to make any changes to. It requires the user authenticate with basic authentication to access any of the methods. The suggested way to interact with this service in .NET is by using Visual Studio 2005 with WSE 3.0 installed. This is an issue, since the project is already ...

Testing a web service wrapper

I have an assembly which wraps the functionality of an external live web service. How do I go about testing this web service effectively. Should I create a stub of the web service or should I write tests that send and receive live data to the web service? The problem I have with the second approach is that if I send and expect real ...