Re: Problem with Web Services (746 Views)
Reply
Frequent Advisor
Mtunaca
Posts: 57
Registered: ‎02-21-2012
Message 1 of 5 (792 Views)

Problem with Web Services

Hello,

 

I have a Web Service script, that connects to a service called "obtenerRequerimiento", i configure the values and mark the option to save the returned value in parameter .

 

The script looks like this:

 

Action()
{
	web_service_call( "StepName=obtenerRequerimiento_101",
            "SOAPMethod=requerimiento|RequerimientoPort|obtenerRequerimiento",
            "SOAPHeader="
                "<SoapHeader xmlns:wsa=\"http://XXXXX/addressing\">"
                   "<wsse:Security xmlns:wsse=\"http://XXXXX.xsd\" xmlns:wsu=\"http://XXXXX.xsd\">"
                   "<wsse:UsernameToken wsu:Id=\"UsernameToken-1\">"
                   "<wsse:Username>USER</wsse:Username>"
                   "<wsse:Password Type=\"http://XXXXX.0#PasswordText\">PASS</wsse:Password>"
                   "<wsse:Nonce EncodingType=\"http://XXXXX/oasis-200401-wss-soap-message-security-1.0#Base64Binary\">XXXX</wsse:Nonce>"
                   "<wsu:Created>2014-03-06T21:40:27.887Z</wsu:Created>"
                   "</wsse:UsernameToken>"
                   "</wsse:Security>"
                   "<wsa:Action>http://URL/obtenerRequerimientoRequest</wsa:Action>"
                   "<wsa:MessageID>55566688877</wsa:MessageID>"
                   "</SoapHeader>",
        "ResponseParam=response",
		"Service=requerimiento",
		"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,
		"RespuestaDeObtencionDeRequerimiento=Param_RespuestaDeObtencionDeRequerimiento",
		"RespuestaDeObtencionDeRequerimiento/requerimiento=Param_requerimiento",
		"RespuestaDeObtencionDeRequerimiento/requerimiento/id=Param_id",

(...)
		END_RESULT,
		LAST);
return 0;
}

 

 

If i run the script i got this:

 

Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(3): Web service call "obtenerRequerimiento_101" started
Action.c(3): Error: InvokeMethod failed: java.lang.NullPointerException
Action.c(3): Error: InvokeMethod failure: AXIS engine threw an exception.
Action.c(3): Error: Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
Action.c(3): Error: Web service call "obtenerRequerimiento_101" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

 

 

The response in SoapUI is this one:

 

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
 <S:Body xmlns:S="http://www.w3.org/2003/05/soap-envelope">
   <ns:RespuestaDeObtencionDeRequerimiento xmlns:ns="http://URL/">
      <requerimiento>
    <ns1:id xmlns:ns1="http://URL/">0</ns1:id>
            <ns1:titulo xmlns:ns1="http://URL/">Sub 34  Deuda Flotante  2014 Secretaria General</ns1:titulo>
            <ns1:descripcion xmlns:ns1="http://URL/">Sub 34  Deuda Flotante  2014</ns1:descripcion>
            <ns1:informacionDeTransaccion xmlns:ns1="http://URL/">
               <ns1:informacionDeAjuste>
                  <ns2:folioTransaccionAjustada xmlns:ns2="http://URL/"/>
               </ns1:informacionDeAjuste>
               <ns1:informacionDeCreacion>
                  <ns1:moneda>NACIONAL</ns1:moneda>
                  <ns1:demanda>01</ns1:demanda>
                  <ns1:presupuesto>0201</ns1:presupuesto>
               </ns1:informacionDeCreacion>
               <ns1:tipoTransaccion>CREACION</ns1:tipoTransaccion>
            </ns1:informacionDeTransaccion>
            <ns1:agrupacionesDeImputacionesACatalogos xmlns:ns1="http://URL/">
               <ns1:agrupacion>
                  <ns1:idAgrupacionAjustada>630008</ns1:idAgrupacionAjustada>
                  <ns1:imputacionesACatalogosDeReagrupacion>
                    <ns1:imputacion>
                        <ns2:catalogo xmlns:ns2="http://URL/">programaPresupuestario</ns2:catalogo>
                        <ns2:elemento xmlns:ns2="http://URL/">01</ns2:elemento>
                     </ns1:imputacion>
                    <ns1:imputacion>
                        <ns2:catalogo xmlns:ns2="http://URL/">ProgramasInternos</ns2:catalogo>
                        <ns2:elemento xmlns:ns2="http://URL/">00</ns2:elemento>
                     </ns1:imputacion>
                     <ns1:imputacion>
                        <ns2:catalogo xmlns:ns2="http://URL/">UnidadesDemandantes</ns2:catalogo>
                        <ns2:elemento xmlns:ns2="http://URL/">0180</ns2:elemento>
                     </ns1:imputacion>
                  </ns1:imputacionesACatalogosDeReagrupacion>
                  <ns1:imputacionesAConceptosPresupuestarios>
                     <ns1:imputacion>
                       <ns1:idConcepto>3407</ns1:idConcepto>
                        <ns1:monto>2841092759</ns1:monto>
                        <ns1:saldo>0</ns1:saldo>
                        <ns1:distribucionesPorPeriodo>
                           <ns1:distribucion>
                              <ns1:idDistribucionAjustada>20327681</ns1:idDistribucionAjustada>
                              <ns1:periodo>01</ns1:periodo>
                              <ns1:montoDistribucion>236757730</ns1:montoDistribucion>

                           (...)

                           </ns1:distribucion>
                        </ns1:distribucionesPorPeriodo>
                     </ns1:imputacion>
                  </ns1:imputacionesAConceptosPresupuestarios>
               </ns1:agrupacion>
            </ns1:agrupacionesDeImputacionesACatalogos>
       </requerimiento>
      </ns:RespuestaDeObtencionDeRequerimiento>
   </S:Body>
</soap:Envelope>

 

So, the WSDL is OK. The problem is only in VUGEN, what can it be?

Please use plain text.
Occasional Advisor
Phuong_Nguyen
Posts: 6
Registered: ‎08-05-2013
Message 2 of 5 (746 Views)

Re: Problem with Web Services

Hi,

 

Can you set extended log in Run-Time Setting to see the full error log?

I see in the SoapHeader, you are using Security without setting “mustUnderstand”. Do you need to process security in webservice server with a UsernameToken?

 

Thanks

Phuong Nguyen

Please use plain text.
Frequent Advisor
Mtunaca
Posts: 57
Registered: ‎02-21-2012
Message 3 of 5 (739 Views)

Re: Problem with Web Services

[ Edited ]

Hello Phuong Nguyen, thanks for answering.

 

This is the extended log:

 

Starting action Action.
Action.c(3): Web service call "obtenerRequerimiento_101" started
Action.c(3): "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(3): "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(3): "User-Agent: Axis/1.3" header registered for adding to requests from the immediately following Action function  	[MsgId: MMSG-26506]
Action.c(3): "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(3): "Cache-Control: no-cache" header registered for adding to requests from the immediately following Action function  	[MsgId: MMSG-26506]
Action.c(3): "Pragma: no-cache" header registered for adding to requests from the immediately following Action function  	[MsgId: MMSG-26506]
Action.c(3): t=1555ms: Connecting [0] to host 192.1.10.34:8080  	[MsgId: MMSG-26000]
Action.c(3): t=1558ms: Connected socket [0] from 10.10.10.32:3373 to 192.1.10.34:8080 in 2 ms  	[MsgId: MMSG-26000]
Action.c(3): t=1558ms: 192-byte request headers for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1)
Action.c(3):     CONNECT URL:443 HTTP/1.0\r\n
Action.c(3):     User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT)\r\n
Action.c(3):     Host: URL\r\n
Action.c(3):     Proxy-Connection: Keep-Alive\r\n
Action.c(3):     Content-Length: 0\r\n
Action.c(3):     Pragma: No-Cache\r\n
Action.c(3):     \r\n
Action.c(3): t=1565ms: 400-byte response headers for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1)
Action.c(3):     HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulf
Action.c(3):     ill the request. Access to the Web Proxy filter is denied.  )\r\n
Action.c(3):     Via: 1.1 SRVTEAING02\r\n
Action.c(3):     Proxy-Authenticate: Negotiate\r\n
Action.c(3):     Proxy-Authenticate: Kerberos\r\n
Action.c(3):     Proxy-Authenticate: NTLM\r\n
Action.c(3):     Connection: close\r\n
Action.c(3):     Proxy-Connection: close\r\n
Action.c(3):     Pragma: no-cache\r\n
Action.c(3):     Cache-Control: no-cache\r\n
Action.c(3):     Content-Type: text/html\r\n
Action.c(3):     Content-Length: 723   \r\n
Action.c(3):     \r\n
Action.c(3): t=1575ms: 124-byte response body for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1)
Action.c(3):     <HTML><HEAD><TITLE>Error Message</TITLE>\r\n
Action.c(3):     <META http-equiv=Content-Type content="text/html; charset=windows-1252">\r\n
Action.c(3):     <BODY>\r\n
Action.c(3): t=1575ms: 599-byte response body for "https://URL/ejecucion/requerimiento/Requerimiento_1_0" (RelFrameId=1, Internal ID=1)
Action.c(3):     <TABLE><TR><TD id=L_dt_1><B>Network Access Message: The page cannot be displayed<B></TR></
Action.c(3):     TABLE>\r\n
Action.c(3):     <TABLE><TR><TD height=15></TD></TR></TABLE>\r\n
Action.c(3):     <TABLE>\r\n
Action.c(3):     <TR><TD id=L_dt_2>Technical Information (for Support personnel)\r\n
Action.c(3):     <UL>\r\n
Action.c(3):     <LI id=L_dt_3>Error Code: 407 Proxy Authentication Required. The ISA Server requires autho
Action.c(3):     rization to fulfill the request. Access to the Web Proxy filter is denied. (12209)\r\n
Action.c(3):     <LI id=L_dt_4>IP Address: 192.1.10.34\r\n
Action.c(3):     <LI id=L_dt_5>Date: 3/19/2014 1:21:54 PM [GMT]\r\n
Action.c(3):     <LI id=L_dt_6>Server: URL.local\r\n
Action.c(3):     <LI id=L_dt_7>Source: proxy\r\n
Action.c(3):     </UL></TD></TR></TABLE></BODY></HTML>\r\n
Action.c(3): t=1578ms: Closing connection [0] to server 192.1.10.34 - proxy indicated that the connection should be closed  	[MsgId: MMSG-26000]
Action.c(3): t=1578ms: Closed connection [0] to 192.1.10.34:8080 after completing 1 request  	[MsgId: MMSG-26000]
Action.c(3): Error:InvokeMethod failed: Internal Error - connection to "URL" is closed in state STATE_DONE
Action.c(3): 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: org.xml.sax.SAXException: Bad envelope tag:  HTML
	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:436)
	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:60)
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	at org.apache.axis.client.Call.invoke(Call.java:2767)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	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: org.xml.sax.SAXException: Bad envelope tag:  HTML
	at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
	... 15 more
Action.c(3): Error:InvokeMethod failure: AXIS engine threw an exception.
Action.c(3): Error:Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
Action.c(3): Error:Web service call "obtenerRequerimiento_101" execution failed
Ending action Action.

 It shows a problem with the proxy: "Action.c(3): t=1578ms: Closing connection [0] to server 192.1.10.34 - proxy indicated that the connection should be closed".However i configured the proxy when i imported the WSDL.

 

About "mustUnderstand", no, we aren't using that parameter. The WS manager is working in the policy about asking the header and the security (that's what they told me or something like that). The "UsernameToken" is required.

 

Regards.

Please use plain text.
Frequent Advisor
Mtunaca
Posts: 57
Registered: ‎02-21-2012
Message 4 of 5 (736 Views)

Re: Problem with Web Services

[ Edited ]

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\">us...
						"<wsse:Nonce EncodingType=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary\">ykk...
						"<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:

 

Dibujo.JPG

 

Please use plain text.
HP Expert
Editus
Posts: 639
Registered: ‎04-06-2011
Message 5 of 5 (711 Views)

Re: Problem with Web Services

Hello
It looks like you need to enter the security on vugen, the server is responding that you the server closes the connections, it may be the ISA override setting you are using, or some specific setting on the AUT.

hope this helps
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation