soap

How do I get the error code and description from a Savon::SOAPFault?

I can see in the Savon log that my SOAP faults contain XML like this: <errorCode>666</errorCode><errorDescription>some evil error</errorDescription> Does anyone know how to parse the error code and description out of the response? Sorry if this is a stupid question, but I've tried everything, and I haven't been able to find any docume...

question about soapClent in php

Hi guys! I have a question, I´m developing a web page and I communicate with a server via SOAP. my code is in php. $client = new SoapClient(null, array("location" => "$serverpath", "uri" => "$namespace", "style" => SOAP_RPC, "use...

Java reading xml element without prefix but within the scope of a namespace

Functionally, the two blocks should be the same <soapenv:Body> <ns1:login xmlns:ns1="urn:soap.sof.com"> <userInfo> <username>superuser</username> <password>qapass</password> </userInfo> </ns1:login> </soapenv:Body> ----------------------- <soapenv:Body> <ns1:login xmlns:ns1="urn:soap.sof.com"> <ns1:userIn...

Best practices for an internal webservice

Experience says that using WSDL-SOAP based webservice for internal consumption is an overkill. There are too many service-based POJO classes that when let into the system complicates it way too much. One option would be use adapter pattern, map the request/response objects to internal domain classes. But is it even required? Is there a b...

SOAP WCF Webservice behaves differently when called locally or remotely

I have a WCF SOAP 1.1 Webservice with the configuration specified below. A concurrent call to any method of this endpoint hangs until the other returns when called remotely (from another computer on the network). I cannot replicate this when these methods are called locally (with a client located on the same machine). I tried to incr...

Integers in TextNodes w/ Python minidom

I am working on an API using SOAP and WSDL. The WSDL expects integers to come through. I am fairly new to ALL of this, and constructing XML in Python. I have chosen to use minidom to create my SOAP message. So using minidom, to get a value into a node I found I have to do this: weight_node = xml_file.createElement("web:Weight") weight...

WCF Service instead of ASMX Web Service?

I'm writing a SOAP Server that will act as an endpoint for an external client. The external client expects SOAP 1.1. I'll be taking embedded business objects in the SOAP messages and passing them to an internal application, getting responses back and responding with SOAP messages to the eternal client. I did the traditional ASMX based w...

Calling a .NET SOAP service from EJB and Glassfish

I'm trying to invoke a SOAP webservice which first checks inputs and then authenticates the message as i understand it. Basically what i've got here is a FAKE client and an EJB webservice that forwards the message to the real webservice. I've read that there are some cross compatibility issues with Metro and the .NET stuff but I've ...

Parse SOAP webservice dynamically

Hi, I'd like to create an application where you can specify a webservice's url and automatically get the input parameters a output format. (similar to svcutil in Visual Studio I think), in the way the user could add webservices dynamically to the app and select which data is gonna send and what is he gonna do with the return data. So i...

svcutil.exe excludetypes problem

My service uses a type Foo defined in another DLL, and my client also uses that DLL to get that type. Rather than generating a proxy class for that type, I'd like the proxy code to just refer to the real type. I can accomplish this manually by generating the proxy with WSDL.EXE on the running service, manually editing out the partial ...

How Configure app.config for HTTP Basic Authentication?

I am developing a SOAP client using C#. The web service requires HTTP Basic Authentication. Can I configure the username and password in app.config? Can u provide a sample? ...

How do I change my existing SOAP 1.1 client to 1.2?

I have a SOAP 1.1 client that was generated with the Delphi 2007 WSDL Importer. Now I need to change it to SOAP 1.2. Since I changed things in the generated code I prefer not to generate it again. How can I manually change it to SOAP 1.2? Thanks, Miel. ...

JAX-WS clinet web application - displaying the SOAP request and response in JSP

Hi guys - I've implemented a JAX-WS client web application with a message handler where I can get the request and response. i.e.; I got the SOAP request and response as strings. I would like to get these strings and display them on every page. I'm invoking the service in the action class (struts) and forwarding the request to JSP to prin...

Delphi 7 SOAP client DB Grid apply updates and refresh

Is there any single event on the DataSet that I can use to make sure my client has applied updates and has the newest data from the SOAP Server? At the moment I need to add clientDataSet.applyupdates(0); clientDataSet.refresh; for each AfterDelete and AfterPost event on all datasets I use in my SOAP client? It seems rather a lot...

How to adapt a SOAP Service to REST in java?

I need to integrate some services that are external and that are offered as SOAP Services. I don't like to use SOAP inside our system for a few reasons. I think from a pragmatic point of view it should be fairly easy to adapt SOAP to REST. This is not a SOAP vs. REST question! I'm just trying to collect java libraries, code, howtos etc....

Magento - Add bundled products from PHP with Magento API

Is it possible to add bundled products with Magento API? If not, is there any other way to add a bundled product? ...

Making SOAP call using Perl's SOAP::Lite and a WSDL file

I want to make a SOAP call to a local web service. The web service is defined via a WSDL file (see below). I want to use Perl and SOAP::Lite. I tried this: use strict ; use warnings ; use SOAP::Lite ; my $endpoint = qq{http://example.com:2222/orawsv/PS_API/ACCOUNT_WS} ; my $tns = 'http://xmlns.oracle.com/orawsv/PS_API/ACCOUNT_WS' ; ...

What is the most accepted way to implement a SOAP service in Rails 2.3?

datanoise-actionwebservice was what I used last time I needed one. What is current opinion on SOAP and Rails? ...

Using lambda expressions and linq

So I've just started working with linq as well as using lambda expressions. I've run into a small hiccup while trying to get some data that I want. This method should return a list of all projects that are open or in progress from Jira Here's the code public static List<string> getOpenIssuesListByProject(string _projectName) {...

Listening to PHP function calls to intercept the returned value

I am working on making use of a Web Services API offered by the hosts of our internal system. I am accessing it via PHP with the built-in SOAP offering. The API session is initiated by a remote call to a function that returns some session tokens; every call to any function thereafter will return a new session token, which must accompany...