soap

SOAP service in Django with soaplib

Hi I am looking to create a SOAP service within my Django App, but have come across a few hitches. Firstly I have been able to successfully follow the soaplib Hello World tutorial (google "soaplib hello world" since I only can use 1 hyperlink as this is my first question) which uses a CheryPy WSGI server to run the service, and the soapl...

Network programming: SOAP vs DIY marshalling with XML library?

I know that there are a lot of discussions already on SO about SOAP, bloat, XML, and alternative mechanisms like REST. Here's the situation. A new team member is really talking up SOAP based upon the difficulty of implementing protocols by hand. He recommends gSOAP (project is all in C++.) He is stating things like WSDL cleaning up lots...

Using a secure web service from iPhone with SOAP

I'm trying to get secure web service connectivity on the iPhone over https via SOAP. Currently have http working with NSMutableURLRequest but it doesn't appear to support https. Any ideas what to use to get the secure web service access and processing I'm after? Any help appreciated // :) ...

struggling with XML namespaces (linq)... what am I doing wrong here?

Hi, Trying to parse some XML but apparently this is too much for a lazy sunday afternoon, this is my code: (I Tried the XPathDocument and XmlDocument approach too but this also failed miserably) XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(postData); XDocument xDoc = XDocument.Load(new XmlNodeReader(xmlDoc)); XNamespac...

List of relevant RPC Protocols

I need to evaluate and dig more into the use of Remote Procedure Call Protocols (over the network) and haven't found a comprehensive list of which I could include. There are some I already know from experience like RMI "RESTful style RPCs" XML-RPC SOAP JSON-RPC (CORBA ?) GWT-RPC and other Vendor specific ones, commonly used But I'm...

SharePoint SOAP GetListItems VS jQuery - Need some advice on how to use Ajax to cycle through Custom List items as well as Ajax refresh the list contents...

Hello all, I am using jQuery to access Sharepoint 2007's SOAP interface via the GetListItems method to read in a custom list of anouncements in such a way as to have that list refresh once a minute (in case the owners of the list add new content, so that the new content becomes visible without having the end user refresh their sharepoin...

Sending exception from ProcessMessage (Soap extension)

I use Soap extension and I have problem with how sen exception on client side. How can I send exception from ProcessMessage on client side. For example: public bool fun1() {...} public bool fun2() {...} public override void ProcessMessage(SoapMessage message) { switch (message.Stage) { c...

Sending and receiving XML Data

Hello, I am a .NET begginer and i'm trying to develop a webservices using C# so i can send a XML data to an specific URL. I can't use Web Reference and i need to construct the xml data using this kind of format: <?xml version="1.0" encoding="UTF-8"?> <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <so...

Unable to make request using SOAP to a webservice

Hi, My requirement is that I will have SOAP data in XML.I will read from the file, and then send request to a webservice.Then, I need to write the response to a file. I am using vs 2005. XmlDocument doc = new XmlDocument(); doc.Load(@"path to xml file"); HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www...

XSL Transform - Remove Parent Node

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com"> <soapenv:Body> <upsertResponse> <result> <created>true</created> <id>0011</id> <success>true</success> </result> <result> <created>false</created> <id>0012</id> <success>true</success> ...

jQuery ".cycle is not a function" error - follow-up from http://stackoverflow.com/questions/1586998/

So I am trying to implement the solution suggested to me in my previous question (http://stackoverflow.com/questions/1586998/). I want to use the Cycle library found here: http://malsup.com/jquery/cycle2/ to cycle through the contents of a DIV that I am populating with rows from a custom SharePoint list. The html I am creating appears to...

Can't see WSDL on Delphi CGI with IIS7

I created a very simple Delphi 2010 CGI web service and am able to get the exact same problem on Delphi 2007. My invokable interface looks like this: ISimpleTest = interface(IInvokable) ['{4E318A9A-D361-4A18-A963-EE6D7F70E9C5}'] function SayHello(const S: string; N: Integer): string; stdcall; end; And the function is implemented in...

Load balancing for a web service using soap ?

We are currently looking at the problem of creating a load balancer in front of a set of servers offering the same web service (using soap over http). Once a client request has been sent to a given server, that server should respond to all subsequent requests from that client (this is sometimes referred as stickiness if I am not mistak...

Soap Web Service PHP

Is it possible to send a complexType to a SOAP web service by creating the complexType locally, i.e. create the type by creating a class and then sending the instance of that class back to the service? Admittedly this is only possible if I can get the definition of the type from the service provider. I'm looking to send a complexType b...

.NET 2.0 Client fails to deserialize valid Apache-SOAP web service XML, shows null for all properties

A coworker has made a Java web service running on the Apache-SOAP runtime on a Tomcat 6 server, but only tested it using Eclipse's built-in tool and SoapUI. The output of this service is an array of objects which are each composes of five string fields. I need to write a .NET client to consume this service, and I used Visual Studio 2005 ...

SOAP attachment not reaching server side

I am using SAAJ at the client side for sending a soap request. I am also attaching a random binary string as an attachment to the SOAP request, using this API. soapMessage.addAttachment(attachment); When I sniff this request through wireshark, I can see my attachment outside the <SoapEnv>, but when this request reaches the client side...

Manipulating namespace prefixes in SAAJ / raw xml access within SAAJ

My SAAJ-based client generates the following XML and sends it to a .NET web service: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt; <SOAP-ENV:Header> <AuthenticationHeader xmlns="http://www.w3.org/2001/XMLSchema-instance"&gt; <Password xmlns="http://schemas.datacontract.org/2004/07/"&gt;temp123&lt;/Pas...

Micrsoft CRM 3.0 web service via PHP Soap class

I would like to create new contacts and leads using php. I can't quite figure out how to call the methods of the mscrm 3 web service. The php soap class seems quite simple to use. I am able to connect and authenticate to the crm web service and get a list of available functions however I am unsure how to go about calling them. I have...

SOAP or REST as a Client

I see multiple questions asking which is better, SOAP or REST from the development of the Web Service itself. However, not a lot of discussion of the pros/cons from the client perspective. If you were to write an Application and have a choice between two Web Service APIs that are similar in every way except one is SOAP and the other is R...

SOAP UI: Can I add assertion to validate with local XML Schema file?

Hi all, I have created a Web Service (with Java, Axis). Depending on the content of the request, the response may have a different XSD. So, the WSDL only specifies that the response is of a generic XSD, and the responses comply to XSDs that import and extend the generic XSD. Unfortunately, the Schema assertion fail because the XSD spec...