Skip to Content
0
Former Member
Dec 22, 2005 at 07:32 AM

XmlMarshalException

45 Views

<b>Hello Experts

I m trying to use XI-WSDL from the Dynpro.The input parameters are of <ComplexType_XXX> type .

input levels are:-</b>

<Request_XXXX> -> (CVXSADTY_SearchInput)ComplexType_CVXSADTY_SearchInput --> (Input)ComplexType_CVXSADTY_CCSearchInput

<b>I intialized all the context in the wdDoInit().</b>

<b>code:</b>

Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch reqObj = new Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch();

xi.ComplexType_CVXSADTY_SearchInput si =new xi.ComplexType_CVXSADTY_SearchInput();

xi.ComplexType_CVXSADTY_CCSearchInput ccsi = new xi.ComplexType_CVXSADTY_CCSearchInput();

si.setInput(ccsi);

reqObj.setCVXSAMST_SearchInput(si);

wdContext

.nodeRequest_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch()

.bind(

reqObj);

<b>But after deloying the application is giving following error.</b>

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Input] of class [xi.proxies.types.CVXSADTY_SearchInput] must exist and can not be null. This is required by schema description.

<b>How should i proceed?

Regards

DhanyaR Nair</b>