Please see my response inline

-----Original Message-----
From: Christian Müller [mailto:christian.muel...@gmail.com] 
Sent: Thursday, May 09, 2013 3:52 AM
To: users@camel.apache.org
Subject: Re: Issues with camel context

Which version do you use?[Vashisth, Sunil]      2.10.2
Which component do you use?[Vashisth, Sunil]    spring-ws
Which OS/runtime do you use?[Vashisth, Sunil]   Windows 7, JRE 1.6
How looks your route?[Vashisth, Sunil]  Route has some pre and processing 
around spring-ws component 

[Vashisth, Sunil] <to uri="spring-ws:{{769: 
MESSAGE_URL}}?webServiceTemplate=#baseCamelMarshallerWSTemplate" />


<bean id="httpParams" 
class="org.apache.commons.httpclient.params.HttpClientParams">
      <!-- Timeout in milliseconds: in this case 4 minutes -->
      <property name="soTimeout" value="240000" /> 
    </bean>

    <bean id="httpClient" class="org.apache.commons.httpclient.HttpClient">
      <property name="params" ref="httpParams" />
    </bean>

    <bean id="httpSender" 
class="org.springframework.ws.transport.http.HttpComponentsMessageSender">
    </bean>  
    
    <bean id="baseCamelMarshallerWSTemplate" 
class="org.springframework.ws.client.core.WebServiceTemplate" scope="prototype">
        <constructor-arg ref="messageFactory" />
        <property name="messageSender">
            <ref bean="httpSender"/>
        </property>
        <property name="checkConnectionForError" value="true"/>
        <property name="transformerFactoryClass" 
value="org.apache.xalan.processor.TransformerFactoryImpl"/>
    </bean>

   <bean id="messageFactory" 
class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
                <property name="soapVersion">
                        <util:constant 
static-field="org.springframework.ws.soap.SoapVersion.SOAP_12"/>
                </property>
                <property name="messageFactory" ref="soapMessageFactoryImpl"/>
    </bean>

Sent from a mobile device
Am 08.05.2013 05:57 schrieb "Goel1, Vipin" <vipin.go...@xerox.com>:

> Hi,
>
>   Sometime we get the following errors in logs while calling one  web 
> service  sometimes we get the error on console. This is an 
> intermittent issue and only work around as of now working to restart 
> the camel context or server. We need this issue to be resolved at priority. 
> Please help.
>
> .transform.stax.StAXSource; nested exception is
> javax.xml.transform.TransformerException: Can't transform a Source of 
> type javax.xml.transform.stax.StAXSource
> ERROR DefaultErrorHandler - Failed delivery for (MessageId:
> ID-NODHCMSLTP1427-61837-1361879946102-0-158 on ExchangeId:
> ID-NODHCMSLTP1427-61837-1361879946102-0-1
> 57). Exhausted after delivery attempt: 1 caught:
> org.springframework.ws.client.WebServiceTransformerException:
> Transformation error: Can't transform a Source of type 
> javax.xml.transform.stax.StAXSource; nested exception is
> javax.xml.transform.TransformerException: Can't transform a Source of 
> type javax.xml.transform.st ax.StAXSource
> org.springframework.ws.client.WebServiceTransformerException:
> Transformation error: Can't transform a Source of type 
> javax.xml.transform.stax.StAXSource; nested exception is 
> javax.xml.transform.TransformerException: Can't transform a Source of 
> type javax.xml.transform.stax.StAXSource
> at
> org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive
> (WebServiceTemplate.java:608)
> at
> org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(W
> ebServiceTemplate.java:537)
> at
> org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive
> (WebServiceTemplate.java:492)
> for contact Us webservice
>
>

Reply via email to