It is a bad practice to use the same class that is used as ViewModel , which Action passes to View , to return data from a WebService ? (type those methods marked with [WebMethod] )
I do not think so, but it might give me problems...
Good afternoon, I've been trying to make a webservice in PHP that works with SOAP, but I've never been successful. What came closest was working with cURL but after a strange message I can not do it anymore. nothing after this message. Does anyo...
I'm trying to make a parser in an XML file provided by a WebService with open data from incumbent senators at Federal Senate
The XSD file can be found directly by this link . This xsd does not specify a root element, but many roots element...
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...
I have a code in php for access to the bank hosted on a Linux machine, I use the credentials to access it through the terminal.
Normally I would have to use:
java.net.URL url = new URL(URL);
HttpURLConnection httpURLConnection = (HttpURLConnec...
I am trying to consume a SOAP webservice using PHP however access returns me message stating that user validation was not done correctly. The XML that I need to send is the following:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05...
Good night everyone, I am participating in a volunteer project to a group and we have a web application ready, developed in PHP with the Laravel framework. We need a data inclusion form of this application to be created also for mobile environme...
I'm developing an API using java servlet , I'd like to know how to get a JSON in the request body as a parameter and write to a database?
Example:
{
"nome": "José da Silva",
"email": "[email protected]",
"telefone": "(21) 9...
Good afternoon,
I have a problem that is already giving a certain headache. The blessed payload of the request is not being sent to the webservice, only to the url.
My code looks like this:
class Curso:
'''Resgata todas as disciplinas mo...
Hello everyone. I'm trying to get the web service method, but it prints the following result:
Array
(
[faultcode] => S:Client
[faultstring] => org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element 'ns76...