web-services

web.config and app.config confusion

I have a DLL that references a web service. The block it has put into the app.config is (I have changed the names but you'll get the idea): <applicationSettings> <DLLName.My.MySettings> <setting name="DLLName_WebReferenceName_ASMXName" serializeAs="String"> <value>http://URL/Filename.asmx&lt;/value&g...

How to access internet on blackberry 9000 simulator.

Hi... i am new in blackberry development.I am working in visual studio 2008.How to access internet and webservices. thanks Pankaj ...

What is the best way to return big chunks of binary data from a webservice?

I am implementing a webservice that returns the content of binary files. The files are about 100MB big. The webservice and the client are build upon Axis2. What is the best joice for the return type of the method that returns the data? I tried byte[], but I always get OutOfMemoryErrors on the server side. Plus I am not very happy to ha...

Handling json response error on iPhone

I'm using json-framework on iPhone to connect to a web service built in asp.net. Sometimes asp.net throws errors on the web service. But I can't find a way to handle them on the iPhone as they doesn't seem to be recognised as errors by NSURLConnection. When looking at the response data it shows the error in json format, how can I in an e...

Compact Framework - Invalid URI: Hostname could not be parsed.

I'm writing a compact framework 3.5 application for a windows mobile device. In this application I'm consuming a web service in order to sync with our database. However, whenever I try to make a call to the web service from the device or the emulator, I get the following error: Invalid URI: Hostname could not be parsed. I'm connected ...

communication with iPhone - Internet - .net Web service / php web service

From the following link. http://stackoverflow.com/questions/1290924/iphone-interaction-with-asp-net-webservice/1503206#1503206 @Pravara - Asked a Question in answer. The question is something like this. Hi All, Is the XML is only way to communicate between .Net web service and iPhone? I have implemented it, in my application, ...

Wrong timezone being used in Java web service

I have a JAX-B java web service which I'm using to update a database. Each row in the table that I'm updating is represented by an object similar to below: - public class Item { private String id; private Date startDate; private Date endDate; public Item() { } ... } This class is being instantiated in a separate...

Java Web Services - Is Axis Necessary?

Is AXIS or CFX necessary for Java web services? Can it be all done via the JSDK (1.6)? ...

ASP.net: Unit testing with dependency on web service proxy class

Let's say I have a class like the following: public class Test{ private RemoteDoc.Documentation docService = new RemoteDoc.Documentation(); public Test(){} } So this makes it difficult to unit test because there is a dependency on the proxy class. You can pass in the object via the constructor like so: public class Te...

SSRS call web service and pass multi values array

I have a web service I need to call which is expecting a string Array. I'm using the standard VS SSRS and am having troubles setting up the Data Source in my project. I've setup DataSet parameters and tried a number of different options but it seems it will always pass the value as text. I get thrown the error (Expecting state 'Element...

Properties in .NET WCF Service

I'm having trouble using properties in a WCF service. I can define a property in the interface as: [ServiceContract(Namespace = "http://some-url.com/")] interface ISomeInterface { [OperationContract] int SomeMethod(string someArg); int SomeProperty { [OperationContract] get; } } But when consumed by a client, the pr...

The Web Services stack refuses to work until the system is rebooted.

I have the following scenario. My client application connects to a server side software via web services. I have no control over the server side software. Every time the server side folks deploy a new version, my client app can't connect to it (via the web services... ping works fine) until the client system is rebooted (just restar...

Calling a web service from a script or batch file

We have a financial product that has built in scheduling capabilities to run over night batches. This product can also use web services to kick off each batch as required. I want to know if it is possible to call the web services from a .bat file or another type of batch/script file. If this is possible then we can call the batch file ...

Problems retrieving returned Complex Object from Service Method Call

(No this is not the same as my last post, I'm trying something different here as in var type) I stepped through the method that I called from my web service reference. I stepped through it actually right into the .asmx and back. It's definitely returning a valid complext object of type ServiceAuthResponse. Here is my .asmx method she...

Issue calling a web service - Use the XmlInclude or SoapInclude attribute

I'm calling someone else's web service, they have provided a WSDL file and a bunch of XSD files. I have create the web reference in my project using the local WSDL file and created a class using xsd.exe. The web method I'm calling is object MyService.MyMethod(object myObj) So I create a new instance of my service and a new instance...

MVC Style Filters on ASMX Web Services, is it possible?

Hi, Is it possible to create MVC style filter attributes (like Authorize or HandleError) that work on ASMX Web Services? Specifically, I perform custom authentication on a number of my web methods and would like to wrap the code into an Attribute that throws an exception, if the authentication checks fail. Rich ...

Customer Support via Web Service - how to secure the Web Service?

My customers can ask questions directly in my (windows forms) app. The app talks to a web service which stores the messages in a db on my server. Problem: A competitor decides to spam my Web Service. What can I do to prevent this and is there a cryptographically save way of doing this? The things I came up with until now are: Hide the...

Silverlight clientaccesspolicy.xml crossdomain.xml

I am one of 2 developers on a silverlight project that is hosted online. The problem is that i seem to randomly have problems with our webservices not working (This never happens to my colleague). Using firebug, i had a look at any problems that it was reporting and i found this: GET clientaccesspolicy.xml 404 not found GET crossdomai...

Consuming SAAJ based webservices in .NET

I am working on a C# .NET project that needs to call webservices on a Java Servlet based application to retrieve data. Unfortunately the Java application does not provide w3 compliant webservices, but seems to be using something called SAAJ. For simple method calls I can make it work in .NET by fixing the WSDLs from the Java service manu...

Error while launching soapUi 3.01

soapui.bat Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cl i/CommandLineParser Where can I find this library? I already put JAVA HOME to my sdk and I am using windows XP. Any ideas how I can resolve this? ...