web-services

How can I call a webservice from C# with HTTP POST

I want to write a c# class that would create a connection to a webservice running to www.temp.com, send 2 string params to the method DoSomething and get the string result. I don't want to use wsdl. Since I know the params of the webservice, I just want to make a simple call. I guess there should be an easy and simple way to do that in ...

Change package name in Webservice?

I have several webservices in the same package in the server project. So they're gonna be published with the same package name. I want to know if there's some way to change the package name from the server side, maybe some annotation. ...

Silverlight Webservice Problem

Hello, I have a webservice that calls a method and returns a generic list. The webservice completed method looks like this (note: names and e.Result are both of the same type of List): void SetNames() { ServiceReference1.ServiceClient webservice = new ServiceReference1.ServiceClient(); webservice.GetNameCompl...

How to tell Apache CXF to use java.util.Date in Spring Configuration

I am Using CXF to host web services in a Spring context, which makes JAX-WS the default binding. And I'm using Java-First, which means annotated endpoint interfaces and classes. Since default binding for JAX-WS uses XMLGregorianCalendar class for dates, when I call my web service passing a java.util.Date it is converted to XMLGregorianC...

Now that we have JSON, why do people still use XML for new web services?

Possible Duplicate: What are the pros and cons of XML and JSON? I don't know of a web facing language that doesn't support both JSON and XML. So I'm sure this has nothing to do with serving different formats because of needs. My guess is that people are still making new web services using XML because that's what they know, o...

Coldfusion REST API returning 'connection failure. status code unavailable.' when called remotely

Now I want to prefix this with I am unsure whether this should be here or on server fault so I'll post it here to begin with. We are developing a REST API in Coldfusion 9 which is being hosted on IIS 7 for a client which on certain calls must call another internal webservice. When making these calls from the server that the API is host...

How do I configure IIS 7 to allow a remote database connection from within an ISAPI Web Server

I have a native Web service application (ISAPI) that I have built with Delphi 2010. At this time, it only exposes two methods. The first one, EchoString, is designed to give me feedback that the Web service is functioning properly, and it adds a couple characters to the string that I send to it from my Delphi Web service client. This alw...

problem parsing mybatis xml config file

Hi everyone! I have a problem reading the xml config file for Mybatis 3.0.2. I have to use it in a web service with Axis2 1.5. I have a class whith this code: public static org.apache.ibatis.session.SqlSessionFactory getSqlMapper () { org.apache.ibatis.session.SqlSessionFactory sqlMapper; try { String resource = "MyBatis.xml"; ...

Fighting with certificates: Access was not successfully obtained for the private key

I work in company with many servers and Pcs for developers. Servers are win2003, PC developers Windows XP. In a server Win2003 named preiis01, in preproduction environment, other people in company install a client certificate using any other user (unknown user for me) for logging in server preiis01. I use my user "domainCompany\myuser"...

Setting timeout while invoking web service asynchronously

Hi All, I am calling an external web service from a windows service using C#. The web service is in .NET. The Web method GetRandomNumber() returns a random integer. The GetRandomNumber() is invoked asynchronously The web service client code is as below: Service1 s1 = new Service1(); s1.Timeout = 2000; s1.GetRandomNumberCompleted += ne...

ASP.net on-line calendar consumed into outlook

Hi I have an on-line calendar of company events that is based in a sql table. The fields are Date : Event Name : Event Description : Location Is there any way of publishing this via say an rss feed via asp-net or a web service for it to be consumed into the outlook calendar. This would have to update every morning on the subscri...

.NET Webservice sessions

Hi guys, I'm having some wonders. How's session based authentication designed for webservices ? Imagine I do have a web solution where people can sign up and then log themselves in, then they can do stuff that's processed by webservices (either hosted on the same machine or on a remote server). I know how to manage sessions after log i...

Android; how can you invoke a SOAP web service without using ksoap?

I'm not asking to be spoon fed here, just need some pointers on where to direct my searching I want to call a SOAP web service, possibly this one I don't want to use KSoap, is there anyway I can do this using the apache libraries that are included with the Android SDK? ...

What does "self-describing" in reference to Web Services really mean?

I've heard a lot of buzz through the years about "Self Describing" web services and I'm curious what it means. I've flipped through the W3C standard and it doesn't really help. I understand you can say "Give me this argument and call this functionality and I'll return something like this", but how is that actually helpful? How can softw...

replacing an attribute at WSDL file from a Deployment plan XML

I have two files WSDL file and Deployment plan file. I am trying to replace an attribute at the WSDL file from the Deployment plan file. WSDL file <wsdl:definitions name="Project" targetNameSpace="http://xxx/yyy/project" xmlns:ns0="http://xxx/zzz"&gt; <wsdl:types> <xs:schema> ..... </sx:schema> </w...

Build a WS with Spring

Hi, I need to create a WS with Spring 3.0.4.RELEASE to run in a Tomcat with Axis2. I'm following this doc: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/remoting.html#remoting-web-services-jaxws-export-ri (if that paragraph can be called "doc") Ok, here are the details: The java class: package foo;...

What are good resources for learning about the web back-end?

There seems to be a very large deficit of information out there when it comes to web programming. All the resources I can find try are based on teaching you the front-end (HTML/CSS/scripting) in a specific language, but they don't go deep when explaining what is happening on the back-end. Know any good resources? For example, the replie...

Does a WebMethod always return XML?

ASP.NET [WebMethod] does it always return XML? I know it can only return serializable data types. ...

SSIS Web Service Task: "Index was outside the bounds of the array" Error when accessing empty array.

I'm trying to connect to a webservice and pull in some data using the webservice task in SSIS 2005. I am able to download the WSDL file and I'm able to see the methods in the Webservice Task. I provide the necessary parameters through variables (I've even tried hardcoding the parameters). However, when I execute the task I keep getting t...

asynchronous web services between different platforms

I am writing web services with VB.NET (2.0). The client side will use different technologies such as Java and Siebel. So, if I write asynchronous web services, is it possible for different platforms to consume them? I know it is quite easy with a consumer having .NET platform, but not sure for different platforms. Is it enough for them t...