|
| Hello,
I have a simple question that somehow hasn't been simple for me to
figure out.
I have a web service that returns an object (used to be an array, but
as we all know that's a no-can do for BizTalk).
All I'm trying to do in my orchestration with this object is assign its
properties to orchestration variables.
Well, WSResponseMessage.WSMethod.objectproperty doesn't show up.
That is when I type in WSResponseMessage.WSMethod, none of the object
properties come up.
So I thought, maybe I'm misunderstanding how this is supposed to work.
I turn to "BizTalk Server 2004 Unleashed" and it guides me through a
message conversion process that includes a new "object" schema and a
map to convert the SOAP response message to this "object" schema type
message.
My question is:
Am I just doing something wrong or is this the only way to use the
object return by a web service inside an orchestration?
Code project had the following example that looked like it was supposed
to work how I expected. However this didn't work in my orchestration:
http://www.codeproject.com/useritems/WSCustomParams.asp
EmployeeOut.EmployeeCity =
WSResponse.RetrieveEmployeeResult.EmployeeCity;
EmployeeOut.EmployeeName =
WSResponse.RetrieveEmployeeResult.EmployeeName;
EmployeeOut.EmployeeDept =
WSResponse.RetrieveEmployeeResult.EmployeeDept;
EmployeeOut.EmployeeEmail
=WSResponse.RetrieveEmployeeResult.EmployeeEmail;
The WSResponse.RetrieveEmployeeResult.EmployeeCity is what didn't seem
to work for me.
Any help is appreciated.
Thanks
Ana
|
|