11 years ago
Missing Operation for SoapAction
Dear SmartBear and friends
I´m working with SoapUI version 5.1.1
I am receiving DispatchException on my mockservice when requesting responses from a webservice calling to my Mock.
In logs I can see:
20141022135152981 VM-MSA-PFUN [es.XXXXX.fwk] DEBUG [] [] [XXXXX.framework.statistics.method.start] INICIO |command.webservice.execute|null|http://192.168.2.128:8080/produ/services/consultarUbicacionesArbolMock
20141022135154030 VM-MSA-PFUN [es.XXXXX.fwk.service] ERROR [] [] [es.XXXXX.fwk.broker.2002] Service excecution error. Servicio: "produ.business.ED_ArbolDecisionProductoVenta_Mult.ConsultarUbicacionesArbol" Parámetros: "es.XXXXX.fwk.dto.ServiceDTOImpl@5a9f4d3b[from=<null>,operationName=<null>,serviceId=produ.business.ED_ArbolDecisionProductoVenta_Mult.ConsultarUbicacionesArbol,parameters={codNodoJerarquia=1, ubicacionParcial=null, localeCountry=ES, localeLanguage=es, codResponsable=null, codUsuario=null, filtroUbicacion=existente, localeVariant=MOCKUP_1, codAplicacion=juanmi, listaValoresPosibles=[{codValor=5}]},results={},parameterBindings=<null>,errorList=<null>,executionContext=<null>]"
es.XXXXX.fwk.service.broker.exceptions.BusinessOperationExecutionException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>Missing operation for soapAction [] and body element [{http://www.XXXXX.es/schema/consultarUbicacionesArbolMock}ConsultarUbicacionesArbol] with SOAP Version [SOAP 1.1]</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
at es.XXXXX.fwk.service.broker.command.WebServiceCommand.execute(WebServiceCommand.java:199)
at es.XXXXX.fwk.service.broker.BrokerImpl.execute(BrokerImpl.java:142)
at es.XXXXX.fwk.service.manager.BaseManager.executeBusinessOperation(BaseManager.java:105)
……
Caused by: java.lang.Exception: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>Missing operation for soapAction [] and body element [{http://www.XXXXXX.es/schema/consultarUbicacionesArbolMock}ConsultarUbicacionesArbol] with SOAP Version [SOAP 1.1]</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
at es.XXXXXX.fwk.ws.client.consultarubicacionesarbolmock.consultarubicacionesarbol.ServiceClient.invoke(ServiceClient.java:171)
at es.XXXXXX.fwk.service.broker.command.WebServiceCommand.execute(WebServiceCommand.java:174)
... 54 more
I have lookup up for similar cases for a resolution, I have encountered the following and tried those with no result:
- "Requiere SOAP Action" property to "false" -> It doesn´t work
- "Uncheck HTTP Settings/Logs wire content of all mock requests" -> this is already unchecked
- Post ‘https://forum.loadui.org/viewtopic.php?t=22707’ give me compilation errors. It´s impossible for me translate this solution to my WSDL
Can you help me with my problem?
Best regards.
I´m working with SoapUI version 5.1.1
I am receiving DispatchException on my mockservice when requesting responses from a webservice calling to my Mock.
In logs I can see:
20141022135152981 VM-MSA-PFUN [es.XXXXX.fwk] DEBUG [] [] [XXXXX.framework.statistics.method.start] INICIO |command.webservice.execute|null|http://192.168.2.128:8080/produ/services/consultarUbicacionesArbolMock
20141022135154030 VM-MSA-PFUN [es.XXXXX.fwk.service] ERROR [] [] [es.XXXXX.fwk.broker.2002] Service excecution error. Servicio: "produ.business.ED_ArbolDecisionProductoVenta_Mult.ConsultarUbicacionesArbol" Parámetros: "es.XXXXX.fwk.dto.ServiceDTOImpl@5a9f4d3b[from=<null>,operationName=<null>,serviceId=produ.business.ED_ArbolDecisionProductoVenta_Mult.ConsultarUbicacionesArbol,parameters={codNodoJerarquia=1, ubicacionParcial=null, localeCountry=ES, localeLanguage=es, codResponsable=null, codUsuario=null, filtroUbicacion=existente, localeVariant=MOCKUP_1, codAplicacion=juanmi, listaValoresPosibles=[{codValor=5}]},results={},parameterBindings=<null>,errorList=<null>,executionContext=<null>]"
es.XXXXX.fwk.service.broker.exceptions.BusinessOperationExecutionException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>Missing operation for soapAction [] and body element [{http://www.XXXXX.es/schema/consultarUbicacionesArbolMock}ConsultarUbicacionesArbol] with SOAP Version [SOAP 1.1]</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
at es.XXXXX.fwk.service.broker.command.WebServiceCommand.execute(WebServiceCommand.java:199)
at es.XXXXX.fwk.service.broker.BrokerImpl.execute(BrokerImpl.java:142)
at es.XXXXX.fwk.service.manager.BaseManager.executeBusinessOperation(BaseManager.java:105)
……
Caused by: java.lang.Exception: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>Missing operation for soapAction [] and body element [{http://www.XXXXXX.es/schema/consultarUbicacionesArbolMock}ConsultarUbicacionesArbol] with SOAP Version [SOAP 1.1]</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
at es.XXXXXX.fwk.ws.client.consultarubicacionesarbolmock.consultarubicacionesarbol.ServiceClient.invoke(ServiceClient.java:171)
at es.XXXXXX.fwk.service.broker.command.WebServiceCommand.execute(WebServiceCommand.java:174)
... 54 more
I have lookup up for similar cases for a resolution, I have encountered the following and tried those with no result:
- "Requiere SOAP Action" property to "false" -> It doesn´t work
- "Uncheck HTTP Settings/Logs wire content of all mock requests" -> this is already unchecked
- Post ‘https://forum.loadui.org/viewtopic.php?t=22707’ give me compilation errors. It´s impossible for me translate this solution to my WSDL
Can you help me with my problem?
Best regards.