Ok so when trying to set up the simple test case, I realized that
import.sdo was not the problem after all.  You can in fact have multiple
import.sdo tags, but only if the WSDL's you are specifying have different
namespaces.  My problem now is that I am trying to access 2 external web
services, both from www.webserviceX.NET, and they both use that URL as
their namespace.  I have tried changing the namespaces to make them unique
but then I run into problems connecting to the external service, located at
that URL.  Does anyone know a way to get around this?
--
Elizabeth DeLouise
[EMAIL PROTECTED]



                                                                           
             "kelvin goodson"                                              
             <[EMAIL PROTECTED]                                             
             ns.org.uk>                                                 To 
             Sent by:                  [email protected]           
             [EMAIL PROTECTED]                                          cc 
             il.com                                                        
                                                                   Subject 
                                       Re: Can't do multiple import.sdo's  
             08/01/2006 05:29                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                 ache.org                                                  
                                                                           
                                                                           




Hi Elizabeth,
   do you have a test case for this and I'll take a look.
Regards, Kelvin.

On 31/07/06, Elizabeth DeLouise <[EMAIL PROTECTED]> wrote:
>
> A problem I came across (not sure if it's on my end or Tuscany's), was
> that
> I could not have more than one <import.sdo wsdlLocation="..."> tag in my
> sca.module file.  If <import.sdo> is used more than once, only the first
> wsdl specified is used to register sdo types.  The hack I came up with is
> to
> copy-paste the type definitions from one wsdl into another, and declare
> them
> like this:
>
> <module>
>     <import.sdo wsdlLocation="File1.wsdl" />
>     <import.wsdl wsdlLocation="File2.wsdl" />
>     <import.wsdl wsdlLocation="File1.wsdl" />
> </module>
>
> File1 contains type definitions from both File1 and File2.  Both files
> must
> still be imported using import.wsdl for this to work, and using
> import.wsdlmore than once IS successful.
>
> Big Bank appears to use 2 import.wsdl tags, as well as
>     <import.sdo factory="com.bigbank.account.AccountFactory" />
>     <import.sdo factory="net.x.webservice.WebserviceFactory" />
>
> I'm not sure if this gets around the problem of registering SDO types or
> not.  Does anyone have any thoughts on why import.sdo can only be used
> once?
>
>


--
Best Regards
Kelvin Goodson



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

Reply via email to