on 07-02-2013 1:53 PM
Hi Friends,
I have a BLT developed at Plant MII server which needs to be called from Primary MII server. What should be the best approach and design for calling Plant BLT from Primary MII server?
Both MII servers are under same network and connected using virtual connector.
Thanks,
Suman
Hi Suman,
You can use the Xacute Connector for your scenario.
Steps needed are:
1. Create a transaction in the source MII System.
2. Create a Virtual Xacute connector connecting to the Xacute connector of the source MII System.
3. Create a Xacute query with this virtual acute connector as data source.
Here in this query, you would get all the transactions of the Source MII System.
Another way could be calling the Runner service. URL would be :
<protocol>://<server>:<port>/XMII/Runner?Transaction=<transaction path>&OutputParameter=<name of output parameter>&j_user=<user name>&
j_password=<password>&Content-Type=text/xml
Better way would dependent on from where you want to call the transaction.
Regards,
Rohit Negi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Suman,
Adding to what Rohit has said, you could also use
1. A HTTPPost action block with the URL mentioned in Rohit's reply. Make sure pass the credentials by creating a credential alias or by using the link editor in the action block.
2. You could use WSDLGen Service to expose the Plant MII's transaction as webservice and then call the same from Primary MII's server using webservice action.
3. You could also use an XML Query/Xacute Query to call the transaction using its corresponding virtual connectors. these connectors would inturn point to the Plant MII server.
I would suggest using HTTPPost or using WSDLGen services,
Check SAP Library - Content Development for more information on different ways to call a transaction.
Regards
Tufale Ashai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashai,
I am facing one problem while calling URL using webservice action from the primary server.
any suggestions for the below error:
soap service could not be loaded : xmlproxyError :status(400) bad request.
I have created a transaction in the primary server with one web service action block.Even unchecked, WSDL Gen sec enabled checkbox from the system properties.
Thanks,
Suman
You have to expose the transaction as a webservice inorder to execute it from the webservice Action block.
Try this,
http://<servername>/XMII/WSDLGen/<TransactionFolder(s)>/<Transaction>. For example, if you have a transaction named Line1OEE in a KPI folder, and your server's name is Atlantis, the URI is http://Atlantis/XMII/WSDLGen/KPI/Line1OEE.
Web Service Interface - SAP Documentation
Incase you are calling any other URL, make sure its a webservice. When you put the same URL in the browser, it should return you a WSDL.
User | Count |
---|---|
13 | |
6 | |
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.