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

MII Webservice to another MII

Former Member
0 Likes
371

Hi I would like to use the action block Web Service to call a another MII Web service.

In the Web service action block I inserted the WSDL URL of the transaction (I am 100% sure that the WSDL URL is correct). But however I receive error

SOAP Service could not be loaded. XMLProxiyError. The markup in the document following the root element must be well-formed

However call other WSDL eg

http://www.w3schools.com/webservices/tempconvert.asmx?wsdl

works fine

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

thanks

the problem is the Credential. You need to create credential to do this call

Former Member
0 Likes

Hi,

if you enter the WSDL URL in your Web browser, does it show the correct WSDL output?

Michael

Former Member
0 Likes

yes

i can see the xml with service name and so on.

Can you try it out

1. Create a transaction

2. Call WSDLGen from web browser (to check if it works)

3. Then create another transaction with Web service action block and enter the URL of WSDLGen (see if you get the error)

thanks

Former Member
0 Likes

Hi,

the interfaces I have set up with this ran ok, however, in 12.0. When I remember correctly, you are using 12.1.

You mentioned that you use a web service action where you enter the WSDLGen URL. So the Webservice Configuration Wizard thet prompts you for Port and Operation ran without errors? I suppose the target BLT is on the same server as the calling BLT?

Michael

Former Member
0 Likes

The target BLT is on another MII server (MII Server A calling MII Server B transaction)

So in MII Server A Web service I enter http://<MIIServerB>:51000/XMII/WSDLGen/Training/SimpleTransaction/Multiplication/tx_Multiplication at URL and when i click next that in Web Service wizard (prompt for port) - the error occur

The WSDL is perfectly OK (I see it in my browser)

...

.....

<service name="XacuteWS">

<port binding="s0:XacuteWSSoap" name="XacuteWSSoap">

<soap:address location="http://<MIIServerB>:51000/XMII/SOAPRunner/Training/SimpleTransaction/Multiplication/tx_Multiplication"/>

</port>

</service>

</definitions>

Former Member
0 Likes

Ok, then the source MII server cannot reach the target MII server.

Please check if you need an entry in the hosts file of the source server. I have often experienced errors like this because entries were missing in the hosts file. Maybe a proxy is missing in the source server that is set in your client?

Michael