Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 6944

FIM web service connector - integer value is not passed to the web service

$
0
0

Hi,

I'm using declarative provisioning rules and web service connector.

The data flow is as follows:

HR_webservice_MA (source) -> AnotherSystem_webservice_MA

I have designed the Full Import workflow for HR MA and Full Import, Export: Add, Modify for AnotherSystem MA.

I have an interesting issue with Modify workflow web service.

In web service I have defined a user:

publicclassSAP_AD_User

   {

       [DataMember]

       publicInt32 UserId {get;set; }    [anchor]

       [DataMember]

       publicstring EmployeeNumber {get;set; }

       [DataMember]

       publicstring FirstName {get;set; }

       [DataMember]

       publicstring LastName {get;set; }

       [DataMember]

       publicstring FullName {get;set; }

       [DataMember]

       publicstring UserName {get;set; }

       [DataMember]

       publicstring JobTitle {get;set; }

       [DataMember]

       publicstring Company {get;set; }

   }

In Modify workflow I call a web service method ModifyDVSUser(SAP_AD_User user):

In Foreach AnchorAttribute -> Switch<AnchorAttributeNameWrapper>-> I assign user.UserId = Convert.ToInt32(anchor.Value). And when I put out the value within the log element before calling the web service, I get the correct value. I also write out the type and it isSystem.Int32.

But in web service the value is not assigned only for UserId attribute - it is always 0 (the other string attributes are correctly assigned with the values). First I thought it may be somehow related that it is an anchor value, but when I changed theUserId type to string (in web service and in workflow), then the value was passed. So it is somehow related to the integer type. Should only string values be passed to the web service or am I missing something?

Thank you in advance!


Viewing all articles
Browse latest Browse all 6944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>