The Source for Java Technology Collaboration
User: Password:



Bhakti Mehta

Bhakti Mehta's Blog

Resolving Non RM Request or Missing wsa:Action header error

Posted by bhaktimehta on August 24, 2007 at 01:57 PM | Comments (1)

We have been getting bug reports where users run into the following error when interoperating with MS.

<message>com.sun.xml.ws.rm.RMException: WSRM3018: Non RM Request or Missing
wsa:Action header</message>

This is a case where we are trying MS client -> Sun endpoint which is written beginning from Java and which has WS Reliable Messaging
(WS RM) enabled. This is related to issue 487.
Here is how  you can  workaround this issue.


Consider you have a service like this
@WebService
 public class MyFooImpl {    
    @WebMethod(action="doFoo")
    public int doFoo(int bar, int zot) {
     .....       
}
}

Make sure  you specifiy the action in @WebMethod annotation. Without
the action  in the @WebMethod annotation, empty Action  appears in the
application messages..
 
For a complete running sample check the following sample in wsit-enabled-fromjava sample.

You need to set the AS_HOME to the installation of Glassfish v2.
Call the following targets

ant server
ant client run

This will show the demo with Sun client talking to Sun endpoint. Next  if you want to try the C# client
Follow instuctions from  here. This shows you  how to generate the artifacts using svcutil, build the c# client and call Client.exe







Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Thanks Bhakti for revisiting this issue. This is also described in more details at:

    http://blogs.sun.com/arungupta/entry/wcf_interop_workaround_for_incorrect

    Look for WSIT Java First endpoint case.

    Posted by: arungupta on August 24, 2007 at 03:36 PM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds