soap

Ruby and WS-Security

I'm having troubles finding good Ruby libraries that implement WS-Security. I've seen wss4r but have yet to use it (and the documentation is a bit light on it). What libraries do you use for this task, or is there a better alternative? ...

SOAP or REST based Geotargetting service?

Is anyone aware of a (preferablly free) webservice that would accept a SOAP or REST request. This request would contain an IP address, and the service would return an approximation of that IP's location. EDIT: I need resolution down to the city of possible. ...

How do I create a non-standard type with SOAPpy?

I am calling a WSDL web service from Python using SOAPpy. The call I need to make is to the method Auth_login. This has 2 arguments - the first, a string being the API key; the second, a custom type containing username and password. The custom type is called Auth_credentialsData which contains 2 values as stings - one for the username an...

How do I prevent SoapExtensions being added to my web service app?

It seems that anyone can snoop on incoming/outgoing .NET web service SOAP messages just by dropping in a simple SoapExtension into the bin folder and then plumbing it in using: <soapExtensionTypes> <add type="MyLoggingSoapExtension, SoapLoggingTools" priority="0" group="High" /> <soapExtensionTypes> Is there a way to prevent SOAP ex...

Getting Security Headers into a WCF service with custom message/formatter in .NET 3.0

We've inherited a WCF web service that has a custom MessageFormatter that constructs a custom Message subclass in the SerializeReply Method. class OurMessageFormatter : MessageFormatter { public Message SerializeReply(MessageVersion messageVersion, object[] parameters, object result) { OurResponse ourResponse = (OurResponse) res...

What is the best way to consume a web service from VB6?

I need to consume an external web service from my VB6 program. I want to be able to deploy my program without the SOAP toolkit, if possible, but that's not a requirement. I do not have the web service source and I didn't create it. It is a vendor-provided service. So outside of the SOAP toolkit, what is the best way to consume a web ser...

Simplest SOAP example using Javascript

What is the simplest SOAP example using Javascript? To be as useful as possible, the answer should: Be functional (in other words actually work) Send at least one parameter that can be set elsewhere in the code Process at least one result value that can be read elsewhere in the code Work with most modern browser versions Be as clear a...

Why is it not a good idea to use SOAP for communicating with the front end (ie web browser)?

Why is it not a good idea to use SOAP for communicating with the front end? For example, a web browser using JavaScript. ...

.NET SOAP Common types

Is there a way when creating web services to specify the types to use? Specifically, I want to be able to use the same type on both the client and server to reduce duplication of code. Over simplified example: public class Name { public string FirstName {get; set;} public string Surname { get; set; } pu...

How do you determine a valid SoapAction?

I'm calling a webservice using the NuSoap PHP library. The webservice appears to use .NET; every time I call it I get an error about using an invalid SoapAction header. The header being sent is an empty string. How can I find the SoapAction that the server is expecting? ...

How can I make Ruby's SOAP::RPC::Driver work with self signed certificates?

How can I prevent this exception when making a soap call to a server that is using a self signed certificate? require "rubygems" gem "httpclient", "2.1.2" require 'http-access2' require 'soap/rpc/driver' client = SOAP::RPC::Driver.new( url, 'http://removed' ) client.options[ 'protocol.http.ssl_config.verify_mode' ] = OpenSSL::SSL::VERIF...

Namespace scope in SOAP / XML

Is this valid SOAP / XML? <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <soap:Body> <CreateRoute xmlns="urn:Routs"> <aRoute> <name>ToTheTop</...

What URL do I post to for Live Search SOAP service?

Its possible I am just really really thick. However, looking over the SDK for the live search (MSN search) that uses SOAP, doesn't tell me what URL the service is at?? I can download SDKs for C# or VB which probably encapsulate, but that doesn't help me (I am using ruby). http://search.live.com/developer/ ...

logging soap requests in flex 3

I'm trying to consume a SOAP webservice from an Adobe Flex 3 application, but the server tell me "Invalid SOAP Envelope. SOAP Body does not contain a message nor a fault". I already wrote other test clients (with both Delphi and C#) and I'm sure it's all ok on the server side, so I need to examine the SOAP envelope Flex is sending out to...

How to replay soap message?

I would like to replay soap message against my server. I've recorded a few messages and i've tampered with Timestamps, soapbodies etc and now I would like to see that my SecurityAssertions lites up like xmastrees. The deployed server will use clientcertificates and servercertifivcates for authentisation, and the whole messageflow will go...

Web Services authentication - best practices?

We have SOAP web services in production that are relying on SOAP Headers (containing plain client credentials) for the authentication. The WS are used in heterogeneous environments with .NET/Java/PHP/Python/C++ clients both web app or desktop app. We are considering a v2 for those WS and I am wondering what are considered as the best pr...

How do I report an error midway through a chunked http repsonse without closing the connection?

I have an HTTP server that returns large bodies in response to POST requests (it is a SOAP server). These bodies are "streamed" via chunking. If I encounter an error midway through streaming the response how can I report that error to the client and still keep the connection open? The implementation uses a proprietary HTTP/SOAP stack so ...

Where can I find a good tutorial describing how to leverage a SOAP web service from a Winforms application in .NET 3.5?

C# is my language of choice... rest is in the title ...

Can Generic Type Mapper (MSSOAP toolkit) be persuaded to handle empty arrays

I'm having the problem described here: http://groups.google.com/group/microsoft.public.xml.soap/browse_thread/thread/029ee5b5d4fa2440/0895d73c5c3720a1 I am consuming a Web Service using Office 2003 Web Services Toolkit. This generates classes for all the data returned by my web service: one of the classes has a property that is an arr...

How do I tighten security of my hybrid ASP.NET 1.1 / Ajax solution?

Scenario I have an HTML/javascript website that uses javascriptSOAPClient communicate with an ASP.NET 1.1 web service in order to read/write to a SQL database. (http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx). The database contains anonymous demographic information--no names, no credit cards, no addresses. Essentially the ...