by "Yossi Dahan [MVP]" <yossi.dahan@[EMAIL PROTECTED]
>
Jul 3, 2008 at 07:15 AM
On the BizTalk side, as messages are generally represented as xmls, in
order
to provide the array parameter I believe you will need to construct a
message part that describes the array XML and assign that to the relevant
web-message part
if you have a web method that looks like that -
[WebMethod]
public string HelloWorld(int[] numbers)
{
return "Hello World";
}
and you browse to the example page, you can see the format of the request
required -
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<HelloWorld xmlns="http://tempuri.org/">
<numbers>
<int>int</int>
<int>int</int>
</numbers>
</HelloWorld>
</soap:Body>
</soap:Envelope>
Hope this helps
Yossi Dahan
"Tru Life" <Tru Life@[EMAIL PROTECTED]
> wrote in message
news:127ABBAC-871F-46FF-B728-D2FEA5637B84@[EMAIL PROTECTED]
>I am calling a webservice that has a parameter that it takes int[]
> How can I declare an array in a message assignment and add declared
array
> from a schemad valua that has been distinguished promoted and the value
is
> Data type int.
>
> I cant even declare a array in a "Message assignment" using this code
> System.Int32[] id = { 71486};
>
> But I can declare this is in Windows application
>
> Anyone please help me