web-services

Spring Webservices and Json

Hi Is it possible to send json and receive json using spring webservices? Thanks Damien ...

Long-held TCP sessions in an ASMX client

Hi, I have an ASP.NET application which talks to a third-party SOAP web service. My application uses an ASMX client proxy (i.e. System.Web.Services.Protocols.SoapHttpClientProtocol). The third-party service uses WCF, although I don't expect that makes much difference. I should note that we're using .NET 3.5 SP1. We haven't customised ...

How to create a SOAP Web service with .NET(C#) with a Java based Client ?

I need to create a SOAP Web Service in C#. I've done this in the past in Java with eclipse, but couldn't really find something that is SOAP specific when creating a new Web Service project in VS2008. I need some kind of guidance on how to start this. Also, the intended client will be implemented in Java, are there known compatibility ...

XMLPULLPARSEREXCEPTION...in KSOAP2

iam using KSOAP2 for web services. my client is BlackBerry Phone and Server is KeyRingLabs.com. i am using php page for connection...i have taken this code form a Forum.and modified it according to my requirements...but I am having XMLPULLPARSER EXCEPTION...can any body help??? here is my code.... import net.rim.device.api.ui.*; import...

WCF Web Services and native ASP.NET Health Monitoring

hi guys, I need a final answer to the following question! :-) I was wondering if you can enable Health Monitoring for WCF Web services. I'm hosting a number of services in IIS and configured it to send the team email notification when any exceptions are thrown. I feel that Health Monitoring does not work with WCF Services and that I ha...

How to use log4j for a axis2 webservice

I have created a simple axis2 webservice to understand logging functionality in a webservice. in this sample webservice, when a client calls this webservice, first it reads the log4j.property file. then i can see the logs being printed on console. but i have included file appender too into the property file. but i can not file the log fi...

How to make WCF respond in parts when new part is available?

Hi I want to create a vehicle insurance broker site which gets insurance prices from other insurances. Assuming all insurance companies will give their answer through some sort of web services I want to create another web service which will return unified answers with all data from insurers. But there is a problem. Some insurers might ...

What are typical server to client communication patterns?

What are the usual patterns for bidirectional communication between a client and a server in a wlan environment. How is it possible for the server to push data to a mobile client over wlan after a connection has been established. Lets say I have a webservice running on a server and the moblie cients in the wlan can use this webservice....

Sinatra programatically get port and other information about service

I have a sinatra service foo.rb To run it I on a different port I would type "ruby foo.rb -p 5000". While the program is running I would like to be able to get the port (in this case 5000) and other information. Is there a way to get info like this while the app is running? Thanks ...

How to properly generate nodes with default values in Web Service requests using JAX-WS and Weblogic 10.3?

Hi, I am trying to use a Web Service that defines a type with some mandatory fields having a default value: <complexType name="DocumentRegistrationRequest"> <sequence> <element name="title" type="string"> <annotation> <documentation>Title/subject of the document</documentation> </anno...

Webservices in iPhone

Hi, I have .net webservice working in computer machines, am i not sure whether i can use the same in iphones. Can i run the webservices webmethods that is developed for web-browsers in iphones? Thanks. ...

Sending files through a webservice

Hi, I have to send some files through a webservice in C#. The files to be sent can be from different locations i.e. there is one folder having 4 files and another folder having 5 files. Assuming i have a mechanism to select which files to send. What would be the best way to send those files? Should I be sending them one by one and let t...

From Sinatra Base object. Get port of application including the base object

I have a Sinatra::Base object that I would like to include in all of my web apps. In that base class I have the configure method which is called on start-up. I would like that configure code to 'register' that service with a centralized database. The information that needs to be sent when registering is the information on how to contac...

How to handle SOAP response in FLEX 3

SOAP Request<?xml version="1.0" encoding="UTF-8"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt; <S:Header/> <S:Body> <ns2:deleteDataView xmlns:ns2="http://ws.$$$$$.@@@@@.####.com/"&gt; <identifier>5</identifier> </ns2:deleteDataView> &lt;/S:Body&gt; </S:Envelope> SOAP Respons...

DataContractAttribute with Shared Assembly

Hi All, Is it necessary to decorate custom objects with [DataContract] and [DataMember] when using shared assemblies (as opposed to auto proxy generation)? The reason I ask is that I have encountered the following scenario: Suppose the following object is implemented in my service: public class baseClass { Guid _guid; public bas...

Any real downside to using self-issued certs when dealing with known agents?

Hello. I'm setting up a web service which will only be used by a limited number (< 100) of known agents (business partners etc.). Because I am not public facing, do I face any real downside to using self-issued certs as opposed to the much more costly route of using a known CA? Edit: I should clarify that the primary purpose we hope...

How to send a XmlSerializer Class to a WebService and then Deserialize it?

Hi! I want to be able to send a XmlSerializer class (which is generated obvious in remote C# application) over a WebService that will then deserialize it into a class. (I didnt know it its possible either) My class is: SystemInfo I'm serializing it this way: XmlSerializer mySerializer = new XmlSerializer(typeof(SystemInfo))...

web service with no input parameter

I have a WSDL with various portTypes. Some of the contain only output <operation name="getServerTimeZone"> <output message="s0:getServerTimeZoneSoapOut"/> </operation> I would expect that the correct should be: <operation name="getServerTimeZone"> <input message="s0:getServerTimeZoneSoapIn"/> <output message="s0:getServerTimeZo...

Any web service i can use to store small amounts of data (for free)?

any web service i can use to store small amounts of data (thinking XML or JSON) for free if possible? i am thinking i wanna create a small todo app just exploration/learning (so preferably free) that also backups data to the cloud so they can use it on smartphones for example? ...

Can I host an ASP.NET webite outside of IIS?

Hi everybody, I need to write an ASP.NET application which must handle a very large number of transactions per second - as many as 5000 users may transact at the same time. I think I will use WCF in back to communicate with SQL server. But in front, can IIS handle 5000 users at the same time effectively, or is there any simple way to h...