web-services

database performance

Say there is a website with 100,000 users each has up to 1000 unique strings attached to them so that there are maximum 100,000,000 strings in total. Would it be better to have 1 table with each string being one record along with it's owner's id. So that you end up with 1 table with 100,000,000 records with 2 fields (text and user id). ...

Simple proxy server for web services

Hi I am looking for a proxy server for web services primarily for port forwarding in the DMZ environment. Previously I have used Amberpoint or Data Power for this purpose. Now, in my new project I do not have access to any proxy servers and the traffic is pretty light at a maximum of 100 requests/day. I looked at Managed Service Engin...

Amazon Product Advertising API signed request with Java

Hello, after many hours of tinkering and reading the whole internet several times I just can't figure out how to sign requests for use with the Product Advertising API. So far I managed to generate a client from the provided WSDL file. I used a tutorial by Amazon for this. You can find it here: Tutorial for generating the web service ...

Combine a serialized object with an existing xml doc and return it?

Hello, I'm trying to figure out to to combine a serialized object with an existing xml doc and return it as a webservice. Thanks ahead for you help. Sample code: [WebMethod] public string GetApple() { Apples apples = Report.GetReport(); // this returns: // <Apples xmlns:xsi="http://www.w3.org/2001/XMLSchema-...

Linq To SQL, WebServices, Websites - Planning it all.

Hello, Several "parts" (a WinForms app for exmaple) of my project use a DAL that I coded based on L2SQL. I'd like to throw in several WebApps into the mix, but the issue is that the DAL "offers" much more data than the WebApps need. Way more. Would it be OK if I wrapped the data that the websites need within a web-service, and instead ...

How to use proxy class generated by WSDL in web service?

Disclaimer: My experience/knowledge of web services is very limited. There is an existing web service WSDL that I have reverse engineered with wsdl.exe to create a C# proxy class. Using Visual Studio 2008 I created a default web service template. How do I reference the generated proxy class so that it will work in the web service? ...

Problems consuming web service from groovy script

Hello, I'm having some problems trying to consume a web service from a groovy script. I'm using WSClient lib. If I execute the example posted at groovy's website: @Grab(group='org.codehaus.groovy.modules', module='groovyws', version='0.5.2') import groovyx.net.ws.WSClient proxy = new WSClient("http://www.w3schools.com/webservices/tem...

I am looking SAOP services which i want to do example by client.

Hello everybody I am just trying to understand how to query on SOAP services so is there any SAOP based services which i can play with it ? ...

iPhone + Web Services best practices

Hi, Accessing Web Services inside an iPhone app is a matter for which I did not find a clear, beautiful solution yet. I'm not talking about how to send queries or parse responses here, but about a "big picture" answer. Disregarding the server-side technology, how do/would you plug your Model objects to your Web Service ? How do you des...

SOAP Web Service on ASP server consumed via PHP

I'm trying to use a Web Service using PHP and SOAP. The Web Service is built in .NET and hosted on an ASP server. I'm using the following code to interact with the API but I keep getting an error with parsing WSDL. The PHP UNIX server has an SSL certificate, the web service host also has an SSL certificate and I'm using https to initia...

Android application as Web Service

Is it possible implement an Android application as a web service? On the official site I've read: Note: If you want to develop a server-side application, we recommend that you implement your application as a servlet running in a servlet engine like Tomcat or full-blown JSEE container like Geronimo. If you prefer to impleme...

Axis API in Android

Hi!!! I'd like to implement a Client Android of a web-service. How Web-Server, I use Tomcat, and how Web-Application I use Axis.To invoke a web-service, I need Axis Library. When I run my Client on Android emulator, the application is closed and in the LogCat there is following error: tag dalvikvm Message Could not find class 'org.a...

Webservice call from VB6 code results in "Request format is invalid " System error

Hi, here is a code Private Sub PassTXrecordtoGP(ByVal sopNum As String, ByVal WOnum As String, ByVal mustNumb As String) Dim objXMLHTTP As MSXML2.XMLHTTP60 Dim sURL As String Dim i As Integer i = 1 For i = 1 To 3 If (Len("" & sopNum) = 0) Or (Len("" & WOnum) = 0) Or (Len("" & mustNumb) = 0) Then Exit For sURL = "http:/...

ArrayOfAnyType issues when calling the method:GetRangeA1 excel web services in the silverlight 4.0

I create a simple silverlight 4.0 application used to read the excel file data in the share point 2010 server. I try to use the "Excel Web Services" but I get an error here when calling the GetRangeA1 method: An unhandled exception of type 'System.ServiceModel.Dispatcher.NetDispatcherFaultException' occurred in mscorlib.dll Additional ...

[Database design] Modeling temporal logging across multiple nodes

Hello, I am creating a database for an application that logs data for several different nodes. The data logged looks like this: timestamp several integer values several floating point values maybe a string or two Each node is polled separately. I would be creating a log entry between every 10 minutes and every 10 seconds (variable ...

My SoapExtension is receiving the AfterSerialize message twice!

I'm using Visual Studio 2010 and C# to write a web service that requires special handling that I'm solving by rolling my own SoapExtension. This SoapExtension is of course implementing the ProcessMessage method. This is all fine, but for some reason this ProcessMessage is being called twice (two, 2 times) for each of the Stages of the S...

Legitamate cross site communication

I am building a website, within a large intranet, that wraps and adds functionality to another site within the same intranet. I do not have access to the other site's source and they do not provide any api's for the functionality they provide. I need to, somehow, have my server-side code go to that site, fill in some forms, then press a ...

Web Service - XML post - Element Order

We built a web service using the REST Starter Kit. It appears that the elements in an XML post need to be submitted in alphabetical order. What options are there to enable the elements to be any order? ...

Questions on NVP vs. SOAP Differences and Terminology

I work a lot with 3rd party web services. The first thing I look for is if they provide a WSDL that I can easily add into Visual Studio and start immediately using the auto generated proxy class that VS creates based off the WSDL and obviously I am able to start coding quickely and start using whatever 3rd party API. So for example Pay...

How does ColdFusion serialize variables returned from web service calls?

I would like to know how ColdFusion serializes variables returned from web service calls so that I can figure out how large (in bytes) they are. I am having issues where when a few of my web requests are returning (I can tell from log statements) but then I get INVOCATION ERROR: Cannot perform web service invocation. My hunch from the ...