BizTalk Server Orchestration - object reference may not have an XSD-based type

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > February 2006 > object reference may not have an XSD-based type





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author object reference may not have an XSD-based type
Mark D. (GY)

2006-02-04, 5: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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com