loopbackio / strong-soap

SOAP driver for Node.js (A complete rewrite of node-soap)
Other
390 stars 159 forks source link

Wsdl correctly parsed in windows but not in ubuntu #42

Closed Cshion closed 7 years ago

Cshion commented 7 years ago

Hi guys , thank you for this package, actually i'm a using as a alternative to node-soap to consume this wsdl , my code is simple like this :

 var soap = require("strong-soap").soap;
  soap.createClient("https://www.sunat.gob.pe/ol-it-wsconscpegem/billConsultService?wsdl", function   (err, client) {
    if (err) {
        console.error(err);
    } else { 
       console.log(client);
        client.getStatusCdr({
            serieComprobante: "",
            numeroComprobante: "",
            tipoComprobante: "",
            rucComprobante: ""
        }, function (err, response) {
            if (err) {
                console.error(err.toString());
            } else {
                //console.log(response);
            }
        })
    }
});

In windows it works , but when run the same code in ubuntu its output is : getStatusCdr is not defined , I was trying to find some error so i checked client instance:

Windows : 
 Definitions {
        services: [Object],
// Function inside services exists
Ubuntu : 
 Definitions {
        services: [],
// Function inside services doesnt exist

Weird stuff , Im using ubuntu 14.04 and strong-soap 0.1.2 , in addition i could say that node-soap output is :

Cannot find dispatch method for {}getStatusCdr

If someone could help me to find a way to check this issue i would appreciate it.

murcialito commented 7 years ago

Having same issue in RHEL 6.7

berendberendsen commented 7 years ago

same issue here with RHEL

rashmihunt commented 7 years ago

@Cshion To debug the problem, can you please turn on debug trace and attach the trace output here? Here is the command to turn on the debug trace when you run your test, say YOUR_TEST.js. 'DEBUG=strong-soap:* node YOUR_TEST.js'

Cshion commented 7 years ago

Thanks for your reply , here is the trace when i try to create the client in Ubuntu :

   strong-soap:soap createClient params: wsdl url: https://www.sunat.gob.pe/ol-it-wsconscpegem/billConsultService?wsdl client options: {} +0ms
      strong-soap:wsdl wsdl open. request_headers: undefined request_options: undefined +2ms
      strong-soap:wsdl WSDL xml: <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/" name="billConsultService">
    <import namespace="http://service.sunat.gob.pe" location="https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?wsdl=1"/>
    <binding xmlns:ns1="http://service.sunat.gob.pe" name="BillConsultServicePortBinding" type="ns1:billService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getStatus">
    <soap:operation soapAction="urn:getStatus"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="getStatusCdr">
    <soap:operation soapAction="urn:getStatusCdr"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="billConsultService">
    <port name="BillConsultServicePort" binding="tns:BillConsultServicePortBinding">
    <soap:address location="https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService"/>
    </port>
    </service>
    </definitions> +184ms
      strong-soap:wsdl Start element: {"name":"definitions","attributes":{"xmlns:soap":"http://schemas.xmlsoap.org/wsdl/soap/","xmlns:tns":"http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns":"http://schemas.xmlsoap.org/wsdl/","targetNamespace":"http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/","name":"billConsultService"},"isSelfClosing":false} +5ms
      strong-soap:wsdl Start element: {"name":"import","attributes":{"namespace":"http://service.sunat.gob.pe","location":"https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?wsdl=1"},"isSelfClosing":true} +1ms
      strong-soap:wsdl WSDL error: Cannot find module './xsd/include'  +20ms
      strong-soap:wsdl End element: import +1ms
      strong-soap:wsdl Start element: {"name":"binding","attributes":{"xmlns:ns1":"http://service.sunat.gob.pe","name":"BillConsultServicePortBinding","type":"ns1:billService"},"isSelfClosing":false} +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'binding',
      prefix: '',
      name: 'binding',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: { ns1: 'http://service.sunat.gob.pe' },
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'BillConsultServicePortBinding',
      '$type': 'ns1:billService',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
      strong-soap:wsdl Start element: {"name":"soap:binding","attributes":{"transport":"http://schemas.xmlsoap.org/soap/http","style":"document"},"isSelfClosing":true} +16ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:binding is not allowed within "binding" +0ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:binding',
      prefix: 'soap',
      name: 'binding',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$transport': 'http://schemas.xmlsoap.org/soap/http',
      '$style': 'document',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
      strong-soap:wsdl End element: soap:binding +0ms
      strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatus"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}operation is not allowed within "binding" +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'operation',
      prefix: '',
      name: 'operation',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatus',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:operation","attributes":{"soapAction":"urn:getStatus"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:operation is not allowed within "operation" +0ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:operation',
      prefix: 'soap',
      name: 'operation',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$soapAction': 'urn:getStatus',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:operation +1ms
      strong-soap:wsdl Start element: {"name":"input","attributes":{},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}input is not allowed within "operation" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'input',
      prefix: '',
      name: 'input',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +1ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:body is not allowed within "input" +0ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:body',
      prefix: 'soap',
      name: 'body',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$use': 'literal',
      use: 'literal',
      namespace: undefined,
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:body +1ms
      strong-soap:wsdl End element: input +0ms
      strong-soap:wsdl Start element: {"name":"output","attributes":{},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}output is not allowed within "operation" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'output',
      prefix: '',
      name: 'output',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +1ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:body is not allowed within "output" +0ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:body',
      prefix: 'soap',
      name: 'body',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$use': 'literal',
      use: 'literal',
      namespace: undefined,
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:body +1ms
      strong-soap:wsdl End element: output +0ms
      strong-soap:wsdl End element: operation +0ms
      strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}operation is not allowed within "binding" +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'operation',
      prefix: '',
      name: 'operation',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatusCdr',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:operation","attributes":{"soapAction":"urn:getStatusCdr"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:operation is not allowed within "operation" +1ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:operation',
      prefix: 'soap',
      name: 'operation',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$soapAction': 'urn:getStatusCdr',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:operation +0ms
      strong-soap:wsdl Start element: {"name":"input","attributes":{},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}input is not allowed within "operation" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'input',
      prefix: '',
      name: 'input',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +1ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:body is not allowed within "input" +0ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:body',
      prefix: 'soap',
      name: 'body',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$use': 'literal',
      use: 'literal',
      namespace: undefined,
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:body +0ms
      strong-soap:wsdl End element: input +0ms
      strong-soap:wsdl Start element: {"name":"output","attributes":{},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}output is not allowed within "operation" +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'output',
      prefix: '',
      name: 'output',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:body is not allowed within "output" +0ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:body',
      prefix: 'soap',
      name: 'body',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$use': 'literal',
      use: 'literal',
      namespace: undefined,
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:body +1ms
      strong-soap:wsdl End element: output +0ms
      strong-soap:wsdl End element: operation +0ms
      strong-soap:wsdl End element: binding +0ms
      strong-soap:wsdl Start element: {"name":"service","attributes":{"name":"billConsultService"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'service',
      prefix: '',
      name: 'service',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'billConsultService',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"port","attributes":{"name":"BillConsultServicePort","binding":"tns:BillConsultServicePortBinding"},"isSelfClosing":false} +1ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}port is not allowed within "service" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'port',
      prefix: '',
      name: 'port',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'BillConsultServicePort',
      '$binding': 'tns:BillConsultServicePortBinding',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl Start element: {"name":"soap:address","attributes":{"location":"https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/soap/}soap:address is not allowed within "port" +1ms
      strong-soap:wsdl:element Element created:  SOAPElement {
      nsName: 'soap:address',
      prefix: 'soap',
      name: 'address',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$location': 'https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService',
      targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +0ms
      strong-soap:wsdl End element: soap:address +0ms
      strong-soap:wsdl End element: port +0ms
      strong-soap:wsdl End element: service +0ms
      strong-soap:wsdl End element: definitions +0ms
      strong-soap:wsdl wsdl open. request_headers: undefined request_options: undefined +7ms
      strong-soap:wsdl WSDL xml: <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><definitions xmlns:tns="http://service.sunat.gob.pe" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://service.sunat.gob.pe">
    <types>
    <xsd:schema>
    <xsd:import namespace="http://service.sunat.gob.pe" schemaLocation="https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?xsd=1"/>
    </xsd:schema>
    </types>
    <message name="getStatus">
    <part name="parameters" element="tns:getStatus"/>
    </message>
    <message name="getStatusResponse">
    <part name="parameters" element="tns:getStatusResponse"/>
    </message>
    <message name="getStatusCdr">
    <part name="parameters" element="tns:getStatusCdr"/>
    </message>
    <message name="getStatusCdrResponse">
    <part name="parameters" element="tns:getStatusCdrResponse"/>
    </message>
    <portType name="billService">
    <operation name="getStatus">
    <input message="tns:getStatus"/>
    <output message="tns:getStatusResponse"/>
    </operation>
    <operation name="getStatusCdr">
    <input message="tns:getStatusCdr"/>
    <output message="tns:getStatusCdrResponse"/>
    </operation>
    </portType>
    </definitions> +127ms
      strong-soap:wsdl Start element: {"name":"definitions","attributes":{"xmlns:tns":"http://service.sunat.gob.pe","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns":"http://schemas.xmlsoap.org/wsdl/","targetNamespace":"http://service.sunat.gob.pe"},"isSelfClosing":false} +1ms
      strong-soap:wsdl Start element: {"name":"types","attributes":{},"isSelfClosing":false} +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'types',
      prefix: '',
      name: 'types',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl Start element: {"name":"xsd:schema","attributes":{},"isSelfClosing":false} +1ms
      strong-soap:wsdl:element Element {http://www.w3.org/2001/XMLSchema}xsd:schema is not allowed within "types" +1ms
      strong-soap:wsdl:element Element created:  XSDElement {
      nsName: 'xsd:schema',
      prefix: 'xsd',
      name: 'schema',
      nsURI: 'http://www.w3.org/2001/XMLSchema',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl Start element: {"name":"xsd:import","attributes":{"namespace":"http://service.sunat.gob.pe","schemaLocation":"https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?xsd=1"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://www.w3.org/2001/XMLSchema}xsd:import is not allowed within "xsd:schema" +0ms
      strong-soap:wsdl:element Element created:  Import {
      nsName: 'xsd:import',
      prefix: 'xsd',
      name: 'import',
      nsURI: 'http://www.w3.org/2001/XMLSchema',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$namespace': 'http://service.sunat.gob.pe',
      '$schemaLocation': 'https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?xsd=1',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl End element: xsd:import +0ms
      strong-soap:wsdl End element: xsd:schema +0ms
      strong-soap:wsdl End element: types +0ms
      strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatus"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'message',
      prefix: '',
      name: 'message',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatus',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatus"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}part is not allowed within "message" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'part',
      prefix: '',
      name: 'part',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'parameters',
      '$element': 'tns:getStatus',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl End element: part +1ms
      strong-soap:wsdl End element: message +0ms
      strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatusResponse"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'message',
      prefix: '',
      name: 'message',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatusResponse',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatusResponse"},"isSelfClosing":true} +1ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}part is not allowed within "message" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'part',
      prefix: '',
      name: 'part',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'parameters',
      '$element': 'tns:getStatusResponse',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl End element: part +1ms
      strong-soap:wsdl End element: message +0ms
      strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'message',
      prefix: '',
      name: 'message',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatusCdr',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatusCdr"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}part is not allowed within "message" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'part',
      prefix: '',
      name: 'part',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'parameters',
      '$element': 'tns:getStatusCdr',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl End element: part +0ms
      strong-soap:wsdl End element: message +0ms
      strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatusCdrResponse"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'message',
      prefix: '',
      name: 'message',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatusCdrResponse',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatusCdrResponse"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}part is not allowed within "message" +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'part',
      prefix: '',
      name: 'part',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'parameters',
      '$element': 'tns:getStatusCdrResponse',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl End element: part +0ms
      strong-soap:wsdl End element: message +0ms
      strong-soap:wsdl Start element: {"name":"portType","attributes":{"name":"billService"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'portType',
      prefix: '',
      name: 'portType',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'billService',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatus"},"isSelfClosing":false} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}operation is not allowed within "portType" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'operation',
      prefix: '',
      name: 'operation',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatus',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl Start element: {"name":"input","attributes":{"message":"tns:getStatus"},"isSelfClosing":true} +1ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}input is not allowed within "operation" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'input',
      prefix: '',
      name: 'input',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$message': 'tns:getStatus',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl End element: input +0ms
      strong-soap:wsdl Start element: {"name":"output","attributes":{"message":"tns:getStatusResponse"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}output is not allowed within "operation" +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'output',
      prefix: '',
      name: 'output',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$message': 'tns:getStatusResponse',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl End element: output +0ms
      strong-soap:wsdl End element: operation +0ms
      strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +2ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}operation is not allowed within "portType" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'operation',
      prefix: '',
      name: 'operation',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$name': 'getStatusCdr',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl Start element: {"name":"input","attributes":{"message":"tns:getStatusCdr"},"isSelfClosing":true} +0ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}input is not allowed within "operation" +0ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'input',
      prefix: '',
      name: 'input',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$message': 'tns:getStatusCdr',
      targetNamespace: 'http://service.sunat.gob.pe' } +1ms
      strong-soap:wsdl End element: input +0ms
      strong-soap:wsdl Start element: {"name":"output","attributes":{"message":"tns:getStatusCdrResponse"},"isSelfClosing":true} +3ms
      strong-soap:wsdl:element Element {http://schemas.xmlsoap.org/wsdl/}output is not allowed within "operation" +1ms
      strong-soap:wsdl:element Element created:  WSDLElement {
      nsName: 'output',
      prefix: '',
      name: 'output',
      nsURI: 'http://schemas.xmlsoap.org/wsdl/',
      parent: null,
      children: [],
      xmlns: {},
      valueKey: '$value',
      xmlKey: '$xml',
      ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
      '$message': 'tns:getStatusCdrResponse',
      targetNamespace: 'http://service.sunat.gob.pe' } +0ms
      strong-soap:wsdl End element: output +0ms
      strong-soap:wsdl End element: operation +1ms
      strong-soap:wsdl End element: portType +0ms
      strong-soap:wsdl End element: definitions +0ms
Cshion commented 7 years ago

Windows :


strong-soap:soap createClient params: wsdl url: https://www.sunat.gob.pe/ol-it-wsconscpegem/billConsultService?wsdl client options: {} +0ms
  strong-soap:wsdl wsdl open. request_headers: undefined request_options: undefined +3ms
  strong-soap:wsdl WSDL xml: <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/" name="billConsultService">
<import namespace="http://service.sunat.gob.pe" location="https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?wsdl=1"/>
<binding xmlns:ns1="http://service.sunat.gob.pe" name="BillConsultServicePortBinding" type="ns1:billService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="getStatus">
<soap:operation soapAction="urn:getStatus"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getStatusCdr">
<soap:operation soapAction="urn:getStatusCdr"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="billConsultService">
<port name="BillConsultServicePort" binding="tns:BillConsultServicePortBinding">
<soap:address location="https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService"/>
</port>
</service>
</definitions> +195ms
  strong-soap:wsdl Start element: {"name":"definitions","attributes":{"xmlns:soap":"http://schemas.xmlsoap.org/wsdl/soap/","xmlns:tns":"http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns":"http://schemas.xmlsoap.org/wsdl/","targetNamespace":"http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/","name":"billConsultService"},"isSelfClosing":false} +11ms
  strong-soap:wsdl Start element: {"name":"import","attributes":{"namespace":"http://service.sunat.gob.pe","location":"https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?wsdl=1"},"isSelfClosing":true} +4ms
  strong-soap:wsdl:element Element created:  Import {
  nsName: 'import',
  prefix: '',
  name: 'import',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$namespace': 'http://service.sunat.gob.pe',
  '$location': 'https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?wsdl=1',
  schemas: {},
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +63ms
  strong-soap:wsdl End element: import +22ms
  strong-soap:wsdl Start element: {"name":"binding","attributes":{"xmlns:ns1":"http://service.sunat.gob.pe","name":"BillConsultServicePortBinding","type":"ns1:billService"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Binding {
  nsName: 'binding',
  prefix: '',
  name: 'binding',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: { ns1: 'http://service.sunat.gob.pe' },
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'BillConsultServicePortBinding',
  '$type': 'ns1:billService',
  transport: '',
  style: '',
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl Start element: {"name":"soap:binding","attributes":{"transport":"http://schemas.xmlsoap.org/soap/http","style":"document"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  SOAPElement {
  nsName: 'soap:binding',
  prefix: 'soap',
  name: 'binding',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$transport': 'http://schemas.xmlsoap.org/soap/http',
  '$style': 'document',
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +3ms
  strong-soap:wsdl End element: soap:binding +2ms
  strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatus"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Operation {
  nsName: 'operation',
  prefix: '',
  name: 'operation',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatus',
  faults: [],
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
  strong-soap:wsdl Start element: {"name":"soap:operation","attributes":{"soapAction":"urn:getStatus"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  SOAPElement {
  nsName: 'soap:operation',
  prefix: 'soap',
  name: 'operation',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$soapAction': 'urn:getStatus',
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl End element: soap:operation +4ms
  strong-soap:wsdl Start element: {"name":"input","attributes":{},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Input {
  nsName: 'input',
  prefix: '',
  name: 'input',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Body {
  nsName: 'soap:body',
  prefix: 'soap',
  name: 'body',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$use': 'literal',
  use: 'literal',
  namespace: undefined,
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl End element: soap:body +1ms
  strong-soap:wsdl End element: input +2ms
  strong-soap:wsdl Start element: {"name":"output","attributes":{},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Output {
  nsName: 'output',
  prefix: '',
  name: 'output',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
  strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +4ms
  strong-soap:wsdl:element Element created:  Body {
  nsName: 'soap:body',
  prefix: 'soap',
  name: 'body',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$use': 'literal',
  use: 'literal',
  namespace: undefined,
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl End element: soap:body +2ms
  strong-soap:wsdl End element: output +1ms
  strong-soap:wsdl End element: operation +1ms
  strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Operation {
  nsName: 'operation',
  prefix: '',
  name: 'operation',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdr',
  faults: [],
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
  strong-soap:wsdl Start element: {"name":"soap:operation","attributes":{"soapAction":"urn:getStatusCdr"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  SOAPElement {
  nsName: 'soap:operation',
  prefix: 'soap',
  name: 'operation',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$soapAction': 'urn:getStatusCdr',
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +4ms
  strong-soap:wsdl End element: soap:operation +2ms
  strong-soap:wsdl Start element: {"name":"input","attributes":{},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Input {
  nsName: 'input',
  prefix: '',
  name: 'input',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Body {
  nsName: 'soap:body',
  prefix: 'soap',
  name: 'body',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$use': 'literal',
  use: 'literal',
  namespace: undefined,
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
  strong-soap:wsdl End element: soap:body +3ms
  strong-soap:wsdl End element: input +1ms
  strong-soap:wsdl Start element: {"name":"output","attributes":{},"isSelfClosing":false} +4ms
  strong-soap:wsdl:element Element created:  Output {
  nsName: 'output',
  prefix: '',
  name: 'output',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
  strong-soap:wsdl Start element: {"name":"soap:body","attributes":{"use":"literal"},"isSelfClosing":true} +4ms
  strong-soap:wsdl:element Element created:  Body {
  nsName: 'soap:body',
  prefix: 'soap',
  name: 'body',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$use': 'literal',
  use: 'literal',
  namespace: undefined,
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +1ms
  strong-soap:wsdl End element: soap:body +2ms
  strong-soap:wsdl End element: output +1ms
  strong-soap:wsdl End element: operation +2ms
  strong-soap:wsdl End element: binding +1ms
  strong-soap:wsdl Start element: {"name":"service","attributes":{"name":"billConsultService"},"isSelfClosing":false} +5ms
  strong-soap:wsdl:element Element created:  Service {
  nsName: 'service',
  prefix: '',
  name: 'service',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'billConsultService',
  ports: {},
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +2ms
  strong-soap:wsdl Start element: {"name":"port","attributes":{"name":"BillConsultServicePort","binding":"tns:BillConsultServicePortBinding"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Port {
  nsName: 'port',
  prefix: '',
  name: 'port',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'BillConsultServicePort',
  '$binding': 'tns:BillConsultServicePortBinding',
  location: null,
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +3ms
  strong-soap:wsdl Start element: {"name":"soap:address","attributes":{"location":"https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService"},"isSelfClosing":true} +3ms
  strong-soap:wsdl:element Element created:  SOAPElement {
  nsName: 'soap:address',
  prefix: 'soap',
  name: 'address',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/soap/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$location': 'https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService',
  targetNamespace: 'http://service.ws.consulta.comppago.electronico.registro.servicio2.sunat.gob.pe/' } +5ms
  strong-soap:wsdl End element: soap:address +3ms
  strong-soap:wsdl End element: port +2ms
  strong-soap:wsdl End element: service +1ms
  strong-soap:wsdl End element: definitions +1ms
  strong-soap:wsdl wsdl open. request_headers: undefined request_options: undefined +12ms
  strong-soap:wsdl WSDL xml: <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><definitions xmlns:tns="http://service.sunat.gob.pe" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://service.sunat.gob.pe">
<types>
<xsd:schema>
<xsd:import namespace="http://service.sunat.gob.pe" schemaLocation="https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?xsd=1"/>
</xsd:schema>
</types>
<message name="getStatus">
<part name="parameters" element="tns:getStatus"/>
</message>
<message name="getStatusResponse">
<part name="parameters" element="tns:getStatusResponse"/>
</message>
<message name="getStatusCdr">
<part name="parameters" element="tns:getStatusCdr"/>
</message>
<message name="getStatusCdrResponse">
<part name="parameters" element="tns:getStatusCdrResponse"/>
</message>
<portType name="billService">
<operation name="getStatus">
<input message="tns:getStatus"/>
<output message="tns:getStatusResponse"/>
</operation>
<operation name="getStatusCdr">
<input message="tns:getStatusCdr"/>
<output message="tns:getStatusCdrResponse"/>
</operation>
</portType>
</definitions> +108ms
  strong-soap:wsdl Start element: {"name":"definitions","attributes":{"xmlns:tns":"http://service.sunat.gob.pe","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns":"http://schemas.xmlsoap.org/wsdl/","targetNamespace":"http://service.sunat.gob.pe"},"isSelfClosing":false} +4ms
  strong-soap:wsdl Start element: {"name":"types","attributes":{},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Types {
  nsName: 'types',
  prefix: '',
  name: 'types',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  schemas: {},
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"xsd:schema","attributes":{},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Schema {
  nsName: 'xsd:schema',
  prefix: 'xsd',
  name: 'schema',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  complexTypes: {},
  simpleTypes: {},
  elements: {},
  includes: [],
  groups: {},
  attributes: {},
  attributeGroups: {},
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"xsd:import","attributes":{"namespace":"http://service.sunat.gob.pe","schemaLocation":"https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?xsd=1"},"isSelfClosing":true} +3ms
  strong-soap:wsdl:element Element created:  Import {
  nsName: 'xsd:import',
  prefix: 'xsd',
  name: 'import',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$namespace': 'http://service.sunat.gob.pe',
  '$schemaLocation': 'https://www.sunat.gob.pe:443/ol-it-wsconscpegem/billConsultService?xsd=1',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xsd:import +2ms
  strong-soap:wsdl End element: xsd:schema +1ms
  strong-soap:wsdl End element: types +1ms
  strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatus"},"isSelfClosing":false} +3ms
  strong-soap:wsdl:element Element created:  Message {
  nsName: 'message',
  prefix: '',
  name: 'message',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatus',
  parts: {},
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatus"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Part {
  nsName: 'part',
  prefix: '',
  name: 'part',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'parameters',
  '$element': 'tns:getStatus',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: part +2ms
  strong-soap:wsdl End element: message +1ms
  strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatusResponse"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Message {
  nsName: 'message',
  prefix: '',
  name: 'message',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusResponse',
  parts: {},
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatusResponse"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Part {
  nsName: 'part',
  prefix: '',
  name: 'part',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'parameters',
  '$element': 'tns:getStatusResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +5ms
  strong-soap:wsdl End element: part +2ms
  strong-soap:wsdl End element: message +1ms
  strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Message {
  nsName: 'message',
  prefix: '',
  name: 'message',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdr',
  parts: {},
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatusCdr"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Part {
  nsName: 'part',
  prefix: '',
  name: 'part',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'parameters',
  '$element': 'tns:getStatusCdr',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: part +6ms
  strong-soap:wsdl End element: message +2ms
  strong-soap:wsdl Start element: {"name":"message","attributes":{"name":"getStatusCdrResponse"},"isSelfClosing":false} +0ms
  strong-soap:wsdl:element Element created:  Message {
  nsName: 'message',
  prefix: '',
  name: 'message',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdrResponse',
  parts: {},
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"part","attributes":{"name":"parameters","element":"tns:getStatusCdrResponse"},"isSelfClosing":true} +3ms
  strong-soap:wsdl:element Element created:  Part {
  nsName: 'part',
  prefix: '',
  name: 'part',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'parameters',
  '$element': 'tns:getStatusCdrResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: part +2ms
  strong-soap:wsdl End element: message +4ms
  strong-soap:wsdl Start element: {"name":"portType","attributes":{"name":"billService"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  PortType {
  nsName: 'portType',
  prefix: '',
  name: 'portType',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'billService',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatus"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Operation {
  nsName: 'operation',
  prefix: '',
  name: 'operation',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatus',
  faults: [],
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"input","attributes":{"message":"tns:getStatus"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Input {
  nsName: 'input',
  prefix: '',
  name: 'input',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$message': 'tns:getStatus',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: input +2ms
  strong-soap:wsdl Start element: {"name":"output","attributes":{"message":"tns:getStatusResponse"},"isSelfClosing":true} +5ms
  strong-soap:wsdl:element Element created:  Output {
  nsName: 'output',
  prefix: '',
  name: 'output',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$message': 'tns:getStatusResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +3ms
  strong-soap:wsdl End element: output +2ms
  strong-soap:wsdl End element: operation +2ms
  strong-soap:wsdl Start element: {"name":"operation","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  Operation {
  nsName: 'operation',
  prefix: '',
  name: 'operation',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdr',
  faults: [],
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"input","attributes":{"message":"tns:getStatusCdr"},"isSelfClosing":true} +4ms
  strong-soap:wsdl:element Element created:  Input {
  nsName: 'input',
  prefix: '',
  name: 'input',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$message': 'tns:getStatusCdr',
  targetNamespace: 'http://service.sunat.gob.pe' } +3ms
  strong-soap:wsdl End element: input +2ms
  strong-soap:wsdl Start element: {"name":"output","attributes":{"message":"tns:getStatusCdrResponse"},"isSelfClosing":true} +6ms
  strong-soap:wsdl:element Element created:  Output {
  nsName: 'output',
  prefix: '',
  name: 'output',
  nsURI: 'http://schemas.xmlsoap.org/wsdl/',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$message': 'tns:getStatusCdrResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: output +5ms
  strong-soap:wsdl End element: operation +2ms
  strong-soap:wsdl End element: portType +1ms
  strong-soap:wsdl End element: definitions +1ms
  strong-soap:wsdl wsdl open. request_headers: undefined request_options: undefined +8ms
  strong-soap:wsdl WSDL xml: <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><xs:schema xmlns:tns="http://service.sunat.gob.pe" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://service.sunat.gob.pe">

<xs:element name="getStatus" type="tns:getStatus"/>

<xs:element name="getStatusCdr" type="tns:getStatusCdr"/>

<xs:element name="getStatusCdrResponse" type="tns:getStatusCdrResponse"/>

<xs:element name="getStatusResponse" type="tns:getStatusResponse"/>

<xs:complexType name="getStatus">
<xs:sequence>
<xs:element name="rucComprobante" type="xs:string" minOccurs="0"/>
<xs:element name="tipoComprobante" type="xs:string" minOccurs="0"/>
<xs:element name="serieComprobante" type="xs:string" minOccurs="0"/>
<xs:element name="numeroComprobante" type="xs:int" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="getStatusResponse">
<xs:sequence>
<xs:element name="status" type="tns:statusResponse" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="statusResponse">
<xs:sequence>
<xs:element name="content" type="xs:base64Binary" minOccurs="0"/>
<xs:element name="statusCode" type="xs:string" minOccurs="0"/>
<xs:element name="statusMessage" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="getStatusCdr">
<xs:sequence>
<xs:element name="rucComprobante" type="xs:string" minOccurs="0"/>
<xs:element name="tipoComprobante" type="xs:string" minOccurs="0"/>
<xs:element name="serieComprobante" type="xs:string" minOccurs="0"/>
<xs:element name="numeroComprobante" type="xs:int" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="getStatusCdrResponse">
<xs:sequence>
<xs:element name="statusCdr" type="tns:statusResponse" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema> +96ms
  strong-soap:wsdl Start element: {"name":"xs:schema","attributes":{"xmlns:tns":"http://service.sunat.gob.pe","xmlns:xs":"http://www.w3.org/2001/XMLSchema","version":"1.0","targetNamespace":"http://service.sunat.gob.pe"},"isSelfClosing":false} +4ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"getStatus","type":"tns:getStatus"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatus',
  '$type': 'tns:getStatus',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"getStatusCdr","type":"tns:getStatusCdr"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdr',
  '$type': 'tns:getStatusCdr',
  targetNamespace: 'http://service.sunat.gob.pe' } +4ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"getStatusCdrResponse","type":"tns:getStatusCdrResponse"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdrResponse',
  '$type': 'tns:getStatusCdrResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +4ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"getStatusResponse","type":"tns:getStatusResponse"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusResponse',
  '$type': 'tns:getStatusResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +3ms
  strong-soap:wsdl Start element: {"name":"xs:complexType","attributes":{"name":"getStatus"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  ComplexType {
  nsName: 'xs:complexType',
  prefix: 'xs',
  name: 'complexType',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatus',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"xs:sequence","attributes":{},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Sequence {
  nsName: 'xs:sequence',
  prefix: 'xs',
  name: 'sequence',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"rucComprobante","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'rucComprobante',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +1ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"tipoComprobante","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +3ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'tipoComprobante',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"serieComprobante","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'serieComprobante',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"numeroComprobante","type":"xs:int","minOccurs":"0"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'numeroComprobante',
  '$type': 'xs:int',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +5ms
  strong-soap:wsdl End element: xs:sequence +1ms
  strong-soap:wsdl End element: xs:complexType +1ms
  strong-soap:wsdl Start element: {"name":"xs:complexType","attributes":{"name":"getStatusResponse"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  ComplexType {
  nsName: 'xs:complexType',
  prefix: 'xs',
  name: 'complexType',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"xs:sequence","attributes":{},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  Sequence {
  nsName: 'xs:sequence',
  prefix: 'xs',
  name: 'sequence',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"status","type":"tns:statusResponse","minOccurs":"0"},"isSelfClosing":true} +3ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'status',
  '$type': 'tns:statusResponse',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +5ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl End element: xs:sequence +2ms
  strong-soap:wsdl End element: xs:complexType +1ms
  strong-soap:wsdl Start element: {"name":"xs:complexType","attributes":{"name":"statusResponse"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  ComplexType {
  nsName: 'xs:complexType',
  prefix: 'xs',
  name: 'complexType',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'statusResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"xs:sequence","attributes":{},"isSelfClosing":false} +3ms
  strong-soap:wsdl:element Element created:  Sequence {
  nsName: 'xs:sequence',
  prefix: 'xs',
  name: 'sequence',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.sunat.gob.pe' } +3ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"content","type":"xs:base64Binary","minOccurs":"0"},"isSelfClosing":true} +3ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'content',
  '$type': 'xs:base64Binary',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl End element: xs:element +3ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"statusCode","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'statusCode',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +3ms
  strong-soap:wsdl End element: xs:element +5ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"statusMessage","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'statusMessage',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl End element: xs:sequence +1ms
  strong-soap:wsdl End element: xs:complexType +2ms
  strong-soap:wsdl Start element: {"name":"xs:complexType","attributes":{"name":"getStatusCdr"},"isSelfClosing":false} +1ms
  strong-soap:wsdl:element Element created:  ComplexType {
  nsName: 'xs:complexType',
  prefix: 'xs',
  name: 'complexType',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdr',
  targetNamespace: 'http://service.sunat.gob.pe' } +4ms
  strong-soap:wsdl Start element: {"name":"xs:sequence","attributes":{},"isSelfClosing":false} +3ms
  strong-soap:wsdl:element Element created:  Sequence {
  nsName: 'xs:sequence',
  prefix: 'xs',
  name: 'sequence',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"rucComprobante","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'rucComprobante',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +5ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"tipoComprobante","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +2ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'tipoComprobante',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +3ms
  strong-soap:wsdl End element: xs:element +3ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"serieComprobante","type":"xs:string","minOccurs":"0"},"isSelfClosing":true} +6ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'serieComprobante',
  '$type': 'xs:string',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"numeroComprobante","type":"xs:int","minOccurs":"0"},"isSelfClosing":true} +1ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'numeroComprobante',
  '$type': 'xs:int',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +5ms
  strong-soap:wsdl End element: xs:sequence +1ms
  strong-soap:wsdl End element: xs:complexType +1ms
  strong-soap:wsdl Start element: {"name":"xs:complexType","attributes":{"name":"getStatusCdrResponse"},"isSelfClosing":false} +2ms
  strong-soap:wsdl:element Element created:  ComplexType {
  nsName: 'xs:complexType',
  prefix: 'xs',
  name: 'complexType',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'getStatusCdrResponse',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl Start element: {"name":"xs:sequence","attributes":{},"isSelfClosing":false} +4ms
  strong-soap:wsdl:element Element created:  Sequence {
  nsName: 'xs:sequence',
  prefix: 'xs',
  name: 'sequence',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  targetNamespace: 'http://service.sunat.gob.pe' } +1ms
  strong-soap:wsdl Start element: {"name":"xs:element","attributes":{"name":"statusCdr","type":"tns:statusResponse","minOccurs":"0"},"isSelfClosing":true} +5ms
  strong-soap:wsdl:element Element created:  Element {
  nsName: 'xs:element',
  prefix: 'xs',
  name: 'element',
  nsURI: 'http://www.w3.org/2001/XMLSchema',
  parent: null,
  children: [],
  xmlns: {},
  valueKey: '$value',
  xmlKey: '$xml',
  ignoredNamespaces: [ 'targetNamespace', 'typedNamespace' ],
  '$name': 'statusCdr',
  '$type': 'tns:statusResponse',
  '$minOccurs': '0',
  targetNamespace: 'http://service.sunat.gob.pe' } +2ms
  strong-soap:wsdl End element: xs:element +2ms
  strong-soap:wsdl End element: xs:sequence +1ms
  strong-soap:wsdl End element: xs:complexType +1ms
  strong-soap:wsdl End element: xs:schema +1ms
Cshion commented 7 years ago

In ubuntu trace , there is : strong-soap:wsdl WSDL error: Cannot find module './xsd/include' +20m , i will try to see whats happening there.

ritch commented 7 years ago

@Cshion thanks for submitting the issue. We'd gladly accept a PR for this, do you mind submitting one?

Cshion commented 7 years ago

I would like to , but i should to study the code more closely this weekend.

michaelrambeau commented 7 years ago

Hello guys, We had a similar problem, we fixed it by installing directly the strong-soap module from Github branch master instead of npm.

"dependencies": {
   "strong-soap": "strongloop/strong-soap#master"
}

It seems that the problem has been corrected on the master branch but not published yet on npm.

There was an issue about a file called xsd/Include.js instead of xsd/include.js and I think this commit solved the problem: https://github.com/strongloop/strong-soap/commit/b5f251531348ad0d1083b79f809a24e2430c05ce

FYI we had to build the lib folder from the src master using babel, running babel src -d lib from the command line.

I hope the fix will be published to npm soon.

rashmihunt commented 7 years ago

@raymondfeng Can you please publish new version of strong-soap to npm? We have also added support for NTLMSecurity which needs to be published on to npm.

rawgen commented 7 years ago

Hello guys, download the master branch(1.1.0) do not resolve this issue for me on ubuntu. Any other solution for this issue?

rawgen commented 7 years ago

After log the object client returned on soap.createclient:

part of code returned on ubuntu:

options: { ignoredNamespaces: [Object], forceSoapVersion: undefined, valueKey: '$value', xmlKey: '$xml', wsdl_headers: undefined, wsdl_options: undefined, ignoreBaseNameSpaces: false, attributesKey: 'attributes', envelopeKey: 'soap' }, definitions: { nsName: 'wsdl:definitions', prefix: 'wsdl', name: 'definitions', nsURI: '', parent: null, children: [Object], xmlns: [Object], valueKey: '$value', xmlKey: '$xml', ignoredNamespaces: [Object], forceSoapVersion: undefined, '$targetNamespace': 'https://www3.bcb.gov.br/wssgs/services/FachadaWSSGS', targetNamespace: 'https://www3.bcb.gov.br/wssgs/services/FachadaWSSGS', messages: {}, portTypes: {}, bindings: {}, services: {}, schemas: {}}

on windows:

options: { ignoredNamespaces: [Object], forceSoapVersion: undefined, valueKey: '$value', xmlKey: '$xml', wsdl_headers: undefined, wsdl_options: undefined, ignoreBaseNameSpaces: false, attributesKey: 'attributes', envelopeKey: 'soap' }, definitions: Definitions { nsName: 'wsdl:definitions', prefix: 'wsdl', name: 'definitions', nsURI: '', parent: null, children: [Object], xmlns: [Object], valueKey: '$value', xmlKey: '$xml', ignoredNamespaces: [Object], forceSoapVersion: undefined, '$targetNamespace': 'https://www3.bcb.gov.br/wssgs/services/FachadaWSSGS ', targetNamespace: 'https://www3.bcb.gov.br/wssgs/services/FachadaWSSGS', messages: [Object], portTypes: [Object], bindings: [Object], services: [Object], schemas: [Object] }

the lasts properties on windows are return value, but at linux are null.

orangewise commented 7 years ago

@michaelrambeau Debugged this for a couple of hours and found the same problem (xsd/Include). Hope there will be a new release soon.

michaelrambeau commented 7 years ago

Hello @raymondfeng ,

3 months later, despite the latest release on npm, the issue I mentioned here https://github.com/strongloop/strong-soap/issues/42#issuecomment-264757443 still exists.

If you install strong-soap from npm (currently v1.2.0), the lib/parser/xsd folder still contains a file named Include.js (uppercase I) instead of include.js (lowercase i)

├── xsd
│   ├── Include.js
│   ├── all.js
│   ├── annotation.js
│   ├── ...

So we still have to install strong-soap from Github master branch and run by ourselves the Babel build process in order to fix the issue found on Ubuntu systems.

It would be great if you (as the person in charge of the npm package) could re-publish the right lib folder on npm. Thank you in advance!

rashmihunt commented 7 years ago

@raymondfeng Somehow npm version was published with \lib directory and it shouldn't be since \lib has to get generated based on the node version, during 'npm install' for strong-soap . Master branch doesn't have \lib Can you please republish this module to npm without \lib directory? On a side note, I think, this is why travis CI is failing for generator-loopback PR.

rashmihunt commented 7 years ago

@michaelrambeau @Cshion I just published version 1.2.2 on npm. This should work. Let me know how it goes. @raymondfeng Latest 1.2.2 version still has \lib directory, but at least with correct filename, include.js When I published 1.2.2, even though 'master' doesn't have \lib and my local master didn't have 'lib' directory and also we have 'lib' directory in .gitignore, it still generated and published 'lib' directory because package.json has this line --> "prepublish": "babel src -d lib". Which means lib got generated prior to publish. Ideally we don't want lib to be generated and published to npm. Should we be changing "prepublish" -> " postpublish" or "install" ? See https://docs.npmjs.com/misc/scripts

rashmihunt commented 7 years ago

@michaelrambeau @Cshion @rawgen I published version 1.2.2 on npm. This should work. Let me know how it goes.

michaelrambeau commented 7 years ago

👍 @rashmihunt Thank you very much for the correction, it works!

rashmihunt commented 7 years ago

Closing the issue since this works for the originator.