soap

Is there a way to tell WCF to use security in the request, but ignore it on the response?

We have to connect to a third party SOAP service and we are using WCF to do so. The service was developed using Apache AXIS, and we have no control over it, and have no influence to change how it works. The problem we are seeing is that it expects the requests to be formatted using Web Services Security, so we are doing all the correct ...

.NET WCF faults generating incorrect SOAP 1.1 faultcode values

I am experimenting with using the FaultException and FaultException to determine the best usage pattern in our applications. We need to support WCF as well as non-WCF service consumers/clients, including SOAP 1.1 and SOAP 1.2 clients. FYI: using FaultExceptions with wsHttpBinding results in SOAP 1.2 semantics whereas using FaultExceptio...

WSDL Generation Tools

Can anyone recommend a good (preferably open source) tool for creating WSDL files for some soap web services? I've tried playing around with some of the eclipse plug ins available and was less than impressed with what I found. ...

How do I add a namespace reference to a SOAP response with Apache Axis2 and WSDL2Java

I'm looking at the SOAP output from a web service I'm developing, and I noticed something curious: <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt; <soapenv:Body> <ns1:CreateEntityTypesResponse xmlns:ns1="http://somedomain.com/wsinterface"&gt; <newKeys> <value>1234</value> ...

SOAP or REST

Is REST a better approach to doing Web Services or is SOAP? Or are they different tools for different problems? Or is it a nuanced issue - that is, is one slightly better in certain arenas than another, etc? ...

How to send SOAP requests in ISO-8859-1 with Flex ?

Flex uses by default UTF-8. I have not fount a way to specify a different encoding/charset on the actionscript WebService class. Thanks in advance for your help ...

kSOAP Marshalling help needed

Does anyone have a good complex object marshalling example using the kSOAP package? ...

wsdl.exe Error: Unable to import binding '...' from namespace '...'

When running wsdl.exe on a wsdl I created, I get this error: Error: Unable to import binding 'SomeBinding' from namespace 'SomeNS'. - Unable to import operation 'someOperation'. - These members may not be derived. I'm using the document-literal style, and to the best of my knowledge I'm following all the rules. To sum it up, I have a...

Query Web Service for list of Messages?

Is there a straightforward way to query a web service to see which messages it supports? The C# .NET application I'm working on needs to be able to handle an older version of the web service, which does not implement the message I'm trying to send. The web service does not expose a version number, so Plan B is to see if the message is de...

What's the best way to serialize a HashTable for SOAP/XML?

What's the best way to serialize a HashTable (or a data best navigated through a string indexer) with SOAP/XML? Let's say I have an Foo that has an property Bar[] Bars. A Bar object has a key and a value. By default, this serializes to the following XML: <Foo> <Bars> <Bar key="key0" value="value0"/> ... </Bars> </Foo...

What are the best books for SOAP webservices?

My team is about to build a new product and we are using SOAP webservices as the interface between the client and server. There are other book posts on stackoverflow, but I couldn't find one that matched my needs. My manager will be purchasing books for our team to use as a resource so... What are the best books about SOAP webservices...

looking for best practice guidlines (or any guidelines) on using the jax-ws maven plugin

My particular use case is using the wsimport goal (which basically maps to the jaxws wsimport.sh tool) to generate java code from wsdl. Looking for ideas on how others have integrated this goal into their development cycle. ie. do you generate all the interfaces only once and check it in. Where do you store the actual wsdl and any xsd...

Gsoap Error in C++

I am using gsoap to create a soap server in C++. Messages are routed through a bus written in java. Both the server and the bus are multithreaded. Everything works well sending one message at a time through the system. If i start 3 clients each sending messages as fast as possible everything is fine for about 3500 messages. Then i begin ...

Validate an incoming SOAP request to the WSDL in PHP

The built-in PHP extension for SOAP doesn't validate everything in the incoming SOAP request against the XML Schema in the WSDL. It does check for the existence of basic entities, but when you have something complicated like simpleType restrictions the extension pretty much ignores their existence. What is the best way to validate the S...

Performance of SOAP vs. XML-RPC or REST

The arguments about the simplicity of solutions using XML-RPC or REST are easy to understand and hard to argue with. I have often also heard arguments that the increased overhead of SOAP may significantly impact used bandwidth and possibly even latency. I would like to see the results of a test that quantifies the impact. Any one know...

Can I check if a SOAP web service supports a certain WebMethod?

Our web services are distributed across different servers for various reasons (such as decreasing latency to the client), and they're not always all up-to-date. Rather than throwing an exception when a method doesn't exist because the particular web service is too old, it would be nicer if we could have the client check if the service re...

Does anyone know of any problems with using WCF to expose a SOAP interface for non .NET clients?

Does anyone know of any problems with using WCF to expose a SOAP interface for non .NET clients? For example incompatibilities with other SOAP libraries? This is so that the SOAP interface can be exposed for third parties to integrate with our software. ...

How can I consume a WSDL (SOAP) web service in Python?

I want to use a WSDL SOAP based web service in Python. I have looked at the Dive Into Python code but the SOAPpy module does not work under Python 2.5. I have tried using suds which works partly, but breaks with certain types (suds.TypeNotFound: Type not found: 'item'). I have also looked at Client but this does not appear to support W...

How can the error 'Client found response content type of 'text/html'.. be interpreted.

I'm using C# and connecting to a WebService via an auto-generated C# proxy object. The method I'm calling can be long running, and sometimes times out. I get different errors back, sometimes I get a System.Net.WebException or a System.Web.Services.Protocols.SoapException. These exceptions have properties I can interrogate to find the spe...

What is the simplest way to offer/consume web services in jython?

I have an application for Tomcat which needs to offer/consume web services. Since Java web services are a nightmare (xml, code generation, etc.) compared with what is possible in Python, I would like to learn from your experience using jython instead of java for offerring/consuming web services. What I have done so far involves adapting...