cancel
Showing results for 
Search instead for 
Did you mean: 

XmlMarshalException

Former Member
0 Kudos

<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>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

check out my reply to this message:

Hope it helps, all the best.

Regards, Parag.

Former Member
0 Kudos

Hi Parag

Finally the problem is solved.Thanks a lot.I was searching for the solution through out the forum ,but in vain.

This link will surely help everyone.

Regards

DhanyaR Nair

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Dhanya,

What you have done seems correct. However instead of

<i>si.setInput(ccsi);</i>

can you try using

<i>si.addInput(ccsi);</i>

if such a method exists.

Good Luck,

Atul

Former Member
0 Kudos

Hi Atul

No such method exists.

i appreciate ur input.

Dhanya

Former Member
0 Kudos

Hello Frnz

Anyone gone through this type of error.

I need some idea what should be done.

sugeest the way out guys

Regards

DhanyaR Nair

Former Member
0 Kudos

Dhanya,

I see some problem description from sap.May be it helps you

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/42/93d56ba5061d68e10000000a1553f6/frameset.htm">help</a>