cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem on xMII Message Service

Former Member
0 Kudos
451

Hello, there!

I am trying to use xMII's 12.0 Message Services.

What I've done so far was:

- Created a Rule that should get a 'test' message, put it on a 'MessageTest' transaction parameter and redirect it to it

- On the workbench, I've created this 'MessageTest' transaction, with a 'ReadMessage' action that reads the parameter and writes it to a file

- Created a web form that posts an xml message to http://myServer:myPort/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=...

-After invoking this form, I received a "Sucessfully received webservice message" message back

But, not to my surprise, nothing happened. Neither I can see the message on Message Monitor, nor the file (the result from the transaction) is created.

Searching on the logs, I've seen these messages, which I suspect might be related to the problem:

Exception of type com.sap.sql.log.OpenSQLException caught: Cannot assign an empty string to host variable 6..

Processing HTTP request to servlet [CMSAdmin] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The output is committed.

* at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:354)*

* at com.sap.xmii.servlet.Admin.service(Admin.java:84)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*

* at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)*

* at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)*

* at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:100)*

* at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)*

* at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)*

* at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)*

* at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)*

* at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)*

* at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*

* at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*

* at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*

* at java.security.AccessController.doPrivileged(Native Method)*

* at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)*

* at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)*

Does anyone have a clue on what might be happening?

Thanks a lot in advance!

View Entire Topic
former_member193328
Active Participant
0 Kudos

Hi

If this is still not answered I guess the reason is that the message payload is blank. If there is no message in the payload then it might throw an exception.

Try putting in a valid XML in the Post action payload and then executing it. if you have already tried it can you send me your transaction that fails and I can check it out.

Best regards

Partha

Former Member
0 Kudos

Partha,

the call to the WSMessageListener must be set to content type text/xml, if you send a xml file as payload. Then the error will disappear. MII uses the content-type application/x-www-form-urlencoded as a default, which does not work with "flat" payload.

Michael