Re: WSIT also in other JEE5 containers?

View: New views
6 Messages — Rating Filter:   Alert me  

Re: WSIT also in other JEE5 containers?

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

currently I'm trying to use the Metro/WSIT Stack within BEA WLS 10.1 or 10.3.
I've tried all hints already discussed in this thread. No success.
Has anybody already tried to use the full Metro Stack in BEA WLS 10.1 or 10.3?

Thanks a lot in advance.
[Message sent by forum member 'freddydaking' (freddydaking)]

http://forums.java.net/jive/thread.jspa?messageID=269793

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: WSIT also in other JEE5 containers?

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...


Re: WSIT also in other JEE5 containers?

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The removal of the META-INF/services entries will definitely affect Metro functionality. I'm surprised RM still worked after that. I don't really have a better solution to offer unfortunately.
[Message sent by forum member 'ritzmann' (ritzmann)]

http://forums.java.net/jive/thread.jspa?messageID=343931

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: WSIT also in other JEE5 containers?

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

How did you resolve this issue?  I am trying to deploy a metro web service generated with 2.0 glassfish jars into Weblogic 10.3 and have had nothing but errors during deployment.  The latest error I run into was an error during deployment were weblogic complains that my service implementation class is not annotated with @WebService but it is so I don't know what to do but I think that error is misleading.
[Message sent by forum member 'joe_roberts_z' (joe_roberts_z)]

http://forums.java.net/jive/thread.jspa?messageID=354989

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: WSIT also in other JEE5 containers?

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

How did you resolve this issue?  I am trying to deploy a metro web service generated with 2.0 glassfish jars into Weblogic 10.3 and have had nothing but errors during deployment.  The latest error I run into was an error during deployment were weblogic complains that my service implementation class is not annotated with @WebService but it is so I don't know what to do but I think that error is misleading.
[Message sent by forum member 'joe_roberts_z' (joe_roberts_z)]

http://forums.java.net/jive/thread.jspa?messageID=354990

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: WSIT also in other JEE5 containers?

by Glen Mazza :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://www.jroller.com/gmazza/entry/deploying_metro_and_cxf_based ?

metro-3 wrote:
Hi,

How did you resolve this issue?  I am trying to deploy a metro web service generated with 2.0 glassfish jars into Weblogic 10.3 and have had nothing but errors during deployment.  The latest error I run into was an error during deployment were weblogic complains that my service implementation class is not annotated with @WebService but it is so I don't know what to do but I think that error is misleading.