Questions tagged as 'soapclient'

1
answer

Connection with WebService SOAP WSDL with XML return

I have the following code that works perfectly. The webservice return is XML , but the return I'm getting is a string. What should I do to get XML as a return and not a string? $client = new SoapClient('http://www.roveri.inf.br/ws...
asked by 30.01.2017 / 13:23
1
answer

WCF Receive UTF-8 Response

I'm consuming a third party Webservice through a Console application . I get an object as a return, and on this object I need to read an attribute called ReturnMessage . However, the text is unconfigured, so it looks like thi...
asked by 25.11.2016 / 12:41
1
answer

Connection with WebService SOAP WSDL

I'm trying to get an xml from a Webservice soap wsdl. With the code below I can give a get in your methods. $client = new SoapClient('http://www.roveri.inf.br/ws/cnpj.php?wsdl'); $result = $client->__getFunctions(); print_r($result); R...
asked by 28.01.2017 / 19:29
1
answer

How to send this XML to the webservice via PHP

Good morning, I have the following problem: I need to remove from the site of the city hall which companies issued a note this month. I did the processes to install the city hall certificate, and I need the response of this xml: <...
asked by 17.04.2017 / 14:42
0
answers

Retrieve information from WebService

I have to send an access token to the webservice, this token should be send in an XML like this: POST /webslaptime_deploy/websLapTime.asmx HTTP/1.1 Host: 187.17.175.49 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "h...
asked by 04.04.2018 / 19:29
1
answer

How to feed SELECT with Webservice SOAP in PHP?

I have to list one in a SELECT (html) products of a company using a webservice. Some example code? Customer Code: <?php //cliente //inclusao do arquivo NUSOAP require_once('lib/nusoap.php'); //criacao de uma instancia...
asked by 23.05.2017 / 22:49
0
answers

WebService (XML return) - JAVA

Good morning. I'm trying to make some requests for a web service, but I do not have much experience in the subject and I went to see some forums how to make the connection; In summary, I used jax-B to generate the classes and when I make the req...
asked by 13.11.2018 / 15:00
1
answer

PHP SOAP - SOAP-ERROR

Good afternoon Guys, I'm doing a WEBSERVICE to consume an API from a company. But with the code below the return is always "SOAP-ERROR: Encoding: object has no 'Active' property" I do not know what else to try anyone can give a tip. <?php...
asked by 24.10.2018 / 20:34
0
answers

Perl SOAP :: Lite, problems mounting complex request

I'm trying to consume an API using Perl + SOAP :: Lite, for simple requests I can consume the API and get the result, however I need to make a more complex request to access a given API service and I'm having problems. Below is the code I'm w...
asked by 17.09.2018 / 14:08
0
answers

Problem of Schema Soap Laravel

Hello, guys. I'm trying to connect in a soap webservice using laravel. First the webservice is in a vpn, so I need to do a proxy, however I'm trying to consume. My mistake is this. SoapFault SOAP-ERROR: Parsing Schema: can not import schema. Nam...
asked by 13.09.2018 / 21:45