We have a java application running on a JVM (IBM jdk and not Oracle's) inside of a Tomcat v7 server with the following properties
Using Metro (with WSIT) version 2.3 to call .Net SOAP services that require WS-Security and Ws-Reliability spec's and getting this error
The wsdl defines the RM Assertion.
I'm wondering if this sequence number could possibly be an old message that the server already thinks is done, but the client still thinks it needs to be resubmitted and acknowledged. At this point it hangs on this problem trying to complete the message and no other messages can be completed
Caused by: com.sun.xml.ws.rx.rm.runtime.sequence.UnknownSequenceException: WSRM1124: No sequence registered with id [ urn:uuid:7b7df40c-0d0c-49ee-aabd-cd37ec8ce79d ] at com.sun.xml.ws.rx.rm.runtime.sequence.invm.InVmSequenceManager.getSequence(InVmSequenceManager.java:307) at com.sun.xml.ws.rx.rm.runtime.sequence.invm.InVmSequenceManager.getOutboundSequence(InVmSequenceManager.java:339) at com.sun.xml.ws.rx.rm.runtime.SourceMessageHandler.registerMessage(SourceMessageHandler.java:87) at com.sun.xml.ws.rx.rm.runtime.ClientTube.processRequest(ClientTube.java:191) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877) at com.sun.xml.ws.client.Stub.process(Stub.java:464) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154) at com.sun.proxy.$Proxy85.get(Unknown Source)
Jul-19-2014 15:22:26.581 (ajp-bio-8009-exec-4:28) FINER [com.sun.xml.ws.api.pipe.Fiber___doRun] engine-Metro/2.3 (tags/2.3-7528; 2013-04-29T19:34:10+0000) JAXWS-RI/2.2.8 JAXWS/2.2 svn-revision#unknown: Stub for SomeURL fiber-18 com.sun.xml.ws.handler.ClientLogicalHandlerTube@1dbb1dbb.processException(com.sun.xml.ws.rx.rm.runtime.sequence.UnknownSequenceException: WSRM1124: No sequence registered with id [ urn:uuid:7b7df40c-0d0c-49ee-aabd-cd37ec8ce79d ]) Jul-19-2014 15:22:26.581 (ajp-bio-8009-exec-4:28) FINER [com.sun.xml.ws.api.pipe.Fiber___doRun] engine-Metro/2.3 (tags/2.3-7528; 2013-04-29T19:34:10+0000) JAXWS-RI/2.2.8 JAXWS/2.2 svn-revision#unknown: Stub for SomeURl fiber-18 com.sun.xml.ws.handler.ClientLogicalHandlerTube@1dbb1dbb returned with com.sun.xml.ws.api.pipe.NextAction@78467846 [kind=THROW,next=null,packet=null,throwable=com.sun.xml.ws.rx.rm.runtime.sequence.UnknownSequenceException: WSRM1124: No sequence registered with id [ urn:uuid:7b7df40c-0d0c-49ee-aabd-cd37ec8ce79d ]]
Thanks in advance,
I have no experience with any of this, but I'm going to go out on a limb and attempt an answer that may lead you in the wrong direction (so caveat emptor). My hope is that if I am way off base at least I will encourage someone else to come in and help you with your problem. (Sometimes the best way to get the right answer on the internet is to post the wrong answer, giving a more informed nerd something to pounce on.) That said…
I took part of the error message you received and went to Google:
"No sequence registered with id" metro
The 2nd hit I received was a link to a very old issue in the bug tracker for Glassfish. The issue didn't track an actual bug, so the content of the issue is not very informative. However, I did notice that the issue was closed as "invalid", and for a particular reason.
Invalid Issue. Client wsdl did not have RMAssertion on it.
So what does that suggest to me? It suggests to me that this Byzantine secure SOAP stuff can fail in a spectacularly uninformative manner when you are lacking a @Policy annotation that points to a valid WS-Policy XML file containing the aforementioned RMAssertion.
So…my question to you is: do you have the RMAssertion set up on this service?
Edit: It turns out they do have RMAssertion defined, but I'm going to leave this "answer" here for posterity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With