on 07-06-2007 12:39 PM
hi experts,
>> I am in initial stage in Web Dynpro
>> I created one webservice ( just Add to number)
>> My Nodes Structure is
AddNode
!
!____AddInput_Node
!---Num1
!---Num2
!
!____AddOutput_node
!---result
I set Cordinality 1-1 to all nodes
When I run my application , i got NullPointerException error
how to solve this error
Pl can one help me...
Advance Thanks
Balaji
Hi ,
The problem is not with the model , in the context you have to intantiate the node to which the context is binded .
Kindly look at the following learning material
https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#63
regards
Dhawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you initialized the model and did the binding as follows
//create model instance
Model model = new Model();
//create model objects + relations
Request_NumberToWords requestMO = new Request_NumberToWords(model);
NumberToWords words = new NumberToWords(model);
words.setUbiNum(123);
requestMO.setNumberToWords(words);
//bind model object to WD context
wdContext.nodeRequest_NumberToWords().bind(requestMO);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balaji,
Just check whether ur service works fine with wsnavigator on ur server.U have to check the parameters also,in case ur service need it.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.