Hm, I get the exception when starting the server context:

String serverContextFile = "applicationContext.xml" ;
                ClassPathXmlApplicationContext serverContext = new 
ClassPathXmlApplicationContext(
                                new String[] { serverContextFile});

How did you start the spring application context?

Regards,
Marc


-------- Original-Nachricht --------
Datum: Thu, 12 Jul 2007 17:07:39 +0200
Von: "Holger Stolzenberg" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: AW: http://schemas.xmlsoap.org/soap/http

> I experienced this problem when creating a client for my services. For me
> the schema itself did not help it was more likely a bug in the client
> setup. I had to call setBus( ... ) on the client factory then the error had
> gone. Example:
> 
> NOT WORKING:
> JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
> factory.setServiceClass( getServiceInterface() );
> factory.setAddress( getRealAddress() ); 
> 
> 
> WORKING:
> Bus bus = new SpringBusFactory().createBus();
> 
> JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
> factory.setBus( bus );
> factory.setServiceClass( getServiceInterface() );
> factory.setAddress( getRealAddress() );
> .... Create client
> 
> 
> Mit lieben Grüßen aus dem eWerk
> 
>   |  Holger Stolzenberg
>   |  Softwareentwickler
>   |
>   |  Geschäftsführer: 
>   |  Frank Richter, Erik Wende, Hendrik Schubert
>   |
>   |  eWerk IT GmbH
>   |  Markt 16
>   |  Leipzig 04109
>   |  http://www.ewerk.com
>   |  HRB 9065, AG Leipzig
>   |  Hauptniederlassung Leipzig
>   |
>   |  fon +49.341.4 26 49-0
>   |  fax +49.341.4 26 49-88
>   |  mailto:[EMAIL PROTECTED]
>   |
>   |  Support:
>   |  fon 0700 CALLME24 (0700 22556324)
>   |  fax 0700 CALLME24 (0700 22556324)
>   |
>   | Auskünfte und Angebote per Mail
>   | sind freibleibend und unverbindlich. 
> 
> -----Ursprüngliche Nachricht-----
> Von: Marc Baumgartner [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 12. Juli 2007 17:01
> An: [email protected]
> Betreff: http://schemas.xmlsoap.org/soap/http
> 
> Hi all,
> 
> I get an org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'helloWorldWS': Invocation of init method failed;
> nested exception is java.lang.RuntimeException: Could not find destination
> factory for transport http://schemas.xmlsoap.org/soap/http
> 
> Where can I find this schema? How do I have to include it in my spring
> conf?
> 
> Regards,
> Marc
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Reply via email to