soap

Why do I get a connection error / timeout when using python suds to connect to Microsoft CRM?

When I try to connect to an MS CRM web service using suds/python-ntlm, I am getting a timeout on requests. However, the code that I'm trying to replace -- which calls out to the cURL command line app to do the same call -- succeeds. Clearly something is different in the way that cURL is sending the command data, but I'll be damned if I...

Are there any lightweight alternatives to gSOAP?

I've tried using gSOAP for accessing a web service (e.g. using supplied WSDL to generate C stubs and then using them in an app). However, I've found that the generated .c and object files is quite big (several megabytes), which is a problem in embedded environment where I work. Do you know of any simpler SOAP libraries, or do I have to ...

Custom header using PHP soap functions

Hi, I am having a problem getting a custom soap header to work with PHP5. Can anybody guide me please. What I require is something like this <SOAP-ENV:Header> <USER>myusername</USER> <PASSWORD>mypassword</PASSWORD> </SOAP-ENV:Header> What I get is : <SOAP-ENV:Header> <ns2:null> <USER>myusername</USER> <PASSWORD>myp...

Is it legal to have different SOAP namespaces/versions between the request and response?

THIRD EDIT: I now believe that this problem is due to a SOAP version mismatch (1.1 request, 1.2 response) masquerading as a namespace problem. Is it illegal to mix versions, or just bad style? Am I completely out of luck if I can't change my SOAP version or the service's? SECOND EDIT: Clarified error message, and tried to reduc...

Create/Send a SOAP HEADER to a Java Web Service in C#

I created the proxy class with wsdl.exe, but the method of service that I am communicating required to send you a user name and password for a SOAP HEADER. I do not know how to create the SOAP HEADER in C # and send it to the method of service. ...

WS-Security using the ASMX file in ASP.NET 3.5

Basically I need to setup my ASMX file so that when I pull it up in a browser to display the WebMethod specification the Soap Header conforms to this format: <soap:Header> <wsse:Security> <wsse:UsernameToken wsu:Id='SecurityToken-securityToken'> <wsse:Username>Username</wsse:Username> <wsse:Password>Password</...

Ruby 1.9 and Rackspace's email api (SOAP)

Is anyone out there working with SOAP on Ruby 1.9? Rackspace has email addresses for $2/month and an api to programmatically create/destroy accounts which looks like the best I've found. Fusemail has $2 addresses too but you need a minimum of 80 to get access to the api. So, I either need to find a solution to working with Rackspace or ...

Are there any major issues using inbuilt SOAP support in PHP 5.3?

I've seen some questions where people have trouble with accessing .NET SOAP web services from PHP and there appears to be an issue with namespaces when using a distributed WSDL. Are there any other problems with the inbuilt SOAP support in PHP 5.3? ...

clarification on the concept of "web service"

Im a little confused on the varying definitions and implementations of web services available as implementations. Need some clarification please. Ones I have used till now: If a vendor gives me a specific format of XML that I can send populated with data to request and I make a simple HTTP POST over the internet passing in the XML Str...

Exception calling remote SOAP call from thread

This is an extension / next step of this question I asked a few minutes ago. I've a Delphi application with a main form and a thread. Every X seconds the thread makes a web services request for a remote object. It then posts back to the main form which handles updating the UI with the new information. I was previously using a TTimer...

How to get rid of "Uncaught SoapFault exception: [Client] looks like we got no XML document in..." error

Hello I'm trying to develop business logic for a dynamic site using nusoap on server side (because I need wsdls, and PHP SOAP extension can't generate wsdls), and PHP SOAP extenstion on client side. However, I can't get even login and getRole functions right. When i try to invoke client, I get following message Uncaught SoapFault exce...

Overwrite the Soap Envelope in Suds python

Hello, I have a camera and I am trying to connect to it vis suds. I have tried to send raw xml and have found that the only thing stopping the xml suds from working is an incorrect Soap envelope namespace. The envelope namespace is: xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" and I want to rewrite it to: xmlns:SOAP-EN...

BDS 2006 webservice compatible with ws-i basic profile 1.0?

Are webservices written in BDS 2006 compatible with ws-i basic profile 1.0? Delphi seems to always add use="encoded" to soap:body which is against this part of the specification: http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16448072. ...

Can I generate Axis2 stubs from Axis stubs or some other way from soapUI?

I have a WSDL that axis2 wsdl2java throws the following exception Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the compley type {http://xml.test.com/device/types}ActionIn from the parent type http://xml.test.com/device/util/types The original axis can generate the Java just fine and I can load the WSDL i...

Help me convert this PHP SOAP code to C#

Hi, I am trying to do some C# SOAP calls and can't seem to get any good examples on how to do it. I read an old question of mine about a SOAP call in PHP and thought maybe asking you guys to rewrite it in C# would be a good place to start. Here is the PHP code: $client = new SoapClient('http://www.hotelscombined.com/api/LiveRates.asmx...

Oracle Enterprise Server SOAP/Servlet/SoapRouter

Does anyone know any sample Oracle SOAP XML requests that that queries the database? For example, the url: http://myoracle:7778/oracle/soap/soaprouter/ I'd like to program xml requests and get return xml database. But I have no idea on the Oracle SOAP format. Please provide an example. ...

Where should I put my breakpoint to check XML Response string from a web service?

Hi, You know, once you add a web reference to a webservice a wrapper code is generated by Visuel Studio. I was wondering if there is a method (or property) which is generated by Visual Studio whatever web service you add to your project so that I can put a breakpoint there and once the debugger stops there, I can simply read the respon...

SOAP API reporting non-validating XML

I'm calling a SOAP webservice using Apache AXIS2 with ADB. Never mind the 64.000 line stub generated to send over two parameters + auth, I'm getting an obscure XML validation error. I'm sending this (username and password redacted): 2010-03-26 00:28:59,982 DEBUG httpclient.wire.content - >> "<?xml version='1.0' encoding='UTF-8'?><soap...

Different Soap Envelopes - One Works, The Other Fails

I'm making an identical SOAP Request, one using the Zend Framework and the other not. The Zend one is not working and the only difference seems to be the envelope namespace. How is the envelope set and why would one of them fail? Zend Soap Call <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://wsapi...

WSIT/Metro doesn't understand Security SOAP header

I'm using WSIT/Metro to create a simple web-service. I'm getting the following error on the server when a client tries to connect with a simple username/passowrd authentication scheme: 2010.03.31. 19:10:33 com.sun.xml.ws.protocol.soap.MUTube getMisUnderstoodHeaders INFO: Element not understood={http://docs.oasis-open.org/wss/2004/01/oas...