• 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

AXIS Version Issue

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have recieved a WSDL for a deployed service.
When i used AXIS version 1.1, i get the files and operation name along with "_"(for ex, if entry is like this in xsd file , <xs:element ref="ResponseContext"/>, then _RequestContext.java file is created)
When i am hitting webService with this client jars, i get error saying " No such operation RequestContext".

And when i used Axis Version 1.2, i get the file name and operation name as given in WSDL.

Any help on this will be highly appreciated.

Thanks
Amit
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Amit G Piplani:
i get error saying " No such operation RequestContext".


IMHO, i never had this problem. the simple solution could be to change remove the _ and recompile the java files it.
Also please post this as a bug in Axis website.
 
Amit G Piplani
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Balaji,

Changing the file name will also not help, as i have to change my Stub and calling application also for this(Which is huge).

Amit
 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Give some more inputs like pasting your WSDL here. Any special reason for sticking to AXIS 1.1 ?
 
Amit G Piplani
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Reasons for going towards Axis 1.1 is stable. Will i be able to paste 10,000 lines of WSDL here?
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This I think has been a known issue and has been fixed in Axis 1.2. You can check out: http://issues.apache.org/jira/browse/AXIS-1598
The 1.2 release should be final anytime now so you can move to 1.2 I guess.

Ashutosh
 
Amit G Piplani
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But the mappings between _Java object and XMl was correct and i was able to resolve the issue using both Axis 1.1 and Axis 1.2, since issue was at the Deployed Service end.
 
reply
    Bookmark Topic Watch Topic
  • New Topic