cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException

Former Member
0 Kudos

Hi

I have created on web service model in webDynpro....

My Model is like this:

Request_Z_BAPI_CUSTOMER_CHANGE_WS_customerChangeFromData

>>>>>|

>>>>>|

>>>>>|------parameters(ComplexType_CustomerChangeFromData)

>>>>>>>>>>>|

>>>>>>>>>>>|

>>>>>>>>>>>|------ComplexType_CustomerChangeFromData

>>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>>|------piAddress(ComplexType_Bapikna101)

>>>>>>>>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>>>>>>>>|-----ComplexType_Bapikna101

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|---city

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|---firstname

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|---postalCode

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|---......

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|---...n

>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>|

>>>>>>>>>>>>>>>>>|------customerNumber

>>>>>>>>>>>>>>>>>|------DistrChan

>>>>>>>>>>>>>>>>>|------Division

>>>>>>>>>>>>>>>>>|-----SalesOrg

I have tested that webservice and it is working fine....

Using this webservice i have created one webDynpro application....

But when i am runnig this application i am getting the following error

<b>com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [CustomerNo] of class [com.sap.changeaddress.model.proxies.types.p1.CustomerChangeFromData] must exist and can not be null. This is required by schema description</b>

in CustomController i have written the following code

<i><b>Request_Z_BAPI_CUSTOMER_CHANGE_WS_customerChangeFromData customer = new Request_Z_BAPI_CUSTOMER_CHANGE_WS_customerChangeFromData();

ComplexType_CustomerChangeFromData dataStructure = new ComplexType_CustomerChangeFromData();

customer.setParameters(dataStructure);

wdContext.nodeRequest_Z_Bapi_Customer_Change().bind(customer);</b></i>

please help me how to solve this problem

Best Regards

Ravi Shankar B

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Ever get this solved?

Former Member
0 Kudos

Hi

Still i am getting this problem please help me

Best Regards

Ravi Shankar B

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Ravishankar,

1. Web service signature changed after you generated the webdynpro model?.

if yes try regenerating the model once.

2. mandatory field pass some values

Regards, Suresh KB

Former Member
0 Kudos

RaviShankar,

Check out my reply in this .

Bala