Skip to Content
avatar image
Former Member

XmlMarshalException

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 29, 2005 at 04:30 AM

    check out my reply to this message: serialization error [problem with setting attr values in the context]

    Hope it helps, all the best.

    Regards, Parag.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Dec 22, 2005 at 08:57 AM

    Dhanya,

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

    helphttp://help.sap.com/saphelp_nw04/helpdata/en/42/93d56ba5061d68e10000000a1553f6/frameset.htm">help>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2005 at 09:18 AM

    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

    Add comment
    10|10000 characters needed characters exceeded