on 12-24-2007 10:58 AM
Hi All,
I am consuming the standard webservice
Name: /SAPAPO/SDM_PARCRTRC
I am getting the following error on execution of the web service:
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element []<ScheduleLine> is required in <NameSpecification> but can not be found.
Please help me with this problem.
Thanks in Advance.
Hi Setu,
With the description of the error message, it denotes that, "ScheduleLine" is a required parameter for the Web Service.
In the model node that gets created for the Web Service model, find the node / attribute with the name specified, and set the appropriate value for it.
Also, you can try to execute the web service, by specifying its WSDL location, from the Web Service Navigator, to get to know about its interface.
Hope it helps.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for your replies.
They were helpful but this what I did that solved the problem
I used the following code to set the required parameters
item.getOriginalBean().setScheduleLine(new ScheduleLineInner[] {scheduleLine.getOriginalBean()});
instead of
item.addScheduleLine(scheduleLine);
Similarly all the parameters were set using the orginalBean
Now it is working perfectly fine....
Thanks a lot..
Setu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Setu,
First Check the web service whether its working in web service navigator.
Make sure that you are passing required parameter still problem persist means, try to re generated the model again with latest web service.
Hope this will solve your problem.
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Setu,
Just check whether u r passing all the required input parameters for the webservice or not?? it seems some required parameters are not getting passed.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.