Skip to Content
0
Former Member
May 14, 2010 at 07:08 PM

Consuming a .NET webservice using MII Web Service Action Block

67 Views

I have created a .NET webservice that takes an array of objects that contains primitive types. I am able to call the web service with one array element but not two. In the link editor how do I setup more than one items?

The syntax I am using for the first on is as follows:

Web_Service_0.AssignLanes{/ns1:AssignLanes/ns1:wsProcessOrderItems/ns1:WSProcessOrderItem[1]/ns1:MaterialNumber}

but when I try to add the second one using this syntax:

Web_Service_0.AssignLanes{/ns1:AssignLanes/ns1:wsProcessOrderItems/ns1:WSProcessOrderItem[2]/ns1:MaterialNumber}

I get an error from MII:

[ERROR] [Web_Service_0] Link ('Web_Service_0.AssignLanes{/ns1:AssignLanes/ns1:wsProcessOrderItems/ns1:WSProcessOrderItem[2]/ns1:MaterialNumber}' [Assign] from "20000275") execution threw an exception. Exception: [No nodes found in variable 'Web_Service_0.AssignLanes' and xpath: "/ns1:AssignLanes/ns1:wsProcessOrderItems/ns1:WSProcessOrderItem[2]/ns1:MaterialNumber" XML was: 72930 80824 20000017 73452 900 0 http://tempuri.org/"> 72930 80824 20000017 73452 900 0 >]

Any ideas?

Michael Penrow