soap

SOAP: PHP WebService and .Net

I have to connect with PHP WebService via SOAP from a .Net (C#, WPF) application. I added reference to this service, some proxies were generated. When I invoked some function: var client = new someAPIPortTypeClient(); XmlNode[] response = client.status(arg1, arg2); I got response: SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http:/...

SOAP to XML conversion in PHP

I need to generate the following XML with SOAP: ... <InternationalShippingServiceOption> <ShippingService>StandardInternational</ShippingService> <ShippingServiceCost currencyID="USD">39.99</ShippingServiceCost> <ShippingServicePr...

Python soap using soaplib (server) and suds (client)

This question is related to: http://stackoverflow.com/questions/1751027/python-soap-server-client In the case of soap with python, there are recommendation to use soaplib (http://wiki.github.com/jkp/soaplib) as soap server and suds (https://fedorahosted.org/suds/) as soap client. My target is to create soap services in python that can b...

SOAP inconsistency? Delphi 2010 (Win32) Server and .NET Client swapping 'out-parameter' and 'result'.

Could someone please shed some light on this behaviour? It looks like Delphi SOAP sets the function result as the last argument, but WSDL.exe reads the first argument to be the function result. I have the following method in a Delphi SOAP service, where the result string is used for basic error handling: function LoadCustomer(Customer...

PHP SOAP cannot connect to an SSL WSDL source

Trying to make Soap connection to a https:// WSDL source via PHP/Win32, but keep getting the error: Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "https://... If I try to save the WSDL locally and access it then, the SoapFault->faultstring property has the message "SSL support i...

SOAP error encoding external reference in PHP

I am trying to use a function from SOAP, which will fetch details about a specific news item. The problem is that I don't get the expected results, just a a strange error. I am using the built-in SOAP client in PHP5. My error is: Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: External reference 'ht...

Recreate webservice

HI, My job was to create a webservice which acted as another webservice we have, so the client doesn't notice the difference. I created my entire webservice and it works fine as I use it and the outputs all are the same. The thing is, I created a clientapplication where I use the old webservice and if I change the url of the webreferenc...

How to use C# client to consume Django/Python web service (all methods are returning null)?

I have a C# command-line client that I'm testing the consumption of SOAP/WSDL via Django/Python/soaplib created WSDL. I've managed to successfully connect to the web service by adding a service reference. I then call one of service's methods, and the service processes the data I send, but it returns null instead of the integer I'm expect...

soap vs REST vs JSON in SOA

I writing here to clear my and may be many people 's misconceptions about them... first my question is: SOAP is xml based protocol REST is web based architectural web service JSON is standard but not xml based how can we compare them???? as trio are different things 2nd question is: is REST response xml based only or json based a...

Issues using a Fedex Webservice via WDSL/SOAP

Hi Everyone, I downloaded the sample code to request a rate from fedex's website... i placed the WSDL file in the proper location, I have my acct number, password, meter number, and key. When I run the script I get this error: Error in processing transaction. ERROR prof 1000 Authentication Failed The script they give is as ...

Streaming, Asynchronous, Language Independent technology to transfer Object data

What are the best-practice / industry standard technologies for the folowing requirements Allow transfer of business objects from one client / server to another Language and platform independent Supports Streaming to alow passing large data (e.g. a connected statefull conversation) Is Asynchronous in nature (doesn't block, allows mon...

IDispatchMessageInspector to log plain-text soap messages?

I've written a WCF IDispatchMessageInspector, so I can log incomming and outgoing messages. But I'm not sure how to get a nicely-formatted XML string to log. My code looks something like this: public object AfterReceiveRequest(ref Message request, IClientChannel channel, InstanceContext instanceContext) { MessageBuf...

WCF Proxy - SOAP 1.1 and 1.2 at the same time

Is it possible to configure a WCF proxy such that it is able to understand SOAP 1.1 and SOAP 1.2 messages at the same time? In other words, I want to be able to connect to a web service that may return at any time, SOAP 1.1 or 1.2 based messages. Thanks. ...

How to create WSDL file given SOAP WSDL operations

I haven't had any experience with web service related development. So, any ideas will be greatly appreciated. Suppose, I have a file listing draft specification of WSDL operations. Following is one example. How would I go about creating the WSDL file. Is notepad sufficient or do I need to have WSDL editor? getHostSystemInfo Return...

Translating SOAP Web services calls into JMX API

I have SOAP web services for Application 1 available to me. And, I'd like to implement a Java application that translate Application 1's Web Services calls to Application 2's JMX API. So App 1 can manage a bunch of operations through App 2. If I understand the problem correctly, I want to build a SOAP/JMX Proxy (Remote Proxy design patt...

Get SOAP XML before __soapCall?

Is it possible to get the XML generated by SOAP Client before sending it to webservice? I need this because response from webservice if one of parameters is really wrong I get errors like Server was unable to read request. ---> There is an error in XML document (2, 408). ---> Input string was not in a correct format. This typicall...

What's the best(easiest) way to transfer data on C/C++

Hey people! Currently I'm working on a C/C++ cross-platform client/server software. I'm very experienced developer when it comes to low level socket development. The problem with Berkley sockets/Winsock, is that you always have to make some kind of parser to get things right on the receiver side. I mean, you have to interpret data, and ...

Sending a 'application/soap+xml' SOAP request using Classic ASP

Any help with this would be appreciated; I've been at it for a few days now. Below is the code that I've got so far; unfortunatly when I run it I get a HTTP 415 error; Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. I have to send the content...

how do I test an MTOM webservice with soapUI?

I've built a webservice that wraps Apache FOP. You send it XML, and it gives you an MTOM stream that contains the rendered PDF. Now that its working, I'd like to run some performance tests on it. soapUI says they support MTOM, and I use it for all my other webservice performance testing, so'd I'd be great if I didn't have to write a cust...

role-based methods for one web service?

I am trying to set up a (for now) really simple web service. By simple, I mean it only has a small amount of actual work to do on the code-side. It only really has one method/function: the client sends a user login, and the service responds with an otherwise very secure detail about the user (for the purposes of this question, let's say ...