I had some success with the following steps:
Create WebApp
copy from metro/lib/*.jar to your WebApp WEB-INF/lib
remove from weblogic.jar the files
META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactory
META-INF/services/com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
Create Enterprise Application and assign WebApp
-- In Enterprise Application
/META-INF/weblogic-application.xml with contents:
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application xmlns="
http://www.bea.com/ns/weblogic/90">
<prefer-application-packages>
<package-name>javax.jws.*</package-name>
<package-name>javax.xml.soap.*</package-name>
</prefer-application-packages>
</weblogic-application>
-- In WebApp
/WEB-INF/lib/*.jar (from metro)
/WEB-INF/weblogic.xml with contents:
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
Then I got Policy entries when fetching the ?WSDL and my test client was exchanging ReliableMessaging CreateSequence messages with my web service.
Do note that: I was only prototyping, the above instructions cripple WebLogic, I am not sure Metro/WSIT stack works fine (I am not an expert), not sure WebLogic will work fine after these updates.
Looking forward for a better solution and/or your comments.
[Message sent by forum member 'istergiou' (istergiou)]
http://forums.java.net/jive/thread.jspa?messageID=343793---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...