This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Trouble generating Exchange web service client using Axis2  RSS feed

 
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to generate a web service client for Exchange Web services (2010). I saved my WSDL, "types.xsd" and "messages.xsd" locally. I have a simple Ant build script ...



but I get this error ...



Any ideas how to troubleshoot this further or other steps for going forward? Thanks, - Dave
 
Ranch Hand
Posts: 122
IntelliJ IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I remember correctly Microsoft left out the service element from the WSDL. I remember a while back I ended up modifying the WSDL and adding that missing section and then Axis worked fine.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also look at JWebServices for Exchange, an API that makes it easy to work with Exchange 2007/2010
 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Regarding

> I remember a while back I ended up modifying the WSDL and adding that missing section and then Axis worked fine

Can you show me how you modified the WSDL? What do you mean they left out the service element?

Alex, Thanks for the link, but it looks like you have to pay for JWebService. Do you know of any open source or other freeware that interacts with Exchange?

Thanks, - Dave
 
See where your hand is? Not there. It's next to this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!