0
I am trying to consume the webservice but is giving a mistake that I do not understand. The webservice is this.
I’m trying to use the solicitarRange
, and normally I do so:
new WebServiceScol_Service().getWebServiceScolPort().solicitarRange(
"60618043",
"8o8otn",
8082650,
new Long("9912208555"),
"LE",
"",
1);
Only he’s making the following mistake:
error: package.com.correios.scol.webservice does not exist
import br.com.correios.scol.webservice.Retornofaixanumericato;
He doesn’t even get into the action, he misses us import
, I am using netbeans and it is not error, because classes exist, anyone has any idea?
Manual link here, page 31.
It’s a little messy your question, you mean the code line of the
import
package is giving error?– DH.
Try to make the request with the Soapui. You’ll see the error is occurring on the other side.
– Andre Mesquita
in Soap is working properly, so far I do not understand why the error. He’s saying that the imports I need to make don’t exist... someone has some idea??
– HimorriveL
This error is during execution or compilation?
– Pablo Almeida
I just had it compiled and it worked, apparently that was the problem, I’m going to stir something here I question again
– HimorriveL