02-04-06 10:50 PM
Hi,
I've been trawlling everywhere to try and find an answer to this. I'm new
to Biztalk and figured I would start with 2006 rather than learn 2004 and
then have to learn the differences.
I'm consuming a .net web service (via SOAP) in my orchestration but am
having trouble assigning a value. One of my WS methods includes an enum as
one of its parameters. Biztalk has created the XSD for this enum and my
return value schema has the reference XSD included and the return variable
set to the correct type.
However, in my message assignment transform, I cant do a direct assignment
between my WS property and my return (XSD based) property. The only thing
that doesn;'t give me a syntax error is:
rqCreateDomain.DomainType =
MX.Domain.Reference1(orcRequest.DomainInfo.DomainType);
rqCreateDomain is my WS
orcRequest is my XSD based message.
However, at compile time, this tells me I can't use an XSD-based type.
I've also tried direct assignment, ie,
rqCreateDomain.DomainType = orcRequest.DomainInfo.DomainType;
But that tells me it can't convert between the two types.
Lastly, Ive looked at maps, but the map editor doesn't let me use my
webservice as a schema for either side of the map.
I hope someone can help as this has been bugging me for days now.
Thanks,
Mark.
[ Post a follow-up to this message ]
|