on 10-25-2011 3:55 PM
As part of a migration from MII 115 to 12.1, I am trying to kick off an MII transaction from a Perl script on an external system. This is currently working fine in our 11.5 environment but I am not having any luck in 12.1.
Here is how I am trying to run the transaction from Perl:
$request = HTTP::Request->new(POST => 'http://MyHostNameHere:50000/XMII/Runner?Transaction=MyTransDirHere/MyTransNameHere&InputParameter=MyParam&OutputParameter=status&Content-Type=text/html&XacuteLoginName=MyAccoutNameHere&XacuteLoginPassword=MyAccountsPasswordHere');
Here is the error I am getting:
HTTP/1.1 404 Not Found Cache-Control: no-cache Connection: close Date: Mon, 24 Oct 2011 22:49:08 GMT Pragma: no-cache Server: SAP NetWeaver Application Server 7.11 / AS Java 7.11 Content-Length: 1816 Content-Type: text/html Expires: 0 Client-Date: Mon, 24 Oct 2011 22:49:08 GMT Client-Peer: 155.104.117.34:80 Client-Response-Num: 1 Sap-Isc-Etag: J2EE// Title: Error Report
I have also tried it without a port number and with port 53000. Do I have something wrong in the URL? What should the port be and is the "/XMII/Runner" part correct? In the security section of the transaction I made sure it was readable/writable to everyone.
Thanks,
Mike
Hi Michael,
Change the "POST" to HTTP::Request->new(GET
Danilo Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "POST" is needed because we are posting an XML document as part of the HTTP request.
I actually just got this issue resolved though. We had a hostname alias issue.
So, for the record, the format of the URL I posted does work. I tried it using the XacuteLoginName/XacuteLoginPassword and j_username/j_password and both ways seemed to work.
Thanks,
Mike
Try using j_username and j_password instead of XacuteLoginName and XacuteLoginPassword. Port 50000 or 50100 are most common. They usually increment by 100 depending on how many sap servers are sharing the box.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
7 | |
3 | |
2 | |
2 | |
2 | |
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.