Problem with WSDL web refference

Topics: CAB & Smart Client Software Factory
Mar 6, 2007 at 1:57 PM
I am using WSDL for my web reference. In my CAB module in entity transalator I am able to see business entitity elements clearly but not able to see elements of wsdl proxy. Can anyone tell me where I am doing wrong?.

Beena Desai
Mar 8, 2007 at 3:22 AM
Let me be more specufic about above issue. In my CAB module when I use standard web service I can succsfully set ref of Business entitiy & web service data element on my translator class. But when I use WSDL web service I cannot set this reffernce in translator class. Because I can see elements of Business entity but cannot see elements of wsdl. Here One thing must be noted in both above cases I am taking web refference by actioncatalog service. My translator class sample is given below. In this script Ubsted of result.any = value.shapeid. This line should b result.shapeid= =value.shapeid. Like all other data elements.
In case if I take direct web reference still I am not able to see dataelement of web service.

using System;
using System.Collections.Generic;
using System.Text;
using Shiva.ShapeModule.BusinessEntities;
using Shiva.ShapeModule.FindShape;
using Shiva.Infrastructure.Interface.Services;
using Shiva.Infrastructure.Library.EntityTranslators;

namespace Shiva.ShapeModule.EntityTranslators
public class ShapeSearchResultTranslator : EntityMapperTranslator<ShapeSearch, sqlCompareOptionsEnum>
protected override SqlParameter BusinessToService(IEntityTranslatorService service, ShapeSearch value)
String result = new SqlRowCount();
result.Any = value.ShapeId;
result.Any = value.ShapeName;
return result;

protected override ShapeSearch ServiceToBusiness(IEntityTranslatorService service, xml value)
ShapeSearch result = new ShapeSearch();
result.ShapeId = value.ContactID;
result.ShapeName = value.EmailAddress;
return result;

Is there anything wrong with my class or my process. Please asist me.