- 
        1. Re: Cannot get URL for schema (because of extra slash)richard_opalka Oct 10, 2007 3:23 AM (in response to roger.powell)Which JBoss AS and JBossWS version are you using? 
 You can see it in the system console when JBoss boots.
 Richard
- 
        2. Re: Cannot get URL for schema (because of extra slash)roger.powell Oct 10, 2007 9:21 AM (in response to roger.powell)Richard, 
 Thx for the followup:"richard_opalka" wrote: 4.2.1GA
 Which JBoss ASand JBossWS version are you using? 2.0.1GA
 I guess my question is what is creating the double slash and how do I convince it not to?
 Regards,
 Roger.
- 
        3. Re: Cannot get URL for schema (because of extra slash)richard_opalka Oct 10, 2007 1:37 PM (in response to roger.powell)Strange, 
 it works for me. Are you sure you have custom schema files bundled in the same directory as your wsdl file in deployed archive?
 Richard
- 
        4. Re: Cannot get URL for schema (because of extra slash)roger.powell Oct 10, 2007 4:15 PM (in response to roger.powell)"richard_opalka" wrote: 
 Strange,
 it works for me. Are you sure you have custom schema files bundled in the same directory as your wsdl file in deployed archive?
 Richard
 Here is a picture of my jar file as proof. It is the QoS-WS-v2-RC3.wsdl that defines the PRService and that imports the agreement_types.xsd (which, in turn, imports address.xsd, by the way).
 http://homepage.ntlworld.com/roger.powell7/documents/40.html
 (I couldn't get the [img] tags to do their stuff -- nothing works for me.)
- 
        5. Re: Cannot get URL for schema (because of extra slash)richard_opalka Oct 11, 2007 5:17 AM (in response to roger.powell)Could you provide simple example to reproduce your problem? 
 Richard
- 
        6. Re: Cannot get URL for schema (because of extra slash)roger.powell Oct 11, 2007 5:27 AM (in response to roger.powell)Sorry, but I can't do this quickly -- I am very pushed for the next few days. I will try to replicate it if I have time later on. 
 As I said at the beginning, I have no such problems with Glassfish, using JAX-WS2.1 and JAXB2.1 but instead I encountered a connection pooling problem which I couldn't solve, hence my interest in JBoss AS (and I'm anyway using Hibernate).
 Never mind, it was worth a try..
 Thanks for your interest.
- 
        7. Re: Cannot get URL for schema (because of extra slash)brintoul Jan 24, 2008 7:59 PM (in response to roger.powell)
 I am also having this problem. I cannot believe that there aren't hundreds of people out there having this problem. Isn't anyone packaging up an EJB into a .jar file with a WSDL and an imported schema like this? Is everyone else using a "bottom up" approach?
 I am using jbossws-native-2.0.2.GA and JBoss [Trinity] 4.2.2.GA.
 There is a bug in org.jboss.wsf.common.URLLoaderAdapter or something that it uses.
 The error reads: Cannot get URL for: META-INF/wsdl//MyWebService/MyAppData.xsd (Note the extra slash).
 This is putting me in an early grave.
- 
        8. Re: Cannot get URL for schema (because of extra slash)memoens Jan 25, 2008 7:48 AM (in response to roger.powell)I'am also having the same problem. I'll create a Jira issue containing a small example 
- 
        9. Re: Cannot get URL for schema (because of extra slash)memoens Jan 25, 2008 8:27 AM (in response to roger.powell)created issue http://jira.jboss.com/jira/browse/JBWS-1969 
- 
        10. Re: Cannot get URL for schema (because of extra slash)brintoul Jan 25, 2008 1:45 PM (in response to roger.powell)"memoens" wrote: 
 created issue http://jira.jboss.com/jira/browse/JBWS-1969
 Awesome.
 You know, I pulled the source for what I think is 2.0.2 JBossWS and I don't see the class (org.jboss.wsf.common.URLLoaderAdapter) that I mentioned.
 I think I might be using the wrong library (.jar) somewhere... The version is reported as 2.0.2 as I reported above, but I may be using an incorrect module somewhere... Can someone validate that the abovementioned class should be used in JBossWS 2.0.2GA?
- 
        11. Re: Cannot get URL for schema (because of extra slash)peterj Jan 25, 2008 5:04 PM (in response to roger.powell)That class should be in lib/jbossws-common.jar. 
- 
        12. Re: Cannot get URL for schema (because of extra slash)brintoul Jan 28, 2008 7:00 PM (in response to roger.powell)"PeterJ" wrote: 
 That class should be in lib/jbossws-common.jar.
 Thanks, Peter. Now my question becomes: Can I get the source files which make up that .jar file by performing the checkout listed in the wiki?
 I tried the following:
 svn co https://svn.jboss.org/repos/jbossws
 But I got *no* code with the package specified. Is that class part of the actual AS?
- 
        13. Re: Cannot get URL for schema (because of extra slash)peterj Jan 29, 2008 11:32 AM (in response to roger.powell)The location I gave was for the binary download. 
 To get the source of that class, look in http://anonsvn.jboss.org/repos/jbossws/common/trunk/
 
     
     
     
    