Im trying to send an xml string to a webservice as an input paramter, however it receives the error:’
Server was unable to read request. → There is an error in XML document (5, 4). → The XML declaration is unexpected. Line 5, position 16.’
Thanks Mark, that worked…I had a feeling it was that and the quotes in it… If the webservice then returns an xmlstring should it have the xml declaration removed also?
I am trying to call my partner’s webservice and I get this error. I am using certificates. I just renewed our certificate. Prior to expiration everything used to work smoothly. Can someone help on this. Thanks in advance.
That’s not enough of the request to understand the issue. Are you sending a soap message? If so, what does the envelope look like? Can you capture the request on the wire and review it for extra xml declarations?
Does that mean the information i provided is not sufficient for further analysis. OR the message looks good and we are unable to identify what is going on ?
One difference I see my earlier between my successful webservice call and failure webservice call. Earlier I did not have SP2 installed in my env. and Now I have SP2 installed. My regular simple webservice is also not working after i upgrade. Can you help in identifying what more i have to take care ?
One difference I see between my successful webservice call and failure webservice call. Earlier I did not have SP2 installed in my env. and Now I have SP2 installed. My regular simple webservice is also not working after i upgraded. Can you help in identifying what more i have to take care ?
Please post the complete SOAP request messsage. Feel free to edit out any company-specific information. You should be able to post it as an attachment with a txt or xml file extension.