Click here to Skip to main content
15,897,891 members
Everything / SOAP

SOAP

SOAP

Great Reads

by Jobless Creature
This is a article on SOAP UI. This is used for web service load testing
by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
by Asher Barak, Itiel Beeri
Infrastructure for large scale WCF services layer development
by Kelum W. Ganegoda
In the MEC mapper, calling a web service is a general scenario. There are few ways to do it.

Latest Articles

by The Zakies
Question answer chatbot using natural language parsing and web scrapping
by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
by Kelum W. Ganegoda
In the MEC mapper, calling a web service is a general scenario. There are few ways to do it.

All Articles

Sort by Updated

SOAP 

23 Mar 2011 by #realJSOP
The only thing I can suggest is that you make sure your client app is connecting correctly and that you're actually sending the data that you think you're sending.
17 Apr 2013 by @BangIndia
Server side code :import com.lowagie.text.Image;import javax.activation.DataHandler;import javax.activation.FileDataSource;import javax.jws.WebService;import javax.jws.WebMethod;import javax.jws.WebParam;import javax.xml.bind.annotation.XmlMimeType;import...
20 Jan 2020 by _Asif_
There is an Article on Code Project that does similar task and it also contains sample code as well. Try it WebService Call From VC++6.0[^]
15 Feb 2012 by Abbas_here
Abbas_here - 2 mins agofrds, The problem is that client saying me to create a web service method which able to consume their SOAP file and return back authenticate result in response SOAP massage, Request SOAP:
24 Feb 2012 by Abbas_here
How can we capture a SOAP massage in asmx web method?For example we need to create a method for client is sending a SOAP massage for checking a number even or odd,
24 Apr 2012 by AbdulMuheet
You can try below code. I have not check it with SSL but it working to post data for http protocol. postData = "data=" + Server.UrlEncode(readStr); //---- Post data HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(URL); ...
18 Aug 2011 by Abduyar
Hello, I have a server which is using a SOAP technology. It contains of forms and e.t.c. Also I have an application which find and replace text in files (in XML files) and save changes in new file. So, I need to call my server using application and replace the text in XML form and...
20 Jan 2020 by AbhijeetMali
I am created illustrator plugin in c++. I want to call SOAP web service in plugin. i am trying bellow code but not getting responce. What I have tried: IServerXMLHTTPRequestPtr pXMLHTTPReq = NULL; hr=pXMLHTTPReq.CreateInstance(__uuidof(ServerXMLHTTP60)); hr =...
22 Apr 2014 by Abhinav S
Use WCF. Here are some examples - ExpandWalkthrough: Creating and Accessing WCF Services[^]WCF Service Creation With C#[^]Introduction to WCF[^]WCF Tutorials[^]http://www.c-sharpcorner.com/1/192/wcf-with-C-Sharp.aspx[^]
22 Apr 2015 by Abhinav S
SOAP is the standard i.e. set of contracts that all communicating parties understand. Internally, SOAP uses XML.Hope that clarifies the difference between the two.
25 Jun 2014 by Abhishek Heaven
HI,My requirement is I have to create a XML of each row from a table and push one XML data of each row to a web services. This is a syncronous call to web services where it will send the response of each row XML.The WSDL file is having a method called MATCHXML having 4 parameters namely...
19 Feb 2016 by Abhishek Shrotriya
This tip gives the very basic/simple implementation to interact with SAP PI webservice for authorized recipients.
23 Feb 2015 by abhyudayreddy1534
The ios build is working fine while debugging and the build is not working when generating an .ipa or downloading build from TestFlight (Appstore > Prerelease)I have rechecked the build provisioning profiles, They are perfectly fine.I am able to download the app from testflight too, but...
10 Jan 2017 by AbishekAlva
I am working on a project that would consume a 3rd party web service for certain functionality. We have got 2 WSDL files 1) WSDL file related to security token service 2) WSDL file related to certain functionality that our application uses. We are also provided with client certificate in PKCS-12...
27 Feb 2017 by AbishekAlva
0down votefavoriteI am trying to create a SOAP request instead of adding service reference that generates proxy classes. The main challenge am facing is with Authentication part. The service provider has 2 URLs 1) Security Token Service [STS] 2) Main service to be called for certain...
29 Aug 2016 by AdvancedDNA
I have the following XML results that are generated when I run a SOAP request to a webservice. - - -
29 Aug 2016 by AdvancedDNA
Thank you for your post cigwork. One more question, the XML data that is pulled when I run the SOAP call has a bunch of fields, one of which I need to pull data from.. How do I go about pulling the value from idc:field name="dWfStepName?I need to filter the list I am returning from the XML...
29 Aug 2016 by AdvancedDNA
FINAL SOLUTION:Thanks again cigwork for your help. Now I can build a priority list and when I run the SOAP call I can adjust the priority by what has fallen off the list, what is new and what is still there.There is more code than this (about 50K lines, and this XML piece was the final...
18 Jan 2015 by Afzaal Ahmad Zeeshan
Usually opinion-based questions are off-topic here (because you first need to be sure about the data you're concerned with, the frameworks and platforms you're going to consume your service on, until you're sure we cannot provide any specific and helpful answer) but I can give you a solution (or...
28 Sep 2019 by Afzaal Ahmad Zeeshan
Since you are getting a null reference exception, the solution is simply: // Create an array of products that it will use. sup.PRODUCTLIST = new product[10]; Since you would be adding the elements at runtime, I would highly recommend using other generic types that can accommodate new elements...
19 Mar 2014 by ahmed.abdelrazik
Please specify what do you mean by add "IIS_IUSRS" with Apple Production IOS certificate" ?
14 Apr 2017 by AhmedYehiaK
Hi everyone, I have a web API which communicate with multiple external services (SOAP, REST, etc) all requests to external services are in parallel (60~70 request created at moment) i need to now what is the best practice to log all requests and responses. I need to now the best method in...
13 Nov 2012 by AJMAL SHAHZAD
Sessions are not available in webservices. but you can authenticate any caller by passing an id to the called method or post id as query string from java script.
26 Apr 2013 by Alex_Mntl
I’m trying to connect to the Soap service of SMSGateway.ca to retrieve the list of the last sent messages using Delphi 7 without any success. I’m able to get the WSDL definition from the server using ‘http://www.smsgateway.ca/sendsms.asmx?WSDL’ as an address , but when trying to access the...
3 Jun 2011 by Alexey Merson
If you have a SOAP server created with Borland Delphi and a SOAP client created with .NET, then you can't get it working out of the box.
24 May 2011 by alexey.nayda
Hi. In two words, I'm building .Net Client that will use WebServices to upload large amount of data. Client should inform user about upload and download progress. I've created SOAP extension to wrap WebService stream in chain. Similar to Using SOAP Extensions to provide progress notification...
10 Oct 2017 by ali_1
I created a WEB API using asp.net with basic authentication. Here is my get Method link : localhost:XXX/api/Products/X1 But the client need the request and response in XML format with Products id and authentications credential included in it . Example :
15 Oct 2017 by ali_1
Hi All , Can I use soap requests Restful Web API ? I have a basic authentication and need to send ProductID in the request . the request should be like below:
16 May 2012 by alimmortal
i want to using web service from android. it is weather web service which is creating by .net framework.url="http://www.deeptraining.com/webservices/weather.asmx" And it isnt running.what did i do wrong?package my.Weather.Package;import org.ksoap2.SoapEnvelope;import...
17 May 2012 by alimmortal
thanks :) it is working. :) my first android project is this project :)
5 Sep 2016 by aliwpf
hi there . you can use WCF with msmq binding. soap with mtom . because wcf support cross platform.
8 Jan 2012 by amertarekt
Anyone know that we can call web service in C# using Add Web Reference in VS2008 and we can call it through c and c++ using SOAP library like gsoap librarythis library convert the xml string that is used to call the webservice and send it to it through a port is anyone know how can i do...
9 Jan 2012 by amertarekt
I solved it We can Call webservice using Tcp/Ip by sending the XML Code that is appearing under the page of function calling in the webservice page like thiehttp://www.webservicex.net/globalweather.asmx?op=GetCitiesByCountry[^]to port 80 and the server and wait for the HTTP responce
10 Mar 2014 by amiach
I am developping a solution for posting a job offer directly from our .net skills platform to a job board and we choose monster.com to do this . But since the first test I encountered problems and the documentation provided by monster seems ambiguous on the link below...
14 Mar 2014 by amiach
Hello I'm new in xml and soap protocole I try to create a soap message that contain in the body data from object .I consulted many tuto to di this but the problem was not solved .I would like to retrieve from object in my asp.net MVC4 application Help please !
18 Mar 2014 by amiach
I am posting XML file to Web services using C# .My work is generating a xml file from object of my application then I should send it on the business Gateway of Monster.com .I tried this method for sending but I encountred an error "The remote server returned an error: (403)...
19 Mar 2014 by amiach
Hello , I added a service reference for the web service that I work with , it 's the Monster business Gateway . The operation work succesfully but after this and don't know what I should do to communicate with it and how can I send my xml file to it ! This the documentation provided by...
21 Mar 2014 by amiach
I am a learner developer working on a project where I am required to post JOb offer from our .Net website to monster.com . This is my my first project of XML (WSDL) integration. Here is what I have tried so far:Create a reference to the desired WSDL file from monster.com which is exposed...
24 Mar 2014 by amiach
I try to invoke method from my proxy class generated from a web reference added to the project , this is my code below public void call() { com.monster.schemas.MonsterBusinessGatewayService gateway = new MonsterBusinessGatewayService(); Job job...
24 Mar 2014 by amiach
I try to call a web service from the business Gateway of monster public void call() { System.Net.ServicePointManager.ServerCertificateValidationCallback += (s, cert, chain, sslPolicyErrors) => true; ...
25 Mar 2014 by amiach
This method serialize data in an xml file with soap protocole and it works successfullypublic static bool SerializeSOAPFile(object objet, string pathFile) { if (objet == null) return false; FileStream stream = new FileStream(pathFile,...
25 Mar 2014 by amiach
The problem is solved thanks to this code com.monster.schemas.MonsterBusinessGatewayService gateway = new MonsterBusinessGatewayService(); //Business Gataway paramaters gateway.Url = "https://208.71.198.74:8443/bgwBroker"; ...
25 Mar 2014 by amiach
Monster provides a business gateway that contain methods that help to do this :com.monster.schemas.MonsterBusinessGatewayService gateway = new MonsterBusinessGatewayService();JobsResponse jobresp = gateway.UpdateJob(job);var ResponseXmlFile =...
7 Oct 2011 by amove1
It is easy to import and use SOAP webservice with web reference facility in Visual Studio, however setting SOAPAction needs a extra work on webreference libraries specially when using third party Java provided services.
3 Jun 2016 by Amrender Saini
I'm facing an issue using soap api. I try to delete duplicate rules by using partner WSDL soap. But I got that error when tried to perform delete operation. Error is that : " insufficient access rights on object id " I'm using system admin user credentials for access api. If anyone have any...
2 Jan 2012 by Andreas Gieriet
Dear K.,You seem to be really lazy: search the net for "web service tutorial" and you will find exactly what you need - literally.E.g. http://www.w3schools.com/webservices/ws_example.asp[^]RegardsAndi
28 Jul 2016 by AndrewCharlz
Hi,Actually i have a website hosted online and which has a webservice. Now what i want to do is i want to utilise the hosted webservice.I added new service reference to the project and created an object of the webservice reference.Sref_HomeService.HomeServiceSoapClient obj_ = new...
21 Nov 2012 by AndroidVivek
Every phone has there unique mac address , you can use that address...you will get lots of code to find mac address of phone...and i case of to make flexible uid...you have to auto increment the uid in database and work with it by passing params..
12 Oct 2015 by Andy Lanng
Take a look here:http://blogs.msdn.com/b/kaevans/archive/2006/04/27/dynamically-invoking-a-web-service.aspx[^]It seems to be what you need
2 Jan 2014 by AndyInUK
Hi, One of the third party site is creating a login page where user can enter their username and password and we need to create a web service to read that user credentials and check it against our db and response back in true or false. It's been a while I have worked on web service. So...
23 Mar 2014 by Anirban Sorcar
Hi All, I have successfully generated an XML response using SOAP in PHP. One additional thing which i would like to know is : How do I make out how many parameters are passed from the client page when calling the web service? Based on the number of parameters passed, my web service...
16 Oct 2016 by Anjali14
I am always getting an Error "java.net.SocketTimeoutException: Connection timed out".As i m sending request using HttpTansportSE its not accepting and after some time getting an error i.e request time failed: java.net.SocketException: Address family not supported by protocol.So please help...
18 Feb 2014 by ankitkamdar
Error 1 Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
20 Aug 2011 by Ankur\m/
When you are in doubt, remember that Google can definitely help you get started.See these links:XML Support in Microsoft SQL Server 2005[^]Google search - sql to xml[^]Google search - how to send data to a web service[^]And yes, you can write code in any language to use a web...
2 Oct 2013 by anrorathod
Dear friends,I want to consume SOAP services which is hosted with secure certificate.I have url like https://servername.com/something I have also certificate and its password.Please help me to call services and get response.Thanks in advance.Thanks,Rohit
29 Mar 2015 by Anshumaan C
I have the following Request xml: ...
24 Jul 2014 by Anup Shetty
INVALID_LOGIN: Invalid username, password, security token; or user locked out. this happened when i integrated my app with salesforceany solution??
11 Feb 2015 by anup.bhunia
Referhttp://stackoverflow.com/questions/19446592/consume-php-soap-webservice-in-winform-c-sharp[^]
10 Jan 2017 by anup.bhunia
Hope you are calling the third party web service from your server end, your integration should look like;[Browser] ---[your server]---when token not present---[third party security toke service][Browser] ---[your server]---when token present---[third party service]your server should...
20 Mar 2013 by Anurag Sarkar
Here are the some links which will help you to decide what to do with WCF service:-1.) http://www.sujitbhujbal.com/2012/10/wcf-example-for-inserting-and.html[^]2.) http://www.c-sharpcorner.com/UploadFile/rohatash/inserting-data-into-database-using-wcf-service/[^]
31 Jan 2016 by Aravind Suresh Babu
Hi,I am trying to access a webservice whose WSDL is http://ec.europa.eu/taxation_customs/dds2/eos/validation/services/validation?wsdlBut on calling the method , I got the below error. Client found response content type of 'text/html', but expected 'text/xml'. The request failed...
22 Jan 2013 by arda1940
Try using ksoap connection block in AsyncTask , You can not reach the web service from main activity because android prevents these kind of work which can need long time.
22 Feb 2017 by Arvind Singh Baghel
i have created a wcf soap service, and i want to implement OAuth2 security in it, for better security. i found many articles on the google but all is releted to WCF REST service OAuth authentication, but my service is SOAP.please let me know the steps from start to end, like how to register...
14 Jan 2016 by Asher Barak, Itiel Beeri
Infrastructure for large scale WCF services layer development
10 Sep 2015 by Ashot Amiraghyan
Hello,I have a problem with custom authentication over https. What I need is a secure channel and authenitcation on message level. I got it working quite well, but my custom validator never gets called.When in IIS7 i use Authentication -> Basic Authentication, I get the following...
5 Apr 2011 by Asif Ishaq
Hi,I am working on how to call a web service dynamically using SOAP (language c#). For this purpose, my program gets the WSDL and parses it to create the SOAP request. How can I assure that a web service supports the SOAP protocol by looking at WSDL? Thanks,Asif
7 Apr 2011 by Asif Ishaq
Thanks for replying.mjbohn yes that is the only clue that you have mentioned(). Which will verify support of SOAP protocol by a web service.----Asif
6 Apr 2021 by Asma Ghanty
I am getting these errors Request: POST /SOAP/nusoap/productlist.php HTTP/1.0 Host: 127.0.0.1 User-Agent: NuSOAP/0.9.5 (1.123) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 527
11 Oct 2013 by ASP.NET Community
WCF provides us a facility to specify the fault behavior of our service. It provides a FaultException Class. Whenever our service implementation
11 Oct 2013 by ASP.NET Community
The process of serialization converts an object into a form so that it can be transported across the network or can be placed in a storage location.
10 Oct 2017 by Atlapure Ambrish
You should simply return your object, and shouldn't be concerned about whether its XML or JSON. It is the client's responsibility to request JSON or XML from the web api. To test this I would simply use Fiddlder and make a request to the web api by specifying request header (either json or...
22 Jun 2013 by Avatar1980
I would ask you for your help! DateTime date = Convert.ToDateTime("1900-01-01");VisionSoapClient vsc = new VisionSoapClient();System.Xml.Linq.XElement xdata = vsc.GetCikkek(date);string path = "/ramiris/cikkek.xml";xdata.Save(Server.MapPath(path));I get the following error...
10 Jun 2013 by Aydin Homay
HiYou can do that easily don`t worry just follow these links:Consuming a Web Service .NET with VB6.0 App[^]http://msdn.microsoft.com/en-us/library/aa730836(v=vs.80).aspx[^]and if you want to use SOAP...
24 Jun 2014 by Bbhushan001
Hi all,I have created SOAP web service client from WSDL, while calling service i am getting this errorSSIS package "Automation.dtsx" starting.Error: 0x1 at Generates XML file & Update variable: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an...
6 Nov 2011 by Be Yourself
I have created a SOAPEnvelop and I want to invoke a webservice action element by passing this soap envelop as input.Again I want to receive the response as a SOAPEnvelop which I can decode to get the output.Whether there is some performance decrement doing this?I am new to web...
17 Nov 2011 by Be Yourself
I am using Axis2 platform for my web service.But I am not expert in this field.I am invoking this web service from my java application by passing a SOAP envelop the web service defined methods accept an array of object as input and returns an array of object of similar type.I wanted to...
30 Jan 2016 by Beginner Luck
This is for msdn How to: Send and Receive a SOAP Message By Using the SoapClient and SoapService Classes[^]
18 Feb 2014 by Bernhard Hiller
You have to deploy the NewtonSoft.Json libraries also on the web server, not only on your development machine.
4 Jul 2014 by blackh4t
First of all to note that I am calling link?wsdl web service. I am using Visual Studio 2010 and I have created Windows Phone application.I added a New service reference to the WebService, and it generated all of the classes in a proper way. Next what I did is I wrote the bellow code in order...
11 Feb 2015 by Brinda Lakhani
Hello friends,I am developing a window application in C#.I want to consume the data from web service in my window application using soap and that web service is developed in PHP. So how can I do it?Also, I want to ask that, Can I pass URL directly in code without adding web reference?
12 Dec 2012 by Bruce Hsu
Hi, allI am developing ONVIF application base on gSOAP.When I try to pull event from IPCAMs, some problems appeared.I called CreatePullPointSubscription to subscript events from IPCAM, then I called PullMessages along with the entry point provided by previous...
16 Apr 2013 by cchubz
hello! i have a c++ client source code as follows : // prepare request data Client_Operation::Client_OperationServiceRequest^ request = gcnew Client_Operation::Client_OperationServiceRequest(); System::IO::FileStream^ wcstream = gcnew System::IO::FileStream (gcnew...
18 Oct 2012 by Chaitalee Thakar
Its is error from web service response side , what are you getting from web service is importane...if you are getting single string from web service like "Hello World" then use SoapPrimitive in response ...if you are getting non-single like array or xml then use SoapObject...check it out..
18 Oct 2012 by Chaitalee Thakar
Check thisString SOAP_ACTION = "http://tempuri.org/your method"; String METHOD_NAME = "your method"; String SOAP_ACTION_1 = "http://tempuri.org/your method one"; String METHOD_NAME_1 = "your method one"; String SOAP_ACTION_2 = "http://tempuri.org/your method...
11 Dec 2014 by Chinna Suresh
i want to create a WCF service which accepts a XML file and send response by filtering the data from xml received,what my service does it accepts some parameters and filter sql data by the parameters received and send the filtered data to the client.how can i achieve this?Presently i have...
8 Jul 2014 by Chiranthaka Sampath
I have two html text boxes that used to insert two dates and those are taken from JQuery calendar control. I have no doubt in that thing. what I want is I need to pass that 2 dates to a SOAP web service. At that SOAP web service those dates are stored in a dynamical way allowing to change...
15 Jul 2014 by Chiranthaka Sampath
JQuery value must pass to a variable & pass that specific variable to the WebService.
4 Apr 2018 by Chris Guyette
I am a non-technical ecommerce manager that recently started working with an external software development team that is making our API for us. A key concern of mine is to ensure that when external partners call our API, it doesn't overload the system and cause it to freeze/hang/slowdown/timeout....
3 Aug 2011 by Christian Graus
Soap is the protocol used to send webservice data over the web.
25 Aug 2016 by cigwork
The way the question is worded makes me think you've already got the response from the web service but can't extract the info. you want? If so here's one way ...Fake a call to the web service with a read only property returning the data to parse. /// /// The data returned...
21 Feb 2013 by cjb110
I'm writing a WCF client (that will be in a COM component) so I can't use Service References.I've had to take the WSDL generated classes and alter them so that the right SOAP format is passed.I've got the sending working, but I'm not able to process the response properly.I think its...
5 Mar 2019 by Codes DeCodes
I am consuming SOAP web service from my .net application. I have executed the .wsdl file given to me and it is showing the definition content. I have following code that is not giving required response. static void Main(string[] args) { TestService(); ...
12 Jan 2023 by Codes DeCodes
I am consuming SOAP services from my application and I get following XMl content as response consuming .wsdl file in my code. Toyota Fortuner Japan ...
23 Nov 2020 by CodeWraith
For a customer I must implement a SOAP webservice according to their WSDL. I do not know what framework they will use to call the service, but it's not .Net. I have generated the code for the code for the webservice with wsdl.exe (using the...
1 Jan 2012 by CPallini
Your question is wrong on so many layers...Gimme code is not welcomed here, please read the FAQ before posting again.Neither XML nor SOAP are programming languages, hence how do you hope to write a conversion function with them?Converting Fahrenheit to Celsius degrees is a task that even a...
30 Oct 2014 by CPallini
Google helps: "visual c++ soap tutorial"[^].