Forum Discussion
BA_Service_Haus
15 years agoRegular Contributor
Hi Ole,
I tried it with Tomcat and everything worked fine.
I also will attach a simple example project to enable you checking this yourself.
Finaly I must add, that we are modifying the generated mock a little bit. Otherwise it wouldn't run on our WLS at all.
We first add an weblogic.xml file to the mock and build the war-file.
Then we add an weblogic-application.xml file to the war-file and generate an ear-archive of it.
Hope, this helps.
Best regards
Nico
I tried it with Tomcat and everything worked fine.
I also will attach a simple example project to enable you checking this yourself.
Finaly I must add, that we are modifying the generated mock a little bit. Otherwise it wouldn't run on our WLS at all.
We first add an weblogic.xml file to the mock and build the war-file.
<?xml version="1.0" encoding="UTF-8" ?>
- <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-web-app" 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/web-app_2_5.xsd http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<wls:weblogic-version>10.3</wls:weblogic-version>
- <wls:container-descriptor>
<wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled>
</wls:container-descriptor>
</wls:weblogic-web-app>
Then we add an weblogic-application.xml file to the war-file and generate an ear-archive of it.
<?xml version="1.0" encoding="windows-1252" ?>
- <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
- <prefer-application-packages>
<package-name>javax.wsdl.*</package-name>
<package-name>org.w3._2001.xmlschema.*</package-name>
</prefer-application-packages>
</weblogic-application>
Hope, this helps.
Best regards
Nico