soap

Spring Security integration into active directory

I want to authenticate my web service in Spring with an Active Directory lookup at both the producer and the consumer - under the Principal that that each are executing under (ie Service Accounts). I'm assuming I have to use JaasPlainTextPasswordValidationCallbackHandler and JaasCertificateValidationCallbackHandler and set up my ...

Is javax.xml.soap better then apache cxf?

This week I had to look into a Java WebService project which was using SOAP packages javax.xml.soap.*. I have not used this before but the Apache CXF library to create a SOAP webservice. I have a question on javax.xml.soap.* Is it better then CXF in terms of performance? In terms of coding I see CXF is amazing as no need to worry a...

C# SOAP with a custom URL.

Okay, simple situation: I'm writing a simple console application which connects to a SOAP web service. I've imported a SOAP Service reference and as a result, my application has a default endpoint build into it's app.config file. The web service, however, can run on multiple servers and the URL to the proper web service is passed throug...

How do I get a value node moved up to be an attribute of its parent node?

What do I need to change so the Name node under FieldRef is an attribute of FieldRef, and not a child node? Suds currently generates the following soap: <ns0:query> <ns0:Where> <ns0:Eq> <ns0:FieldRef> <ns0:Name>_ows_ID</ns0:Name> </ns0:FieldRef> <ns0:Value>66</ns0:Value> </ns0:Eq> </ns0:Where> </ns...

Passing an object to a .NET web service via PHP's SoapClient

My company publishes a set of .NET webservices available via SOAP. I need to tie my PHP application into these, but I'm bumping up against a problem that I can't find a solution for. One of the services I need to access has a signature of Advertiser CreateAdvertiser ( Advertiser advertiser ). How can I pass an instance of an object that...

How can I cache the marshalled SOAP XML generated by Apache CXF for a particular Java Object to improve performance?

In my application, we have a webservice method called getFoo() which returns a Foo object. The getFoo() method is called several hundred times a second. The Foo object is Marshalled from our Java object to the SOAP XML response using Apache CXF. From profiling our application, we determined that the marshalling of this object (java ...

Standards for queries over SOAP

Is there a standards-sanctioned XML format for describing entity queries? Background: I plan to build a library for writing queries over WCF services. On the client I want to be able to write (C#): var customers = from c in service.Customers where c.Name.StartsWith("P") order by c.Name ...

Old Borland Chess WebService help please.

I'm looking for a viable link to the 'old' borland chess server so i can connect my chessboard client? Also, i do have the client chessboard, the chessCGIserver and the chessbook (intelligence) - i would like to know how to setup the web server. Note: Old WSDL (chessWebService) link was first: http://wwwapp1.borland.com/webchess/ChessCG...

Is RESTful faster than SOAP? and when to use one of them?

Duplicate: This is a duplicate of "What are the best uses of REST services?" and many others. Please close it. In web development: Should i learn RESTful services very well and make all my future projects using it? Is it faster than SOAP services? When to use which? There is certain cases i should use one of them and others no? ...

File.WriteAllBytes causes error "Insufficient system resources exist to complete the requested service"

Hi, I have a standard SOAP webservice with a WebMethod which accepts a byte array and then performs a [WebMethod(true)] WriteFile(byte[] Data, string FilePath) { File.WriteAllBytes(FilePath, Data); } If this process is passed a large file, e.g. 2 meg it is bombing out with the following error message: Insufficient system res...

VS2008 - error in deserialization from web service

Hi, I have an error in deserialization from calling an operation in an external web service (https). The error is "Error in deserializing body of reply message for operation 'score'." Score is a credit score operation. The stack trace includes "There is an error in XML document (2, 157)." but I don't know how to get the XML document so I...

Axis2 always receives null parameters even if SOAP request is sent correctly?

UPDATE: I HAVE SOLVED THIS PROBLEM NOW - PLEASE SCROLL TO BOTTOM FOR INFORMATION ABOUT FIX Hi guys, I have a web-service written in Java, hosted on an Axis2 / Tomcat / Apache server. My client software is written in C#. I have had a few irritating problems with the way java2wsdl generates the wsdl file, which did cause me a few headac...

php soap client: wsdl vs. non-wsdl - which is faster?

I'm Using PHP 5 and the built-in SoapClient. This is really a question for the developers of PHP Soap support. The SoapClient gives you 2 choices: WSDL mode, which caches the WSDL file locally, and non-WSDL which requires you to build your own requests. Using the WSDL is obviously more convenient. But, I wonder how much processing th...

SOAP requests with actionscript 2

I'm not sure how I can send a SOAP request with actionscript 2 or even if it supports it. I've looked around for a while now and have come up with nothing. ...

SOAP message encryption in silverlight

how to encrypt soap message in silverlight.. i am currently looking for ideas... as silverlight doesn't support WCF Message Security.. i have gone through a post by Peter Bromberg but it is also not discussing the idea about when how to exchange public/private keys or sort of... ...

PHP SOAP : How can I return objects from PHP using SOAP?

I need to send/return objects or array to/from PHP using SOAP. Any good links? ...

InvalidOperationException while SOAP serialization of complex type

Hi guys, I encountered a problem with SOAP serialization and it would be great to find an answer. Here's a very simplified example: public void Test() { StringBuilder sb = new StringBuilder(); StringWriter writer = new StringWriter(sb); SoapReflectionImporter importer = new SoapReflectionImporter(); XmlTypeMapping map =...

Add Soap Header to Soap request in Visual Studio 2008

Hi, I'm trying to use a third party web service (so I do not have access to the web service code). In Visual Studio 2008 I created a new web site project (ASP and c#), and added the web reference (not web service! so I guess it is not a WCF service... correct?). The problem is that from the documentation of the web service I know that e...

How do I integrate NTLM authentication with Perl's SOAP::Lite module?

This Perl code works with Anonymous access to an ASP.NET web service, but when integrated security is turned on, the service returns 401 errors. I think I need to use the NTLM module in conjunction with SOAP::Lite, but it's not clear how to do so. How can these components be integrated? use SOAP::Lite; use strict; my $proxy = "http://l...

Trying to create a SOAP packet that looks like this:

I am investigating an existing system that relies on SOAP messages to be passed between the various executables. I am trying to replace one of those applications with one of my own, and looking at the documentation, I am running into a difficulty. I haven't worked with SOAP prior to this and am not sure what tools to use to accomplis...