Forum Discussion

Kostya2206's avatar
Kostya2206
New Contributor
12 years ago

DispatchException : Missing operation for soap action

Hello all.
I am using SoapUI 4.6.2. and WebLogic Server 10.3.6.0.
The aim is to test webservice mock that is deployed on weblogic server.

When I call the running mock from soapUI everything works fine.
When I generate a war file in soapUI, deploy it on weblogic server as part of ear file and then call the deployed mock webservice it invokes only once and gives a response that I wanted, but when I send a request for a second time the exception appears on weblogic server:



I have tried also to make this with currencyConverter webservice that is shown as an example on soapUI page(http://www.soapui.org/Getting-Started/m ... vices.html). currencyConverter wsdl : http://www.webservicex.net/CurrencyConvertor.asmx?WSDL . But also get the same exception.

weblogic-application.xml :

<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-application xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.3/weblogic-application.xsd">
<!--weblogic-version:10.3.6-->
<wls:application-param>
<wls:param-name>webapp.encoding.default</wls:param-name>
<wls:param-value>UTF-8</wls:param-value>
</wls:application-param>

<wls:prefer-application-packages>
<wls:package-name>antlr.*</wls:package-name>
<wls:package-name>org.apache.log4j.*</wls:package-name>
<wls:package-name>org.apache.commons.net.*</wls:package-name>
<wls:package-name>org.joda.*</wls:package-name>
</wls:prefer-application-packages>

</wls:weblogic-application>


Give me please some suggestions where is the problem and how I can fix it.

Thanks in advance.
Regards,
Kostiantyn
  • Hi,

    There is another post with weblogic and error you are encountering (viewtopic.php?f=13&t=21976) that has been resolved. The deploy as WAR functionality has been fixed in SoapUI 4.6.2 so that should be OK. I believe the last post on forum topic pointed out the naming endpoint for the mock service.
  • Kostya2206's avatar
    Kostya2206
    New Contributor
    mrJames wrote:
    Hi,

    There is another post with weblogic and error you are encountering (viewtopic.php?f=13&t=21976) that has been resolved. The deploy as WAR functionality has been fixed in SoapUI 4.6.2 so that should be OK. I believe the last post on forum topic pointed out the naming endpoint for the mock service.


    Yes, but I still have the same exception with soapui 4.6.2, and when deploy war file on weblogic server directly, not as a part of ear then I have another exception :

    09:51:44,388 ERROR [XmlUtils] Error creating XmlOptions; org.apache.xerces.util.SecurityManager cannot be cast
    to com.sun.org.apache.xerces.internal.util.SecurityManager
    java.lang.ClassCastException: org.apache.xerces.util.SecurityManager cannot be cast to com.sun.org.apache.xerces.internal.util.SecurityManager
  • Kostya2206's avatar
    Kostya2206
    New Contributor
    Kostya2206 wrote:
    mrJames wrote:
    Hi,

    There is another post with weblogic and error you are encountering (viewtopic.php?f=13&t=21976) that has been resolved. The deploy as WAR functionality has been fixed in SoapUI 4.6.2 so that should be OK. I believe the last post on forum topic pointed out the naming endpoint for the mock service.


    The problem is that we have a lot of things on our weblogic server, and maybe some thing affects on mock. We also have some mix of weblogic app server and osb. But when I tried on pure weblogic server it works fine.