This discussion is archived
1 2 Previous Next 15 Replies Latest reply: Sep 12, 2012 6:52 AM by user738507 RSS

Getting a WSClientException during calls from WLP to ODSI

user738507 Newbie
Currently Being Moderated
Hi ODSI Gurus,

We have developed a WLP application that calls ODSI data services using Web Services Mediator Client JAR.

The application usually works fine, however sometimes during the tests this error comes up: com.bea.dsp.das.exception.DASException: com.bea.dsp.das.ws.WSClientException: Can not locate the matching response message in SOAP body

If we retry to execute the same operation it works fine, and normally these operations works with the same parameters values. It looks WLP is receiving an invalid response from ODSI, we didn't find any errors in ODSI server log.

when we have turned on these debug flags in WLP to verify if ODSI was returning an invalid message in SOAP response, It looks like we are getting a response that contains an invalid content
-Dweblogic.StdoutDebugEnabled=true -Dweblogic.webservice.verbose=true -Dweblogic.wsee.verbose=*

I am putting the error message for reference, Can you please help us on how to get this resolved.

Regards,
  • 1. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    2012-07-20 15:49:09,821 ERROR br.com.petrobras.sst.business.exception.handler.SimpleMappingExceptionResolver - Exception thrown executing [AnnotatedAction@162e6554 targetAction = [EvaluateAction@162e6534 expression = facade.findImovel(), resultExpression = flowScope.imoveis], attributes = map[[empty]]] in state 'null' of flow 'manterTecnico' -- action execution attributes were 'map[[empty]]'
    Can not locate the matching response message in SOAP body
    <20/07/2012 15h49min09s BRT> <Warning> <br.com.petrobras.support.portlet.MinimizedAwareDispatcherPortlet> <BEA-000000> <Handler execution resulted in exception - forwarding to resolved error view
    org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@162e6554 targetAction = [EvaluateAction@162e6534 expression = facade.findImovel(), resultExpression = flowScope.imoveis], attributes = map[[empty]]] in state 'null' of flow 'manterTecnico' -- action execution attributes were 'map[[empty]]'
         at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:60)
         at org.springframework.webflow.engine.ActionList.execute(ActionList.java:155)
         at org.springframework.webflow.engine.Flow.start(Flow.java:534)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:364)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.start(RequestControlContextImpl.java:234)
         at org.springframework.webflow.engine.SubflowState.doEnter(SubflowState.java:101)
         at org.springframework.webflow.engine.State.enter(State.java:194)
         at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
         at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)
         at org.springframework.webflow.engine.State.enter(State.java:194)

    .....

         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    br.com.petrobras.sst.business.exception.GenericDataAccessException: findAtivoById; nested exception is com.bea.dsp.das.exception.DASException: com.bea.dsp.das.ws.WSClientException: Can not locate the matching response message in SOAP body
         at br.com.petrobras.sst.business.service.core.ws.TecnicoService.getImovelArea(TecnicoService.java:215)
         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 weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    com.bea.dsp.das.exception.DASException: com.bea.dsp.das.ws.WSClientException: Can not locate the matching response message in SOAP body
         at com.bea.dsp.das.ws.WSConnection.invokeOperation(WSConnection.java:239)
         at com.bea.dsp.das.DataAccessServiceImpl.invokeOperation(DataAccessServiceImpl.java:171)
  • 2. Re: Getting a WSClientException during calls from WLP to ODSI
    mikereiche Pro
    Currently Being Moderated
    The error message indicates that the SOAP Body does not contain an element that corresponds to the operation requested. Is it possible that the Data Service was modified, and the accessed using a WS Mediator client generated from an earlier version? (although that should fail every time).
    when we have turned on these debug flags in WLP to verify if ODSI was returning an invalid message in SOAP response, It looks like we are getting a response that contains an invalid content
    Can you post the SOAP Envelope that is dumped out when you have those flags enabled? Perhaps comparing some 'good' SOAP Envelopes with the bad one would shed some light on the problem.

    Can you post the response from ODSI by turning on Auditing of query results?
    Can you set -Ddsp.ws.debug=true to log output from the ODSI ws? (logged at Debug level).

    - Mike
  • 3. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    Thank you for your valuable input Mike, we will put the debug on ODSI 10.3 Server as well. What puzzles us the most is that the same calls from WLP to ODSI with same parameters works fine.

    Here is the snippet from the out file on the WLP Server.


    <WSEE:21>Content type = text/xml; charset=utf-8<SoapConnection.getContentType:557>
    <WSEE:21>set Message called: weblogic.xml.saaj.SOAPMessageImpl@11afd5bd<SoapMessageContext.setMessage:64>
    <<<#########################
    <<<### RECEIVING Action: ns:findSolicitantePetrobrasByKeyResponse Current party: NtssPortal_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:findSolicitantePetrobrasByKeyResponse xmlns:ns="ld:integration/sst_ws"><ns0:SolicitantePetrobras xmlns:ns0="ld:integration/SolicitantePetrobras"><chave>Y3MP</chave><nome>JOICE DA ROCHA SOARES TAVARES</nome><matricula>43296605</matricula><sapCode>52514937</sapCode><empresa>PETROBRAS</empresa><diretoria/><lotacao>TIC/CPSW/PGOD/TIGP</lotacao><telefones><telefone>2138765320</telefone></telefones><ramais><ramal>8165320</ramal></ramais><gerente><chave>Y847</chave><nome>ERIC CALDERERO ORIENTE</nome><lotacao/></gerente></ns0:SolicitantePetrobras></ns:findSolicitantePetrobrasByKeyResponse></soapenv:Body></soapenv:Envelope>
    <<<#########################
    2012-07-20 15:49:09,299 INFO br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService - br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService.findByKey => Runtime: 516 miliseconds
    2012-07-20 15:49:09,299 INFO br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService - Beginning method: br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService.findByKey
    <WSEE:21>Created<SoapMessageContext.<init>:47>
    <WSEE:21>set Message called: weblogic.xml.saaj.SOAPMessageImpl@11b04dca<SoapMessageContext.setMessage:64>
    <WSEE:21>Parsed header {http://www.bea.com/dsp/webservices/requestconfig}SOAPRequestConfig: <name={http://www.bea.com/dsp/webservices/requestconfig}SOAPRequestConfig> <role=null> <mustUnderstand=false><SoapMsgHeaders.parseHeaders:202>
    <WSEE:21>Read timeout: null<SoapClientConnection.setTimeout:101>
    <WSEE:21>Connection timeout: null<SoapClientConnection.setTimeout:106>
    #########################
    ### SENDING Action: m:findSolicitantePetrobrasByKey Current party: NtssPortal_ To: null
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="ld:integration/sst_ws"><env:Header><req:SOAPRequestConfig xmlns:req="http://www.bea.com/dsp/webservices/requestconfig"/></env:Header><env:Body><m:findSolicitantePetrobrasByKey><chave>Y3MP</chave></m:findSolicitantePetrobrasByKey></env:Body></env:Envelope>
    #########################
    ** S T A R T R E Q U E S T **
    POST http://fauno.petrobras.com.br:31800/NTSS/ALDSPWebService/integration/sst.ws
    Content-Type: text/xml; charset=utf-8

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="ld:integration/sst_ws"><env:Header><req:SOAPRequestConfig xmlns:req="http://www.bea.com/dsp/webservices/requestconfig"/></env:Header><env:Body><m:findSolicitantePetrobrasByKey><chave>Y3MP</chave></m:findSolicitantePetrobrasByKey></env:Body></env:Envelope>
    ** E N D R E Q U E S T **
    <WSEE:21>Message send ok<SoapConnection.send:103>
    ** S T A R T R E S P O N S E **
    200 OK
    null: HTTP/1.1 200 OK
    Date: Fri, 20 Jul 2012 18:49:07 GMT
    Transfer-Encoding: chunked
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1

    ** S T A R T I N P U T S T R E A M **
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:getImovelAreaResponse xmlns:ns="ld:integration/sst_ws"><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB02</SapAreaId><SapAreaName>Alagoas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB04</SapAreaId><SapAreaName>Amazonas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB05</SapAreaId><SapAreaName>Bahia</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB06</SapAreaId><SapAreaName>Ceará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB07</SapAreaId><SapAreaName>Distrito Federal</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB08</SapAreaId><SapAreaName>Espírito Santo</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB09</SapAreaId><SapAreaName>Goias</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB10</SapAreaId><SapAreaName>Maranhão</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB12</SapAreaId><SapAreaName>Mato Grosso do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB13</SapAreaId><SapAreaName>Minas Gerais</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB16</SapAreaId><SapAreaName>Paraná</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB15</SapAreaId><SapAreaName>Paraíba</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB14</SapAreaId><SapAreaName>Pará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB17</SapAreaId><SapAreaName>Pernambuco</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB20</SapAreaId><SapAreaName>Rio Grande do Norte</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB21</SapAreaId><SapAreaName>Rio Grande do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB19</SapAreaId><SapAreaName>Rio de Janeiro</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB24</SapAreaId><SapAreaName>Santa Catarina</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB26</SapAreaId><SapAreaName>Sergipe</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB25</SapAreaId><SapAreaName>São Paulo</SapAreaName></ns0:SubAreaHR></ns:getImovelAreaResponse></soapenv:Body></soapenv:Envelope>** E N D I N P U T S T R E A M **

    ** E N D R E S P O N S E **
  • 4. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    The one with the error: (We will plan to check, if we can capture the error again for the same request, even though we don't know when this can happen again)

    ** S T A R T I N P U T S T R E A M **
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:getImovelAreaResponse xmlns:ns="ld:integration/sst_ws"><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB02</SapAreaId><SapAreaName>Alagoas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB04</SapAreaId><SapAreaName>Amazonas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB05</SapAreaId><SapAreaName>Bahia</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB06</SapAreaId><SapAreaName>Ceará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB07</SapAreaId><SapAreaName>Distrito Federal</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB08</SapAreaId><SapAreaName>Espírito Santo</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB09</SapAreaId><SapAreaName>Goias</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB10</SapAreaId><SapAreaName>Maranhão</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB12</SapAreaId><SapAreaName>Mato Grosso do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB13</SapAreaId><SapAreaName>Minas Gerais</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB16</SapAreaId><SapAreaName>Paraná</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB15</SapAreaId><SapAreaName>Paraíba</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB14</SapAreaId><SapAreaName>Pará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB17</SapAreaId><SapAreaName>Pernambuco</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB20</SapAreaId><SapAreaName>Rio Grande do Norte</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB21</SapAreaId><SapAreaName>Rio Grande do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB19</SapAreaId><SapAreaName>Rio de Janeiro</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB24</SapAreaId><SapAreaName>Santa Catarina</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB26</SapAreaId><SapAreaName>Sergipe</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB25</SapAreaId><SapAreaName>São Paulo</SapAreaName></ns0:SubAreaHR></ns:getImovelAreaResponse></soapenv:Body></soapenv:Envelope>** E N D I N P U T S T R E A M **

    ** E N D R E S P O N S E **
    200 OK
    null: HTTP/1.1 200 OK
    Date: Fri, 20 Jul 2012 18:49:09 GMT
    Transfer-Encoding: chunked
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1

    ** S T A R T I N P U T S T R E A M **
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:findSolicitantePetrobrasByKeyResponse xmlns:ns="ld:integration/sst_ws"><ns0:SolicitantePetrobras xmlns:ns0="ld:integration/SolicitantePetrobras"><chave>Y3MP</chave><nome>JOICE DA ROCHA SOARES TAVARES</nome><matricula>43296605</matricula><sapCode>52514937</sapCode><empresa>PETROBRAS</empresa><diretoria/><lotacao>TIC/CPSW/PGOD/TIGP</lotacao><telefones><telefone>2138765320</telefone></telefones><ramais><ramal>8165320</ramal></ramais><gerente><chave>Y847</chave><nome>ERIC CALDERERO ORIENTE</nome><lotacao/></gerente></ns0:SolicitantePetrobras></ns:findSolicitantePetrobrasByKeyResponse></soapenv:Body></soapenv:Envelope>** E N D I N P U T S T R E A M **

    ** E N D R E S P O N S E **
    <WSEE:21>Content type = text/xml; charset=utf-8<SoapConnection.getContentType:557>
    <WSEE:21>set Message called: weblogic.xml.saaj.SOAPMessageImpl@11b13d44<SoapMessageContext.setMessage:64>
    <<<#########################
    <<<### RECEIVING Action: ns:findSolicitantePetrobrasByKeyResponse Current party: NtssPortal_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:findSolicitantePetrobrasByKeyResponse xmlns:ns="ld:integration/sst_ws"><ns0:SolicitantePetrobras xmlns:ns0="ld:integration/SolicitantePetrobras"><chave>Y3MP</chave><nome>JOICE DA ROCHA SOARES TAVARES</nome><matricula>43296605</matricula><sapCode>52514937</sapCode><empresa>PETROBRAS</empresa><diretoria/><lotacao>TIC/CPSW/PGOD/TIGP</lotacao><telefones><telefone>2138765320</telefone></telefones><ramais><ramal>8165320</ramal></ramais><gerente><chave>Y847</chave><nome>ERIC CALDERERO ORIENTE</nome><lotacao/></gerente></ns0:SolicitantePetrobras></ns:findSolicitantePetrobrasByKeyResponse></soapenv:Body></soapenv:Envelope>
    <<<#########################
    2012-07-20 15:49:09,810 INFO br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService - br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService.findByKey => Runtime: 510 miliseconds
    2012-07-20 15:49:09,814 DEBUG br.com.petrobras.support.DebugFlowExecutionListener - stateEntering e1s1
    2012-07-20 15:49:09,814 DEBUG br.com.petrobras.support.DebugFlowExecutionListener - stateEntered e1s1 previous=[ViewState@129d520c id = 'meusPedidos', flow = 'meusPedidos', entryActionList = list[[empty]], exceptionHandlerSet = list[[empty]], transitions = list[[Transition@129a5f71 on = paginate, to = [null]], [Transition@129a6e80 on = search, to = [null]], [Transition@129b364e on = show, to = pedido], [Transition@129b457e on = incluirComentario, to = incluirComentario], [Transition@129b52be on = alterarSolicitante, to = alterarSolicitante], [Transition@129b620b on = incluirAnexo, to = incluirAnexo], [Transition@129b6f4b on = cancelarPedido, to = cancelarPedido]], exitActionList = list[[empty]], viewFactory = org.springframework.webflow.mvc.portlet.PortletMvcViewFactory@12aec895, variables = map[[empty]], redirect = [null], popup = false] new=[ViewState@1904f9fb id = 'pedido', flow = 'meusPedidos', entryActionList = list[[empty]], exceptionHandlerSet = list[[empty]], transitions = list[[Transition@195eea62 on = show, to = pedido], [Transition@195eea7a on = back, to = meusPedidos], [Transition@195eea88 on = downloadAnexo, to = [null]], [Transition@195eea69 on = enviarCopia, to = pedido]], exitActionList = list[[empty]], viewFactory = org.springframework.webflow.mvc.portlet.PortletMvcViewFactory@1904fdec, variables = map[[empty]], redirect = [null], popup = false]
    2012-07-20 15:49:09,814 DEBUG br.com.petrobras.support.DebugFlowExecutionListener - viewRendering
    <WSEE:72>Content type = text/xml; charset=utf-8<SoapConnection.getContentType:557>
    <WSEE:72>set Message called: weblogic.xml.saaj.SOAPMessageImpl@11435a95<SoapMessageContext.setMessage:64>
    <<<#########################
    <<<### RECEIVING Action: ns:getImovelAreaResponse Current party: NtssPortal_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:getImovelAreaResponse xmlns:ns="ld:integration/sst_ws"><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB02</SapAreaId><SapAreaName>Alagoas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB04</SapAreaId><SapAreaName>Amazonas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB05</SapAreaId><SapAreaName>Bahia</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB06</SapAreaId><SapAreaName>Ceará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB07</SapAreaId><SapAreaName>Distrito Federal</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB08</SapAreaId><SapAreaName>Espírito Santo</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB09</SapAreaId><SapAreaName>Goias</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB10</SapAreaId><SapAreaName>Maranhão</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB12</SapAreaId><SapAreaName>Mato Grosso do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB13</SapAreaId><SapAreaName>Minas Gerais</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB16</SapAreaId><SapAreaName>Paraná</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB15</SapAreaId><SapAreaName>Paraíba</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB14</SapAreaId><SapAreaName>Pará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB17</SapAreaId><SapAreaName>Pernambuco</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB20</SapAreaId><SapAreaName>Rio Grande do Norte</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB21</SapAreaId><SapAreaName>Rio Grande do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB19</SapAreaId><SapAreaName>Rio de Janeiro</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB24</SapAreaId><SapAreaName>Santa Catarina</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB26</SapAreaId><SapAreaName>Sergipe</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB25</SapAreaId><SapAreaName>São Paulo</SapAreaName></ns0:SubAreaHR></ns:getImovelAreaResponse></soapenv:Body></soapenv:Envelope>
    <<<#########################
    2012-07-20 15:49:09,819 INFO br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService - br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService.findByKey => Runtime: 510 miliseconds
    2012-07-20 15:49:09,821 DEBUG br.com.petrobras.support.DebugFlowExecutionListener - exceptionThrown
    2012-07-20 15:49:09,821 DEBUG br.com.petrobras.support.DebugFlowExecutionListener - paused
    2012-07-20 15:49:09,821 DEBUG br.com.petrobras.support.DebugFlowExecutionListener - requestProcessed key=null
    2012-07-20 15:49:09,821 DEBUG br.com.petrobras.support.portlet.MinimizedAwareDispatcherPortlet - processHandlerException renderrequest
    2012-07-20 15:49:09,821 ERROR br.com.petrobras.sst.business.exception.handler.SimpleMappingExceptionResolver - Exception thrown executing [AnnotatedAction@162e6554 targetAction = [EvaluateAction@162e6534 expression = facade.findImovel(), resultExpression = flowScope.imoveis], attributes = map[[empty]]] in state 'null' of flow 'manterTecnico' -- action execution attributes were 'map[[empty]]'
    Can not locate the matching response message in SOAP body
  • 5. Re: Getting a WSClientException during calls from WLP to ODSI
    mikereiche Pro
    Currently Being Moderated
    Hmm.... I see a request m:findSolicitantePetrobrasByKey, and a response ns:findSolicitantePetrobrasByKeyResponse - which seems ok.

    But then I see a response ns:getImovelAreaResponse - where's the corresponding request? Can you post that as well?

    Can you also post the .ws file for the webservices?

    Can you also post your client code?

    Edited by: mikereiche on Aug 6, 2012 11:26 AM
  • 6. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    #########################
    ** S T A R T R E Q U E S T **
    POST http://fauno.petrobras.com.br:31800/NTSS/ALDSPWebService/integration/sst.ws
    Content-Type: text/xml; charset=utf-8

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="ld:integration/sst_ws"><env:Header><req:SOAPRequestConfig xmlns:req="http://www.bea.com/dsp/webservices/requestconfig"/></env:Header><env:Body><m:getImovelArea><CompanyCode>1000</CompanyCode><CountryAcronym>BR</CountryAcronym></m:getImovelArea></env:Body></env:Envelope>
    ** E N D R E Q U E S T **
    <WSEE:72>Message send ok<SoapConnection.send:103>
    ** S T A R T R E S P O N S E **
    200 OK
    null: HTTP/1.1 200 OK
    Date: Fri, 20 Jul 2012 18:49:24 GMT
    Transfer-Encoding: chunked
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1

    ** S T A R T I N P U T S T R E A M **
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:getImovelAreaResponse xmlns:ns="ld:integration/sst_ws"><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB02</SapAreaId><SapAreaName>Alagoas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB04</SapAreaId><SapAreaName>Amazonas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB05</SapAreaId><SapAreaName>Bahia</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB06</SapAreaId><SapAreaName>Ceará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB07</SapAreaId><SapAreaName>Distrito Federal</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB08</SapAreaId><SapAreaName>Espírito Santo</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB09</SapAreaId><SapAreaName>Goias</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB10</SapAreaId><SapAreaName>Maranhão</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB12</SapAreaId><SapAreaName>Mato Grosso do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB13</SapAreaId><SapAreaName>Minas Gerais</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB16</SapAreaId><SapAreaName>Paraná</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB15</SapAreaId><SapAreaName>Paraíba</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB14</SapAreaId><SapAreaName>Pará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB17</SapAreaId><SapAreaName>Pernambuco</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB20</SapAreaId><SapAreaName>Rio Grande do Norte</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB21</SapAreaId><SapAreaName>Rio Grande do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB19</SapAreaId><SapAreaName>Rio de Janeiro</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB24</SapAreaId><SapAreaName>Santa Catarina</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB26</SapAreaId><SapAreaName>Sergipe</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB25</SapAreaId><SapAreaName>São Paulo</SapAreaName></ns0:SubAreaHR></ns:getImovelAreaResponse></soapenv:Body></soapenv:Envelope>** E N D I N P U T S T R E A M **

    ** E N D R E S P O N S E **
    <WSEE:72>Content type = text/xml; charset=utf-8<SoapConnection.getContentType:557>
    <WSEE:72>set Message called: weblogic.xml.saaj.SOAPMessageImpl@13e2852b<SoapMessageContext.setMessage:64>
    <<<#########################
    <<<### RECEIVING Action: ns:getImovelAreaResponse Current party: NtssPortal_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns:getImovelAreaResponse xmlns:ns="ld:integration/sst_ws"><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB02</SapAreaId><SapAreaName>Alagoas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB04</SapAreaId><SapAreaName>Amazonas</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB05</SapAreaId><SapAreaName>Bahia</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB06</SapAreaId><SapAreaName>Ceará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB07</SapAreaId><SapAreaName>Distrito Federal</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB08</SapAreaId><SapAreaName>Espírito Santo</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB09</SapAreaId><SapAreaName>Goias</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB10</SapAreaId><SapAreaName>Maranhão</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB12</SapAreaId><SapAreaName>Mato Grosso do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB13</SapAreaId><SapAreaName>Minas Gerais</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB16</SapAreaId><SapAreaName>Paraná</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB15</SapAreaId><SapAreaName>Paraíba</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB14</SapAreaId><SapAreaName>Pará</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB17</SapAreaId><SapAreaName>Pernambuco</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB20</SapAreaId><SapAreaName>Rio Grande do Norte</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB21</SapAreaId><SapAreaName>Rio Grande do Sul</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB19</SapAreaId><SapAreaName>Rio de Janeiro</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB24</SapAreaId><SapAreaName>Santa Catarina</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB26</SapAreaId><SapAreaName>Sergipe</SapAreaName></ns0:SubAreaHR><ns0:SubAreaHR xmlns:ns0="ld:logical/SubAreaHR"><SapAreaId>PB25</SapAreaId><SapAreaName>São Paulo</SapAreaName></ns0:SubAreaHR></ns:getImovelAreaResponse></soapenv:Body></soapenv:Envelope>
    <<<#########################
    2012-07-20 15:49:25,930 INFO br.com.petrobras.sst.business.service.core.ws.TecnicoService - br.com.petrobras.sst.business.service.core.ws.TecnicoService.getImovelArea => Runtime: 1483 miliseconds
    2012-07-20 15:49:25,930 INFO br.com.petrobras.sst.business.service.core.ws.TecnicoService - Beginning method: br.com.petrobras.sst.business.service.core.ws.TecnicoService.getImovelSubArea
    <WSEE:72>Created<SoapMessageContext.<init>:47>
    <WSEE:72>set Message called: weblogic.xml.saaj.SOAPMessageImpl@13e35219<SoapMessageContext.setMessage:64>
    <WSEE:72>Parsed header {http://www.bea.com/dsp/webservices/requestconfig}SOAPRequestConfig: <name={http://www.bea.com/dsp/webservices/requestconfig}SOAPRequestConfig> <role=null> <mustUnderstand=false><SoapMsgHeaders.parseHeaders:202>
    <WSEE:72>Read timeout: null<SoapClientConnection.setTimeout:101>
    <WSEE:72>Connection timeout: null<SoapClientConnection.setTimeout:106>
    #########################
    ### SENDING Action: m:getImovelSubArea Current party: NtssPortal_ To: null
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="ld:integration/sst_ws"><env:Header><req:SOAPRequestConfig xmlns:req="http://www.bea.com/dsp/webservices/requestconfig"/></env:Header><env:Body><m:getImovelSubArea><CountryAcronym>BR</CountryAcronym></m:getImovelSubArea></env:Body></env:Envelope>
    #########################
  • 7. Re: Getting a WSClientException during calls from WLP to ODSI
    mikereiche Pro
    Currently Being Moderated
    Does this error only occur when there are two different calls almost simultaneously?

    Can you post the code that calls the WSMediator?

    - Mike
  • 8. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    public PaginatedResponse<IPedido> findPaginatedByFilter(PedidoFilter filter, int offset, int limit) {
    ISecurityManager seg =(ISecurityManager) Kernel.getBean("securityManagerCAv3");
    String chaveUsuario = seg.getUser().getChave();

    integration.paginatedresponse.PaginatedResponse result = null;
    try {
    FiltroPedido filtro = mapper.map(filter, FiltroPedido.class);
    result = das.findPedidosByFiltro(filtro, BigInteger.valueOf(offset), BigInteger.valueOf(limit));
    PaginatedResponse<IPedido> response = mapper.map(result, PaginatedResponse.class);

    if(result.getServiceData() != null) {
    for(integration.pedido.Pedido pedido : (List<integration.pedido.Pedido>)result.getServiceData().getList(0)) {
    IPedido p = mapper.map(pedido, br.com.petrobras.sst.entity.impl.Pedido.class);
    IAtividade atividade = atividadeService.findSimpleById(p.getAtividade().getId());
    IArea area = areaService.findSimpleAreaById(atividade.getArea().getId());
    p.setAtividade(atividade);
    p.getAtividade().setArea(area);
    response.getData().add(p);
    }
    }

    return response;
    } catch (DASException dex) {
    throw new GenericDataAccessException("findPaginatedByFilter", dex);
    }
    }
  • 9. Re: Getting a WSClientException during calls from WLP to ODSI
    mikereiche Pro
    Currently Being Moderated
    The source that you posted (findPaginatedByFilter) is not the source where the exception occurs (getImovelArea).

    I suggest you construct a minimal client and dataspace that will produce the problem and send it off to customer support. Customer support will not be able to do anything until they can reproduce the problem in-house.
  • 10. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    Sorry about that:


    public List<ISubArea> getImovelArea(String CompanyCode,String CountryAcronym) {
    List<ISubArea> subArea = new ArrayList<ISubArea>();
    DASResult<SubArea> result = null;
    try {
    result = das.getImovelArea(CompanyCode, CountryAcronym);
    while (result.hasNext()) {
    SubArea subAreaXML = result.next();
    ISubArea area = mapper.map(subAreaXML, br.com.petrobras.sst.entity.impl.SubArea.class);
    subArea.add(area);
    }
    } catch (DASException e) {
    throw new GenericDataAccessException("findAtivoById", e);
    }finally{
    dispose(result);
    }
    return subArea;
    }
  • 11. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    It will have difficulty construct a minimal client that demonstrates the error due to the complexity of the Customer Software solution


    2012-08-07 17:01:37,348 ERROR br.com.petrobras.sst.business.exception.handler.SimpleMappingExceptionResolver - Exception thrown executing [AnnotatedAction@1805d705 targetAction = [EvaluateAction@17f0a385 expression = pedidoFacade.load(requestParameters.pedidoId), resultExpression = flowScope.pedido], attributes = map[[empty]]] in state 'meusPedidos' of flow 'meusPedidos' -- action execution attributes were 'map[[empty]]'
    Can not locate the matching response message in SOAP body
    <07/08/2012 17h01min37s BRT> <Warning> <br.com.petrobras.support.portlet.MinimizedAwareDispatcherPortlet> <BEA-000000> <Handler execution resulted in exception - forwarding to resolved error view
    org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@1805d705 targetAction = [EvaluateAction@17f0a385 expression = pedidoFacade.load(requestParameters.pedidoId), resultExpression = flowScope.pedido], attributes = map[[empty]]] in state 'meusPedidos' of flow 'meusPedidos' -- action execution attributes were 'map[[empty]]'
         at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:60)
         at org.springframework.webflow.engine.support.ActionTransitionCriteria.test(ActionTransitionCriteria.java:82)
         at org.springframework.webflow.engine.support.TransitionCriteriaChain.test(TransitionCriteriaChain.java:71)
         at org.springframework.webflow.engine.Transition.canExecute(Transition.java:195)
         at org.springframework.webflow.engine.Transition.execute(Transition.java:211)
         Truncated. see log file for complete stacktrace
    br.com.petrobras.sst.business.exception.GenericDataAccessException: findByKey; nested exception is com.bea.dsp.das.exception.DASException: com.bea.dsp.das.ws.WSClientException: Can not locate the matching response message in SOAP body
         at br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService.findByKey(SolicitantePetrobrasService.java:40)
         at sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
         Truncated. see log file for complete stacktrace
    com.bea.dsp.das.exception.DASException: com.bea.dsp.das.ws.WSClientException: Can not locate the matching response message in SOAP body
         at com.bea.dsp.das.ws.WSConnection.invokeOperation(WSConnection.java:239)
         at com.bea.dsp.das.DataAccessServiceImpl.invokeOperation(DataAccessServiceImpl.java:171)
         at das.ws.integration.SstDAS.findSolicitantePetrobrasByKey(SstDAS.java:1936)
         at br.com.petrobras.sst.business.service.core.ws.SolicitantePetrobrasService.findByKey(SolicitantePetrobrasService.java:33)
         at sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
         Truncated. see log file for complete stacktrace
    com.bea.dsp.das.ws.WSClientException: Can not locate the matching response message in SOAP body
         at com.bea.dsp.das.ws.SoapCodecHandler.handleResponseInBody(SoapCodecHandler.java:595)
         at com.bea.dsp.das.ws.SoapCodecHandler.handleResponse(SoapCodecHandler.java:320)
         at com.bea.dsp.das.ws.WSConnection.sendRequest(WSConnection.java:219)
         at com.bea.dsp.das.ws.WSConnection.invokeOperation(WSConnection.java:231)
         at com.bea.dsp.das.DataAccessServiceImpl.invokeOperation(DataAccessServiceImpl.java:171)
         Truncated. see log file for complete stacktrace
    >
    2012-08-07 17:01:37,354 DEBUG br.com.petrobras.support.portlet.MinimizedAwareDispatcherPortlet - returning ModelAndView:ModelAndView: reference to view with name 'defError'; model is {exception=org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@1805d705 targetAction = [EvaluateAction@17f0a385 expression = pedidoFacade.load(requestParameters.pedidoId), resultExpression = flowScope.pedido], attributes = map[[empty]]] in state 'meusPedidos' of flow 'meusPedidos' -- action execution attributes were 'map[[empty]]'}

    Edited by: user738507 on Aug 8, 2012 7:45 AM
  • 12. Re: Getting a WSClientException during calls from WLP to ODSI
    user738507 Newbie
    Currently Being Moderated
    here is the ODSI log with the Debug enabled:

    ####<Aug 7, 2012 5:01:37 PM BRT> <Info> <ODSI> <fauno.petrobras.com.br> <AdmFauno31800> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1344369697176> <BEA-000000> <NTSS> <DSPAuditEvent timestamp: Tue Aug 07 17:01:37 BRT 2012 severity: WARNING id: NTSS:8033:Tue Aug 07 17:01:37 BRT 2012 {

    common/application {
    user: <anonymous>
    name: NTSS
    eventkind: evaluation
    server: AdmFauno31800
    }

    query/cache/queryplan {
    type: XQUERY_PLAN_CACHE
    found: true
    }

    query/performance {
    compiletime: 0
    }

    query/wrappers/relational {
    source: sstDS
    sql: SELECT t1."HIAR_CD_AREA" AS c1, t1."HIAR_CD_AREA_PAI" AS c2,
    t1."HIAR_IN_DISPONIBILIZADA_ADMIN" AS c3, t1."HIAR_IN_DISPONIBILIZADA_TECNIC" AS c4,
    t1."HIAR_IN_ESTADO" AS c5, t1."HIAR_IN_NOTIFICA_ABERTURA" AS c6,
    t1."HIAR_IN_NOTIFICA_ATRASADOS" AS c7, t1."HIAR_IN_NOTIFICA_AVAL_RUIM" AS c8,
    t1."HIAR_IN_NOTIFICA_PENDENTES" AS c9, t1."HIAR_IN_RECEPCAO" AS c10,
    t1."HIAR_IN_RELATORIO_SATISFACAO" AS c11, t1."HIAR_PR_META_SATISFACAO" AS c12
    FROM "NTSS_APLICACAO"."HIERARQUIA_AREA" t1
    JOIN "NTSS_APLICACAO"."RESPONSAVEL_AREA" t2
    ON (t2."HIAR_CD_AREA" = t1."HIAR_CD_AREA")
    WHERE (LOWER(t2."REAR_CD_RESPONSAVEL") = ?)
    time: 1
    }

    query/performance {
    evaltime: 1
    }

    query/service {
    function: findAreaByResponsavel
    arity: 1
    dataservice: ld:integration/Area.ds
    query: declare namespace ns0="ld:integration/Area";
    declare namespace ns1="http://www.w3.org/2001/XMLSchema";
    declare variable $__fparam0 as ns1:string external;
    ns0:findAreaByResponsavel($__fparam0)
    }

    common/time {
    timestamp: Tue Aug 07 17:01:37 BRT 2012
    duration: 1
    }

    }>
    ####<Aug 7, 2012 5:01:37 PM BRT> <Info> <ODSI> <fauno.petrobras.com.br> <AdmFauno31800> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1344369697179> <BEA-000000> <NTSS> <DSPAuditEvent timestamp: Tue Aug 07 17:01:37 BRT 2012 severity: WARNING id: NTSS:8034:Tue Aug 07 17:01:37 BRT 2012 {

    common/application {
    user: <anonymous>
    name: NTSS
    eventkind: evaluation
    server: AdmFauno31800
    }

    query/cache/queryplan {
    type: XQUERY_PLAN_CACHE
    found: true
    }

    query/performance {
    compiletime: 0
    }

    query/wrappers/relational {
    source: sstDS
    sql: SELECT t1."HIAR_CD_AREA_ATUACAO" AS c1, t1."TECN_CD_IMOVEL_AREA" AS c2,
    t1."TECN_CD_IMOVEL_SUBAREA" AS c3, t1."TECN_CD_TECNICO" AS c4, t1."TECN_IN_ATIVO" AS c5,
    t1."TECN_IN_CALLCENTER" AS c6, t1."TECN_IN_EMITE_RELATORIO" AS c7,
    t1."TECN_IN_RECEBE_EMAIL" AS c8, t1."TECN_IN_VISUALIZA_OUTRAS_AREAS" AS c9,
    t1."TECN_IN_VISUALIZA_PEDIDO_CONF" AS c10, t1."TECN_IN_VISUALIZA_PEDIDO_RES" AS c11
    FROM "NTSS_APLICACAO"."TECNICO" t1
    WHERE (UPPER(t1."TECN_CD_TECNICO") = ?)
    time: 1
    }

    query/performance {
    evaltime: 1
    }

    query/service {
    function: findTecnicoById_optimized
    arity: 1
    dataservice: ld:integration/Tecnico.ds
    query: declare namespace ns0="ld:integration/Tecnico";
    declare namespace ns1="http://www.w3.org/2001/XMLSchema";
    declare variable $__fparam0 as ns1:string external;
    ns0:findTecnicoById_optimized($__fparam0)
    }

    common/time {
    timestamp: Tue Aug 07 17:01:37 BRT 2012
    duration: 1
    }

    }>
    ####<Aug 7, 2012 5:01:37 PM BRT> <Info> <ODSI> <fauno.petrobras.com.br> <AdmFauno31800> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1344369697337> <BEA-000000> <NTSS> <DSPAuditEvent timestamp: Tue Aug 07 17:01:36 BRT 2012 severity: WARNING id: NTSS:8032:Tue Aug 07 17:01:36 BRT 2012 {

    common/application {
    user: <anonymous>
    name: NTSS
    eventkind: evaluation
    server: AdmFauno31800
    }

    query/cache/queryplan {
    type: XQUERY_PLAN_CACHE
    found: true
    }

    query/performance {
    compiletime: 1
    }

    query/wrappers/ws {
    wsdl: ld:physical/mdif_artifacts/WorkForce_2-1.wsdl
    operation: {ld:physical/WORK_FORCE_2_1}getByKey
    time: 1030
    }

    query/performance {
    evaltime: 1031
    }

    query/service {
    function: findSolicitantePetrobrasByKey
    arity: 1
    dataservice: ld:integration/SolicitantePetrobras.ds
    query: declare namespace ns0="ld:integration/SolicitantePetrobras";
    declare namespace ns1="http://www.w3.org/2001/XMLSchema";
    declare variable $__fparam0 as ns1:string external;
    ns0:findSolicitantePetrobrasByKey($__fparam0)
    }

    common/time {
    timestamp: Tue Aug 07 17:01:36 BRT 2012
    duration: 1033
    }

    }>
  • 13. Re: Getting a WSClientException during calls from WLP to ODSI
    mikereiche Pro
    Currently Being Moderated
    result = das.getImovelArea(CompanyCode, CountryAcronym);

    I suspect you might be sharing the das object among calls. Try creating (and destroying) the das object for every call and see if your problem goes away.
  • 14. Re: Getting a WSClientException during calls from WLP to ODSI
    mikereiche Pro
    Currently Being Moderated
    I assume you fixed your problem?
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points