473,790 Members | 2,528 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 1955

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

Similar topics

5
3020
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
1971
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
2225
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
5487
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
7114
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
1829
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
9666
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
10413
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
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
6769
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
5422
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...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.