File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Trouble generating Exchange web service client using Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Trouble generating Exchange web service client using Axis2" Watch "Trouble generating Exchange web service client using Axis2" New topic
Author

Trouble generating Exchange web service client using Axis2

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
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
Jesus Mireles
Ranch Hand

Joined: Mar 10, 2010
Posts: 122

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.
Alex Stolovski
Greenhorn

Joined: Feb 16, 2011
Posts: 1
You can also look at JWebServices for Exchange, an API that makes it easy to work with Exchange 2007/2010
Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
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
 
 
subject: Trouble generating Exchange web service client using Axis2
 
Similar Threads
Help! Wsdl2Java Can't parse a Coldfusion WSDL?
reading soap-envelop messages
The entity "nbsp" was referenced, but not declared.
Axis2 1.4 Problem in generating code
ConnectionException and few Doubts