on 08-31-2005 12:43 PM
Hi,
i have a problem creating a WebDynpro application using a WebService model created by XI.
When executing the service:
public void onActionGO(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionGO(ServerEvent)
try {
wdContext.currentRequest_MI_BESCHAFFUNG_MI_BESCHAFFUNGElement().modelObject().execute();
wdThis.wdFirePlugToMIBeschaffungResultView();
}
catch (Exception e) {
wdComponentAPI.getMessageManager().reportException( e.getLocalizedMessage(), false );
}
//@@end
}
I get the following error message:
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [DATA] of class [de.gisa.mibeschaffung.model.proxies.types.RFC_READ_TABLE] must exist and can not be null. This is required by schema description.
The classes generated by the WSDL import are prefixed by ComplexType. So could this be the culprit here? Also the generated classes are in the de.gisa.mibeschaffung package not in the de.gisa.mibeschaffung.model.proxies.types package.
I appreciate your input!
regards
Dirk
Hi,
I think complex types are not accepted so you have to convert the inputs to the webservice and send if you are using any complex types(serialize and send).
Try it out and let me know the status.
Regards,
Sirisha.R.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
search this forum .. for XmlUnMarshal exception.. i think complex object s are not allowed !
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
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.