soap

PHP soap client

The result of a soap client call is an object that contains 2 properties and an array of objects. The array of objects is mapped as stdclasses. Is there any way to fix this? Update: I need the proper mapping : object with an array of objects not array of stdclasses. ...

SoapHttpClientProtocol/HttpWebClientProtocol connection status

I have a WebService reference (.NET CF 3.5) based on SoapHttpClientProtocol. My question is - is there a way to determine whether a connection to WebService is established other than calling a web method? Can I check at any time that the underlying connection is established and get its status? Regards ...

RemoteIssue is returned with nil values using jira4r soap interface

I'm building a jira soap client that will allow me to update Jira issues. Problem is when I look up an issue using the getIssue() method, a RemoteIssue object is returned but has nil values in all the standard attributes like: key, summary, description, etc. Here is my simplified code: require 'rubygems' require 'jira4r' hos...

WCF troubleshooting - async and zero results

How do you troubleshoot a WCF Service consumption from the client side (silverlight) when from the server you can tell that you service works (stepping through) and the client gets an ObservableCollection with nothing in it? void client_GetAddressesCompleted(object sender, GetAddressesCompletedEventArgs e) { var x = e.Re...

soap connection problem with rails

hello I have two scripts, one is in http://txtcnsl.com/netTxt/soaptest and works fine, but when I try to move to another server fails http://voiplatinoamerica.com/siteweb/adminpanel/login the code is the two scripts client = Savon::Client.new "https://pbs1.sipids.com/wsdl/SessionAdminService.wsdl" , :end_point => "https://pbs1.sipids...

EOF faults and keep alive

Hi, I have a SOAP server process that fails with "EOF" errors. Does anybody know if EOF faults are related with keep alive timeouts? If yes how? My code is in C/C++ ...

Web service Listener for soap messages in C#

Hi, I want to create a listener for soap messages. Can this be done using a web service in c sharp? The soap messages contain xml data inside the soap body. I want the web service listener to be able to extract this xml data from the soap message. Appreciate your help! ...

Why doesn’t Web Sockets use SOAP?

First off, I intend no hostility nor neglegence, just want to know people's thoughts. I am looking into bi-directional communication between client and server; client being a web application. At this point I have a few options: MS-proprietary duplex binding, from what I hear unreliable and unnatural: comet, and web sockets (for suppor...

Qt Getting Response from SoapRequest

Consider the following in Qt using QtSoap lib: QtSoapHttpTransport http; http.setHost("XXXX",3333); connect(&http, SIGNAL(responseReady()), this, SLOT(getResponse())); now there is a method i want to call which is: QtSoapMessage request; request.setMethod("test"); request.addMethodArgument("xxx","zzzz",xxx); request.addMethodArgum...

Creating a SOAP proxy ?

I Want to create a SOAP proxy, that modifies the original web service SOAP header, nampespace and keeping the body the same) What is the best way to do this? Create a SOAP provider , that consumes the original web service then modify the header and namespacs? (this seems like alot of work?) ...

Soap Premature end

i'm trying to write a php soap server but i keep getting the folow error on louding the wsdl file: WSDLSOAP-ERROR: Parsing WSDL: Couldn't load from 'files.wsdl' : Premature end of data in tag definitions line 2 the wsdl file looks like this: <?xml version="1.0" encoding="UTF-8"?> <definitions name="TemperatureService" ...

PHP: Array acting strangely in foreach

Hi, I have a class that is query data via a SOAP client. the results of the query are returned as an array of objects. Something strange is happening. I'm not sure if it only occurs when there is one element in the array. Here is the code: function getNotes($ticketid){ $ticketid = $this->ms_escape_string($ticketid); $conn ...

SOAP fault: object not set to an instance of an object

I found this question on here: http://stackoverflow.com/questions/927566/php-soap-issue-server-was-unable-to-process-request-object-reference-not-s I have a similar issue, only the WSDL is private, so I figured I'd try and get a basic timezone SOAP Client working. The solution in the other question isn't possible for me to use with th...

Get report from JasperServer using SOAP

Can someone provide me a working example which gets reports from jasperserver using it's SOAP API. Actually I know how to run it to a file.... but I need to get report data directly. Thanks in advance! ...

SOAP Response Schema Validation

Short version: I'm trying to write an XSD that will validate my SOAP service's responses. I feel compelled to just import http:// schemas.xmlsoap.org/soap/envelope/ instead of redefining the SOAP elements like Envelope, Head, and Body, but that xmlsoap.org schema definition of Body is too broad for my use--as soon as I import the SOAP ...

how to use httphandler class to change SOAP namespace?

REF: http://stackoverflow.com/questions/4008703/creating-a-soap-proxy/4016687#4016687 How do I use HttpHandlers to create a proxy and change a SOAP request and response namespace? Example...change this (1 line) <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http:/...

Can I preview the XML that PHP SOAP wants to send before sending it?

As per the title, is it possible to output the XML that a new SoapClient has created before trying to run a __soapCall() to ensure it's correct before actually sending it to the SOAP server? ...

Create a contact on salesforce through Android

I am trying to use KSOAp on android to connect to salesforce. Right now I am able to connect and authenticate on the server. I can also get the contacts from salesforce. What I am trying now is to create a contact through my client application on Android.But unfortunately I am new to Webservices and Ksoap and I do not understand how to. ...

SOAP not passing through multidimensional array

I have a multidimensional array, such as: $array = array( 'a' => 1, 'b' => 2, 'c' => array('42'=>'foo', '43'=>'bar'), 'd' => 4 ) I'm trying to feed it into a SOAP call as follows: $response = $client->SomeFunction($array); The XML request produced ignores 'c'. Why? ...

Need advice on a web service "request template" pattern

We are designing a system which needs to allow the construction of objects made up of data, sourced from disparate datasources (databases, and back office systems for example) and are looking at ways to facilitate this functionality across a web service interface. To service this requirement we propose creating a "request" object as an ...