on 06-04-2007 3:11 PM
Dear all,
I insert multi-node in web service request.
-
Context in EduCusController:
-
Request_EducationWSViDocument_createEducationList
+arg1(0..n)
-majorField
-
In viewController
-
IArg1Node DestinationNode =wdThis.wdGetEduCusController().wdGetContext().nodeArg1();
for (int i = 0; i < 5; i++) {
ComplexType_EducationJB newejb=new ComplexType_EducationJB();
IArg1Element newElement =DestinationNode.createArg1Element(newejb);
newejb.setMajorField( i);
DestinationNode.addElement(newElement);
}
-
-
then i run
<b>executeRequest_EducationWSViDocument_createEducationList( );</b>
it have Exception : <b>Exception in method CreateEducationList ~</b>
Can anyone help me.
HI WU,
will you provide complete stack trace of exception.
it will help to know further details about the probelm
With Regards
Naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Naidu,
how can i do to get complete more stack trace of exception.
-
public void executeRequest_EducationWSViDocument_createEducationList( )
{
//@@begin executeRequest_EducationWSViDocument_createEducationList()
//$$begin Service Controller(1148767839)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try {
wdContext
.currentRequest_EducationWSViDocument_createEducationListElement()
.modelObject()
._setHTTPDestinationName("Education_WS");
wdContext
.currentRequest_EducationWSViDocument_createEducationListElement()
.modelObject()
.execute();
wdContext.nodeResponseResult().invalidate();
} catch (Exception e) {
e.printStackTrace();
manager.reportException(e.getMessage(), false);
}
//$$end
//@@end
}
-
PS. i use Web Services Navigator insert multi-node, and it run OK.
arg1 comes under Request_EducationWSViDocument_createEducationList node.
Before creating instance of arg1 you should have created instance of Request_EducationWSViDocument_createEducationList node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.