soap

How should I compensate for a bad WSDL?

I've come across several examples of SOAP-based web services where automated tooling fails to build a client that works. Investigating these examples leads me to believe that the WSDL the service uses to describe itself doesn't quite match the service that's being provided. Maybe a wrong type somewhere, a different data structure - some...

Deserialization error in a new environment

I have a web application that calls a third-party web service. When I run it locally, I have no problems, but when I move it to my production environment, I get the following error: There is an error in XML document (2, 428). Stack: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeser...

Writing python client for SOAP with suds

Dear python programmers, I want to convert a perl SOAP client into a python SOAP client. The perl client is initialized like $url = 'https://host:port/cgi-devel/Service.cgi'; $uri = 'https://host/Service'; my $soap = SOAP::Lite -> uri($uri) -> proxy($url); I tried to replicate this in python 2.4.2 with suds 0.3.6 doing fro...

Call WCF Using SOAP call

Hi I want to call a WCF service using SOAP? this is my contract: [ServiceContract(Namespace = "http://www.MySite.com/Services/TransferFile")] public interface ITransferFile : ICloseableAndAbortable { /// <summary> /// This will send the file which is associated with this rule to all the subscribers. /// </summary> /// ...

SOAP header Axis1.3 wsp security

I have to expose/provide the service method in which I have to implement the Soap Headers Security. Below is the Sample SOAP Header which I have to implement in my Service Method. I am using Axis 1.4, Tomcat 5 and Java 1.5. Response XML :please ignore ' from XML. please consider it as XML. '<'S:Header'>' '<'wsp:authentication'>' ...

How to add header while making soap request using soappy

I have WSDL file, using that i wanted to make soap request which will look exactly like this -- <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; <soap:Header> <AuthSoapH...

Android WSDL/SOAP service client

Hello everyone! I have some web services that uses WSDL/SOAP for communication. Specifically, I am using PHP and Nusoap to make them. How can I use these web services on Android? I am going to get a new Android phone soon, so I need to know. It is easy to do it with Windows Mobile and Visual Studio. Thanks ...

Why and when to use EJB-based web services?

To transfer data from one system to another, through data interface, by web services, we normally get a result set by SQL query, and format them as a web service endpoint, and allow it to be retrieved by another side. With EJB 3.0, it seems we can replace the result set by stateless session bean. So are there any advantages over the SQL...

WCF service, response in SOAP or plain XML, how?

Hello guys. I am struggling few hours with this and can't find a solution to the communication problem. My service need to communicate with clients via SOAP or plain XML My service will be written based on WCF framework, however my clients not. Could you show me step by step how to change my service code and configuration in a way th...

HTTP 500 error on WSE1.0 POST to WSE2.0 web service

I have a web service that uses Web Service Extensions 2.0 to receive an XML post from a WSE1.0 web service. I have no control over the WSE1.0 service, nor are they able to tell me what the error actually is. I have managed to set up some diagnostics based on this: http://msdn.microsoft.com/en-us/library/bb885203.aspx The underlying err...

SOAP tutorial php sending and recieving messages

I am having trouble with my project and i think you guys can give me a hint (i'm a newbie and the prj manager is in a meeting). I need to send and receive messages via SOAP. I read w3school and have some example code running. I want to know is there a site/server i can send SOAP commands for the purpose of learning? then i would need to...

using SOAP without a wsdl? php5

It appears i dont have a wsdl file but many xsd files. Can i do anything with SOAP or is a wsdl file required? ...

Creating SOAP web service for VC++ dll

I have been using a VC++ dll in a Dialog based application so far. Now, I am trying to provide the dll as a web service without re-writing or migrating the code. I was researching on various ways to set up the web service, I have setup the web service using C++ cgi in IIS. But it sounds like old way of doing things. My second option...

How do i send specific SOAP request?

After using this code (and the previous example) i was able to send this request (after modifying) NOTE: There are -'s bc i copied from IE for nicer formatting. <?xml version="1.0" encoding="UTF-8" ?> - <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn://www.herong.home/req" xmlns:xsd="http://www.w3.org...

(aren't web services platform independent?) web service works in .net 2.0+ projects, but not .net 1.1

I've been supplied a web service by a colleague that I tested by creating a quick .net3.5 project. the service exposes a simple method that returns a DataTable and everything works just fine. The production project is .net1.1, though, and I get a runtime error on the line that creates the web service object: The XML element '' from n...

Previously working webservice stoped working

All of a sudden we started to get this error in our webapplication. It's wierd because it has been working for months and months and noone has ever touched the code. Does anyone have any idea why this error could occur all of a sudden? Server Error in '/' Application. System.Web.Services.Protocols.SoapException: Server was unable to p...

Can't get WSDL from Webservice with Javascript

Hello, I am creating a website which calls a WebMethod in an .NET Webservice. To archieve this I use the JavaScript SOAPClient described here (with source code). The method SOAPClient._loadWsdl(url, method, parameters, async, callback) tries to get the WSDL file from the webservice. But the wsdl var stays null. I used a network ...

How do I send this SOAP XML in Perl?

I have to send the XML below. And i have no idea where to start. I know i need to look up SOAP in Perl but thats roughly it. <xs:element name="CheckDomain"> <xs:complexType> <xs:sequence> <xs:element name="domain" type="domainRef"/> <xs:element name="suggestions" type="xs:boolean" default="false" minOccurs="0"/> </xs:sequence> </x...

SOAP, HTTP(S) POST. XML and Schema mess

I am very confused. I have a xsd file, no wsdl and apparently i send this data through SOAP. Now looking at all i went back and notice this (using ssl) The regular session begins with a HTTP POST request sent by the client. The body of the request contains XML document compliant with SOME_API Request schema So... i am not u...

Issue calling a web service - Use the XmlInclude or SoapInclude attribute

I'm calling someone else's web service, they have provided a WSDL file and a bunch of XSD files. I have create the web reference in my project using the local WSDL file and created a class using xsd.exe. The web method I'm calling is object MyService.MyMethod(object myObj) So I create a new instance of my service and a new instance...