?
Solved

Web Service

Posted on 2009-07-07
7
Medium Priority
?
443 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
Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

 
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

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

762 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