<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Application with ws client return an exception with spring
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/marsim86">Marcos Simón</a> in <i>Spring Integration</i> - <a href="http://community.jboss.org/message/560700#560700">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I got an application that runs over JBoss 6 M4, with Spring and JSF that works fine.</p><p>But now I got other applicaction (that will run in the same server) that I have to install spring.&#160; This application call to webservice and it do well, but when I put spring jar file (just only the file, without change the configurations), the application returns an exception:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org/springframework/beans/BeansException<br style="padding: 0px; margin: 0px;"/>at javax.faces.component.MethodBindingMethodExpressionAdapter.i nvoke(MethodBindingMethodExpressionAdapter.java:102)<br style="padding: 0px; margin: 0px;"/>at com.sun.faces.application.ActionListenerImpl.processAction(A ctionListenerImpl.java:102)<br style="padding: 0px; margin: 0px;"/>at javax.faces.component.UICommand.broadcast(UICommand.java:315 )<br style="padding: 0px; margin: 0px;"/>at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot. java:775)<br style="padding: 0px; margin: 0px;"/>at javax.faces.component.UIViewRoot.processApplication(UIViewRo ot.java:1267)<br style="padding: 0px; margin: 0px;"/>at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Invok eApplicationPhase.java:82)<br style="padding: 0px; margin: 0px;"/>at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)<br style="padding: 0px; margin: 0px;"/>at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl. java:118)<br style="padding: 0px; margin: 0px;"/>at javax.faces.webapp.FacesServlet.service(FacesServlet.java:31 2)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:324)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:242)<br style="padding: 0px; margin: 0px;"/>at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.d oFilter(FilterDispatcher.java:63)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:274)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:242)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:275)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)<br style="padding: 0px; margin: 0px;"/>at org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(SecurityAssociationValve.java:181)<br style="padding: 0px; margin: 0px;"/>at org.jboss.modcluster.catalina.CatalinaContext$RequestListene rValve.event(CatalinaContext.java:285)<br style="padding: 0px; margin: 0px;"/>at org.jboss.modcluster.catalina.CatalinaContext$RequestListene rValve.invoke(CatalinaContext.java:261)<br style="padding: 0px; margin: 0px;"/>at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValve.java:88)<br style="padding: 0px; margin: 0px;"/>at org.jboss.web.tomcat.security.SecurityContextEstablishmentVa lve.invoke(SecurityContextEstablishmentValve.java:93)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)<br style="padding: 0px; margin: 0px;"/>at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invok e(CachedConnectionValve.java:158)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)<br style="padding: 0px; margin: 0px;"/>at org.jboss.web.tomcat.service.request.ActiveRequestResponseCa cheValve.invoke(ActiveRequestResponseCacheValve.java:53)<br style="padding: 0px; margin: 0px;"/>at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:362)<br style="padding: 0px; margin: 0px;"/>at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:877)<br style="padding: 0px; margin: 0px;"/>at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:653)<br style="padding: 0px; margin: 0px;"/>at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:951)<br style="padding: 0px; margin: 0px;"/>at java.lang.Thread.run(Thread.java:619)<br style="padding: 0px; margin: 0px;"/>Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/BeansException<br style="padding: 0px; margin: 0px;"/>at org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusFacto ry.getSpringBusFactory(JBossWSBusFactory.java:121)<br style="padding: 0px; margin: 0px;"/>at org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusFacto ry.createBus(JBossWSBusFactory.java:54)<br style="padding: 0px; margin: 0px;"/>at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)&amp; lt; br /&gt; at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.jav a:106)<br style="padding: 0px; margin: 0px;"/>at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.jav a:97)<br style="padding: 0px; margin: 0px;"/>at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate( ProviderImpl.java:62)<br style="padding: 0px; margin: 0px;"/>at javax.xml.ws.Service.(Service.java:57)<br style="padding: 0px; margin: 0px;"/>at diz.relev3.integ.sicof2.IntegSicof2.<strong>(IntegSicof2.jav a:43)</strong><br style="padding: 0px; margin: 0px;"/>at com.datinza.web.beans.PacienteBean.conexionGAIA(PacienteBean .java:190)<br style="padding: 0px; margin: 0px;"/>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br style="padding: 0px; margin: 0px;"/>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)<br style="padding: 0px; margin: 0px;"/>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)<br style="padding: 0px; margin: 0px;"/>at java.lang.reflect.Method.invoke(Method.java:597)<br style="padding: 0px; margin: 0px;"/>at org.apache.el.parser.AstValue.invoke(AstValue.java:196)<br style="padding: 0px; margin: 0px;"/>at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionIm pl.java:276)<br style="padding: 0px; margin: 0px;"/>at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMeth odExpression.java:98)<br style="padding: 0px; margin: 0px;"/>at javax.faces.component.MethodBindingMethodExpressionAdapter.i nvoke(MethodBindingMethodExpressionAdapter.java:88)<br style="padding: 0px; margin: 0px;"/>... 30 more<br style="padding: 0px; margin: 0px;"/>Caused by: java.lang.ClassNotFoundException: org.springframework.beans.BeansException from BaseClassLoader@1069693{vfs:///C:/Desarrollo/jboss-6.0.0.201 00721-M4/server/default/conf/jboss-service.xml}<br style="padding: 0px; margin: 0px;"/>at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(Bas eClassLoader.java:480)<br style="padding: 0px; margin: 0px;"/>at java.lang.ClassLoader.loadClass(ClassLoader.java:248)<br style="padding: 0px; margin: 0px;"/>... 47 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>My code just call IngegSicof2 constructor, and as I said before it works fine if the spring isn't loaded.&#160; I&#180;ve configure correctly spring (unless as I think is the correct form) but the exception goes on.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code jive-java"><font color="darkgreen">/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
 * Generated source version: 2.2
 * 
 */</font>
<font color="darkgreen">//@WebServiceClient(name = "integ-sicof2", targetNamespace = "diz.relev3.integ.sicof2", wsdlLocation = "http://localhost:8080/integ_sicof2/servicios?wsdl")</font>
@WebServiceClient(name = <font color="red">"integ-sicof2"</font>, targetNamespace = <font color="red">"diz.relev3.integ.sicof2"</font>, wsdlLocation = <font color="red">"http://10.1.1.2:8080/integ_sicof2/servicios?wsdl"</font>)
<font color="navy"><b>public</b></font> <font color="navy"><b>class</b></font> IntegSicof2
&#160;&#160;&#160; <font color="navy"><b>extends</b></font> Service
<font color="navy">{</font>
&#160;
&#160;&#160;&#160; <font color="navy"><b>private</b></font> <font color="navy"><b>final</b></font> <font color="navy"><b>static</b></font> URL INTEGSICOF2_WSDL_LOCATION;
&#160;&#160;&#160; <font color="navy"><b>private</b></font> <font color="navy"><b>final</b></font> <font color="navy"><b>static</b></font> WebServiceException INTEGSICOF2_EXCEPTION;
&#160;&#160;&#160; <font color="navy"><b>private</b></font> <font color="navy"><b>final</b></font> <font color="navy"><b>static</b></font> QName INTEGSICOF2_QNAME = <font color="navy"><b>new</b></font> QName(<font color="red">"diz.relev3.integ.sicof2"</font>, <font color="red">"integ-sicof2"</font>);
&#160;
&#160;&#160;&#160; <font color="navy"><b>static</b></font> <font color="navy">{</font>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; URL url = <font color="navy"><b>null</b></font>;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; WebServiceException e = <font color="navy"><b>null</b></font>;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <font color="navy"><b>try</b></font> <font color="navy">{</font>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url = <font color="navy"><b>new</b></font> URL(<font color="red">"http://10.1.1.2:8080/integ_sicof2/servicios?wsdl"</font>);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <font color="navy">}</font> <font color="navy"><b>catch</b></font> (MalformedURLException ex) <font color="navy">{</font>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; e.printStackTrace();
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; e = <font color="navy"><b>new</b></font> WebServiceException(ex);
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <font color="navy">}</font>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; INTEGSICOF2_WSDL_LOCATION = url;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; INTEGSICOF2_EXCEPTION = e;
&#160;&#160;&#160; <font color="navy">}</font>
&#160;
&#160;&#160;&#160; <font color="navy"><b>public</b></font> IntegSicof2() <font color="navy">{</font>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <font color="navy"><b>super</b></font>(__getWsdlLocation(), INTEGSICOF2_QNAME);
&#160;&#160;&#160; <font color="navy">}</font>
 ... 
<font color="navy">}</font>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">package diz.relev3.integ.sicof2;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import java.net.MalformedURLException;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import java.net.URL;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import javax.xml.namespace.QName;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import javax.xml.ws.Service;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import javax.xml.ws.WebEndpoint;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import javax.xml.ws.WebServiceClient;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import javax.xml.ws.WebServiceException;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import javax.xml.ws.WebServiceFeature;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/**</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">* This class was generated by the JAX-WS RI.</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">* JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">* Generated source version: 2.2</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*/</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span>//@WebServiceClient(name = "integ-sicof2", targetNamespace = "diz.relev3.integ.sicof2", wsdlLocation = "</span><a class="jive-link-external-small" href="http://localhost:8080/integ_sicof2/servicios?wsdl" target="_blank">http://localhost:8080/integ_sicof2/servicios?wsdl</a><span>")</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span>//@WebServiceClient(name = "integ-sicof2", targetNamespace = "diz.relev3.integ.sicof2", wsdlLocation = "</span><a class="jive-link-external-small" href="http://10.1.1.2:8080/integ_sicof2/servicios?wsdl" target="_blank">http://10.1.1.2:8080/integ_sicof2/servicios?wsdl</a><span>")</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">public class IntegSicof2</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; extends Service</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">{</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; private final static URL INTEGSICOF2_WSDL_LOCATION;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; private final static WebServiceException INTEGSICOF2_EXCEPTION;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; private final static QName INTEGSICOF2_QNAME = new QName("diz.relev3.integ.sicof2", "integ-sicof2");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; static {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("URL url = null;");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; URL url = null;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println(" WebServiceException e = null;");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; WebServiceException e = null;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("try");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; try {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("url = new URL(\"</span><a class="jive-link-external-small" href="http://10.1.1.2:8080/integ_sicof2/servicios?wsdl" target="_blank">http://10.1.1.2:8080/integ_sicof2/servicios?wsdl</a><span>\");");</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url = new URL("</span><a class="jive-link-external-small" href="http://10.1.1.2:8080/integ_sicof2/servicios?wsdl" target="_blank">http://10.1.1.2:8080/integ_sicof2/servicios?wsdl</a><span>");</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("Ha hecho la url ok.");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; } catch (MalformedURLException ex) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("catch (MalformedURLException ex) {");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; e.printStackTrace();</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; e = new WebServiceException(ex);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("INTEGSICOF2_WSDL_LOCATION = url;");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; INTEGSICOF2_WSDL_LOCATION = url;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("INTEGSICOF2_EXCEPTION = e;");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; INTEGSICOF2_EXCEPTION = e;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("He llegado al final del static");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2() {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; super(__getWsdlLocation(), INTEGSICOF2_QNAME);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("super(__getWsdlLocation(), INTEGSICOF2_QNAME);");</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/*</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2(WebServiceFeature... features) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; super(__getWsdlLocation(), INTEGSICOF2_QNAME, features);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*/</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2(URL wsdlLocation) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; super(wsdlLocation, INTEGSICOF2_QNAME);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/*</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2(URL wsdlLocation, WebServiceFeature... features) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; super(wsdlLocation, INTEGSICOF2_QNAME, features);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*/</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2(URL wsdlLocation, QName serviceName) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; super(wsdlLocation, serviceName);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/*</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; super(wsdlLocation, serviceName, features);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*/</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; /**</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; *</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; * @return</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160; returns IntegSicof2SOAP</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; */</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; //@WebEndpoint(name = "integ-sicof2SOAP")</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2SOAP getIntegSicof2SOAP() {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; return super.getPort(new QName("diz.relev3.integ.sicof2", "integ-sicof2SOAP"), IntegSicof2SOAP.class);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; /**</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; *</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; * @param features</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160; A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.&#160; Supported features not in the &lt;code&gt;features&lt;/code&gt; parameter will have their default values.</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; * @return</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160; returns IntegSicof2SOAP</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160; */</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; //@WebEndpoint(name = "integ-sicof2SOAP")</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; public IntegSicof2SOAP getIntegSicof2SOAP(WebServiceFeature... features) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; return super.getPort(new QName("diz.relev3.integ.sicof2", "integ-sicof2SOAP"), IntegSicof2SOAP.class, features);</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; private static URL __getWsdlLocation() {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (INTEGSICOF2_EXCEPTION!= null) {</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; throw INTEGSICOF2_EXCEPTION;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; return INTEGSICOF2_WSDL_LOCATION;</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#160;&#160;&#160; }</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 777px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This class was generated automaticaly by the JAX-WS, and I try to quit annotations and other changes, but nothing.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>An other thing that I don`t understand is although I put the call into try/catch block, the exception is not catched, and it goes up until the navigator.</p><p>I think the exception isn't launched by webservice call, but if it don't launch the exception, what do it?, when I debug (and the stacktrace says the same) the exception appears when this code line is executed.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I will be very grateful with any help, I think I will go mad.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/560700#560700">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Spring Integration at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>