Published on WSO2 Oxygen Tank (http://wso2.org)

Axis2 - Eclipse Plugin problems

By joevalerio
Created 2007-09-24 09:17

Hello all,

First, I just want to say that I am new to WebServices, and specifically the Axis2-Eclipse pugin.  Here is what I want:

I want to expose MSExchange's WebServices and use them to do my bidding...  I assume that the plugin will generate an api that will communicate with the Exchange WS, once I provide it the wsdl file from MS.  NP so far.  Here is the top of said wsdl file...

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:s="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
        </xs:schema>
    </wsdl:types>
...

My problem is when the plugin tries to do what it does, it cannot find messages.xsd, which consiquiently references another xs:import.  I have all three of these resources (Services.wsdl, messages.xsd, types.xsd) located in my project root.  Where do they need to be for the pluging to find them and be happy?  I have referenced the wsdl file locally and remotely via ssl and basic auth.  Please help... 

Thanks in advance,

- Joe Valerio

 

 


Source URL:
http://wso2.org/forum/thread/2669