soap

Does XML-RPC in general allows to call few functions at once?

Can I ask for few question in one post to XML-RPC server? If yes, how can I do it in python and xmlrpclib? I'm using XML-RPC server on slow connection, so I would like to call few functions at once, because each call costs me 700ms. ...

How to use PHP5 SoapClient::SoapClient() with client certificate ?

Hi, I need to use PHP's SoapClient with myfile-ca.crt. How can I tell SoapClient constructor to work with client certificate (crt file) ? I am experienced with php SoapClient, but I never needed to work with secure soap client. Thanks for any help ...

soaplib problems with XML characters in string payload

I've created a simple SOAP web service using soaplib and run into an issue in which SOAP parameters sent including ampersands or angle brackets are ignored, even when escaped. Whether the method is set up to accept a primitive string or a primitive of type 'any', any of those characters introduced result in a webfault (using suds) of th...

Axis 1.4 Handler: How to read multi-ref element values

Hi I am trying to parse a SOAP response containing multi-refs. Could someone provide a code sample of how this should be done? I have access to the SOAPElement type. Thanks for your help. Ranga ...

VB.NET WCF Soap Web Service Variables Missing

I have created a WCF VB.Net Soap service. The service compiles and runs, but at runtime, only half of the variables passed to the function via a soap request are received. Would anyone please be able to help me determine why only part of the variables are being passed in. Thanks in advance. Interface Imports System.ServiceModel Impo...

Drupal and netForum: Creating a User

I am trying to create a user in netForum from a Drupal Webform. Using a webform hook, I am calling two functions to take a users email address and first and last name, and create a netforum account when a user submits basic webforms. However, the form times out when I hit submit, and the watchdog error from Netforum is 'could not fetch...

Dynamic CRM 4.0 SOAP exception

Hi All, When I try to develop CRM stuff, using the code below: public static CrmService GetCrmService() { //Standard CRM setup var authenticationToken = new CrmAuthenticationToken(); //Using the active directory authenticationToken.AuthenticationType = 0; authenticat...

WCF soap service - add http headers

I and consuming a soap web service using the Service Reference interface in visual studio. The service requires that I include some http headers in the request for authentication. How can I go about adding http headers to the request is the webrequest exposed at some point in the process? ...

Should data classes which are passed by a webservice be attributes with [Serializable]

Hey guys, I want to transfer some data classes via Webservice: public class MyClass { public int Int { get; set; } public MyClass(int v) { Int = v; } private MyClass() { } } public enum MyEnum { One = 7, Two = 13, Three = 15 } public class TestDataClass { private int _someInt; ...

Iterating with web-service (axis) in python

Hi, When I running web-service method "download" (that should returns binary file) I'm getting following response: ))Zuuid:714C6C40-4531-442E-A498-3AC614200295http://schemas.xmlsoap.org/soap/envelope/ <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www...

Encoding problem in PHP SoapClient and C# SOAP Server responses

Hi, I have problems with special characters in soap responses. All connections are made in utf-8 (in xml headers, SoapClient configuration, php source code, database connections, soap server responses) and I don't understand what is happening. All special characters are replaced with a sharp "#" character. For example: Instead of "Sól...

Infopath and Soap Headers

So in infopath you can point to a web service and have the wizard create it and write almost zero code. But if the web service requires a soap header to be passed, you can't do that. You basically have to call the web service directly. Has anyone done a hybrid solution? One that just adds the soap header to the soap document to be su...

Using Apache CXF in from MATLAB

The function createClassFromWsdl in MATLAB has some significant limitations, like not supporting attributes. It seems to me that the ability of Apache CXF to generate dynamic clients could be a way to access a wider variety of SOAP endpoints in a relatively user-friendly way. Simply adding the appropriate JAR files to your MATLAB classpa...

Why can't I get to the SOAP request XML inside my web app?

I have a .NET VB web app that talks to a remote web service on my clients servers. Sometimes we receive an error message from the remote service that is generic and does not tell us what is wrong. I want to be able in those circumstances "save, copy, etc" the SOAP request XML and send it in an email to their programmers. Is this not a ...

Is Python good for writing standard, compatible and complete SOAP web services?

I have used few python soap libraries (SOAPpy, soaplib and Twisted wrapper around SOAPpy) to write my soap web service. When I used python clients (SOAPpy.SOAPProxy and SUDS), I was able to communicate with my web service (returning simple and complex type objects). But, when I tried with C# ASP.net, I got many issues. I came over retu...

soap parsing with simplexml_load_string i want to parse it i get response with empty body

<?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;&lt;soap:Body&gt;&lt;SearchHotelsResponse xmlns="http://tourico.com/webservices/"&gt;&lt;SearchHotelsResult&gt;&lt;xs:schema id="...

Troubleshooting SOAP web service

I am trying to invoke the Web Service PersonalDetails_Update by passing an array of values to it. These values are being successfully written to the database that the web service is designed to do. However, it is also supposed to return an ID for the record written to the database. But I don't get anything back. Just a blank screen wi...

Moving elements after signing SOAP message

Is it possible to move a signed element, as long as its parent element is not signed? For example, say that the Envelope/Header/Security/Timestamp element is the third child in the Envelope/Header/Security element AND it is the only element that is signed in the message. Can this element be moved to be the first child of the Security e...

SOAP 1.2 with Axis 2 is not parsed

Hello, I am writing a server that receives SOAP 1.2 messages. The problem I have is that when I am sending via SOAPui a SOAP 1.1 message, the message is correctly handled but not when it's a SOAP 1.2 message. I use axis2. Here is my POM dependency: <dependencies> <dependency> <groupId>org.apache.axis2</groupId> ...

Mutual authentication SOAP error

My apologies if this has limited information. I'll add more info if somebody asks for it. I'm just not sure what to give you. I'm making a SOAP call to a 3rd party. They require mutual authentication. This means their servers send an SSL cert to me. I send one to them. Then in the SOAP message there's another cert. Given that in the co...