Web References And Types

#14333

The problem is the way you are passing parameters
If you cannot change the web service then you cannot use a transform to create the multipart requests for m1 and m2.
Instead you need to use a MessageAssignment shape
[code:1:61ff75d332]m1_request.s0 = \"string\";
m1_request.s1 = \"string\";
m1_request.d0 = System.DateTime.Now;
//same for m2_request
[/code:1:61ff75d332]
The reason for this is the message parts are simple types and do not generate an Xml schema, therefore you cannot use a map.

Alternatively you can change the web service
[code:1:61ff75d332]class c0 {
public r0[] m0();
public bool m1(p1 parameter);
public r1[] m2(p2 parameter);
} [/code:1:61ff75d332]

And add the following classes:
[code:1:61ff75d332]class p1 {string s0, string s1, DateTime d0;}
class p2 {string s0, string s1, DateTime d1, string[] arr;}
class r0 { public string s0, s1; }
class r1 { public string s; public double d; } [/code:1:61ff75d332]

The request messages are now complex types and will generate an Xml schema and can be used in a map.