soap

HTTP POST and complex structures

I'm trying to send a complex HTTP POST request to a web service. The web service was created using VS2008, in which you can set VS to create HTTP POST and GET interfaces alongside the SOAP one. Now the request is asking for both string parameters (username, file description, etc.) and the file itself, represented as Base64Binary. When ...

Does anyone know of a Java implementation similar to the .NET SoapFormatter

I am looking for a library or code snippet to allow me to serialize and de serialize an object into a SOAP representation. Similar to what the .NET SoapFormatter does but an implementation in Java. I have looked on Google and web but so far I have been unable to find something which does it. I know there is a namepsace in javax for SO...

Calling functions with parameters using SOAP with Perl

I am attempting to access a web service using SOAP through Perl and am having issues calling the service's functions that require parameters. The XSD that dictates the SOAP call says, <xs:complexType name="getVersion"> <xs:sequence/> </xs:complexType> <xs:complexType name="getVersionResponse"> <xs:sequence> <xs:element minOccurs="0...

Python SOAP server / client

Hi there, I have a problem with Python and SOAP. I need to create a web service based on SOAP in Python. I read that I can use libraries like soaplib, suds and ZSI. I created a Hello World web service with soaplib, like in documentation (http://trac.optio.webfactional.com/wiki/HelloWorld). The problem is that I cannot make a client for ...

Anyone has an example of a "Well Defined" REST Web Service?

I read tons of posts, questions and answers on the REST vs SOAP debate. I read a few REST supporters that claim that "well designed" REST Web Services are self explanatory and hardly need any documentation. Can anyone point me to such a Web Service? Preferably a somewhat complicated one. ...

PHP Soap is hell...

If I run this $HostTransactionInfo = new HostTransactionInfo(); // std Object $HostTransactionInfo->SecurenetID = $cc->merchant->data[$this->name]['secure_net_id']; $HostTransactionInfo->SecureKey = $cc->merchant->data[$this->name]['secure_key']; $HostTransactionInfo->Test = self::TEST; $securenet = new SoapClient(self::WSDL, array('f...

ServiceContractGenerator vs ServiceDescriptionImporter

I'm trying to build a light-weight SOAP client without using Add Service Reference. Ideally, this client should work for as many services as possible. Currently, it uses ServiceDescriptionImporter to generate the service assembly. Unfortunately, this doesn't appear to work for WCF services. Someone recommended that I use ServiceContractG...

Web service is expecting a DataSet object, how can I provide that via ColdFusion or in raw XML?

I need to make a call to a web service written in .NET. The application making the call is written in ColdFusion. One of the parameters the web service expects is a DataSet object. I can't instantiate a .NET DataSet object in ColdFusion, how can I pass the web service something it will accept? I have no problem writing the SOAP request i...

What's the correct way to escape sql passed into SugarCRM's get_entry_list soap api call ?

By the looks of the SugarCRM soap api you just seem to pass raw SQL into the restriction part of the get_entry_list function call. Is there a way to escape the values being passed into the restriction correctly without knowing the target database the SugarCRM instance is running on ? For example if I have something like // connect to...

Migrating SOAP functionality from PHP to Perl using SOAP::WSDL

I'm struggling to get SOAP working in perl. In PHP it works perfectly, and without any trouble. And now I'm trying to do the same thing in Perl. The functional PHP is: $client = new SoapClient("http://thirdpartyurl.com/api.aspx?WSDL"); $info = $client->GetSomeInfo(array('username' => 'myusername', 'password' => 'mypassword')); Which...

WCF - ASMX - CommunicationException

So I've got a WCF client consuming an ASMX web-service. Everything works fine, except exception handling. Where I should get a (non-contractual) FaultException, i get the CommunicationException. What may be wrong? Here goes the relevant data: SOAP response (seems to be according to specification): <?xml version="1.0" encoding="utf...

Very basic question about submitting data to API using SOAP & PHP

Before I ask my question I want to thank everyone on stack overflow. I'm really amazed at how helpful everyone is and how much I've learned just in the past year or so from asking questions when I'm confused. I'm trying to use the recordSale function on this API for someone my work does business with, it's a way to record sales (hence ...

Can't call a webservice method using SOAPpy

I am trying to call a webservice using SOAPpy: from SOAPpy import SOAPProxy url = 'http://www.webservicex.net/WeatherForecast.asmx' server = SOAPProxy(url); print server.GetWeatherByPlaceName('Dallas'); print server.GetWeatherByZipCode ('33126'); The server call fails: Traceback (most recent call last): File "soap_test.py", line ...

What are those "garbage" 16 bytes at the beginning of an unencrypted EncryptedData tag from an encrypted ws-security SOAP message? (WCF)

I'm inspecting a WCF request message in order to implement part of the WS-Security standard to have iPhone <-> WCF intercommunication (I'm using certificate security over basicHttpBinding). After reading the standard xmlenc-core I could decrypt both the SignedInfo and the Body tags, but I see 16 bytes at the beginning of both unencrypted...

Is there a lightweight standalone SOAP server? Or how would you implement one?

The challenge here is that I need to implement a highly concurrent and dynamic system that is based on SOAP communication - in Java. It can be viewed as a multi-agent system where an agent is a software process (like a daemon) that responds to SOAP requests. At runtime my system may comprise more than a thousand of such agents - each of ...

Is implementing SOAP clients in Perl using meta-programming sensible?

I'm currently dealing with a code base which contains several dozens of classes generated with SOAP::WSDL. However, having worked with Moose I now think that generating those classes at runtime at meta level (i.e. not to files on disk but directly to objects) might be a better idea (completely excluding performance reasons at this point)...

PHP SoapClient request

I'm trying to send a SOAP request to a newsletter service using this WSDL: dev-service.go.mayoris.com/wcf/SubscriptionService.wsdl?wsdl Here's my PHP: $client = new SoapClient($wsdl_url, array( 'login' => 'myusername', 'password' => 'mypassword', 'trace' => true )); $client->AddSubscriber( new SoapParam('MyFirstName',...

PHP SOAP Request includes multiple identical tags

OK, so I have this external SOAP based webservice, and PHP SoapClient. Everything is fine with basic requests, but I need to create a parameter set that looks like this: <DatasetList> <DatasetID>K0001</DatasetID> <DatasetID>K0002</DatasetID> </DatasetList> For a single nested DatasetID tag I'd do: $req = array( "DatasetList" => a...

In-process SOAP service server for Java

OK, I am developing a program which will be deployed to lots of machines (Windows, Linux, AIX, z/Linux, openVMS, etc.). I want that application to contain a SOAP web service, but I don't want to bundle tomcat or run a separate service for the services (I want them in the same process as the rest of the application). Basically what I'm ...

What is the maximum size limit for SOAP response for JAX-WS?

This is regard to my question On JMeter here i found the SOAP message size can be a problem for the exception. What is the size limit of SOAP response for JAX-WS webservices?. ...