web-services

How do I move service references to their own assembly?

A little background: I'm creating a set of adapters to allow communication with mobile devices over different cellular networks. This will be achieved using a class factory pattern. At least one of the networks requires a service reference to communicate with their devices through a web service. So far I've got 3 assemblies so far wh...

Program to convert wsdl types

Is there a program that converts a RPC/Encoded style WSDL to RPC/literal? ...

Array in a RPC/Literal wsdl

Hi, I was wondering if anyone had an example of what an array would look like in a RPC/literal wsdl? I have a rpc encoded WSDL that I am attempting to convert to rpc/literal and the sticking point are the arrays. How would you convert to an equivalent rpc/literal type (assuming you created an A...

Consuming a web service with the Netbeans Platform

I have an application that is written with the NetBeans Platform 5.5. I'm having trouble consuming a web service. If I create a Java SE application in NetBeans, I can add a web service reference without problem. Since my application is using the NetBeans Platform, many of the menu choices change. So, I cannot figure out how to add a r...

WCF not using my domain name, but rather my computer name when viewing MyService.svc?wsdl

Hi, My WCF seems to be pulling the computer-name instead of the domain name. When I view the MyService.svc?wsdl it is showing my computer name. Where do I add my domain name in the web.config? Endpoint address, baseaddress or identity? Note: I am using SSL so it has to be https://www.example.com/myservice.svc ...

Coldfusion WSDL times out on first call

I have a web service setup for on a small part of a website and while the site overall gets a good amount of traffic this particular service does not. Once a day when I go to send a request through the web service it will fail on the first attempt, but retrying the request a second time works just fine. It's as if it was no longer cach...

How to add common code (specifically to methods marked WebMethod())

I have some ASP.NET page and webservice WebMethod() methods that I'd like to add some common code to. For example: <WebMethod()> _ Public Function AddressLookup(ByVal zipCode As String) As Address #If DEBUG Then ' Simulate a delay System.Threading.Thread.Sleep(2000) #End If Return New Address() End Function ...

How to post SOAP Request from PHP

Anyone know how can I post a SOAP Request from PHP? ...

NHibernate and a REST Service Layer

If ADO.NET Data Services (Astoria) adds a REST layer on top of Microsoft's ADO.NET Entity Framework, is there an equivalent project that adds a REST layer on top of NHibernate? ...

Partial trust XBAP & Windows Integrated Authenitcation - Fiddler hides problem

Hi! I got a asp.net portal lanching a 3.5 sp1 partial trust XBAP. The portal is running under Integrated Windows Authentication, but I'm unable to make the XBAP run under integrated auth. The XBAP downloads, and lanches fine, but once a call a WS on the same server (different web site) I get a 401 error. If I set the WS to use anonymo...

Dealing with "forced upgrades" to web-services?

I've just written a short article entitled Forced software upgrades in the land of web-apps My question for Stackoverflow on this topic is, how would you go about allowing users to access old versions of your web-application (like GMails "Older version" button), and is it worth it? Clarification: I am using the term "web application" v...

flex 3 getting webserice call to wait for result

i have a function which retrieves values from a webservice , then loops through the returned values and for each returned value does another webservice lookup. Im having a problem however that when i make the second webservice call within the for loop that the function does not wait for the reuslt and just keeps processing and in turn g...

Interface to a webservice?

I have two webservices that have exactly the same methods and signatures but point at different servers (specifically the Virtual Earth production and staging environments). I wish to switch between using the production and staging services on the basis of a config setting and don't want to repeat myself and replicate each method where I...

Java WebServices with Spring and OAS/OC4J

I'm having problems deploying a simple WebServices app (like "Hello World" simple) to OC4J. The same code works fine under Jetty, but breaks in OC4J, and I'm wondering if anyone else has faced the same issue. I'm using Enterprise Manager to deploy the app, but the deployment fails with this message: [Jan 23, 2009 8:46:20 AM] Binding...

How to transfer databases and site contents

Hi guys, I own a website with 20 GB data on it Now I decided to change the Hosting compnay . I'm Moving to Russian VPS so is there a way to transfer the contents of my website to the Russian VPS without uploading them again . Is there a service that does this. I heard that there is a way to do this using shell access (BUT what is shell ...

Problem invoking Web service using WS-Security

I am invoking a webservice form my .net web application a getting the following com.ibm.wsspi.wssecurity.SoapSecurityException on invocation. WSEC5048E: One of "SOAP Header" elements required. The SOAP request seems to be valid so I guess the problem is something to do with the webservice using WS-Securty. I had to install a certific...

JSTL and authenticated web services

Can I access an authenticated web service using JSTL? (Form-based authentication) If I can't do it using JSTL, is there any other way I do it from a JSP? Maybe I need to give a little more information. I'm using the core library: <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> and the import tag, as in: <c:import ...

Call web service in excel

In a VBA module in excel 2007, is it possible to call a web service? If so, any code snippets? How would I add the web reference? ...

Specifying a root node of FormPanel.form.load for dynamic forms

I'm building a dynamic ExtJS form based on JSON data loaded from an ASP.NET web service. The problem I find is that ExtJS expects the JSON in a specific format, ie. { "metaData": { "title": "Testing" }, "data": [], "success": true } When using an ASP.NET web service to return an object as JSON it returns with the first element "d", i...

What is best-practice when designing SOA WCF web-services?

Given an operation contract such as: [OperationContract] void Operation(string param1, string param2, int param3); This could be redesigned to: [MessageContract] public class OperationRequest { [MessageBodyMember] public string Param1 { get; set; } [MessageBodyMember] public string Param2 { get; set; } [MessageB...