soap-client

*Client* scalability for large numbers of remote web service calls

Hey Guys, I was wondering if you could share best practices and common mistakes when it comes to making large numbers of time-sensitive web service calls. In my case, I have a SOAP and an XML-RPC based web service to which I'm constantly making calls. I predict that this will soon become an issue as the number of calls per second will...

How to connect to a SOAP webServices with Android

Hi everyone,I'm programming an application who must send coordinate and request to a WebServices this is my code: private String SOAP_ACTION = "getAllPositions"; private String METHOD_NAME = "getAllPositions"; private String NAMESPACE = "http://session/"; private static final String URL ="http://192.41.218.56:808...

How do I create a soap client?

I need to create a SOAP client. The SOAP client should access services exposed using SOAP messages. It performs dynamic bindings and executes methods at remote web services. Soap methods are: getTodoList(acronym) -> List of TodoData() getTodoOneDay(acronym, date) -> List of TodoData() createTodo(acronym, time, note, priority) -> String...

PHP SOAP Transfering Files

Hey, I am new to SOAP and I am trying to learn how to transfer files (.zip files) between a client and server using PHP and SOAP. Currently I have a set up that looks something like this: enter code here require('libraries/nusoap/nusoap.php'); $server = new nusoap_server; $server->configureWSDL('server', 'urn:server'); $server->ws...

soap action error from AXIS

I m consuming java based web service with c#.net app. I m sending soap message in xml format. But Im receving this error message: ns1:Client.NoSOAPAction no SOAPAction header ...

"The specified type was not recognized" exception when trying to invoke a webservice call

I'm trying to call a third party webservice using WSE 3.0 as a client in Visual Studio 2005. The call works fine and I can see that I get a good response (I have tracing enabled), but apparently the xml parser chokes over it. I always get an InvalidOperationException: There is en error in the XML document. with an InnerException: ...

Transfer File us NuSOAP

Hey, I am having this problem transferring files using NuSOAP. I understand that you can read a file and transfer it has a string but its not working. Here is an example Client: require('libraries/nusoap/nusoap.php'); $url = "http://www.example.com"; $client = new nusoap_client($url); args = array('file_name' => 'myfile.zip'); $retur...

What is the "Best Practice" for SOAP servers to implement error notification?

I am developing some SOAP web services using Ruby on Rails and considering how to handle generic failures. These generic errors are applicable to all the methods within the service and include the following :- Missing Request element Missing Authentication element (Custom) Invalid Authentication details I can intercept these errors w...

SOAP client in C# ASP.NET - references or examples?

Background: I am creating a webservices site which will provide many types of simple services over SOAP and possibly other protocols too. The goal is to make it easy to do for example conversions, RSS parsing, spam checks and many other types of work. The site will be targeted mostly at beginner developers. My Problem: I have never de...

Axis security header

Hi trying to generate a security header in a Java Axis2 Client program in the format of. <soapenv:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext&gt; <wsse:UsernameToken> <wsse:Username>myUsername</wsse:Username> <wsse:Password>myPassword</wsse:Password> </wsse:UsernameToken> </wsse:Security> ...

SOAP Client for Python 3

Dear Python programmers, Although this question is very popular here in StackOverflow, after spending some time here and in the Google, I still haven't find a concrete answer on what is the most appropriate way to do SOAP consuming in Python 3. I took a look at http://stackoverflow.com/questions/1534554/does-a-python-3-soap-client-mod...

Consuming .Net Web Service using Perl and SOAP Lite

I'm trying to consume a .Net Web Service using perl and SOAP Lite. When I consume the web service in a .Net client - it posts to the .asmx endpoint the following: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs...

Web Service using SOAP WDSL with PHP

I've been trying to use a Web Service which has the WSDL file below. The bit I'm not sure about is what I am supposed to pass or do with the first part of it. It asks for a personaldetails object with a tns type to be passed to it but I don't understand what that means? The actual method I am trying to use is called PersonalDetails_Up...

Talk to web service without SoapClient in php?

I'm severely annoyed with many shared hosting providers not enabling SoapClient support on their hosting environments. Usualy, after a lot of begging and growling they enable it for me, but sometimes they just won't budge. So, is it possible to consume web service on php without using SoapClient class? ...

PHP SOAP web service call help.

I'll start out by saying that I've never used SOAP before. Anyway, Here's the code I'm trying to create. <soapenv:Body> <Circuits xmlns="http://www.qpricer.com/Services/Pricing"&gt; <Circuit bandwidth="DS-3" port-billing-type="Flat" product="Dedicated Voice" term="1-Year"> <ns1:Loop npanxx="212255" xmlns:ns1="http://www.qpricer.com/...

PHP Soap Header help

I have a fairly simple php/soap header question. Here's what I need. <ns1:Identity token="123456789"></ns1:Identity> Here's what I get... <ns1:Identity><item><key>token</key><value>123456789</value></item></ns1:Identity> using this code... $headers[] = new SoapHeader('http://qpricer.com/Services/Pricing','Identity',array('token'=...

Is it possible to specify the outgoing network interface to use for a PHP SoapClient?

I need to bind a SoapClient to a specific outbound network interface, but I cannot find any documentation on this. Is this even possible? If not, what are some possible workarounds? ...

Soapclient query a Sharepoint web service

I successfully query a service with the following code from here <?php $authParams = array("login" => "username", "password" => "password"); $listName = "{2882F083-8890-4ADA-A1FC-39ED1D63D825}"; $rowLimit = '150'; $wsdl = "http://localhost:89/list.wsdl"; $soapClient = new SoapClient($wsdl, $authParams); $params = array('listName' => $li...

Dynamically call SOAP service from own scripting language

My application has its own scripting language of which I cannot get rid of (lots of customer-specific scripts written). Now my customers are asking if it would be possible to call a SOAP service from within that scripting language. Of course, the SOAP service that needs to be called will be different for every customer. This leaves me...

Synchronous way to generated web service using WSDL for iPhone

Hello, I' ve a WSDl file , please tel me how to generate the SOAP Client using it? i used SudzC website to generate the web client , but its generating Asynchronous code for me. I need some solution which generates Synchronous Web client for me. Please let me know which web site or command line tool generates the code for me. THank YO...