soap

Backwards compatibility and Web Services

So I'm a bit new to web services and a situation recently came up where we added an element to a data-type that gets returned to the client. The clients complained that this broke their implementation because it choked on the new element that it did not expect. (we are providing the services via Axis2). To me this seems like a harmles...

Nested complex-type elements never get populated when calling AXIS-based web service from .NET

I've been trying for a couple of days now to get a .NET client working fully with a Web Server provided by my Coldfusion-based web app. I'm not a .NET developer, per se, but I happen to have a copy of VS 2003, which seems like it should do the trick. I can use a simple multiplier() method in my web service that takes two numbers and ret...

WCF: SOAP output body contains tag names instead of elements

I have an object created with the xsd.exe tool that defines xml attributes in the code, but the SOAP response from my web service is returning xmlelements instead of attributes. /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroug...

Providing better WSDL from C# SOAP

I'm pulling together some services in C# that have to match specific data format; e.g. string lengths, various enumerations and formatting. I have the back-up approach to validate post the SOAP call and respond with friendly messages and pre-defined error codes, but I would like to place additional information into the WDSL (so it is cl...

System.Web.Services.Protocols.SoapHeaderAttribute.Required is obsolete What should I use now?

Hi I am following this tutorial http://www.codeproject.com/KB/cpp/authforwebservices.aspx They have this in the tutorial [SoapHeader("Authentication", Required = true)] Warning 1 'System.Web.Services.Protocols.SoapHeaderAttribute.Required' is obsolete: 'This property will be removed from a future version. The presence...

How to add web-services as a layer on the top of sockets written in C/C++?

Is it possible to exchange web-services over socket programs written in C/C++? The data to exchange are in the from of xml/soap message. ...

Can I add a custom http header to SOAP message

Can I add a custom headers to the following headers POST /InStock HTTP/1.1 Host: www.example.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn <?xml version="1.0"?> ..... please any help ? ...

In gSoap, what does the "host" argument to soap_bind mean?

The gSoap API function soap_bind has an argument called host. The documentation is unclear about what the argument is for. Is it: The hostname/IP of a local network interface on which I want to listen The hostname/IP of the only remote host I will allow to connect Something else? ...

How can I change namespace prefix in this WSDL?

I am trying to create a WSDL for a pre-existing web service. I have an existing client and and existing server, and I've captured the format both use using Wireshark. I am trying to write a new client that uses the same format. Therefore I am trying to match the format as closely as possible, be it correct or not. I'm cooking up a WSDL f...

Process SOAP Headers in PHP

Hi, I am building (in PHP) a SOAP server that is configured by its WSDL to accept messages that look like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://my.awesome.namespace/"&gt; <SOAP-ENV:Header> <ns1:Header> <ns1:APIKey>E4C5BDE0-48DC-543C-1CA3-8E55C63F8E...

Can't connect to WCF service on Android

I am trying to connect to a .NET WCF service in Android using kSOAP2 (v 2.1.2), but I keep getting a fatal exception whenever I try to make the service call. I'm having a bit of difficulty tracking down the error and can't seem to figure out why it's happening. The code I am using is below: package org.example.android; import org.ksoap...

Why isn't SOAP-based web service RESTful?

I understand RESTful is an architecture style, but what exactly makes SOAP-based web service not count for RESTful? It's not clear to me which points below (from Wikipedia), is not conformed by SOAP. Client-server Stateless Cacheable Layered system Code on demand (optional) Uniform interface Identification of resources Manipulation o...

How to test Webservices with PHPUnit?

I neet to test a couple of SOAP webservices. What types of tests can I run? ...

PHP5 SOAP XML into Array

I currently have a return from a SOAP call. <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt; <soapenv:Body> <ns:getMakeResponse xmlns:ns="http://ws.fds.com"&gt; <ns:return> <ResponseCode>000</ResponseCode> <ResponseDescription>No Errors</ResponseDescription> <MakeRetur...

Public SOAP Web Services

I need some public Web Services to list and analyse them. The services should not be secured by password or some key. ...

Where to find a good tutorial and examples of CSOAP?

I started to work with CSOAP (see http://csoap.sourceforge.net) and when searched on google, I didn't find a good tutorial of CSOAP. Could you plz direct me to anything relevant from where to start? Thanks! ...

Web service construction toolkit / wrapper for PHP?

I am developing a number of Web Applications and CMSes - and have old ones - that I would like to enrich with a RESTful API: The possibility to programmatically access library functions like, say, creating pages, moving them, deleting them, querying content, the things that an API does. What I am looking for is some kind of a web servic...

Where can I find documentation on not supporting SOAP method overloading?

Most of the work I do is with RESTful web services but one of our customers has a legacy SOAP interface. We're a Java shop and currently moving things to Grails and supporting their old SOAP service is adding "custom" development to our enhancements. Basically, their WSDL contains multiple operations with the same name that reference d...

Why does the generated .NET proxy for this WSDL drop some data?

I've added a WCF service reference to a .NET project using this WSDL: https://interop.cmiservices.org/axis/services/CAP1%5F1?wsdl It generates the proxy classes, etc., and I am able to call the methods. However, when calling 'getCAPAlerts', or 'getCAPAlert', the return values seem to be missing data. For example, 'getCAPAlert' returns...

Blackberry SOAP Webservice

Hi Friends, What is way to connect to SOAP based web service from Blackberry Application. Every one is using KSoap Library. Is there no native support in Blackeberry SDK to connect to webservice.? ...