473,779 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error encounter " org.xml.sax.SAX Exception: Fatal Error" while running WSDL2Java tool

3 New Member
i have created wsdl file by running the following url
http://localhost:8080/axis4/services/MyService?wsdl

next i run "c:\java org.apache.axis .wsdl.WSDL2Java MyService.wsdl" it is giving following error
org.xml.sax.SAX Exception: Fatal Error: URI=file:///E:/Personal/SMat/My%20Fav/We
Services/axis/axis-1_4/samples/userguide/example3/MyService.wsdl Line=2: Conten
is not allowed in prolog.
at org.apache.axis .utils.XMLUtils $ParserErrorHan dler.fatalError (XMLUtil
.java:723)
at com.sun.org.apa che.xerces.inte rnal.util.Error HandlerWrapper. fatalErr
r(ErrorHandlerW rapper.java:218 )
at com.sun.org.apa che.xerces.inte rnal.impl.XMLEr rorReporter.rep ortError
XMLErrorReporte r.java:386)
at com.sun.org.apa che.xerces.inte rnal.impl.XMLEr rorReporter.rep ortError
XMLErrorReporte r.java:316)
at com.sun.org.apa che.xerces.inte rnal.impl.XMLSc anner.reportFat alError(
MLScanner.java: 1438)
at com.sun.org.apa che.xerces.inte rnal.impl.XMLDo cumentScannerIm pl$Prolo
Dispatcher.disp atch(XMLDocumen tScannerImpl.ja va:899)
at com.sun.org.apa che.xerces.inte rnal.impl.XMLDo cumentFragmentS cannerIm
l.scanDocument( XMLDocumentFrag mentScannerImpl .java:368)
at com.sun.org.apa che.xerces.inte rnal.parsers.XM L11Configuratio n.parse(
ML11Configurati on.java:834)
at com.sun.org.apa che.xerces.inte rnal.parsers.XM L11Configuratio n.parse(
ML11Configurati on.java:764)
at com.sun.org.apa che.xerces.inte rnal.parsers.XM LParser.parse(X MLParser
java:148)
at com.sun.org.apa che.xerces.inte rnal.parsers.DO MParser.parse(D OMParser
java:250)
at com.sun.org.apa che.xerces.inte rnal.jaxp.Docum entBuilderImpl. parse(Do
umentBuilderImp l.java:292)
at org.apache.axis .utils.XMLUtils .newDocument(XM LUtils.java:369 )
at org.apache.axis .utils.XMLUtils .newDocument(XM LUtils.java:420 )
at org.apache.axis .wsdl.symbolTab le.SymbolTable. populate(Symbol Table.ja
a:482)
at org.apache.axis .wsdl.gen.Parse r$WSDLRunnable. run(Parser.java :361)
at java.lang.Threa d.run(Thread.ja va:595)


can any body give the solution for the above problem.
Sep 18 '06 #1
0 1953

Sign in to post your reply or Sign up for a free account.

Similar topics

5
3019
by: Sam | last post by:
Guys facing a strange problem any clue would really rescue me.. i am using a ASP application with following things Server : Intel Xeon (TM) CPU 2GHz, 2GB RAM, 136GB HDD OS : Windows 2000 Advanced server. IIS5.0 Database: Oracle (Using ADODB to connect to the Database) App server running on the same machine (COM+)
3
1409
by: Gary McGill | last post by:
I have a C# solution with a dozen or so projects. There are references between the projects, and these were all added as "Project" references. Everything's been working fine for months, but suddenly today it all collapsed in a heap. I get a mysterious error when running the project: "The located assembly's manifest definition with name '<MyClass>' does not match the assembly reference" Using the fuslogvw tool I can see that the...
1
1970
by: PS | last post by:
Hi I have project in old C++ (not .NET). I have prepared .dll in C++.NET for this old project. Project compile without any errors but after execution I got error "Fatal execution engine error". Does anybody know where is problem? thanks in advance best regards P.
0
1441
by: gahagan | last post by:
If you encounter this error, most likely one of the controls you're trying to cut/paste is a combo box with a longer-than-average 'Row Source' value. That, apparently, is the problem. Shorter Row Source values don't seem to be a problem. (I don't have time to figure out at what length the error triggers.) Workaround: Remove the Row Source (you can cut/paste the text somewhere else), then try cutting/pasting the control(s) again. Then...
2
2702
by: Praveen Chandra | last post by:
Hi, I am trying to build a static library, while building the library i am getting the following error: fatal error C1189: #error : "No sstream/strstream implementation" Following is the code that is giving error: #ifdef HAVE_CONFIG_H
1
2224
by: Raheemulla Khan | last post by:
i have created wsdl file by running the following url http://localhost:8080/axis4/services/MyService?wsdl next i run "c:\java org.apache.axis.wsdl.WSDL2Java MyService.wsdl" it is giving following error org.xml.sax.SAXException: Fatal Error: URI=file:///E:/Personal/SMat/My%20Fav/We Services/axis/axis-1_4/samples/userguide/example3/MyService.wsdl Line=2: Conten is not allowed in prolog. at...
4
5486
by: keychain | last post by:
I'm experience the infamous "SSL: Fatal Protocol Error" bug with Apache 2.x According the fopen() documentation: "If you are using fsockopen() to create an ssl:// socket, you are responsible for detecting and suppressing the warning yourself." I have been unable to determine how to go about suppressing these warnings. Any help would be greatly appreciated.
1
7113
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that someone who bothers to read all of it have some pointers. Note, I have posted the stack trace and the code exhibiting the problem further down so if you want to start by reading that, search for +++ Also note that I am unable to reproduce...
3
1828
by: sachinv1821 | last post by:
hi , i am Getting this Error fatal error C1189: #error : "eh.h is only for C++!" my Problem is i am Having C++ librabry and Appropriate .h file i want to Access Them is .c File Files..... to Be More Specific i am Creating a C++ Object in a C file... this Giving me the error!!! :( can Any Body Please Help me
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9930
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.