Questions tagged as 'soap'

1
answer

Error with webservice SOAP using PHP

I'm trying to learn how to webservice using this tutorial: link But my server is returning the following:    Error       Response of type text / xml: text / html This is my client.php : <?php require_once "lib/nusoa...
asked by 06.09.2014 / 05:44
0
answers

Define custom parameters SoapClient PHP

I'm consuming an external webservice via PHP and it requests authentication in a different way, the login and password has to be passed inside the XML. But I'm not able to authenticate. The call to the service is being created as follows. p...
asked by 19.08.2015 / 15:37
1
answer

Webservice SOAP only uses XML?

Working some time with webservice for mobile application I noticed that SOAP uses XML and REST uses JSON . Using SOAP means I have to use only XML ?     
asked by 26.06.2015 / 04:53
1
answer

How to create optional parameters in SoapServer

I'm using the PHP native class to create a Soap server. Example: class Bar { public function getDrink($age, $money, $name) { if ($age >= 18 && $money == 5): $drink = "Heineken"; else: $d...
asked by 19.07.2017 / 16:41
1
answer

Consume Web Service SGS Central Bank Brazil - Dollar Quotation

I was able to generate the (java) client in Eclipse, using the WSDL available at link . The following classes have been generated: package br.gov.bcb.pec.sgs.casosdeuso.ws.comum; WSValorSerieVO WSSerieVO package br.gov.bcb.w...
asked by 24.01.2017 / 18:28
1
answer

Catch data from WebService in Action from C #

I have an application that accesses third-party WebService. To improve the testing process, I'm setting up a Web site to simulate the WebService. This site consists of several Actions, which return the XML, simulating data. This part is ok ....
asked by 26.06.2015 / 20:42
1
answer

What would be the format of data trafficked by a SOAP web service?

In web services that use the REST architecture, the format of the data that is trafficked by the network is XML or JSON, in some cases they can be both. However, I do not know what format the data is that is trafficked in a SOAP web service....
asked by 05.03.2018 / 17:18
1
answer

How to fill an xml (request of a WS SOAP) with Javascript

I have an Ajax function doing a POST for a SOAP webservice and I need to insert values into the request XML elements based on what the page user inserts into an input text. How can I do this? My script looks like this: var soapMessage = '&l...
asked by 30.09.2015 / 11:50
1
answer

Alternative for NuSoap Class

I'm using the NuSoap class to do a webservice. However, when we have the php version for 7.0 or higher, I have problems with codes that are deprecated for this version. I would like to know if there is an alternative to the Nusoap class th...
asked by 19.11.2018 / 12:30
1
answer

How to manipulate the object returned by envelope.getResponse ()?

I'm having trouble catching an object that I retune from my connection to the server, I log in and it returns me a getResponse . response = envelope.getResponse(); In this response comes the client code and system permissions code,...
asked by 26.10.2016 / 12:21