on 09-13-2005 5:37 AM
Hi All,
I am trying to consume the following web service:
Use the userName: DISPLAY
password: welcome
This WebService updates the employee record given the Employee ID.
I have the context variables being mapped from Client to Controller to Model.
The context Variable structure is:
ModifyDetails
-
Paramaters
-
PersonalDetails
-
GivenName
-
FormattedName
-
MaritalStatus
-
EmployeeId
MartialStatus and EmployeeId are passed to the model object and hece modifed but GivenName, FormattedName are being passed to the modelobject 'but not being modified'.
The mapping is simple and straight. From the view to the controller. Controller to the Model.
I have bound the varaibles but not sure why this is happening?
Regards,
Tarun.
Message was edited by: Tarun Kamal Khiani
Message was edited by: Tarun Kamal Khiani
Hi Tarun,
Can yu post your code snippet here? (The link is still not working. It may not be accessible to the outside network).
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have modifed the question. I wanted to update the GivenName and FormattedName but I am unable to do so. Even though the fields are mapped appropriately.
Use the link now with the following usename and password.
(display/welcome).
Regards,
Tarun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarun,
Please give a more detailed description about your problem. Please explain what this means <b>MartialStatus and EmployeeId are passed to the model object and hece modifed but GivenName, FormattedName are being passed to the modelobject.</b>. Is it that you want to modify the GivenName, FormattedName filed too?
(the link you have given is not working. I think it is a link to a system withing your network)
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem still exists.
Here is the code snipet:
in wdinit() of the controller. Request_EmployeePersonalDataChangeWSD_employeePersonalDataChangeRequestResponseIn changeRequest = new Request_EmployeePersonalDataChangeWSD_employeePersonalDataChangeRequestResponseIn();
wdContext.nodeModifyDetails().bind(changeRequest);
updateDetails() in the contoller:
Request_EmployeePersonalDataChangeWSD_employeePersonalDataChangeRequestResponseIn modelObject = wdContext.currentModifyDetailsElement().modelObject();
modelObject._setUser("userName");
modelObject._setPassword("password");
modelObject.execute();
wdContext.nodeOperationOutput().invalidate();
Hi Tarun,
Code looks fine.
Try to test your web service seperately. Is it working perfectly?
Is it giving you the expected result?
You want to get updated detail in GivenName attribute right?
And i guess, you are checking this value under output node only instead of where you are passing their values as input.
Regards,
Bhavik
Hi Tarun,
You explained your scenario but you didn't explain what error you are getting? and what is the problem you are facing with this?
Explain your problem in detail.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.