cancel
Showing results for 
Search instead for 
Did you mean: 

Error executing connection method with WS- wsdl

carlos_valentini3
Participant
0 Kudos

Good day.

I need a little help.

I have some problem running the access procedure to the web service mapped on my WDJ.

I did all the procedure for use ro wsdl, did the mapping of the fields in my context.

after it was run method to send the connection parameters.

But when running:

wdContext.currentConsultaSincronaElement().setChaveAcesso("XXXXXXXX-4487-4AE6-A41E-10F7808AYYYYYYY");

Is the error below:

java.lang.NullPointerException: while trying to invoke the methodnet.mdm.bp.wd.search.wd.comp.mastercompnew.wdp.IPrivateCreateFirstCompView$IConsultaSincronaElement.setChaveAcesso(java.lang.String) of a null object returned from

net.mdm.bp.wd.search.wd.comp.mastercompnew.wdp.IPrivateCreateFirstCompView$IContextNode.currentConsultaSincronaElement()

What can be happening? The mapping is correct with the fields of WS.

Already checked one by one.

Accepted Solutions (1)

Accepted Solutions (1)

christian_santej
Active Participant
0 Kudos

hi carlos,

have you checked the collection cardinality of your input context?

the generated/Initial value is 0..1. so your currentNodeElement is probably null.

if so - set the value to 1..1 and try it again.

regards,

christian

Answers (0)