I am using PayPal express in Sandbox mode in my PHP script (curl + SOAP).
I have a simple purchase form with 1 "buy" button.
When it's clicked
I send initial SetExpressCheckout request and get successfull response from paypal
with Acc=success and a fresh token
<Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack>
<Token xsi:type="e...
Hello everybody!
Please advise library for working with soap in python.
Now, i'm trying to use "suds". And i can't undestand how get http headers from server reply
Code example:
from suds.client import Client
url = "http://10.1.0.36/money_trans/api3.wsdl"
client = Client(url)
login_res = client.service.Login("login", "password")
var...
I have a service where every operation can respond with the same custom fault type. I have this working fine by applying the FaultContract attribute to every operation like so:
[OperationContract]
[FaultContract(typeof(MyFault))]
public string Operation1();
[OperationContract]
[FaultContract(typeof(MyFault))]
public string Operation2(...
I'm talking with a web service with a generated proxy that uses System.Web.Services.Protocols.SoapHttpClientProtocol, is there any reason I might have trouble replacing the proxy with a WCF client proxy?
The web service being called is written in Java and uses the Apache Axis SOAP engine. It uses only HTTP Basic authentication.
...
I'm writing PHP logic that will implement a WebService in SOAP 1.1. The WSDL (which is out of my control) specifies a response type of "enumeration", but PHP doesn't have anything that's formally considered an enumeration. I'm using constant class members instead, which is a common hack for enumeration in PHP. But PHP's SoapServer isn't ...
Hello All,
Can a web service with SOAP/JMS binding participate in WS-AT (Web service Atomic Transaction) ? Assuming this service is invoked synchronous. I know SOAP/Http does.
Any help appreciated.
...
What is the difference between XML and SOAP? I've been reading some introductory articles about SOAP but I am very confused. This is the first time I am reading about SOAP so maybe that's natural.
Could somebody please explain to me what SOAP is and what it is used for? Maybe give me some examples of its usage?
Thank you in advance.
...
Hi
I am using Flash Builder 4 to connect to a django web service that is using the djangosoap code. The django web service appears to be working correctly when tested with a soap client. However the flash builder 4 generated soap classes don't seem to send requests correctly.
I have a say_hello(name) method that takes one string parame...
Hello everyone !!
I have to use several SOAP messages to get data from a web service. I got some examples how to do that but they all have the XML (http://icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/)
// ---- LOGIN -----
NSString *soapMessage = [NSString stringWithFormat: ...
I have a .Net 3.5 SOAP client written in C# using the WCF. It's expecting basicHTTPBinding and a persistent connection with HTTP/1.1.
I'm trying to create a Python 2.6 application that will act as a web-service for the client. My problem is that the client keeps closing the connection and opening a new one for every command to the web...
Hello,
We are entering custom project in which we need to build platform for other programmers in order to communicate with a specific device. This device is to be used on daily basis. We have firmware and RS232 communication protocol with them on very low level.
We must ensure .NET, Java and Delphi programmers to access device (send co...
Hi all,
I'm running a php5 based web service which contains the following complex type
among others:
<xsd:complexType name="FrequencyList">
<xsd:sequence>
<xsd:element name="F" type="xsd:float" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
Note: F reads Frequencies, I've just chopped it for readability...
I instantiate the HttpWebRequest object:
HttpWebRequest httpWebRequest =
WebRequest.Create("http://game.stop.com/webservice/services/gameup")
as HttpWebRequest;
When I "post" the data to this service, how does the service know which web method to submit the data to?
I do not have the code to this web service, all I know is t...
I am implementing SOAP web services for a commercial application, and I am using GroovyWS to speed up the development.
But, when I deploy it on Tomcat, I am not using Grails, as the software has it's own J2EE framework, so how I do I get it to react to wsdl requests?
Do I need to write a groovy-based servlet?
Ideally I would like the...
Hi
I have a SOAP message (see below).
Using Xpath, how can I extract the name of the namespace from this message? In other words, is there an Xpath routine that will return the text "validateNewOrder"?
Any suggestions or help would be invaluable. I have been searching everywhere but not found an solution. It is driving me crazy...
...
Does anybody know a good web framework that includes an ORM mapper and allows straight forward implementation of web services? I'm looking for a framework written in PHP or C++. I'm looking for the following features (not all of them required, some will do nicely)
data definition in one place used by database and web service
WSDL gener...
I have created a custom soap header, and added it into my message via IClientMessageInspector
public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, System.ServiceModel.IClientChannel channel)
{
var header = new MessageHeader<AuthHeader>();
header.Content = new AuthHeader(Key);
head...
I'm taking over a project and wanted to understand if this is common practice using SOAP. The process that is currently in place I have to query all the values before I do an update cause I need to pass back all the values that are not being updated. Does this sound right?
Example Values:
fname=phill
lname=pafford
address=123 main
phon...
Does CPython have any library that helps to write binding-independent services?
I have found some SOAP libraries for Python, but it misses the flexibility of choosing the binding at runtime.
...
Hi guys, i have this simple type from an external webservice:
<xsd:element name="card_number" maxOccurs="1"
minOccurs="1">
<xsd:simpleType>
<xsd:restriction base="tns:PanType">
<xsd:pattern value="\d{16}"></xsd:pattern>
<xsd:whiteSpace value="collapse"></xsd:whiteSpace>
</xsd:restriction>
</xsd:simpleType>
</xsd:...