Questions tagged as 'soap'

0
answers

java error running via jar

I have a code that makes a request to a WS. When I run via NetBeans, the code works perfectly, but when I do via java -jar programa.jar the system has the following error: com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConn...
asked by 26.12.2016 / 18:15
1
answer

Capture return from a WebService

I managed via PHP to connect to a WebService via SOAP, but I can not capture the return data. I made a var_dump in the return variable, and what is displayed on the screen follows below: object(stdClass)[2] public 'BuscaSMPResult' =&g...
asked by 15.12.2016 / 11:19
1
answer

Error in SOAP Request

I've been trying to connect to a WSDL, however, without success. The web service provider passed me a xxx.wsdl file and gave me the credentials for the connection. I've been trying to do the following: $client = new SoapClient('xxx.w...
asked by 18.11.2016 / 14:42
0
answers

PHP7 SOAP problem

I started a project using php 5.6.26 and managed to communicate with the e-frete server via SOAP without any problems. This week I decided to update php to version 7.0.13, and communication via SOAP stopped working. I made several modificatio...
asked by 15.11.2016 / 23:41
0
answers

Make SOAP request with Spring using certificate A1

I'm trying to make a request to send the NFe to the Sefaz SP server, but I'm always getting the certificate error not found. I created a Bean that returns the WebServiceTemplate, and this is my code: @Value("/pathTo/certificate.pfx") private S...
asked by 25.10.2016 / 14:13
0
answers

How to remove SOAP header 'Security'

I'm trying to consume a SOAP 1.2 web service using a WCF client. The problem is, whenever I make a request a MessageSecurityException exception occurs with the following internal message: SOAP header Security was not understood As I...
asked by 01.11.2016 / 19:20
0
answers

Send XML via POST

I have the following example to send XML via POST: public string EnviarXmlSoap(string methodName, string body) { WebRequest webRequest = WebRequest.Create("https://loja-s.tray.com.br/webservice/v2/ws_servidor.php?wsdl"); Ht...
asked by 02.09.2016 / 13:58
2
answers

How to send this Header using NUSoap PHP?

I'm trying to authenticate in a WS but I can not connect, and I can connect and generate a token, but when trying to do other operations with a token I can not fill the header and validate the session, see the herader excerpt: <?xml ver...
asked by 06.07.2016 / 16:07
1
answer

Insert by soapui in a webservice

When I try to insert using soapUI, the following error occurs: org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544347. validation error for column CON_CODIGO, value "*** null ***" at org.firebirdsql.jdbc.AbstractPreparedStatemen...
asked by 30.05.2016 / 15:54