Ok, now i'm forcing the proxy. The script is this one:
Action() { web_set_proxy("192.1.10.34:8080"); web_set_user("USER","PASS","192.1.10.34:8080"); web_set_proxy_bypass("URL"); web_service_call( "StepName=obtenerRequerimiento_101","SOAPMethod=requerimiento|RequerimientoPort|obtenerRequerimiento","SOAPHeader=""<SoapHeader xmlns:wsa=\"http://www.w3.org/2005/08/addressing\">""<wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">""<wsse:UsernameToken wsu:Id=\"UsernameToken-1\">""<wsse:Username>Usua_0401013</wsse:Username>""<wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">usuario1234</wsse:Password>""<wsse:Nonce EncodingType=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary\">ykkpKrhmQ0i9wna5lipsYg==</wsse:Nonce>""<wsu:Created>2014-03-06T21:40:27.887Z</wsu:Created>""</wsse:UsernameToken>""</wsse:Security>""<wsa:Action>http://URL/ejecucion/requerimiento/servicio/1/0/Requerimiento/obtenerRequerimientoRequest</wsa:Action>""<wsa:MessageID>55566688877</wsa:MessageID>""</SoapHeader>","ResponseParam=response","Service=requerimiento","URL=https://URL/ejecucion/requerimiento/Requerimiento_1_0","ExpectedResponse=SoapResult","Snapshot=t1395077211.inf", BEGIN_ARGUMENTS,"xml:SolicitudDeObtencionDeRequerimiento=""<SolicitudDeObtencionDeRequerimiento>""<partida>04</partida>""<capitulo>01</capitulo>""<areaTransaccional>013</areaTransaccional>""<ejercicio>2014</ejercicio>""<folio>1</folio>""</SolicitudDeObtencionDeRequerimiento>", END_ARGUMENTS, BEGIN_RESULT, END_RESULT, LAST); lr_output_message(lr_eval_string("Respuesta: \n{response}")); return 0; }
The response i got is this one:
Starting action Action. Action.c(3): web_set_proxy started [MsgId: MMSG-26355] Action.c(3): web_set_proxy was successful [MsgId: MMSG-26392] Action.c(4): web_set_user started [MsgId: MMSG-26355] Action.c(4): web_set_user was successful [MsgId: MMSG-26392] Action.c(5): web_set_proxy_bypass started [MsgId: MMSG-26355] Action.c(5): web_set_proxy_bypass was successful [MsgId: MMSG-26392] Action.c(7): Web service call "obtenerRequerimiento_101" started Action.c(7): "Content-Type: application/soap+xml; charset=UTF-8" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506] Action.c(7): "Accept: application/soap+xml, application/dime, multipart/related, text/*" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506] Action.c(7): "User-Agent: Axis/1.3" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506] Action.c(7): "SOAPAction: http://URL/ejecucion/requerimiento/servicio/1/0/obtenerRequerimiento/" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506] Action.c(7): "Cache-Control: no-cache" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506] Action.c(7): "Pragma: no-cache" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506] Action.c(7): t=2391ms: Connecting [0] to host 192.168.203.10:443 [MsgId: MMSG-26000] Action.c(7): t=2392ms: Connected socket [0] from 10.10.10.32:3876 to 192.168.203.10:443 in 0 ms [MsgId: MMSG-26000] Action.c(7): t=3500ms: 414-byte request headers for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1) Action.c(7): POST /ejecucion/requerimiento/Requerimiento_1_0 HTTP/1.0\r\n Action.c(7): Content-Type: application/soap+xml; charset=UTF-8\r\n Action.c(7): Accept: application/soap+xml, application/dime, multipart/related, text/*\r\n Action.c(7): User-Agent: Axis/1.3\r\n Action.c(7): SOAPAction: http://URL/ejecucion/requerimiento/servicio/1/0/obtenerRequerimiento Action.c(7): /\r\n Action.c(7): Cache-Control: no-cache\r\n Action.c(7): Pragma: no-cache\r\n Action.c(7): Connection: Keep-Alive\r\n Action.c(7): Host: URL\r\n Action.c(7): Content-Length: 1557\r\n Action.c(7): \r\n Action.c(7): t=3505ms: 1557-byte request body for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1) Action.c(7): <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2 Action.c(7): 003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w Action.c(7): 3.org/2001/XMLSchema-instance"><soapenv:Header><wsse:Security xmlns:wsse="http://docs.oasi Action.c(7): s-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs. Action.c(7): oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:UsernameToke Action.c(7): n wsu:Id="UsernameToken-1"><wsse:Username>USER</wsse:Username><wsse:Password Type= Action.c(7): "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#Passwo Action.c(7): rdText">PASS</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/ws Action.c(7): s/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">ykkpKrhmQ0i9wna5lipsYg= Action.c(7): =</wsse:Nonce><wsu:Created>2014-03-06T21:40:27.887Z</wsu:Created></wsse:UsernameToken></ws Action.c(7): se:Security><wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://URL Action.c(7): /ejecucion/requerimiento/servicio/1/0/Requerimiento/obtenerRequerimientoRequest</wsa:Ac Action.c(7): tion><wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">55566688877</wsa:Mess Action.c(7): ageID></soapenv:Header><soapenv:Body><SolicitudDeObtencionDeRequerimiento xmlns="http://di Action.c(7): pres.gob.cl/ejecucion/requerimiento/contrato/1/0/"><partida xmlns="">04</partida><capitulo Action.c(7): xmlns="">01</capitulo><areaTransaccional xmlns="">013</areaTransaccional><ejercicio xmlns Action.c(7): ="">2014</ejercicio><folio xmlns="">1</folio></SolicitudDeObtencionDeRequerimiento></soape Action.c(7): nv:Body></soapenv:Envelope> Action.c(7): t=4106ms: 183-byte response headers for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1) Action.c(7): HTTP/1.1 200 OK\r\n Action.c(7): Date: Wed, 19 Mar 2014 16:08:52 GMT\r\n Action.c(7): Content-Length: 4781\r\n Action.c(7): Content-Type: application/soap+xml; charset=utf-8\r\n Action.c(7): X-Powered-By: Servlet/2.5 JSP/2.1\r\n Action.c(7): Connection: close\r\n Action.c(7): \r\n Action.c(7): t=4113ms: 4781-byte response body for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1) Action.c(7): <?xml version="1.0" encoding="UTF-8"?>\n Action.c(7): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><S:Body xmlns:S="http: Action.c(7): //www.w3.org/2003/05/soap-envelope"><ns:RespuestaDeObtencionDeRequerimiento xmlns:ns="http Action.c(7): ://URL/ejecucion/requerimiento/contrato/1/0/"><requerimiento><ns1:id xmlns:ns1=" Action.c(7): http://URL/ejecucion/requerimiento/esquema/1/0/">0</ns1:id><ns1:titulo xmlns:ns1 Action.c(7): ="http://URL/ejecucion/requerimiento/esquema/1/0/">Sub 34 Deuda Flotante 2014 Action.c(7): Secretaria General </ns1:titulo><ns1:descripcion xmlns:ns1="http://URL/ejecucio Action.c(7): n/requerimiento/esquema/1/0/">Sub 34 Deuda Flotante 2014</ns1:descripcion><ns1:informaci Action.c(7): onDeTransaccion xmlns:ns1="http://URL/ejecucion/requerimiento/esquema/1/0/"><ns1 Action.c(7): :informacionDeAjuste><ns2:folioTransaccionAjustada xmlns:ns2="http://URL/ejecuci Action.c(7): on/comun/esquema/1/0/"/></ns1:informacionDeAjuste><ns1:informacionDeCreacion><ns1:moneda>N Action.c(7): ACIONAL</ns1:moneda><ns1:demanda>01</ns1:demanda><ns1:presupuesto>0201</ns1:presupuesto></ Action.c(7): ns1:informacionDeCreacion><ns1:tipoTransaccion>CREACION</ns1:tipoTransaccion></ns1:informa Action.c(7): cionDeTransaccion><ns1:agrupacionesDeImputacionesACatalogos xmlns:ns1="http://URL Action.c(7): /ejecucion/requerimiento/esquema/1/0/"><ns1:agrupacion><ns1:idAgrupacionAjustada>630008</ Action.c(7): ns1:idAgrupacionAjustada><ns1:imputacionesACatalogosDeReagrupacion><ns1:imputacion><ns2:ca Action.c(7): talogo xmlns:ns2="http://URL/ejecucion/comun/esquema/1/0/">programaPresupuestari Action.c(7): o</ns2:catalogo><ns2:elemento xmlns:ns2="http://URL/ejecucion/comun/esquema/1/0/ Action.c(7): ">01</ns2:elemento></ns1:imputacion><ns1:imputacion><ns2:catalogo xmlns:ns2="http://URL Action.c(7): /ejecucion/comun/esquema/1/0/">ProgramasInternos</ns2:catalogo><ns2:elemento xmlns: Action.c(7): ns2="http://URL/ejecucion/comun/esquema/1/0/">00</ns2:elemento></ns1:imputacion> Action.c(7): <ns1:imputacion><ns2:catalogo xmlns:ns2="http://URL/ejecucion/comun/esquema/1/0/ Action.c(7): ">UnidadesDemandantes</ns2:catalogo><ns2:elemento xmlns:ns2="http://URL/ejecucio Action.c(7): n/comun/esquema/1/0/">0180</ns2:elemento></ns1:imputacion></ns1:imputacionesACatalogosDeRe Action.c(7): agrupacion><ns1:imputacionesAConceptosPresupuestarios><ns1:imputacion><ns1:idConcepto>3407 Action.c(7): </ns1:idConcepto><ns1:monto>2841092759</ns1:monto><ns1:saldo>0</ns1:saldo><ns1:distribucio Action.c(7): nesPorPeriodo><ns1:distribucion><ns1:idDistribucionAjustada>20327681</ns1:idDistribucionAj Action.c(7): ustada><ns1:periodo>01</ns1:periodo><ns1:montoDistribucion>236757730</ns1:montoDistribucio Action.c(7): n></ns1:distribucion><ns1:distribucion><ns1:idDistribucionAjustada>20327682</ns1:idDistrib Action.c(7): ucionAjustada><ns1:periodo>02</ns1:periodo><ns1:montoDistribucion>236757730</ns1:montoDist Action.c(7): ribucion></ns1:distribucion><ns1:distribucion><ns1:idDistribucionAjustada>20327683</ns1:id Action.c(7): DistribucionAjustada><ns1:periodo>03</ns1:periodo><ns1:montoDistribucion>236757730</ns1:mo Action.c(7): ntoDistribucion></ns1:distribucion><ns1:distribucion><ns1:idDistribucionAjustada>20327684< Action.c(7): /ns1:idDistribucionAjustada><ns1:periodo>04</ns1:periodo><ns1:montoDistribucion>236757730< Action.c(7): /ns1:montoDistribucion></ns1:distribucion><ns1:distribucion><ns1:idDistribucionAjustada>20 Action.c(7): 327685</ns1:idDistribucionAjustada><ns1:periodo>05</ns1:periodo><ns1:montoDistribucion>236 Action.c(7): 757730</ns1:montoDistribucion></ns1:distribucion><ns1:distribucion><ns1:idDistribucionAjus Action.c(7): tada>20327686</ns1:idDistribucionAjustada><ns1:periodo>06</ns1:periodo><ns1:montoDistribuc Action.c(7): ion>236757730</ns1:montoDistribucion></ns1:distribucion><ns1:distribucion><ns1:idDistribuc Action.c(7): ionAjustada>20327687</ns1:idDistribucionAjustada><ns1:periodo>07</ns1:periodo><ns1:montoDi Action.c(7): stribucion>236757730</ns1:montoDistribucion></ns1:distribucion><ns1:distribucion><ns1:idDi Action.c(7): stribucionAjustada>20327688</ns1:idDistribucionAjustada><ns1:periodo>08</ns1:periodo><ns1: Action.c(7): montoDistribucion>236757730</ns1:montoDistribucion></ns1:distribucion><ns1:distribucion><n Action.c(7): s1:idDistribucionAjustada>20327689</ns1:idDistribucionAjustada><ns1:periodo>09</ns1:period Action.c(7): o><ns1:montoDistribucion>236757730</ns1:montoDistribucion></ns1:distribucion><ns1:distribu Action.c(7): cion><ns1:idDistribucionAjustada>20327690</ns1:idDistribucionAjustada><ns1:periodo>10</ns1 Action.c(7): :periodo><ns1:montoDistribucion>236757730</ns1:montoDistribucion></ns1:distribucion><ns1:d Action.c(7): istribucion><ns1:idDistribucionAjustada>20327691</ns1:idDistribucionAjustada><ns1:periodo> Action.c(7): 11</ns1:periodo><ns1:montoDistribucion>236757730</ns1:montoDistribucion></ns1:distribucion Action.c(7): ><ns1:distribucion><ns1:idDistribucionAjustada>20327692</ns1:idDistribucionAjustada><ns1:p Action.c(7): eriodo>12</ns1:periodo><ns1:montoDistribucion>236757729</ns1:montoDistribucion></ns1:distr Action.c(7): ibucion></ns1:distribucionesPorPeriodo></ns1:imputacion></ns1:imputacionesAConceptosPresup Action.c(7): uestarios></ns1:agrupacion></ns1:agrupacionesDeImputacionesACatalogos></requerimiento></ns Action.c(7): :RespuestaDeObtencionDeRequerimiento></S:Body></soap:Envelope> Action.c(7): t=4117ms: Closing connection [0] to URL - server indicated that the connection should be closed [MsgId: MMSG-26000] Action.c(7): t=4118ms: Closed connection [0] to URL:443 after completing 1 request [MsgId: MMSG-26000] Action.c(7): t=4118ms: Request done "https://URL/ejecucion/requerimiento/Requerimiento_1_0" [MsgId: MMSG-26000] Action.c(7): Error:InvokeMethod failed: java.lang.NullPointerException Action.c(7): InvokeMethod trace: com.mercury.ws.exception.ProxyInvocationException: Soap Fault Occured at com.mercury.ws.invoker.JInvoker$JMethodInvoker.invoke(JInvoker.java:2774) at com.mercury.ws.invoker.JInvoker.invoke(JInvoker.java:288) Caused by: java.lang.NullPointerException at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.client.Call.invoke(Call.java:2470) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at .URL.ejecucion.requerimiento.servicio._1._0.RequerimientoBindingStub.obtenerRequerimiento(RequerimientoBindingStub.java:878) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.mercury.ws.invoker.JInvoker$JMethodInvoker.invoke(JInvoker.java:2767) ... 1 more Caused by: java.lang.NullPointerException at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157) at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249) at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) ... 9 more Caused by: java.lang.NullPointerException at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:88) ... 17 more Action.c(7): Error:InvokeMethod failure: AXIS engine threw an exception. Action.c(7): Error:Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters Action.c(7): Error:Web service call "obtenerRequerimiento_101" execution failed Ending action Action.
I have a response, however VUGEN keeps telling i have a problem. In fact, is the correct response: