Re: Castor Based objects giving Errors

2005-02-02 Thread Ananth T. Sarathy
Thanks alot. You guys really helped me out. On Tue, 1 Feb 2005 14:31:38 -0500, Mike Burati <[EMAIL PROTECTED]> wrote: > > > >> > >> targetNamespace="http://xml.ws.pko.dia.mil"; > xmlns="http://xml.ws.pko.dia.mil"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > >>

RE: Castor Based objects giving Errors

2005-02-01 Thread Mike Burati
>> >> http://xml.ws.pko.dia.mil"; xmlns="http://xml.ws.pko.dia.mil"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> >> http://xml.ws.pko.dia.mil"/> >> >> > The schema should be imported with "schemaLocation" not "location". Also, I bel

Re: Castor Based objects giving Errors

2005-02-01 Thread TMG
Ananth, The schema should be imported with "schemaLocation" not "location". Tom Gordon Ananth T. Sarathy wrote: I tried that, but I keep getting errors. Is there something I am doing wrong with these? The WSDL2Java is giving me an error that SearchText isrefrenced not defined but it is defined in

Re: Castor Based objects giving Errors

2005-02-01 Thread Ananth T. Sarathy
I tried that, but I keep getting errors. Is there something I am doing wrong with these? The WSDL2Java is giving me an error that SearchText isrefrenced not defined but it is defined in the xsd Any help is appreciated On Tue, 01 Feb 2005 14:52:59 +0900, Bill Keese <[EMAIL PROTECTED]> wrote: >

Re: Castor Based objects giving Errors

2005-01-31 Thread Bill Keese
Do you know of any ways to create wsdls using the castor objects? One thing you can do is to import your XSD into your WSDL file. See http://www-106.ibm.com/developerworks/webservices/library/ws-castor/ Bill

Re: Castor Based objects giving Errors

2005-01-31 Thread Ananth T. Sarathy
Thanks, that worked. The problem was that I used Java to WSDL to set up the intial framework then, I set up the a Castor object model. I was trying to recreate a wsdl from the new objects with Java2WSDL to see if it would work, and it didn't. Do you know of any ways to create wsdls using the cas

Re: Castor Based objects giving Errors

2005-01-31 Thread TMG
Ananth, The problem has to do with capitalization, not castor. The complex type "searchParameters" in your schema has to match the capitalization of your operation parameter (in retrieveProducts) as defined in your server-config.wsdd. I'm not sure how you got things in this state ... generati