soap

What version of WSDL is supported in dotNet 2.0?

What version of WSDL is supported in dotNet 2.0? ...

Is it possible to run a php soap api operation in a web browser

In axis2 on Java it's possible to run operations in the browser by the way you send the url for example localhost:8080/axis2/services/SimpleService?wsdl could have operations implemented by writing urls like so localhost:8080/axis2/services/SimpleService/hello?param0=xxx My Question is can you do the same in PHP5 SoapServer where th...

PHP AND SOAP. Change envelope

Hi All!!! It is many questions there about PHP and SOAP. But I am not found answer on my situation. So. I use PHP SoapClient and WSDL for it. Object sends this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.site.com"&gt;&lt;SOAP-ENV:Body&gt; But I need this: <soap:Envelope xmlns:...

PHP SoapClient() function returning a single XML string

I am having difficulty with the PHP SoapClient() function. The SOAP request is successful, but the response is returned as an object containing a single XML string with the key "any". For example: <?php $params = array('strUsername' => 'Test', 'strPassword' => 'Test'); $client=new SoapClient('http://www.example.com/webs...

How do I use WS-Security with WCF?

Below is the style of header I need to create. I am expected to use either a public/private key or a SSL style certificate. I don't know for certain, but I think my counter-party is using some form of Java. <soap-env:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"&gt; <ds:Signature xmlns:ds="ht...

Should I strip the XML declaration from suds output before parsing with lxml?

I’m trying to implement a SOAP webservice in Python 2.6 using the suds library. That is working well, but I’ve run into a problem when trying to parse the output with lxml. Suds returns a suds.sax.text.Text object with the reply from the SOAP service. The suds.sax.text.Text class is a subclass of the Python built-in Unicode class. In es...

How to mock test a web service in PHPUnit across multiple tests?

I am attempting to test a web service interface class using PHPUnit. Basically, this class makes calls to a SoapClient object. I am attempting to test this class in PHPUnit using the "getMockFromWsdl" method described here: http://www.phpunit.de/manual/current/en/test-doubles.html#test-doubles.stubbing-and-mocking-web-services However,...

I don't know where to start with WSDL and SOAP in PHP 5.2+

Hello, I'm a web services newbie and I've tried to learn it looking for tutorials in google... but I didn't found anything really helpfull... Do you know any tutorial / web page / documentation for web services using PHP 5 native SOAP client? I need to implement a SOAP client for fetch/send data from a IIS server (for hotels reservation...

Salesforce/PHP - outbound messages (SOAP) - memory limit issue? DOMDocument::loadXML() Premature end of data in tag issue?

UPDATE: OK I figured it out, looks like fread has a filesize limitation, changed this to file_get_contents('php://input') , but now having SF give a java.net.SocketTimeoutException: Read timed out error and nothing on the PHP side. I have also added set_time_limit(0); to the PHP script which if I understand correctly execute the scri...

How to make a consumer for Jira using OAuth

I've looked through all the JIRA/Atlassian documentation I can find (eg. http://confluence.atlassian.com/display/GADGETS/Configuring+OAuth) and there is a lot of mention of using OAuth in JIRA, but the only examples they give are of adding a consumer in the administration area. I can't find any information about endpoint urls (request, ...

How do I remove the namespaces in Zend_Soap?

Hi There I am trying to use the tranlsation webservice from MyMemory: http://mymemory.translated.net/doc/spec.php Unfortunately, Zend_Soap_Client does generate an XML reqest object that is not recognized by the service. I guess it is because of the ns1-Attribute (Namespace) within the tags. So does anyone know how to remove them? Tha...

Are there any tutorials on Web Service creation with PHP 5?

I mean I want to understrand how to generate WSDL from my code So I've rote <?php $soap = new SoapServer(null, array('uri' => 'http://php.hoshmand.org/')); $soap->addFunction('add'); $soap->handle(); function add($a, $b) { return $a + $b; } ?> How to call it like a WSDL now? ...

Tools for development SOAP-service on Ruby 1.9

Which set of libraries and tools would you recommend to use for development SOAP-service on Ruby 1.9 - soap-tools, web-servers, or maybe a web-framework? ...

PHP - capture SOAP response using ob_*

I'm sending a ACK response back to a SOAP request (via Salesforce) and I would like to capture what I'm sending back to SF. Now I seen some stuff online that uses ob_start (or one of the ob_ functions) to record the response but I've never used ob_ before and after Googling for a while didn't find anything I could use/follow. The Proble...

Combined SOAP/JSON/XML in WCF, using UriTemplate

I'm trying to build a generic web service interface using WCF, to allow 3rd party developers to hook into our software. After much struggling and reading (this question helped a lot), I finally got SOAP, JSON and XML (POX) working together. To simplify, here's my code (to make this example simple, I'm not using interfaces -- I did try t...

Access Products/Category/Attribute Info from php with Magento API

Need to be able to pull Magento products into an external template. Need to be able to get all products data (description, title, attributes, categories, image, etc). And need to be able to filter by category, attribute and also search on name. These calls will be made from the same server that the Magento install is on. What's the b...

Salesforce/PHP - Bulk Outbound message (SOAP), Time out issue - See update #2

Salesforce can send up to 100 requests inside 1 SOAP message. While sending this type of Bulk Ooutbound message request my PHP script finishes executing but SF fails to accept the ACK used to clear the message queue on the Salesforce side of things. Looking at the Outbound message log (monitoring) I see all the messages in a pending stat...

Delphi SOAP Envelope and WCF

Hi all, I am working on a system that provides a soap interface. One of the systems that are going to use the interface is coded in Delphi 7. The web service is developed with WCF, basic http binding, SOAP 1.1. If I use SOAP UI (JAVA), the service works properly. But Delphi seems to do special things here ;) This is how the message lo...

SOAP, REST or just XML for Objective-C/iPhone vs. server solution

Hello, We are going to set up a solution where the iPhone is requesting data from the server. We have the option to decide what kind of solution to put in place and we are not sure about which way to go. Regarding SOAP I think I have the answer, there are no really stable solution for doing this (I know there are solutions, but I want...

How to digitally sign soap request using visual studio 2008

I'm using a web reference generated from a .wsdl file. I've also examined the Amazon web service example but couldn't get it working. Enclosed is an example of the soap request. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"...