on 04-30-2007 3:12 PM
hi
though i read and tried all solutions offered in sdn - i cant solve this problem, and i will be greatfull for any suggestions.
i'm using nwds Version: 7.0.06.
i have web service that need no input. when i call it using xmlspy it gives me values in return. with web dynpro i get runtime errors that field item cant be null so i try to create it and pass as parameter. and then get an error that it is not described in Schema.
context looking like that: RequestOpen->mutzar->item->attriburte vals
code :
<i>Request_Open request = new Request_Open();
wdContext.nodeRequest_Open().bind(request);
MutzarDT dt = new MutzarDT();
Mutzar mut = new Mutzar();
mut.setItem(dt);
ComplexType_Mutzar mutzar = new ComplexType_Mutzar();
mutzar.setOriginalBean(mut);
mutzar.setItem(dt);
request.setMutzar(mutzar);
request.execute();</i>
thanks in advanced,
Roni.
a new wsdl file was generated for me.
with the new model, my request was expecting an array. so i sent it:
<i>MutDT[] mutDtVector = new MutDT[1];
MutDT mutDt = new MutDT();
mutDtVector[0] = mutDt;
request.setMut(mutDtVector);</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.