web-services

consuming multiple clients of the same C# webservice from different remote locations

Hello, I'm working on two webservices Call the first one ModelService and the second one ConfigurationService My goal is to have multiple servers running the ConfigurationService and one central server running the ModelService So far what I have working is the ModelService has a ServiceReference added which points to http://localhost...

WCF and IIS confusion on the wsdl location

I created my WCF project and it works fine when I just run it from the debugger. But when I publish it to IIS and point a browser to the svc the path used has localhost in it. Like this: htpp://localhost/MyService/MyServices.svc but the path that the webpage says to go to for the WSDL uses my computer name, like this: http://MyComp...

Is there a way to consume a web service in Access 97 VBA?

The question is simple enough. And judging by my last thirty minutes of searching around, I'm assuming that the answer is a resounding "no". So if it's a no, here's a follow up question: What's the best workaround? Is a COM wrapper around the web service a viable solution for a VBA version that old? Most of the functionality in the web...

Sharepoint as a CMS

I am looking at using Sharepoint as a CMS for my WPF application, I was hoping to create some kind of a repository and access that using .NET web services. The repository would simply be some images and perhaps some meta-data about the images (name, description, etc...) Im am stuck to Sharepoint, so another system is not really an optio...

How do you manage change with your web services?

Over time your web service might changes, what do you do and how do manage change? (Different versions; add more features, modify or even remove features etc) ...

Asmx dynamic compilation

If I want to compile the source (cs) file of the web page, i simply use Src attribute instead of CodeBehind attribute in the Page directive, e.g. <%@ Page Language="C#" AutoEventWireup="true" Src="XXX.aspx.cs" Inherits="Namespace.Path.To.XXX" %> which works perfectly with a source file that has the BuildAction set to Content. Is it po...

JSON security in mobile client - server environemnt

Hi, I am using JSON for data exchange between my mobile client and the server. I am using that for some sensitive data transfers. However is their any risk in this data format or any security consideration using JSON format? Also the communication is done in HTTPS. Also I need to know whether we need to apply basic encryption standard...

how to better organize a web service interface

I have a web service that's ~200 methods strong, implemented using .Net + WCF in a standalone service. we're modelling the backing code to use different handlers for different methods, but eventually there's still that one monolithic interface... I used (and loved) RESTful interfaces in the past, especially for the way they break up a si...

XML Marshalling + Project structure

I want to create a spring-ws web service that eventually marshals a POJO into xml. I'd also like the clients of the web service to unmarshal the xml back into the POJO. How should I structure the projects? Currently my thinking is: Domain and business layer project - has the ability to query mainframe and create POJOs. This project ha...

Visual Studio/.NET: Added Java-based web wervice reference using wsdl but can't find it

Hi guys, I am trying to add a java-based web service reference to my .NET project using a WSDL generated by it, but every time I have added it, I cannot find it from the code, let alone invoke its one webmethod. I can add it alright, and it shows up in my project tree, but I cannot see the methods and I cannot find or access the webs...

Long net I/O on first web service call that returns a value

I have two applications: a Java server and a .net client. The Java server hosts a web service (JAX-WS / Metro) and the client application calls the web service (WCF). The first web service call that returns a value is always slow. It takes about 30 seconds. Calls that don't return a value or subsequent calls on the same operation are lig...

Spring-WS WSDL Generation Problem

I'm trying to make a very simple web service and am having some difficulties making spring generate the correct wsdl. I've done my best to copy the example from this spring tutorial. If anyone has a clue about what I'm doing wrong I'd really appreciate the help. In essence, there is a single EndPoint called IncidentHeaderEndpoint (which...

JAX-WS 2.1 - Why do I get a 'MessageCreationException' while trying to process my first web service request?

I am using JAX-WS 2.1 and I have built a web service using JAX-WS via the development tools in Netbeans 6.0. It seems that everything builds correctly and starts correctly, however on the first web service request after restarting Tomcat, I get the following exception: SEVERE: Couldn't create SOAP message due to exception: Unable to cr...

WSDL on SQL Server gives HTTP status 505 Version Not Supported

I am a DBA, not a developer, so forgive me if this is a silly question. But we are having issues with a SQL Server 2005 Web Service end point. On the local network I am able to add the reference in Visual Studio 2010 with out any issues. It uses digest as the authentication scheme. However, when anyone tries to add the web reference on ...

Axis2 nonblocking with pojo

I'm currently using Axis2 with POJOs and calling the invokeBlocking() method which just returns an Object[]. Works great. I'd like to switch this to using invokeNonBlocking() which takes an AxisCallback to handle the return value. I can't find anyway to get my returned Object[] from the AxisCallback. Does anyone know how this is done...

Is there an alternative for Page.ParseControl in ASP.NET?

I have written a class library function that parses a string to a control. It takes the current page and uses page.ParseControl to parse the string as a control. System.Web.UI.Page page = (System.Web.UI.Page) HttpContext.Current.CurrentHandler; System.Web.UI.Control ctrl = page.ParseControl(str); It works fine in most scenarios excep...

Is it possible to make a webservice per user?

I have a webservice (.asmx) and I want it to retain a value on a per-user basis. Is this possible? ie (pseudo-code) MyWebservice { object perUserVariable = something; [WebMethod] public void myMethod() { if (something == null) { something = doBigExpensivedatabaseCall(); } return something; } } ...

Query WCF like standard ASMX web service

I've just recently built a Silverlight application that communicates with a server via WCF. The data we communicate back and forth has been seamless and to be honest, quite easy to implement (w/ SL). Unfortunately, I need the ability to request this same information from the WCF similarly to that of an ASMX web service. Right now, I'm...

Java web services

Does anyone have good resources to learn Java web services from creation and consumption perspective? ...

Passing file data between Administration app and Web site app

We have two separate web applications for a site: One for the site itself, and one for the cms/administration side. I'm not sure why the original developer designed it this way, but whatever. I am tasked with adding some functionality to the administration side that uploads files. These files then need to exist within the folder stru...