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

Error while calling MII transaction as web service

Former Member
0 Likes
452

Hi all,

I am using MII version 12.1.8

When i try calling a BLS as a web service i am getting an error as " [ERROR] Error Invoking Web Service Action: Status (502): Proxy Error ( No data record is available. ) "

The same WSDLGen url is working from the browser. The path is http://<server>:50000/XMII/WSDLGen/<TrxPath>;

I also gave Proxy Host and Proxy Port in System Management --> System Administration

Is there anything i am missing in the web service action.

Kindly help

Regards

Muzammil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Muzamil,

Are calling BLS as a web service from external system like soapUI?

http://<server>:50000/XMII/WSDLGen/<TrxPath>; this is just the WSDL, description of the web service.

the calling of the transaction might probably something like http://<server>:50000/XMII/SOAPRunner/<TrxPath>; , is this correct?

Former Member
0 Likes

Hi Seng,

A transaction is called using the Runner service - here is a link to the help topic on the subject:

[Transaction Calls Using URLs|http://help.sap.com/saphelp_mii121/helpdata/en/4a/287c3dd30242ade10000000a421138/content.htm]

Kind Regards,

Diana Hoppe

Former Member
0 Likes

Hi

The runner service is just HTTP protocol,

If you want to call MII transaction as web service, you have to first get the wsdl and and then using SOAPRunner service.

Former Member
0 Likes

Muzammil,

To clarify, the Runner service is just one way a transaction can be called

How are you calling the transaction you want to use as a Web Service? Are you calling it from another application or from another BLS transaction using the Web Service action?

Kind Regards,

Diana Hoppe

Former Member
0 Likes

Hi Diana,

It is working now. I removed the proxy settings from system administrator and added a new credential alias for web service. And then it started working..

The scenario which i am trying is as mentioned. We need to call a transaction from a diiferent MII Server. So at first i was trying with the Trx within the same server.

Hope this is the best way to access the transaction from a different server.

Regards

Muzammil

agentry_src
Active Contributor
0 Likes

Muzammil,

Do some research on VirtualXacuteConnectors. They may be a more efficient approach to your situation.

They have been used in many MII installations by different companies in distributed and distributed with central MII architectures.

Regards,

Mike