-3

I want to consume this Web Service: https://celcer.sri.gob.ec/comprobantes-electronicos-ws/AutorizacionComprobantesOffline?wsdl

The documentation about the Web Service say that I have to send an xml document as a parameter and the web service will return and XML object.

I've already tried in Netbeans creating a new class --> web service client--> wsdl and I got this:

Ref Image

A package named autorizacion.ws.sri.gob.ec and a bunch of classes with him. I'd like to know how can I create a constructor for those classes so I can send XML file as parameter? And how can I use the XML object to see the answers?

Thank you for your help I've been trying this for two weeks.

Harsh
  • 350
  • 1
  • 4
  • 13

1 Answers1

0

In soap-based web service you need to generate java artifact/client. You have multiple options to generate it, Kindly follow the link to get more detail