Link to home
Start Free TrialLog in
Avatar of Vimal DM
Vimal DMFlag for India

asked on

Web Service

Hi,

i get the following error when i use web service (i use the nusoap functionality)

"XML error parsing SOAP payload on line 1: Invalid character "

what would be the problem?
Avatar of Thomas Aamodt
Thomas Aamodt
Flag of Norway image

What is the problem on Line 1 exactly ?

It stands "Invalid Character" in the SOAP payload (content) so i guess you use some kinda special character that are not supported.

Please explain a bit future about the problem. Some code and examples of what you are trying to do

Regards Aamodt
Avatar of Vimal DM

ASKER

Hi,
I have two fields like "field1 and field2"
 where in the server xml fields are equal
i send those two fields to webservice, and it connecting to the WS .. but error displayed first page..

also i am trying to connect the french text stored web service
Hi
sorry
This is the first line of my xml file(web service)

<?xml version="1.0" encoding="iso-8859-1" ?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="webservice" xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="webservice">
------------------------------------------------------------------------------------------------------------------
and i pass the parameters to web service,i get the following error

"XML error parsing SOAP payload on line 1: Invalid character"
ASKER CERTIFIED SOLUTION
Avatar of Vimal DM
Vimal DM
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yeah, okey :) sorry for not responding on the last  2 comments you made. have been abit distant from EE the past weeks.

So nice that the WSDL works :)

Regards Aamodt
it is ok no problem