• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Axis2 1.4 Problem in generating code

 
Ranch Hand
Posts: 59
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am trying to generate the code using axis2 utility wsdl2java.

Below is the error message which popped up with the stack trace as shown :


Please assist me where to look for resolving the above issue.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rizwan Patel:




"A processing instruction (PI) is a tag that encodes specific application information which begins with <? and ends with ?>"

At the very beginning of a WSDL you'll often find the XML declaration:


Sounds like it's reading something like

and getting confused.

It's difficult to tell any more without seeing the WSDL.
[ December 03, 2008: Message edited by: Peer Reynders ]
 
Rizwan Patel
Ranch Hand
Posts: 59
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Peer Reynders,
As par your guidance I had checked with the first line for PI in my wsdl
and I found that there is one "space" is extra at the starting of the PI and which causing this problem
I had removed that extra space from start and its working fine now.
Thank you very much
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may have blank space/blank line before <?xml.....>

Just remove that and build again. You should be fine..
 
a wee bit from the empire
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic