Assign Axis1.4/JAX-RPC soap calls with wss4j (WSDL2Java/Wsimport generated) - repost

Cancelado Postado Jan 22, 2013 Pago na entrega
Cancelado Pago na entrega

Need to sign the XML header of my method calls with the attached methods. i have also attached an XML example of how it must be signed.

I am using (WSDL2Java AxisObjects) Axis 1 (1.4):

---CODE--

NfsePortServiceLocator svc = new NfsePortServiceLocator();

proxy = [url removed, login to view]();

[url removed, login to view](tePopulatedAxisObject);

--------------

OR

JAX-RPC (@XMLAnotations, wsimport artifacts):

---CODE--

NfsePortService svc = new NfsePortService();

NfsePort proxy = [url removed, login to view]();

[url removed, login to view](JAX_RPC_XMLAnotations_Object); // -- XMLObject that Implements [url removed, login to view]

--------------

WSDL: [url removed, login to view]

I already sending all the data i need here, but i just need to implement that header using wss4j.

IMPORTANT NOTE: I will use two kinds of certs, PKCS11 and 12 (PKS and SmartCard), so it need to be a param passing the Certificate object.

Amazon Web Services Java

ID do Projeto: #4164956

Sobre o projeto

Projeto remoto Ativo em Jan 22, 2013