on 04-26-2011 10:56 AM
Hello everybody,
We are trying to post XML Data from a Wonderware Industrial Application Server Installtion onto the MII Message Services:
Unfortunately, without success. My first idea was that this is an authentication issue. Do we have to pass user and password in the url of the http post? If yes, what are the exact url parameters?
Best Regards,
Matthias
Hi Matthias,
To have the message listener queue and process an XML document, you can post the XML document to the WSMessageListener service. The Name property maps to the Message Name property in the Processing Rule Editor screen.
Post the XML document in the body of the message to the URL:
http://<server>:<port>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=<UniqueMessageName>
The SAP Java Resource Adapter (SAP JRA) server is used to connect to SAP ERP Central Component (SAP ECC) to receive remote function calls (RFC) and IDocs. You can use the asynchronous HTTP interface to post data to SAP MII for asynchronous transaction processing.
I think you may have some case/syntax issues. And I would also test it with passing the username and pwd in the url (not secure, but lets check whether security is an issue).
Regards,
Edited by: Michael Appleby on Apr 26, 2011 1:09 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
thank you for your reply. I've already tested the URL using an http post action block from the MII workbench, and it turned out that the url works fine. Therefore, I think the issue is the authentication from the remote Wonderware installation. Do you know the exact names of the url parameters that are used to passing username and password?
Thank you.
Matthias
Hi Michael,
thank you for your help. I do normally check the documentation, unfortunately I do not agree that you can find all the things you need in the documentation. In the MII world, there are different user/password parameters (IlluminLoginName, j_user, maybe more?), and since I don't know what our current problem is it's not a good strategy to try all combinations, it's better ask somebody who has already done this successfully
I've made an experiment: I've posted an XML from one MII Server to another, and I didn't have to provide username and password to get the message delivered. Do you know what's going on here? Seems this service doesn't need login parameters? I'm a bit puzzled...
However, I will try the IlluminLoginName and IlluminLoginPassword approach with my colleagues responsible for our Wonderware installations and let you know whether it works this way.
Thank you!
Matthias
Hi Matthias,
I generally find that google will find the topics of interest in SDN faster than most other methods, so that is usually the path I follow. It is also not constrained by the default last 90 days in the SDN search engine, so you don't have to run it twice in a row. I generally use SDN first myself.
There is always room for improvement in any help system. But with the MII Forum, there is a pool of knowledgeable folks available to help.
I also forgot to remove the session property from the url script I passed before. That should be set to false, not true.
Good luck,
Mike
Edited by: Michael Appleby on Apr 26, 2011 3:38 PM
Hi Matthias,
Try the following URL format to post message from MES to MII.In your URL , you are missing mode,user name and password.
http://<<MIIServer>>:<<Port>>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServe... TargetMIIServer>>&IllumLoginPassword=<<password>>&content-type=text/xml
Regards
Rahul Vijaywargiya
Hello,
The http post from Wonderware Applicatio Server to the MII WSMessageListener Service works now, providing the parameters IlluminLoginName and IlluminLoginPassword solved the problem.
Yes I was able to use the WSMessageListener Service between different MII Servers without IlluminLoginName and IlluminLoginPassword, but I assume that either there was an existing session or that our SSO implementation took care of the login.
Best Regards,
Matthias
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.