Re: Axis2 1.3 CodeGen problems with xsd:import

2008-04-18 Thread mikle

WSDL2Java works fine.. the prob is the codegen..



mikle wrote:
> 
> Hi Amila,
> 
>  http://www.nabble.com/file/p15930225/ClearingHouseService.wsdl
> ClearingHouseService.wsdl 
>  http://www.nabble.com/file/p15930225/ECP.xsd ECP.xsd 
> 
> I am getting "Error Parsing WSDL" when using the ant (with unwrap) to
> update my classes:
> 
>  classname="org.apache.axis2.tool.ant.AntCodegenTask"
> classpathref="axis2.class.path" />
> 
> If i use the ui codegen I get the following:
> 
> URISyntaxException: illegal character exception in path at index 18:
> file://c:/pathtowsdl/
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-1.3-CodeGen-problems-with-xsd%3Aimport-tp15925873p16763991.html
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 1.3 CodeGen problems with xsd:import

2008-03-09 Thread mikle

Hi Amila,

http://www.nabble.com/file/p15930225/ClearingHouseService.wsdl
ClearingHouseService.wsdl  http://www.nabble.com/file/p15930225/ECP.xsd
ECP.xsd I am getting "Error Parsing WSDL" when using the ant to update my
classes:



If i use the ui codegen I get the following:

URISyntaxException: illegal character exception in path at index 18:
file://c:/pathtowsdl/
-- 
View this message in context: 
http://www.nabble.com/Axis2-1.3-CodeGen-problems-with-xsd%3Aimport-tp15925873p15930225.html
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 1.3 CodeGen problems with xsd:import

2008-03-09 Thread Amila Suriarachchi
On Sun, Mar 9, 2008 at 6:13 PM, mikle <[EMAIL PROTECTED]> wrote:

>
> I am getting "Error Parsing WSDL" when using xsd:import..
>
> with wsdl:import it works fine.. but the WSDL editor in eclipse gives me
> "Error resolving component" for an element defined in the schema.
>
> Is there soemthing wrong with the wsdl or is it just a bug?
>
> 
> targetNamespace="http://mch.org/ClearingHouse/";
>xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
>xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>xmlns:tns="http://mch.org/ClearingHouse/";
>xmlns:ecp="http://mch.org/ClearingHouse/ECPSchema";>
>
>  http://mch.org/ClearingHouse/ECPSchema";
> location="ECP.xsd"/>
>
>  
>http://mch.org/ClearingHouse/";>
>
>
>


this should work.  did you try with the wsdl2java tool comes with the Axis2.

if not please attach your wsdl and schema.

thanks,
Amila.

>
>
>
>
>
>
>  type="ecp:PresentedChequeType" minOccurs="1"
>maxOccurs="unbounded">
>
> type="xsd:dateTime"
>minOccurs="1"
> maxOccurs="1">
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Axis2-1.3-CodeGen-problems-with-xsd%3Aimport-tp15925873p15925873.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.


Axis2 1.3 CodeGen problems with xsd:import

2008-03-09 Thread mikle

I am getting "Error Parsing WSDL" when using xsd:import..

with wsdl:import it works fine.. but the WSDL editor in eclipse gives me
"Error resolving component" for an element defined in the schema.

Is there soemthing wrong with the wsdl or is it just a bug?


http://mch.org/ClearingHouse/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns="http://mch.org/ClearingHouse/"; 
xmlns:ecp="http://mch.org/ClearingHouse/ECPSchema";>
  
  http://mch.org/ClearingHouse/ECPSchema";
location="ECP.xsd"/>  
  
  
http://mch.org/ClearingHouse/";>



 










-- 
View this message in context: 
http://www.nabble.com/Axis2-1.3-CodeGen-problems-with-xsd%3Aimport-tp15925873p15925873.html
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]