Solved

Web Service

Posted on 2009-07-07
7
441 Views
Last Modified: 2015-01-05
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?
0
Comment
Question by:Vimal DM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 7

Expert Comment

by:aamodt
ID: 24800903
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
0
 
LVL 7

Author Comment

by:Vimal DM
ID: 24805992
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
0
 
LVL 7

Author Comment

by:Vimal DM
ID: 24810670
Hi
sorry
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 7

Author Comment

by:Vimal DM
ID: 24810685
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"
0
 
LVL 7

Accepted Solution

by:
Vimal DM earned 0 total points
ID: 25306828
Hi,

i got it no issue in this
thanks for your effort aamodt
0
 
LVL 7

Expert Comment

by:aamodt
ID: 25306871
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
0
 
LVL 7

Author Comment

by:Vimal DM
ID: 25306896
it is ok no problem
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question