soap

WCF Soap Actions in HTTP header or SOAP header?

I'm a little confused about how SOAPAction is implemented in WCF (and other web service frameworks for that matter). In a test client, I have a Client Message Inspector configured to grab both the SOAP message and any HTTP headers that are being sent with the request. At least here in the client message inspector, the action shows up a...

Adding methods to the webservice: do old clients need to update web references?

ProductA uses our only web service, which is a separate deployment from ProductA. We deploy both to production. Later, we're writing ProductB. During that effort, we add a new method to our only web service. That new method wasn't in the WSDL when ProductA shipped. We make no changes to ProductA in development. When we deploy Produ...

How to parse SOAP response from ruby client?

Hi I am learning Ruby and I have written the following code to find out how to consume SOAP services: require 'soap/wsdlDriver' wsdl="http://www.abundanttech.com/webservices/deadoralive/deadoralive.wsdl" service=SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver weather=service.getTodaysBirthdays('1/26/2010') The response that I get...

Rails - Using another app's SOAP interface

I've got a pure, working, Rails application. I now need it to start communicating with another application (sympa). This application exposes that exposes a SOAP interface, so it makes sense that I try to use it (the command line interface is incomplete). Which steps should I follow? What gems/plugins should I use? Does anyone have wo...

How to view ASMX SOAP using Fiddler2?

Does anyone know if Fiddler can display the raw SOAP messages for ASMX web services? I'm testing a simple web service using both Fiddler2 and Storm and the results vary (Fiddler shows plain xml while Storm shows the SOAP messages). See sample request/responses below: Fiddler2 Request: POST /webservice1.asmx/Test HTTP/1.1 Accept: */* ...

How do I set the timeout for a JAX-WS webservice client?

I've used JAXWS-RI 2.1 to create an interface for my web service, based on a WSDL. I can interact with the web service no problems, but haven't been able to specify a timeout for sending requests to the web service. If for some reason it does not respond the client just seems to spin it's wheels forever. Hunting around has revealed that...

How to make a SOAP call in Java

This seems like it should be simple, but maybe I'm missing something. I just want to make a SOAP call in Java, preferrably using only built-in APIs. I'm a little overwhelmed looking at javax.xml.soap package in the Java documentation. I have tried searching Google, but it seems like all the results are from 2000-2002, and they are all t...

Is it possible to use Excel/Access to consume a SOAP based web service using WS-Security?

The extent of my ability is in vba and asp. I'm interested in consuming a SOAP web service from Excel or Access, mostly because it's easier for me. I've also got the wsdls for the web service which is using ws-security. Is this even possible? From what I've read, .net is my logical option, but there's obviously a gap in my skill. Is...

How do I consume a webservice returning complexTypes in PHP?

I am using PHP 5.2.10 and I am trying to consume a webservice which returns complex data types using the standard SOAP extension. The problem is that SoapClient does not populate objects which are nested into other objects / array of objects. A simplified example of what I get when I call the getUtente method, specifying "my_unique_id" ...

SOAP Fault Error

Hi, When I try to make a SOAP call, I get the following Error. soap:ClientGeneral security error (WSSecurityEngine: No crypto property file supplied for decryption) Can anyone please explain what could have triggered it? Thank you, UsernameForCertificateAssertion assertion = new UsernameForCertificateAssertion(); ...

Confused about how java annotations (ie @SecurityDomain) work and what they do (do they generate xml? wsdl?)

I have to admit that I am pretty confused how annotations work in java (SOAP) webservices. What does adding a tag do? I think that maybe adding a tag generates some xml or maybe a wsdl? When I build should I see a difference in those files? Any description or link would be great. I have done a lot of searching but I think maybe ...

Find the size of a data which i am sending to webservice

Is there any way to find the size of a data which i am sending to webservice from the client in Csharp dotnet ...

Can an API in SOAP/WSDL be kept backwards compatible easily?

When using an IPC library, it is important that it provides the possibility that both client and server can communicate even when their version of the API differs. As I'm considering using SOAP for our client/server application, I wonder whether a SOAP/WSDL solution can deal with API changes well. For example: Adding parameters to exi...

Suggestion for a web service framework for Java

I want a web service framework which is open source & free for commercial use, also security is a main concern too. Please suggest a web service framework for Java using SOAP standard. ...

How do I get the details of a SOAP fault in Dynamics AX?

I'm currently communicating with an external SOAP service within AX using the a service reference and the generated .NET class. Everything is working out greatly with the exception of how to handle SOAP faults. Ideally, this doesn't happen, but sometimes the SOAP server (which I control as well) throws a SOAP fault with a "code" and a ...

Web Services in Java, beginner question

Hello, Im new to the subject of web services in java, though im familiar with the concept of web services. As im new to this topic,i have the following questions which i would like someone to help me with. 1) How are web services created in Java ?.Ive come across methods like using Eclipe WTP (Web Tools Platform), Sun WSDP (Web Service...

Working example of PHP's __dorequest method for SOAP?

I am trying to use the MS Exchange 2007 Web Services from PHP and my first snag (of course) is successfully authenticating to the wsdl file when creating the SoapClient object. I am able to fetch the WSDL file via curl simply by setting HTTPAUTH and USERPWD: $exch = curl_init($exch_url); curl_setopt($exch, CURLOPT_RETURNTRANSFER,...

How can I pickle suds results?

To avoid repeatedly accessing a SOAP server during development, I'm trying to cache the results so I can run the rest of my code without querying the server each time. With the code below I get a PicklingError: Can't pickle <class suds.sudsobject.AdvertiserSearchResponse at 0x03424060>: it's not found as suds.sudsobject.AdvertiserSearch...

JAX-WS get soap without actually sending to a web-service

Using JAX-WS and a custom WSDL, is there a way to get the message that would be sent to a web-service without actually making a call to the service? I need to generate a soap message conforming to a WSDL, but that soap message is actually embedded into another message. I was thinking I could create a local web-service that just echos bac...

php soap question: howto create custom namespace

I am using php soap. I can't get my soap body to include a custom namespace. Here is an example of what I want: <?xml version='1.0' encoding='UTF8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt; <soapenv:Body> <tns:MyCall xmlns:tns="my.sx"><tns:op>getStuff</tns:op><tns:args /> </tns:MyCall> ...