Solved

Web Service

Posted on 2009-07-07
7
437 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
  • 5
  • 2
7 Comments
 
LVL 7

Expert Comment

by:aamodt
Comment Utility
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
Comment Utility
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
Comment Utility
Hi
sorry
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 7

Author Comment

by:Vimal DM
Comment Utility
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
Comment Utility
Hi,

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

Expert Comment

by:aamodt
Comment Utility
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
Comment Utility
it is ok no problem
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now