Friday, September 10, 2004

SQL Adapter Schema Generator Wizard Bug

SQL adapter schema genarator wizard throws an error when the stored procedure parameter contains char(1). There is no KB article for this bug.

Workaround:Make the char(1) to varchar(1) and generate the schema and change it back to char(1) in the stored procedure.

geek's fix:
In BizTalk installation directory, look for XDRtoXSD.xslt and change as follows:

From: <xsl:template mode="convert-datatype" match="@dt:type[.='char']">xs:char</xsl:template>
To: &<xsl:template mode="convert-datatype" match="@dt:type[.='char']">xs:string</xsl:template>
You are all set now.

2 Comments:

At 8:07 PM, Anonymous Anonymous said...

I was experiencing the same issue. Thanks for the work around.

 
At 3:51 PM, Anonymous Anonymous said...

A

 

Post a Comment

<< Home