• 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

targetNamespace & NameSpace issue

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am a newbie to the web services, i am using axis2, the thing i have made a hand typed wsdl file and rectified all the errors regarding the syntactic and other errors but the one i am unable to rectify is the namespace issue which i am facing for the operation which i have created based on a java program whose main purpose is to tell Hello followed by the parameter passed.

Earlier when i just deployed the service archive(.aar file) only using a services.xml file and the .class file and depending on server generated .wsdl file i'm getting the required result, so i thought of making a wsdl file on my own by going through the tags and the attributes which are inter-related among the other tags and i'm able to finish the wsdl file but i'm stuck at the namespace issue, i have tried to include the same namespace which the server has generated but i have no luck. i know that it will fail how can i figure out the right namespace for my operation that is related to the java method.

here is my wsdl file

services.xml

java program


now can any one help me to figure out the right namespace for the operation

the errors i got when i have started to generate the stubs from the hand typed wsdl file, there are errors but the stubs have been generated

 
saipraneeth nallapareddy
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it is just due to case sensitive issue as i have made it is a hand typed one and i didn't made use of any tools i couldn't locate the error, the only way i have rectified the errors that are pointed when i generate the stubs using wsdl2java.bat.
the error is targetNameSpace should be targetNamespace.
Ofcourse i have modified the WSDL file when compared to the one i posted, they are all pointed by wsdl2java.bat.
 
That new kid is a freak. Show him this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic