Examples of JaxbHelper


Examples of br.com.caelum.stella.nfe.JaxBHelper

    dados.getContent().add(objectFactoryXSD.createConsStatServ(status));
    NfeStatusServico2Soap12 servico = new NfeStatusServico2().getNfeStatusServico2Soap12();
    NfeStatusServicoNF2Result result = servico.nfeStatusServicoNF2(dados, holderCab);
   
    TRetConsStatServ object = new JaxBHelper().unmarshalNode(result.getContent().get(0),TRetConsStatServ.class);
   
    return new StatusServico(object);

  }
View Full Code Here

Examples of br.com.caelum.stella.nfe.JaxBHelper

      ks.getCertificateFor(alias).enableSSLForServer();

      StatusServico consulta = new ConsultaStatusSaoPauloHomolog(VersaoNFE.V_2_00).consulta();

      System.out.println("Serviço ativo: " + consulta.isAtivo());
      System.out.println(new JaxBHelper().toXML(consulta.getResponse()));

    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of com.consol.citrus.admin.jaxb.JAXBHelper

public class SpringBeanServiceTest {
    private SpringBeanService springBeanConfigService = new SpringBeanService();

    @BeforeMethod
    public void beforeMethod() {
        springBeanConfigService.jaxbHelper = new JAXBHelper();
        springBeanConfigService.init();
    }
View Full Code Here

Examples of org.hibernate.metamodel.source.internal.JaxbHelper

  public MetadataSources(BasicServiceRegistry serviceRegistry, EntityResolver entityResolver, NamingStrategy namingStrategy) {
    this.serviceRegistry = serviceRegistry;
    this.entityResolver = entityResolver;
    this.namingStrategy = namingStrategy;

    this.jaxbHelper = new JaxbHelper( this );
    this.metadataBuilder = new MetadataBuilderImpl( this );
  }
View Full Code Here

Examples of org.hibernate.metamodel.source.internal.JaxbHelper

  public MetadataSources(ServiceRegistry serviceRegistry, EntityResolver entityResolver, NamingStrategy namingStrategy) {
    this.serviceRegistry = serviceRegistry;
    this.entityResolver = entityResolver;
    this.namingStrategy = namingStrategy;

    this.jaxbHelper = new JaxbHelper( this );
    this.metadataBuilder = new MetadataBuilderImpl( this );
   
    // service registry really should be either BootstrapServiceRegistry or StandardServiceRegistry type...
    if ( ! isExpectedServiceRegistryType( serviceRegistry ) ) {
      LOG.debugf(
View Full Code Here

Examples of org.hibernate.metamodel.source.internal.JaxbHelper

  public MetadataSources(ServiceRegistry serviceRegistry, EntityResolver entityResolver, NamingStrategy namingStrategy) {
    this.serviceRegistry = serviceRegistry;
    this.entityResolver = entityResolver;
    this.namingStrategy = namingStrategy;

    this.jaxbHelper = new JaxbHelper( this );
    this.metadataBuilder = new MetadataBuilderImpl( this );
  }
View Full Code Here

Examples of org.hibernate.metamodel.source.internal.JaxbHelper

  public MetadataSources(BasicServiceRegistry serviceRegistry, EntityResolver entityResolver, NamingStrategy namingStrategy) {
    this.serviceRegistry = serviceRegistry;
    this.entityResolver = entityResolver;
    this.namingStrategy = namingStrategy;

    this.jaxbHelper = new JaxbHelper( this );
  }
View Full Code Here

Examples of org.hibernate.metamodel.source.internal.JaxbHelper

  public MetadataSources(ServiceRegistry serviceRegistry, EntityResolver entityResolver, NamingStrategy namingStrategy) {
    this.serviceRegistry = serviceRegistry;
    this.entityResolver = entityResolver;
    this.namingStrategy = namingStrategy;

    this.jaxbHelper = new JaxbHelper( this );
    this.metadataBuilder = new MetadataBuilderImpl( this );
   
    // service registry really should be either BootstrapServiceRegistry or StandardServiceRegistry type...
    if ( ! isExpectedServiceRegistryType( serviceRegistry ) ) {
      LOG.debugf(
View Full Code Here

Examples of org.hibernate.metamodel.source.internal.JaxbHelper

  public MetadataSources(BasicServiceRegistry serviceRegistry, EntityResolver entityResolver, NamingStrategy namingStrategy) {
    this.serviceRegistry = serviceRegistry;
    this.entityResolver = entityResolver;
    this.namingStrategy = namingStrategy;

    this.jaxbHelper = new JaxbHelper( this );
    this.metadataBuilder = new MetadataBuilderImpl( this );
  }
View Full Code Here

Examples of org.platformlayer.xml.JaxbHelper

          case XML:
            if (debug != null) {
              debug.println("Data: [XML Content]");
            }

            JaxbHelper jaxbHelper = JaxbHelper.get(sendData.getClass());
            String xml = jaxbHelper.marshal(sendData, false);
            httpRequest.setRequestContent(new Utf8StringByteSource(xml));
            // jaxbHelper.marshal(sendData, false, getOutputStream());
            break;
          case JSON:
            if (debug != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.