Forum Discussion
BA_Service_Haus
14 years agoRegular Contributor
Hi Ole,
as I told you, I'm no expert to WLS.
So I'm not sure where to place/change the weblogic-application.xml.
But I could remember the following steps we used as a workaround earlier:
then I copied the mock file created with soapUI (.war) to the same location as the META-INF folder
finaly I created an .ear file by using the command "jar cfM %MockName%.ear -C %EarFolder%"
After deploying the ear file an calling "http://%myWLS%:7001/%MockName" "log disabled" was shown (which is correct as I disabled log for this mock). So I knew this mock was deployed correctly.
But when trying to call the WSDL using "http://%myWLS%:7001/%MockName/mockSampleServiceSoapBinding?wsdl" the browser still shows "log disabled".
I guess, I did something wrong, but don't know what.
Could you help me with this?
Best regards
Nico
as I told you, I'm no expert to WLS.
So I'm not sure where to place/change the weblogic-application.xml.
But I could remember the following steps we used as a workaround earlier:
- I created a "META-INF" folder and there create a weblogic-application.xml with the following content
<?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>org.apache.xerces.*</package-name>
<package-name>org.apache.xmlbeans.*</package-name>
</prefer-application-packages>
</weblogic-application>
After deploying the ear file an calling "http://%myWLS%:7001/%MockName" "log disabled" was shown (which is correct as I disabled log for this mock). So I knew this mock was deployed correctly.
But when trying to call the WSDL using "http://%myWLS%:7001/%MockName/mockSampleServiceSoapBinding?wsdl" the browser still shows "log disabled".
I guess, I did something wrong, but don't know what.
Could you help me with this?
Best regards
Nico