You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by SIX Douglas <ds...@sword-group.com> on 2005/12/26 10:27:57 UTC

iBatis and WebReferences

Hi,

I'm creating a command line program in c# that calls a WebReference to get =
informations. The WebReference contains the definition of the DataObjets in=
 the WSDL. Is it possible to use this DO definition in the datamap file ?

Example:

- a project that calls : WRProjet
- contains the Web Refence : WSreference
- in the Web Reference I have the definition for the data object : DOObject

I've tried to use this code in a datamap file :
<alias>
<typeAlias alias="DOObject" type="WRProject.WSReference.DOObject" />
</alias>

But it doesn't work. The framework complains about not finding the object.
I've tried to copy locally the DO and using filling the datamap like this :

<alias>
<typeAlias alias="DOObject" type="WRProject.DO.DOObject" />
</alias>

Of course it works fine, but don't think it's nice.

Does anyone have suggestion ?

Thank you and sorry for my english mistakes.
 
___________________________ 
Douglas SIX
SWORD Nord
03 20 65 30 50 


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com