« Return to Thread: Can I load WS-Policy files in Java instead of XML?

Re: Can I load WS-Policy files in Java instead of XML?

by metro-3 :: Rate this Message:

Reply to Author | View in Thread

Hello ramapulavarthi,

The problem I'm having is that my client is not automatically picking up the policy information from the WSDL, even though they are there.  The fault I'm getting is "[b]org.jboss.ws.extensions.wsrm.RMFault: The RM Destination requires the use of WSRM[/b]".  (I built the service in JBossWS).

I'm assuming that I need to provide some kind of configuration on the client since it's not configuring itself automatically based on the WSDL.  I've seen reference to creating WSIT configuration files, but I really want to avoid having any hand-coded XML files with the exception of my policy file.

Thus, I'd like to to know if I can configure my client via the BindingProvider, or any other way that does not involve creating another XML file.  

The IDE I'm using is Eclipse.
[Message sent by forum member 'oberiko' (oberiko)]

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

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

 « Return to Thread: Can I load WS-Policy files in Java instead of XML?