Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Webservice Consume Proxy error : XML stream: 'document not wellformed'.

Former Member
0 Likes
1,201

Dear All ,

I facing problem when i try to test my service consumer .

Its end with error message :



  Error when processing Web service call
  Error when calling SOAP Runtime functions: CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR  occurred, but was
  An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause
  Error while parsing an XML stream: 'document not wellformed'.

  

Need your help guys.

Thanks,

Ikrar

Edited by: ikrarSAP on Jun 17, 2011 2:34 PM

Dear All ,

I facing problem when i try to test my service consumer .

Its end with error message :



  Error when processing Web service call
  Error when calling SOAP Runtime functions: CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR  occurred, but was
  An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause
  Error while parsing an XML stream: 'document not wellformed'.

  

Need your help guys.

Thanks,

Ikrar

Edited by: ikrarSAP on Jun 17, 2011 2:34 PM

5 REPLIES 5
Read only

Former Member
0 Likes
804

Hi,

As per the message returning, we can clearly say that it is a problem of parsing means converting data to xml format..Basically Web service is a case sensitive and also looks for the proper format of data you are passing.

Regards,

Sai Kiran.

Read only

0 Likes
804

Thanks Kiran.

I test it with default data send by its webservice but error still exist.

The webservice is taken from BOBJ.

Any other solution ?

Regards,

Ikrar

Read only

0 Likes
804

Hi,

Actually i dont have any idea on BOBJ. But this kind error usually occurs in the following cases:

  • The parameters you called from web service do not match with parameters using by tables at R/3. So, it can not parse.

  • A Web service's WSDL file is not well-formed because of an element specifying two attributes with the same name, the client application produces this error.

  • Either there is indeed an issue with how the XML is being encoded and then decoded on other end or there's a step that is being missed somewhere.

Thanks & Regards,

Sai Kiran Rao.

Read only

Former Member
0 Likes
804

Solved.

Read only

0 Likes
804

Hi,

can u please write your solution?