soap

Creating an web API in ASP.Net

Hi, I'm looking to create an API for a website I have built. The API will be built in ASP.Net - probably using VB and will need to be consumed by multiple platforms including PHP. I've read a bit about REST vs. SOAP APIs and am confused about which route I should go. I also need some examples and frameworks I can use to get started. T...

Sending a binary stream through SOAP.

I have a "simple" task. I have an existing project with a web service written in C# which has a method that will send a huge XML file to the client. (This is a backup file of data stored on the server that needs to be sent somewhere else.) This service also had some additional authentication/authorization set up. And I have an existing D...

How can I test if my connection pool is working in a correct way?

I'm implementing a SOAP client using Apache Axis 2. Since the SOAP client must handle heavy number of requests I am using a connection pool. To do that I had to set a few transport layer configuration of my stub that was generated from a WSDL file: stub._getServiceClient().getOptions().setProperty(HTTPConstants.REUSE_HTTP_CLIENT, Const...

Connecting to Bing Maps SDK from a Rails app

I am attempting to connect to Bing Maps SDK through a RoR application. My goal is to calculate driving distance between two locations after geocoding them. I am new to SOAP and ROR so I may be making a simple mistake. Two days of Googling (Binging?) and I'm coming up short. Here is what I am doing: Environment Ruby 1.8.7 on Windo...

Posting Images with a SOAP Web Service (Windows Mobile)

Hey brainiacs, We are developing a Windows Mobile 6 Professional application which captures images and then needs to submit those images to a server (there will be between one and ten images at about 200KB each), along with a bunch of text-based metadata. The organization that runs the environment prefers SOAP to be used for this commun...

Consuming PHP webservice(SOAP, WSDL) from ASP.NET C# app - problems with array

I have a web service, defined(WSDL) and implemented in PHP. This one is relatively simple, important bits defined as the following: <message name='registerAccountRequest'> <part name='key' type='xsd:string'/> <!-- key --> <part name='data' type='xsd:array'/> <!-- account data --> </message> <message name='registerAccount...

Testing a gSOAP server

In a normal client/server design, the client can execute functions implemented on the server-side. Is it possible to test a gSOAP server by connecting an extra client to it? ...

Best way for Flex to communicate with C# backend?

What is the best way for flex frontend to communicate with backend writted in C#? The only communication channel in HTTP, so no custom sockets. I used SOAP in the past, but am concerned about performance since the large overhead of xml, and this application I'm currently working on will be pretty data intensive. Anything that supports ...

SOAP::RPC::Driver formatting problems. How can I change it?

I'm dealing with a SOAP webservice call from a server that is expecting to receive method calls with the paramaters in the format of: <urn:offeringId> 354 </urn:offeringId> But SOAP::RPC::Driver is generating messages in the form of: <offeringId xsi:type = "xsd:int">354</offeringId> The server keeps erroring when it gets these mess...

Problems with an ASMX Web Method that uses File I/O

Right now I am working on a stub of a project. In the course of the project I need to be able to from a web front end set a message on a server to and then from an iPhone Query the Server to read the message. While all the individual peices are working and my request is going through fine I am having trouble using this webmethod [Web...

Consuming SOAP Web Service, error when de-serializing value types

Does anybody know how I can troubleshoot web services responses? When I get my soap message back from a web service call I get this error "The string '' is not a valid AllXsd value" as soon as it's a value type like a datetime per example. My proxy classes are generated from wsdl's using wsdl.exe, the wsdl seems valid. I have seen not...

Optional parameters with PHP SoapClient class on wsdl mode

With the SoapClient class on PHP5.x and working against a SOAP web service that has optional parameters in its methods, you won't have any problem if you use the non-wsdl mode. But, at least by default, with the wsdl mode, if you don't fill all the parameters you will get an error like: SOAP-ERROR: Encoding: object hasn't 'xxx' property...

Where have you used gSOAP?

Can you give examples how you used gSOAP and how well it was integrated in your existing architecture? Have you found development bottlenecks with gSOAP? ...

WSDL - no input - best practice

Hi, I'm developing a SOAP web service. One of the functions is isAlive(). It has no input parameters. What's best practice for the WSDL? I tried... <wsdl:operation name="isAlive"> <wsdl:output message="tns1:isAliveMessage"/> </wsdl:operation> ...but got a parse error in one of my tools because of the missing input. I found a coupl...

Web Database or SOAP?

We’ve got a back office CRM application that exposes some of the data in a public ASP.NET site. Currently the ASP.NET site sits on top of a separate cut down version of the back office database (we call this the web database). Daily synchronisation routines keep the databases up-to-date (hosted in the back office). The problem is that th...

PHP SOAP client that understands multi-part messages?

Is there such a beastie? The simple SOAP client that ships with PHP does not understand multi-part messages. Thanks in advance. ...

Consuming .NET web service in Oracle Forms

I have a web service that i need to consume in Oracle Forms. The web service is SOAP based service and was generated using Microsoft Biztalk Server. The service accepts a complex xml message as its request and returns a similar xml message as response. I want to consume this service from within my Oracle Forms Application (Forms version ...

Webservice caching reverse proxy?

I'd like to put some kind of caching reverse proxy in front of a SOAP webservice over HTTP to improve both performance and availability. Is there some software that performs this? (Preferably free and easy to install/use). The idea is here: the responses of the webservice vary with the request, but for each request the responses rarely...

Possible causes of Generic Server Error message for SoapException

I am currently accessing a web service. The only message I got from the thrown exception is "Server Error." During the past tests, the only exceptions I encountered have HTTP error codes in it i.e. 401 Unauthorized, 403 Forbidden, etc. This one doesn't have it and it is really generic. Any experiences on what the possible causes are?...

Creating a SOAP Request with ASP.Net 2.0

Hi I am talking to a technical contact at the Server Website who expects me to be using Visual Studio while I just want to hand write script. See below for the SOAP request I need to generate. (I have replaced the actual URL with a dummy one) . I am pretty new to ASP and SOAP as you might guess and I have tried to Google an example scri...