soap

Sending and receiving SOAP messages without envelopes in C#

This there a good tutorial or example of C# code sending and receiving SOAP messages without using a SOAP envelope? ...

Using WSDL for sending and receiving in C#

You are given a WSDL and a sample soap message, is there a good tutorial or sample code in using that WSDL to consume a web service? Does the WSDL follow a certain format in order for which it can be consumed properly? I recall a web service in Java that I changed certain tags and attributes in order for this to work, is there a gener...

Generating objects in PHP using REST

I am trying to make a decision whether I should use a REST service or a SOAP service for some web facing functions that I am producing. This decision is based on whether I can easily use the REST service in implementation. I would prefer to use REST, though I don't want to spend days coding the object model in PHP. The services are bein...

.Net List to a SOAP Array and back to a .Net List

Within a Web Service CarService, - I have a class called Car. - Car has a bunch of properties i.e. Car.Color. - CarService has a method called GetCars(). - Within GetCar, I have a loop that appends a List of, you guessed it.. Cars. Dim carList As New List(Of Car) Do While rdr.Read() If rdr.GetValue(1).ToString().Length > 0...

Delphi Soap Server and CF.NET application

I have a soap server written in Delphi and I am writing a PDA clinet using CF.NET 3.5 but I am getting following error "client found response content type of 'text/html', but expected 'text/xml'". If I try and consume this same webservice in a WinForm app it works fine. Sandeep ...

Is it possible to use Axis 2 wsdl2java to generate client side code that uses HTTPS?

Using the default parameters, the axis 2 wsdl2java tool takes as input a wsdl file and generates a client side Java code that communicates with the SOAP endpoint using the HTTP protocol, like in the example below: wsdl2java -uri MyService.wsdl What I would like to know is if there is an input parameter that can be passed to wsdl2java ...

Which is the best way to implement SOAP Web Services on JBoss Seam?

I need to implement a SOAP Web Service on Jboss Seam 2.1.0. The idea is to export an Stateless bean method as a Web Service. However, I have found two approaches. First one, is to use the Seam's own web services annotations. The problem of this is the lack of documentation. Second one, is to use Enunciate. It's a lot better document...

Testing Webservice with SoapUI windows authentication

Is it possible to include the windows domain credentials to test my webservice with soap ui? I found a properties page but the IIS just responses with "wrong credentials". ...

PHP SOAP Issue : Object reference not set to an instance of an object.

Hi all, I'm trying to build an interface to https://ws.farebuzz.com/FlightGateway.asmx?WSDL using php and SoapClient class. I managed to get over the authentication header but I'm stuck when I try to call a method .. I'm always getting : Uncaught SoapFault exception: [soap:Server] Server was unable to process request. ---> Object ref...

Is it possible to create read only elements in SOAP web services?

I have a class with a read-only property defined. In my code I define this as a property with a getter only. I want to be able to send this object back and forth across a web service. When I call a "Get" method in the service, it would be populated with a value on the service side. Once I define this property, I don't want the consumer...

same function in different jar

Hi, I have a question and wonder if there is anyone came across the same situation as I did. I upgrade java version from 1.4 to 1.6, the java6 includes soap package itself, which means the axis soap libs i used previously will not be invoked. for example, javax.xml.soap.SOAPMessage. Is there anyway that I can explicitly force the a...

Uncaught SoapFault exception: [HTTP] Error Fetching http headers

Hi, I'm trying to create a soap connection to Magento's web services, however I'm getting an error when I try and create an instance of the soap client class. I can view the wsdl file in firefox without problems and I can watch php make the request for the wsdl in apaches logs but it still fails. Nusoap can connect. $proxy = new Soa...

Where is the url of the WSDL xml specification in a Delphi 7 web service?

This question is non-sense. The difficulty was due to a bug in the software. I'm trying to access a webservice using SoapUI. The webservice is developed in Delphi 7. I can call the published functions with the url http://server/my.dll/soap/IDataMod. A html representation of the WSDL file can be accessed with a web browser in the url h...

What is the best way to Version an ASP.NET 2.0 Web Service?

I am maintaining a SOAP web service (ASP.NET version 2.0) and I have to make some changes that will modify the return values of particular methods. What is the generally accepted method of doing this without breaking existing implementations. My initial thoughts are that the following would all be possible. a) Provide new version sp...

Does Apache Rampart work with maven?

In the project I'm working we are using maven to manage dependencies. However we are having problems with the apache rampart which is a security module to Axis2. We have tried to use the following dependencies tags: <dependency> <groupId>org.apache.rampart</groupId> <artifactId>rampart</artifactId> <version>1.3</version> <type>...

PHP Soap Issue: Server was unable to process request. ---> Object reference not set to an instance of an object

I'm using PHP 5.2.5.5 with Moodle 1.9. When I make a simple SOAP call without parameters, it works. However, as soon as I use a call with a parameter, it fails. If I capture the SOAP request with Fiddler, I see that it's not adding the parameter to the soap request at all. Here's my sample code: $WSDL = 'http://www.nanonull.com/Time...

PHP Soap non-WSDL call: how do you pass parameters?

I'm trying to make a non-WSDL call in PHP (5.2.5) like this. I'm sure I'm missing something simple. This call has one parameter, a string, called "timezone": $URL = 'http://www.nanonull.com/TimeService/TimeService.asmx'; $client = new SoapClient(null, array( 'location' => $URL, 'uri' => "http://www.Nanonu...

Pushing Data to unknown webservices in .NET

Hey guys, here's my requirement: I have one central App which receives requests from other apps, does something, and then returns data to that App. In its simplest form this data would be an XML document. Now, at design time, this central App doesn't know which other applications will be making requests. Each time the Central App rece...

SOAP replacements/workarounds/libraries in PHP

Being as stubborn as it gets, I'm building my own PHP-based CMS and framework (named RAmen/FSM just for the kicks) that has been deployed multiple times for my customers. Now, I'm going to develop a support ticket application for it that I will deploy on a 'central' server for convenience of maintenance. Now, I've looked into SOAP servi...

calling a webservice with jquery that accepts five STRING params?

Hi there, is it possible to call a webservice that accepts 5 string parameters without sending via json? (is this recommended) I have created a webservice with a method that accepts 5 string params.. and i have my jquery $.ajax({ type: "POST", url: "Service.aspx/CreateClient", ...