Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-04 Thread Mancinelli Elodie

Hi Chamikara,

I chekout Sandesha2 and run maven.
I take the sandesha2-SNAPSHOT.mar, sandesha2-client-SNAPSHOT.jar et 
sandesha2-SNAPSHOT.jar. I put them on catalina and on the client. Now I 
have an error when I launch catalina. The problem to the 
sandesha2-SNAPSHOT.mar.


- Deploying module : sandesha2
- StandardWrapper.Throwable
java.lang.NoClassDefFoundError: org/apache/ws/policy/ExactlyOne
   at 
org.apache.sandesha2.policy.RMPolicyProcessor.processPolicy(RMPolicyProcessor.java:127)
   at 
org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:190)

   at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)
   at 
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128)
   at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104)
   at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40)
   at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
   at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
   at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
   at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
   at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
- La servlet /axis2 a généré une exception load()
java.lang.NoClassDefFoundError: org/apache/ws/policy/ExactlyOne
   at 
org.apache.sandesha2.policy.RMPolicyProcessor.processPolicy(RMPolicyProcessor.java:127)
   at 
org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:190)

   at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)
   at 
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128)
   at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104)
   at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40)
   at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
   at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
   at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
   at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
   at 

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-04 Thread Paul Fremantle

Elodie

It is in Neethi (WS-Policy).

Paul

On 7/4/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

Hi Chamikara,

I chekout Sandesha2 and run maven.
I take the sandesha2-SNAPSHOT.mar, sandesha2-client-SNAPSHOT.jar et
sandesha2-SNAPSHOT.jar. I put them on catalina and on the client. Now I
have an error when I launch catalina. The problem to the
sandesha2-SNAPSHOT.mar.

- Deploying module : sandesha2
- StandardWrapper.Throwable
java.lang.NoClassDefFoundError: org/apache/ws/policy/ExactlyOne
at
org.apache.sandesha2.policy.RMPolicyProcessor.processPolicy(RMPolicyProcessor.java:127)
at
org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:190)
at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)
at
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128)
at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
- La servlet /axis2 a généré une exception load()
java.lang.NoClassDefFoundError: org/apache/ws/policy/ExactlyOne
at
org.apache.sandesha2.policy.RMPolicyProcessor.processPolicy(RMPolicyProcessor.java:127)
at
org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:190)
at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)
at
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128)
at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-04 Thread Chamikara Jayalath
Hi Elliod,

This is because u hv the old Neethi jar in you tomcat lib directory. Remove this and add the latest Neethi-SNAPSHOT.jar from
http://people.apache.org/repository/ws-commons/jars/


Chamikara
On 7/4/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:
Hi Chamikara,I chekout Sandesha2 and run maven.I take the sandesha2-SNAPSHOT.mar, sandesha2-client-SNAPSHOT.jar etsandesha2-SNAPSHOT.jar. I put them on catalina and on the client. Now Ihave an error when I launch catalina. The problem to the
sandesha2-SNAPSHOT.mar.- Deploying module : sandesha2- StandardWrapper.Throwablejava.lang.NoClassDefFoundError: org/apache/ws/policy/ExactlyOneatorg.apache.sandesha2.policy.RMPolicyProcessor.processPolicy
(RMPolicyProcessor.java:127)atorg.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:190)at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java
:56)atorg.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128)atorg.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java
:104)atorg.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40)atorg.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java
:213)atorg.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)atorg.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)atorg.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:932)atorg.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4176)at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)atorg.apache.catalina.core.StandardHost.addChild
(StandardHost.java:524)atorg.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)atorg.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)atorg.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:472)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:718)atorg.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1012)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)atorg.apache.catalina.core.StandardService.start(StandardService.java:450)at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)at org.apache.catalina.startup.Catalina.start(Catalina.java:551)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke
(Method.java:585)at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)- La servlet /axis2 a généré une exception load()
java.lang.NoClassDefFoundError: org/apache/ws/policy/ExactlyOneatorg.apache.sandesha2.policy.RMPolicyProcessor.processPolicy(RMPolicyProcessor.java:127)atorg.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy
(PropertyManager.java:190)at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)atorg.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128)
atorg.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104)atorg.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java
:40)atorg.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)atorg.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)atorg.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1105)atorg.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)atorg.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)atorg.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:739)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)atorg.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)atorg.apache.catalina.startup.HostConfig.deployWARs

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Hi Paul

1) Yes, MTOM + XMLBeans code works without WSRM and also WSRM + XMLBeans 
code works without WSRM.
2) The error for MTOM + WSRM with ADB, I don't know because I can't 
generate sources.
I'm trying to do MTOM + WSRM with ADB on a other little exemple like 
HelloWorld. I tell you the result when I finish it.


Thanks

Elodie




Paul Fremantle wrote:


Elodie

I'm not completely clear on the situation!

1) Is the MTOM + XMLBeans code working without WSRM?
2) What is the error you get with ADB?
3) Can you post the WSDL?

Paul

On 6/29/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:


Hi Paul

Thanks for your response. I wish have more information because I don' t
understand why MTOM can't work with XmlBeans? And what is the
marshalling I have to use?
I try ADB but it not seems to work, I can't generate the server
implementation.

In more, I create a client-server with only MTOM and I also create the
same thing with only WSRM(sandesha2) and  both work separetly with
XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to
resolve my problem?


Thanks a lot.

Regards
Elodie


Paul Fremantle wrote:

 Elodie

 I think the problem is that you are using MTOM with XMLBeans which
 does not work.

 Paul

 --
 Paul Fremantle
 VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

 http://bloglines.com/blog/paulfremantle
 [EMAIL PROTECTED]

 Oxygenating the Web Service Platform, www.wso2.com


 On 6/28/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

 Mancinelli Elodie wrote:

  Sorry, I want to precise my request. When I observe with TCPMon the
  soap message, the differents messages of WSRM's protocole are 
created
  (CreateSequence, CreateSequenceResponse, Message, Acknowldgement 
and
  TerminateSequence). These messages are correct. The problem is 
on the

  server after messages.
 
  Thanks,
 
  Regards,
  Elodie
 
 
  Mancinelli Elodie wrote:
 
  Hi all,
 
  I try to create an OneWay method which supports WSRM and an
 attachment.
  My service is really simple, it's only a println.
  The method runs successfully when there is only the WSRM
  implementation, but when I add the attachement part, I have an 
server

  error:
 
  org.apache.sandesha2.SandeshaException: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error; nested
  exception is:
 org.apache.axis2.AxisFault: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error
 at
 
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)

  Caused by: org.apache.axis2.AxisFault: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 



 
 at
 
 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 



 
 at
  
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

 at
 org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
 at
 
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

  Caused by: java.lang.RuntimeException: Data binding error
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 



 
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 



 
 ... 4 more
  Caused by: org.apache.axiom.om.OMException:
  java.lang.NullPointerException
 at
  
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)

 at
 
 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 



 
 at
 
 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 



 
 at
 
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)

 at
 
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)

 at
 
 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 



 
 at
 
 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 



 
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 



 
 ... 5 more
  Caused by: java.lang.NullPointerException
 at
 
 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 



 
 at
 
 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 



 
 at
 
 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 



 
 at 

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Paul Fremantle

Elodie

This looks more like a Sandesha bug. I will do a test as well and let
you know how it goes.

Paul

On 7/3/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

Hi Paul

1) Yes, MTOM + XMLBeans code works without WSRM and also WSRM + XMLBeans
code works without WSRM.
2) The error for MTOM + WSRM with ADB, I don't know because I can't
generate sources.
I'm trying to do MTOM + WSRM with ADB on a other little exemple like
HelloWorld. I tell you the result when I finish it.

Thanks

Elodie




Paul Fremantle wrote:

 Elodie

 I'm not completely clear on the situation!

 1) Is the MTOM + XMLBeans code working without WSRM?
 2) What is the error you get with ADB?
 3) Can you post the WSDL?

 Paul

 On 6/29/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

 Hi Paul

 Thanks for your response. I wish have more information because I don' t
 understand why MTOM can't work with XmlBeans? And what is the
 marshalling I have to use?
 I try ADB but it not seems to work, I can't generate the server
 implementation.

 In more, I create a client-server with only MTOM and I also create the
 same thing with only WSRM(sandesha2) and  both work separetly with
 XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to
 resolve my problem?


 Thanks a lot.

 Regards
 Elodie


 Paul Fremantle wrote:

  Elodie
 
  I think the problem is that you are using MTOM with XMLBeans which
  does not work.
 
  Paul
 
  --
  Paul Fremantle
  VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
 
  http://bloglines.com/blog/paulfremantle
  [EMAIL PROTECTED]
 
  Oxygenating the Web Service Platform, www.wso2.com
 
 
  On 6/28/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:
 
  Mancinelli Elodie wrote:
 
   Sorry, I want to precise my request. When I observe with TCPMon the
   soap message, the differents messages of WSRM's protocole are
 created
   (CreateSequence, CreateSequenceResponse, Message, Acknowldgement
 and
   TerminateSequence). These messages are correct. The problem is
 on the
   server after messages.
  
   Thanks,
  
   Regards,
   Elodie
  
  
   Mancinelli Elodie wrote:
  
   Hi all,
  
   I try to create an OneWay method which supports WSRM and an
  attachment.
   My service is really simple, it's only a println.
   The method runs successfully when there is only the WSRM
   implementation, but when I add the attachement part, I have an
 server
   error:
  
   org.apache.sandesha2.SandeshaException: Data binding error; nested
   exception is:
  java.lang.RuntimeException: Data binding error; nested
   exception is:
  org.apache.axis2.AxisFault: Data binding error; nested
   exception is:
  java.lang.RuntimeException: Data binding error
  at
  
 
 org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
   Caused by: org.apache.axis2.AxisFault: Data binding error; nested
   exception is:
  java.lang.RuntimeException: Data binding error
  at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
  at
  
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50)

 
  
  at
  
 
 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34)

 
  
  at
  
 org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)
  at
  org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
  at
  
 
 org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)
   Caused by: java.lang.RuntimeException: Data binding error
  at
  
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174)

 
  
  at
  
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46)

 
  
  ... 4 more
   Caused by: org.apache.axiom.om.OMException:
   java.lang.NullPointerException
  at
  
 org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
  at
  
 
 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365)

 
  
  at
  
 
 org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154)

 
  
  at
  
 
 org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
  at
  
 
 org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
  at
  
 
 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231)

 
  
  at
  
 
 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128)

 
  
  at
  
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145)

 
  
  ... 5 more
   Caused by: java.lang.NullPointerException
  at
  
 
 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737)

 
  
 

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Chamikara Jayalath
Hi Elodie, Paul,



It seems like MTOM + Sandesha2 + NotInOrder case is working. 

But MTOM + Sadesha2 + InOrder case is not working.



When InOrder Invocation is enabled Sandesha2 always pauses the message
before its actual invocation and Axis2 closes the InPutStream when the
message get paused and the thread get returned.



Because of that the service Impl. get exceptions when tring to read the
MTOM attachments from the already closed stream. This seems to be a
general problem with message pausing.



So Elodie, for now disable InOrder invocation in Sandesha2. To do that
change the 'InvokeInOrder' policy in the module.xml to 'false' (this is
'true' by default).



Chamikara

On 7/3/06, Paul Fremantle [EMAIL PROTECTED]
 wrote:
ElodieThis looks more like a Sandesha bug. I will do a test as well and letyou know how it goes.PaulOn 7/3/06, Mancinelli Elodie 
[EMAIL PROTECTED]
 wrote: Hi Paul 1) Yes, MTOM + XMLBeans code works without WSRM and also WSRM + XMLBeans code works without WSRM. 2) The error for MTOM + WSRM with ADB, I don't know because I can't
 generate sources. I'm trying to do MTOM + WSRM with ADB on a other little exemple like HelloWorld. I tell you the result when I finish it. Thanks Elodie

 Paul Fremantle wrote:  Elodie   I'm not completely clear on the situation!   1) Is the MTOM + XMLBeans code working without WSRM?
  2) What is the error you get with ADB?  3) Can you post the WSDL?   Paul   On 6/29/06, Mancinelli Elodie 

[EMAIL PROTECTED] wrote:   Hi Paul   Thanks for your response. I wish have more information because I don' t  understand why MTOM can't work with XmlBeans? And what is the
  marshalling I have to use?  I try ADB but it not seems to work, I can't generate the server  implementation.   In more, I create a client-server with only MTOM and I also create the
  same thing with only WSRM(sandesha2) andboth work separetly with  XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to  resolve my problem? 
   Thanks a lot.   Regards  ElodiePaul Fremantle wrote:Elodie
 I think the problem is that you are using MTOM with XMLBeans which   does not work. Paul  

   --   Paul Fremantle   VP/Technology, WSO2 and OASIS WS-RX TC Co-chair 

http://bloglines.com/blog/paulfremantle   [EMAIL PROTECTED] Oxygenating the Web Service Platform, 

www.wso2.com   On 6/28/06, Mancinelli Elodie 
[EMAIL PROTECTED] wrote:  
   Mancinelli Elodie wrote:  Sorry, I want to precise my request. When I observe with TCPMon thesoap message, the differents messages of WSRM's protocole are
  created(CreateSequence, CreateSequenceResponse, Message, Acknowldgement  andTerminateSequence). These messages are correct. The problem is
  on theserver after messages.   Thanks,   Regards,

Elodie  Mancinelli Elodie wrote:   Hi all,
   I try to create an OneWay method which supports WSRM and an   attachment.My service is really simple, it's only a println.
The method runs successfully when there is only the WSRMimplementation, but when I add the attachement part, I have an  servererror:
   org.apache.sandesha2.SandeshaException: Data binding error; nestedexception is:
 
java.lang.RuntimeException:
Data binding error; nestedexception is:
 
org.apache.axis2.AxisFault:
Data binding error; nestedexception is:   java.lang.RuntimeException: Data binding error   at   
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)Caused by: org.apache.axis2.AxisFault: Data binding error; nested

exception is:   java.lang.RuntimeException: Data binding error   at org.apache.axis2.AxisFault.makeFault(AxisFault.java

:318)   at   fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java

:50) at   org.apache.axis2.receivers.AbstractInMessageReceiver.receive

(AbstractInMessageReceiver.java:34) at org.apache.axis2.engine.AxisEngine.resumeReceive

(AxisEngine.java:497)   at   org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)   at   
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)Caused by: java.lang.RuntimeException: Data binding error   at
   fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174)   
  at   fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic

(PrestoSvcMessageReceiverInOnly.java:46) ... 4 moreCaused by: org.apache.axiom.om.OMException

:java.lang.NullPointerException   at org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java

:254)   at   org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 
at   org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader

(Locale.java:1154) at   
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject
(Locale.java:843)   at   

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Hi Chamikara,

Thanks you for your help.

I change the 'InvokeInOrder' policy in the module.xml to 'false' in the 
sandesha2_1.0 mar.

And now,I have an other error. I give you the catalina log:

3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, 
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() a déjà été appelé 
pour cette réponse
   at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
   at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)
   at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

   at java.lang.Thread.run(Thread.java:595)

I search in the mailling list,and I don't find if there is a solution 
but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).


Have you an idea?

Elodie




Chamikara Jayalath wrote:


Hi Elodie, Paul,

It seems like MTOM + Sandesha2 + NotInOrder case is working.
But MTOM + Sadesha2 + InOrder case is not working.

When InOrder Invocation is enabled Sandesha2 always pauses the message 
before its actual invocation and Axis2 closes the InPutStream when the 
message get paused and the thread get returned.


Because of that the service Impl. get exceptions when tring to read 
the MTOM attachments from the already closed stream. This seems to be 
a general problem with message pausing.


So Elodie, for now disable InOrder invocation in Sandesha2. To do that 
change the 'InvokeInOrder' policy in the module.xml to 'false' (this 
is 'true' by default).


Chamikara



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Sorry I forget the StackTrace:

java.lang.NullPointerException
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.setUpHighestMsgNumbers(TerminateSeqMsgProcessor.java:185)
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.processInMessage(TerminateSeqMsgProcessor.java:128)
org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:87)
org.apache.axis2.engine.Phase.invoke(Phase.java:381)
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/pre

 This error appear in the response at the TerminateSequence.

Elodie


Mancinelli Elodie wrote:


Hi Chamikara,

Thanks you for your help.

I change the 'InvokeInOrder' policy in the module.xml to 'false' in 
the sandesha2_1.0 mar.

And now,I have an other error. I give you the catalina log:

3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, 
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() a déjà été 
appelé pour cette réponse
   at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) 

   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387) 

   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 

   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 

   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) 

   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465) 

   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) 

   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) 

   at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363) 

   at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284) 

   at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228) 

   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134) 

   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 

   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 

   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 

   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 

   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) 

   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 

   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) 

   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) 


   at java.lang.Thread.run(Thread.java:595)

I search in the mailling list,and I don't find if there is a solution 
but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).


Have you an idea?

Elodie




Chamikara Jayalath wrote:


Hi Elodie, Paul,

It seems like MTOM + Sandesha2 + NotInOrder case is working.
But MTOM + Sadesha2 + InOrder case is not working.

When InOrder Invocation is enabled Sandesha2 always pauses the 
message before its actual invocation and Axis2 closes the InPutStream 
when the message get paused and the thread get returned.


Because of that the service Impl. get exceptions when tring to read 
the MTOM attachments from the already closed stream. This seems to be 
a general problem with message pausing.


So Elodie, for now disable InOrder invocation in Sandesha2. To do 
that change the 'InvokeInOrder' policy in the module.xml to 'false' 
(this is 'true' by default).


Chamikara






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Chamikara Jayalath
Hi Elodie,

This was due to a bug, fixed now. Please take a latest checkout of Sandesha2.

Chamikara
On 7/3/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:
Sorry I forget the StackTrace:java.lang.NullPointerExceptionorg.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.setUpHighestMsgNumbers(TerminateSeqMsgProcessor.java:185)org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.processInMessage
(TerminateSeqMsgProcessor.java:128)org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:87)org.apache.axis2.engine.Phase.invoke(Phase.java:381)org.apache.axis2.engine.AxisEngine.invoke
(AxisEngine.java:473)org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)org.apache.axis2.transport.http.AxisServlet.doPost
(AxisServlet.java:136)javax.servlet.http.HttpServlet.service(HttpServlet.java:709)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/preThis error appear in the response at the TerminateSequence.
ElodieMancinelli Elodie wrote: Hi Chamikara, Thanks you for your help. I change the 'InvokeInOrder' policy in the module.xml to 'false' in the sandesha2_1.0 mar.
 And now,I have an other error. I give you the catalina log: 3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom GRAVE: Exception Processing ErrorPage[errorCode=500,
 location=/axis2-web/Error/error500.jsp] org.apache.jasper.JasperException: getOutputStream() a déjà été appelé pour cette réponseat org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:510)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)at org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:672)at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)at org.apache.catalina.core.ApplicationDispatcher.doForward
(ApplicationDispatcher.java:398)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)at org.apache.catalina.core.StandardHostValve.custom
(StandardHostValve.java:363)at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)at org.apache.catalina.core.StandardHostValve.throwable
(StandardHostValve.java:228)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:667)at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)at java.lang.Thread.run(Thread.java:595)
 I search in the mailling list,and I don't find if there is a solution but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).
 Have you an idea? Elodie Chamikara Jayalath wrote: Hi Elodie, Paul, It seems like MTOM + Sandesha2 + NotInOrder case is working.
 But MTOM + Sadesha2 + InOrder case is not working. When InOrder Invocation is enabled Sandesha2 always pauses the message before its actual invocation and Axis2 closes the InPutStream
 when the message get paused and the thread get returned. Because of that the service Impl. get exceptions when tring to read the MTOM attachments from the already closed stream. This seems to be
 a general problem with message pausing. So Elodie, for now disable InOrder invocation in Sandesha2. To do that change the 'InvokeInOrder' policy in the module.xml to 'false'
 (this is 'true' by default). Chamikara


Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Deepal Jayasinghe
Hi Chamikara;
When you pausing the execution , the best way is to build the envelop
fully and then pause. I think that will solve the problem :)

Chamikara Jayalath wrote:

 Hi Elodie, Paul,

 It seems like MTOM + Sandesha2 + NotInOrder case is working.
 But MTOM + Sadesha2 + InOrder case is not working.

 When InOrder Invocation is enabled Sandesha2 always pauses the message
 before its actual invocation and Axis2 closes the InPutStream when the
 message get paused and the thread get returned.

 Because of that the service Impl. get exceptions when tring to read
 the MTOM attachments from the already closed stream. This seems to be
 a general problem with message pausing.

 So Elodie, for now disable InOrder invocation in Sandesha2. To do that
 change the 'InvokeInOrder' policy in the module.xml to 'false' (this
 is 'true' by default).

 Chamikara



 On 7/3/06, *Paul Fremantle* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Elodie

 This looks more like a Sandesha bug. I will do a test as well and let
 you know how it goes.

 Paul

 On 7/3/06, Mancinelli Elodie  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  Hi Paul
 
  1) Yes, MTOM + XMLBeans code works without WSRM and also WSRM +
 XMLBeans
  code works without WSRM.
  2) The error for MTOM + WSRM with ADB, I don't know because I can't
  generate sources.
  I'm trying to do MTOM + WSRM with ADB on a other little exemple like
  HelloWorld. I tell you the result when I finish it.
 
  Thanks
 
  Elodie
 
 
 
 
  Paul Fremantle wrote:
 
   Elodie
  
   I'm not completely clear on the situation!
  
   1) Is the MTOM + XMLBeans code working without WSRM?
   2) What is the error you get with ADB?
   3) Can you post the WSDL?
  
   Paul
  
   On 6/29/06, Mancinelli Elodie  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  
   Hi Paul
  
   Thanks for your response. I wish have more information
 because I don' t
   understand why MTOM can't work with XmlBeans? And what is the
   marshalling I have to use?
   I try ADB but it not seems to work, I can't generate the server
   implementation.
  
   In more, I create a client-server with only MTOM and I also
 create the
   same thing with only WSRM(sandesha2) and  both work separetly
 with
   XmlBeans. Is the problem is WSRM + MTOM together? And how
 could I do to
   resolve my problem?
  
  
   Thanks a lot.
  
   Regards
   Elodie
  
  
   Paul Fremantle wrote:
  
Elodie
   
I think the problem is that you are using MTOM with
 XMLBeans which
does not work.
   
Paul
   
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
   
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   
Oxygenating the Web Service Platform, www.wso2.com
 http://www.wso2.com
   
   
On 6/28/06, Mancinelli Elodie  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   
Mancinelli Elodie wrote:
   
 Sorry, I want to precise my request. When I observe with
 TCPMon the
 soap message, the differents messages of WSRM's
 protocole are
   created
 (CreateSequence, CreateSequenceResponse, Message,
 Acknowldgement
   and
 TerminateSequence). These messages are correct. The
 problem is
   on the
 server after messages.

 Thanks,

 Regards,
 Elodie


 Mancinelli Elodie wrote:

 Hi all,

 I try to create an OneWay method which supports WSRM and an
attachment.
 My service is really simple, it's only a println.
 The method runs successfully when there is only the WSRM
 implementation, but when I add the attachement part, I
 have an
   server
 error:

 org.apache.sandesha2.SandeshaException: Data binding
 error; nested
 exception is:
java.lang.RuntimeException: Data binding error;
 nested
 exception is:
org.apache.axis2.AxisFault: Data binding error;
 nested
 exception is:
java.lang.RuntimeException: Data binding error
at

   
  
 org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
 Caused by: org.apache.axis2.AxisFault: Data binding
 error; nested
 exception is:
java.lang.RuntimeException: Data binding error
at
 org.apache.axis2.AxisFault.makeFault(AxisFault.java :318)
at

   
  
 
 

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-30 Thread Paul Fremantle

Elodie

I'm not completely clear on the situation!

1) Is the MTOM + XMLBeans code working without WSRM?
2) What is the error you get with ADB?
3) Can you post the WSDL?

Paul

On 6/29/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

Hi Paul

Thanks for your response. I wish have more information because I don' t
understand why MTOM can't work with XmlBeans? And what is the
marshalling I have to use?
I try ADB but it not seems to work, I can't generate the server
implementation.

In more, I create a client-server with only MTOM and I also create the
same thing with only WSRM(sandesha2) and  both work separetly with
XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to
resolve my problem?


Thanks a lot.

Regards
Elodie


Paul Fremantle wrote:

 Elodie

 I think the problem is that you are using MTOM with XMLBeans which
 does not work.

 Paul

 --
 Paul Fremantle
 VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

 http://bloglines.com/blog/paulfremantle
 [EMAIL PROTECTED]

 Oxygenating the Web Service Platform, www.wso2.com


 On 6/28/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

 Mancinelli Elodie wrote:

  Sorry, I want to precise my request. When I observe with TCPMon the
  soap message, the differents messages of WSRM's protocole are created
  (CreateSequence, CreateSequenceResponse, Message, Acknowldgement and
  TerminateSequence). These messages are correct. The problem is on the
  server after messages.
 
  Thanks,
 
  Regards,
  Elodie
 
 
  Mancinelli Elodie wrote:
 
  Hi all,
 
  I try to create an OneWay method which supports WSRM and an
 attachment.
  My service is really simple, it's only a println.
  The method runs successfully when there is only the WSRM
  implementation, but when I add the attachement part, I have an server
  error:
 
  org.apache.sandesha2.SandeshaException: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error; nested
  exception is:
 org.apache.axis2.AxisFault: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error
 at
 
 org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
  Caused by: org.apache.axis2.AxisFault: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50)

 
 at
 
 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34)

 
 at
  org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)
 at
 org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
 at
 
 org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)
  Caused by: java.lang.RuntimeException: Data binding error
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174)

 
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46)

 
 ... 4 more
  Caused by: org.apache.axiom.om.OMException:
  java.lang.NullPointerException
 at
  org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
 at
 
 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365)

 
 at
 
 org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154)

 
 at
 
 org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
 at
 
 org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
 at
 
 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231)

 
 at
 
 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128)

 
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145)

 
 ... 5 more
  Caused by: java.lang.NullPointerException
 at
 
 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737)

 
 at
 
 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)

 
 at
 
 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)

 
 at org.apache.coyote.Request.doRead(Request.java:423)
 at
 
 org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283)

 
 at
  org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
 at
 
 org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)
 at
 
 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104)

 
 at 

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-29 Thread Mancinelli Elodie

Hi Paul

Thanks for your response. I wish have more information because I don' t 
understand why MTOM can't work with XmlBeans? And what is the 
marshalling I have to use?
I try ADB but it not seems to work, I can't generate the server 
implementation.


In more, I create a client-server with only MTOM and I also create the 
same thing with only WSRM(sandesha2) and  both work separetly with 
XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to 
resolve my problem?



Thanks a lot.

Regards
Elodie


Paul Fremantle wrote:


Elodie

I think the problem is that you are using MTOM with XMLBeans which
does not work.

Paul

--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com


On 6/28/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:


Mancinelli Elodie wrote:

 Sorry, I want to precise my request. When I observe with TCPMon the
 soap message, the differents messages of WSRM's protocole are created
 (CreateSequence, CreateSequenceResponse, Message, Acknowldgement and
 TerminateSequence). These messages are correct. The problem is on the
 server after messages.

 Thanks,

 Regards,
 Elodie


 Mancinelli Elodie wrote:

 Hi all,

 I try to create an OneWay method which supports WSRM and an 
attachment.

 My service is really simple, it's only a println.
 The method runs successfully when there is only the WSRM
 implementation, but when I add the attachement part, I have an server
 error:

 org.apache.sandesha2.SandeshaException: Data binding error; nested
 exception is:
java.lang.RuntimeException: Data binding error; nested
 exception is:
org.apache.axis2.AxisFault: Data binding error; nested
 exception is:
java.lang.RuntimeException: Data binding error
at
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)

 Caused by: org.apache.axis2.AxisFault: Data binding error; nested
 exception is:
java.lang.RuntimeException: Data binding error
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 



at
 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 



at
 org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)
at 
org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)

at
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

 Caused by: java.lang.RuntimeException: Data binding error
at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 



at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 



... 4 more
 Caused by: org.apache.axiom.om.OMException:
 java.lang.NullPointerException
at
 org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
at
 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 



at
 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 



at
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)

at
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)

at
 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 



at
 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 



at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 



... 5 more
 Caused by: java.lang.NullPointerException
at
 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 



at
 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 



at
 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 



at org.apache.coyote.Request.doRead(Request.java:423)
at
 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 



at
 org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
at
 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)

at
 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 



at java.io.FilterInputStream.read(FilterInputStream.java:66)
at 
java.io.PushbackInputStream.read(PushbackInputStream.java:120)

at
 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 



at
 javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106)
at
 

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-28 Thread Mancinelli Elodie

Mancinelli Elodie wrote:

Sorry, I want to precise my request. When I observe with TCPMon the 
soap message, the differents messages of WSRM's protocole are created 
(CreateSequence, CreateSequenceResponse, Message, Acknowldgement and 
TerminateSequence). These messages are correct. The problem is on the 
server after messages.


Thanks,

Regards,
Elodie


Mancinelli Elodie wrote:


Hi all,

I try to create an OneWay method which supports WSRM and an attachment.
My service is really simple, it's only a println.
The method runs successfully when there is only the WSRM 
implementation, but when I add the attachement part, I have an server 
error:


org.apache.sandesha2.SandeshaException: Data binding error; nested 
exception is:
   java.lang.RuntimeException: Data binding error; nested 
exception is:
   org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

   java.lang.RuntimeException: Data binding error
   at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
Caused by: org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

   java.lang.RuntimeException: Data binding error
   at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 

   at 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 

   at 
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

   at org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
   at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

Caused by: java.lang.RuntimeException: Data binding error
   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 

   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 


   ... 4 more
Caused by: org.apache.axiom.om.OMException: 
java.lang.NullPointerException
   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
   at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 

   at 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 

   at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
   at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
   at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 

   at 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 

   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 


   ... 5 more
Caused by: java.lang.NullPointerException
   at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 

   at 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 

   at 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 


   at org.apache.coyote.Request.doRead(Request.java:423)
   at 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 

   at 
org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
   at 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)
   at 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 


   at java.io.FilterInputStream.read(FilterInputStream.java:66)
   at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
   at 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 

   at 
javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106)
   at 
javax.mail.internet.InternetHeaders.init(InternetHeaders.java:92)

   at javax.mail.internet.MimeBodyPart.init(MimeBodyPart.java:59)
   at 
org.apache.axiom.attachments.PartOnMemory.init(PartOnMemory.java:31)
   at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:451)
   at 
org.apache.axiom.attachments.Attachments.getNextPart(Attachments.java:359) 

   at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:324)
   at 
org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:274) 

   at 
org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:151) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getDataHandler(OMTextImpl.java:341) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:368) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:238)


My client is:

public static void testSubmitOneWayWSRM()