The default soap version used by ServiceMix is 1.2.
It seems your service only supports 1.1 so I'd try the following

  <http:endpoint .... soapVersion="1.1" ... />

On Jan 7, 2008 6:58 PM, amil <[EMAIL PROTECTED]> wrote:

>
> Thanks Guillaume,
>
> Here is the ServiceMix exception:
>
> ERROR - HttpComponent                  - Error processing exchange InOnly[
>
>
> java.lang.Exception: Invalid status response: 500
>        at
> org.apache.servicemix.http.processors.ProviderProcessor.process(Provi
> derProcessor.java:181)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
> feCycle.java:538)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
> BaseLifeCycle.java:490)
>        at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
> Cycle.java:46)
>        at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
> d(DeliveryChannelImpl.java:610)
>        at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
> w.java:170)
>        at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
> ava:167)
>        at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
> a:134)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:885)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:907)
>        at java.lang.Thread.run(Thread.java:619)
> ERROR - FtpComponent                   - Failed to process file:
> /smx/hm/in/2G_s
> ite_27032007.xml. Reason: java.lang.Exception: Invalid status response:
> 500
> java.lang.Exception: Invalid status response: 500
>        at
> org.apache.servicemix.http.processors.ProviderProcessor.process(Provi
> derProcessor.java:181)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
> feCycle.java:538)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
> BaseLifeCycle.java:490)
>        at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
> Cycle.java:46)
>        at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
> d(DeliveryChannelImpl.java:610)
>        at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
> w.java:170)
>        at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
> ava:167)
>        at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
> a:134)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:885)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:907)
>        at java.lang.Thread.run(Thread.java:619)
>
>
> Glassfish hosts the WS it's being called. Here is the GF exception:
>
> Couldn't create SOAP message. Expecting Envelope in namespace
> http://schemas.xmlsoap.org/soap/envelope/, but got
> http://www.w3.org/2003/05/soap-envelope
>
>
> Do you know what the problem is?
>
>
> Thanks,
> Aleksandar
>
>
>
>
> gnodet wrote:
> >
> > Could you give more informations on what the exact problem is ?
> > Do you have a stack trace or a fault returned by the web service called
> ?
> >
> > On Jan 6, 2008 10:34 PM, amil <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hi,
> >>
> >> I've just started using SMX 3.2.1 in simple scenario:
> >>
> >> (1) FTP Poller -> (2) Pipeline -> (3) Transformation -> (4) Method call
> >> to
> >> External Web service
> >>
> >> Step (4) doesn't work and, simply, I feel there is no example on it.
> >>
> >> I tried with:
> >>
> >> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
> >>       xmlns:tns="http://xml.ericsson.com/oss/hm";>
> >>
> >>  <classpath>
> >>     <location>.</location>
> >>  </classpath>
> >>
> >>
> >>  <http:endpoint service="tns:DBItemServiceProxy"
> >>                 endpoint="soap"
> >>                 role="provider"
> >>
> >> locationURI="http://localhost:8080/ItemManagerLocalDBImplService/";
> >>
> >> soapAction="http://item.service.mycomp.com/ItemManager/update";
> >>                 soap="true"
> >>                 wsdlResource="classpath:ItemManager.wsdl"/>
> >> </beans>
> >>
> >>
> >> I also tried without <classpath> and wsdlResource, but no luck.
> >>
> >> Can you please help me with problem above? Can you please refer me to
> >> some
> >> example which calls a WebMethod on a Port.
> >>
> >> Thanks in advance,
> >> Aleksandar
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/service-http-SOAP-Callout-%28Provider%29-problem-tp14653961s12049p14653961.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/service-http-SOAP-Callout-%28Provider%29-problem-tp14653961s12049p14671957.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to