You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Roland Sperl <Ro...@METAFINANZ.DE> on 2008/01/16 12:43:15 UTC
Installation problem with ServiceMix into Eclipse
Hi all,
i've tried to install ServiceMix into Eclipse via Maven but it failed at
this point:
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.p
om
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562
247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r5622
47/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r5622
47/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r56224
7/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 59 seconds
[INFO] Finished at: Wed Jan 16 12:37:03 CET 2008
[INFO] Final Memory: 86M/154M
[INFO]
------------------------------------------------------------------------
C:\servicemix\src>
Has anyone this problem before and could help me?
Thanks in advance. Any help would be much appreciated.
Roland
AW: Problems with SOAP-Request - threading problem?
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
In the meanwhile I focused the problem to the STAXUtil-Class which is accessed via static method calls.
I have another question about the xbean configuration of cxf-se because the defined servicename and endpointname is not recognized:
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
xmlns:test="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
<cxfse:endpoint service="test:transformEngine"
endpoint="transformEngine">
<cxfse:pojo>
<bean class="de.metafinanz.sca.java.pojo.transform.XSLTEngineImpl">
</bean>
</cxfse:pojo>
</cxfse:endpoint>
</beans>
Is there something wrong with this definition?
Thx in advance
Roland
-----Ursprüngliche Nachricht-----
Von: Guillaume Nodet [mailto:gnodet@gmail.com]
Gesendet: Freitag, 22. Februar 2008 13:00
An: users@servicemix.apache.org
Betreff: Re: Problems with SOAP-Request - threading problem?
I'm not aware of anything like that and I've never seen any threading
problem in jsr181 (that does not mean there are no problems at all of
course).
Maybe you should try with cxf-se instead, because xfire is not
developed anymore.
On Fri, Feb 22, 2008 at 11:45 AM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi Guillaume,
>
> I've debugged my Problem deep into the section where the JSR181 uses the xfire-classes to map the delivered parameters into the operation signature of my service. I can see that the 3 parameters are delivered correctly to the Jsr181ExchangeProcessor but only 2 parameters (1st, 3rd) arrives in the org.codehaus.xfire.service.binding.ServiceInvocationHandler and that causes the exception. The confusing part is that from to time during debugging I can see the 3 right paramaters in the ServiceInvocationHandler and everything is o.k. - but this behaviour doesn't occur in a deterministic way. I didn't find the code section where the missing parameter disappears.
>
> Could it be an threading problem?
>
> Regards
> Roland
>
> -----Ursprüngliche Nachricht-----
> Von: Roland Sperl [mailto:Roland.Sperl@METAFINANZ.DE]
> Gesendet: Freitag, 22. Februar 2008 09:27
> An: users@servicemix.apache.org
> Betreff: AW: Problems with SOAP-Request
>
> Hi,
>
> style="document" ends in:
>
> STATUS: 500
> <?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
> at [row,col {unknown-source}]: [12,7]</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
> at [row,col {unknown-source}]: [12,7]
> at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
> at org.codehaus.xfire.transport.DefaultEndpoint.onReceive
>
>
> typeMapping="default" ends in my old problem:
>
> STATUS: 400
> <?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>Not enough message parts were received for the operation.</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Not enough message parts were received for the operation.
> at org.codehaus.xfire.service.binding.ServiceInvocationHandler.fillInHolders(ServiceInvocationHandler.java:240)
>
> Thx in advance
>
> Roland
>
> -----Ursprüngliche Nachricht-----
> Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> Gesendet: Donnerstag, 21. Februar 2008 17:50
> An: users@servicemix.apache.org
> Betreff: Re: Problems with SOAP-Request
>
> Did you configure the endpoint to use doc/lit:
>
> <jsr181:endpoint style="document" ...>
>
> maybe you can try setting the typeMapping="aegis" ?
>
> On Thu, Feb 21, 2008 at 4:37 PM, Roland Sperl
> <Ro...@metafinanz.de> wrote:
> > Hi Guillaume,
> >
> > thx for your quick answer.
> >
> > Here is the wsdl, the format ist xsd:string which should be correct.
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
> > - <wsdl:types>
> > - <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > - <xsd:element name="transform">
> > - <xsd:complexType>
> > - <xsd:sequence>
> > <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" />
> > <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" />
> > <xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string" />
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:element>
> > - <xsd:element name="transformResponse">
> > - <xsd:complexType>
> > - <xsd:sequence>
> > <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" />
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:element>
> > </xsd:schema>
> > </wsdl:types>
> > - <wsdl:message name="transformRequest">
> > <wsdl:part element="tns:transform" name="parameters" />
> > </wsdl:message>
> > - <wsdl:message name="transformResponse">
> > <wsdl:part element="tns:transformResponse" name="parameters" />
> > </wsdl:message>
> > - <wsdl:portType name="transformEnginePortType">
> > - <wsdl:operation name="transform">
> > <wsdl:input message="tns:transformRequest" name="transformRequest" />
> > <wsdl:output message="tns:transformResponse" name="transformResponse" />
> > </wsdl:operation>
> > </wsdl:portType>
> > - <wsdl:binding name="httpConsumerBinding" type="tns:transformEnginePortType">
> > <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
> > - <wsdl:operation name="transform">
> > <wsdlsoap:operation soapAction="" />
> > - <wsdl:input name="transformRequest">
> > <wsdlsoap:body use="literal" />
> > </wsdl:input>
> > - <wsdl:output name="transformResponse">
> > <wsdlsoap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > </wsdl:binding>
> > - <wsdl:service name="httpConsumer">
> > - <wsdl:port binding="tns:httpConsumerBinding" name="httpConsumer">
> > <wsdlsoap:address location="http://localhost:8081/services/XSLTEngine/" />
> > </wsdl:port>
> > </wsdl:service>
> > </wsdl:definitions>
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> > Gesendet: Donnerstag, 21. Februar 2008 16:31
> > An: users@servicemix.apache.org
> > Betreff: Re: Problems with SOAP-Request
> >
> >
> >
> > Can you check against the WSDL for the jsr181 endpoint ?
> > You should be able to access it from jconsole by looking at the http endpoint
> > in your browser. It should defines the format of the expected data.
> >
> > On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
> > <Ro...@metafinanz.de> wrote:
> > > Hi All!
> > >
> > > I deployed a simple Pojo into the JSR181 with the following Interface:
> > >
> > > public String transform(String fromAccountId, String toAccount, String
> > > amount);
> > >
> > > I have build a html-client which calls the Pojo with the following
> > > SOAP-Call:
> > >
> > > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:n1="java:de.metafinanz.sca.BankTransaction"
> > >
> > > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >
> > > xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> > > xsi:type="n1:TransactionRequest">
> > >
> > > <env:Body>
> > > <transactionRequest:transform>
> > > <in0>1</in0>
> > > <in1>2</in1>
> > > <in2>100</in2>
> > > </transactionRequest:transform>
> > > </env:Body>
> > >
> > > </env:Envelope>
> > >
> > > I thought that the values in the parameters would be automatically set
> > > into my pojo parameters, but I get the exception:
> > >
> > > org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> > > received for the operation.
> > > at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> > > ...
> > >
> > > If I put 5 parameters between the <transactionRequest:transform> tag the
> > > values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> > > 5th value are passed to my pojo.
> > >
> > > Can anyone help me?
> > >
> > > Thanks in advance
> > > Roland
> > >
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Re: Problems with SOAP-Request - threading problem?
Posted by Guillaume Nodet <gn...@gmail.com>.
I'm not aware of anything like that and I've never seen any threading
problem in jsr181 (that does not mean there are no problems at all of
course).
Maybe you should try with cxf-se instead, because xfire is not
developed anymore.
On Fri, Feb 22, 2008 at 11:45 AM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi Guillaume,
>
> I've debugged my Problem deep into the section where the JSR181 uses the xfire-classes to map the delivered parameters into the operation signature of my service. I can see that the 3 parameters are delivered correctly to the Jsr181ExchangeProcessor but only 2 parameters (1st, 3rd) arrives in the org.codehaus.xfire.service.binding.ServiceInvocationHandler and that causes the exception. The confusing part is that from to time during debugging I can see the 3 right paramaters in the ServiceInvocationHandler and everything is o.k. - but this behaviour doesn't occur in a deterministic way. I didn't find the code section where the missing parameter disappears.
>
> Could it be an threading problem?
>
> Regards
> Roland
>
> -----Ursprüngliche Nachricht-----
> Von: Roland Sperl [mailto:Roland.Sperl@METAFINANZ.DE]
> Gesendet: Freitag, 22. Februar 2008 09:27
> An: users@servicemix.apache.org
> Betreff: AW: Problems with SOAP-Request
>
> Hi,
>
> style="document" ends in:
>
> STATUS: 500
> <?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
> at [row,col {unknown-source}]: [12,7]</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
> at [row,col {unknown-source}]: [12,7]
> at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
> at org.codehaus.xfire.transport.DefaultEndpoint.onReceive
>
>
> typeMapping="default" ends in my old problem:
>
> STATUS: 400
> <?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>Not enough message parts were received for the operation.</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Not enough message parts were received for the operation.
> at org.codehaus.xfire.service.binding.ServiceInvocationHandler.fillInHolders(ServiceInvocationHandler.java:240)
>
> Thx in advance
>
> Roland
>
> -----Ursprüngliche Nachricht-----
> Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> Gesendet: Donnerstag, 21. Februar 2008 17:50
> An: users@servicemix.apache.org
> Betreff: Re: Problems with SOAP-Request
>
> Did you configure the endpoint to use doc/lit:
>
> <jsr181:endpoint style="document" ...>
>
> maybe you can try setting the typeMapping="aegis" ?
>
> On Thu, Feb 21, 2008 at 4:37 PM, Roland Sperl
> <Ro...@metafinanz.de> wrote:
> > Hi Guillaume,
> >
> > thx for your quick answer.
> >
> > Here is the wsdl, the format ist xsd:string which should be correct.
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
> > - <wsdl:types>
> > - <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > - <xsd:element name="transform">
> > - <xsd:complexType>
> > - <xsd:sequence>
> > <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" />
> > <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" />
> > <xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string" />
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:element>
> > - <xsd:element name="transformResponse">
> > - <xsd:complexType>
> > - <xsd:sequence>
> > <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" />
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:element>
> > </xsd:schema>
> > </wsdl:types>
> > - <wsdl:message name="transformRequest">
> > <wsdl:part element="tns:transform" name="parameters" />
> > </wsdl:message>
> > - <wsdl:message name="transformResponse">
> > <wsdl:part element="tns:transformResponse" name="parameters" />
> > </wsdl:message>
> > - <wsdl:portType name="transformEnginePortType">
> > - <wsdl:operation name="transform">
> > <wsdl:input message="tns:transformRequest" name="transformRequest" />
> > <wsdl:output message="tns:transformResponse" name="transformResponse" />
> > </wsdl:operation>
> > </wsdl:portType>
> > - <wsdl:binding name="httpConsumerBinding" type="tns:transformEnginePortType">
> > <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
> > - <wsdl:operation name="transform">
> > <wsdlsoap:operation soapAction="" />
> > - <wsdl:input name="transformRequest">
> > <wsdlsoap:body use="literal" />
> > </wsdl:input>
> > - <wsdl:output name="transformResponse">
> > <wsdlsoap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > </wsdl:binding>
> > - <wsdl:service name="httpConsumer">
> > - <wsdl:port binding="tns:httpConsumerBinding" name="httpConsumer">
> > <wsdlsoap:address location="http://localhost:8081/services/XSLTEngine/" />
> > </wsdl:port>
> > </wsdl:service>
> > </wsdl:definitions>
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> > Gesendet: Donnerstag, 21. Februar 2008 16:31
> > An: users@servicemix.apache.org
> > Betreff: Re: Problems with SOAP-Request
> >
> >
> >
> > Can you check against the WSDL for the jsr181 endpoint ?
> > You should be able to access it from jconsole by looking at the http endpoint
> > in your browser. It should defines the format of the expected data.
> >
> > On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
> > <Ro...@metafinanz.de> wrote:
> > > Hi All!
> > >
> > > I deployed a simple Pojo into the JSR181 with the following Interface:
> > >
> > > public String transform(String fromAccountId, String toAccount, String
> > > amount);
> > >
> > > I have build a html-client which calls the Pojo with the following
> > > SOAP-Call:
> > >
> > > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:n1="java:de.metafinanz.sca.BankTransaction"
> > >
> > > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >
> > > xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> > > xsi:type="n1:TransactionRequest">
> > >
> > > <env:Body>
> > > <transactionRequest:transform>
> > > <in0>1</in0>
> > > <in1>2</in1>
> > > <in2>100</in2>
> > > </transactionRequest:transform>
> > > </env:Body>
> > >
> > > </env:Envelope>
> > >
> > > I thought that the values in the parameters would be automatically set
> > > into my pojo parameters, but I get the exception:
> > >
> > > org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> > > received for the operation.
> > > at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> > > ...
> > >
> > > If I put 5 parameters between the <transactionRequest:transform> tag the
> > > values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> > > 5th value are passed to my pojo.
> > >
> > > Can anyone help me?
> > >
> > > Thanks in advance
> > > Roland
> > >
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
AW: Problems with SOAP-Request - threading problem?
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hi Guillaume,
I've debugged my Problem deep into the section where the JSR181 uses the xfire-classes to map the delivered parameters into the operation signature of my service. I can see that the 3 parameters are delivered correctly to the Jsr181ExchangeProcessor but only 2 parameters (1st, 3rd) arrives in the org.codehaus.xfire.service.binding.ServiceInvocationHandler and that causes the exception. The confusing part is that from to time during debugging I can see the 3 right paramaters in the ServiceInvocationHandler and everything is o.k. - but this behaviour doesn't occur in a deterministic way. I didn't find the code section where the missing parameter disappears.
Could it be an threading problem?
Regards
Roland
-----Ursprüngliche Nachricht-----
Von: Roland Sperl [mailto:Roland.Sperl@METAFINANZ.DE]
Gesendet: Freitag, 22. Februar 2008 09:27
An: users@servicemix.apache.org
Betreff: AW: Problems with SOAP-Request
Hi,
style="document" ends in:
STATUS: 500
<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
at [row,col {unknown-source}]: [12,7]</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
at [row,col {unknown-source}]: [12,7]
at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
at org.codehaus.xfire.transport.DefaultEndpoint.onReceive
typeMapping="default" ends in my old problem:
STATUS: 400
<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>Not enough message parts were received for the operation.</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Not enough message parts were received for the operation.
at org.codehaus.xfire.service.binding.ServiceInvocationHandler.fillInHolders(ServiceInvocationHandler.java:240)
Thx in advance
Roland
-----Ursprüngliche Nachricht-----
Von: Guillaume Nodet [mailto:gnodet@gmail.com]
Gesendet: Donnerstag, 21. Februar 2008 17:50
An: users@servicemix.apache.org
Betreff: Re: Problems with SOAP-Request
Did you configure the endpoint to use doc/lit:
<jsr181:endpoint style="document" ...>
maybe you can try setting the typeMapping="aegis" ?
On Thu, Feb 21, 2008 at 4:37 PM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi Guillaume,
>
> thx for your quick answer.
>
> Here is the wsdl, the format ist xsd:string which should be correct.
>
> <?xml version="1.0" encoding="UTF-8" ?>
> - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
> - <wsdl:types>
> - <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> - <xsd:element name="transform">
> - <xsd:complexType>
> - <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" />
> <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" />
> <xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> - <xsd:element name="transformResponse">
> - <xsd:complexType>
> - <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </xsd:schema>
> </wsdl:types>
> - <wsdl:message name="transformRequest">
> <wsdl:part element="tns:transform" name="parameters" />
> </wsdl:message>
> - <wsdl:message name="transformResponse">
> <wsdl:part element="tns:transformResponse" name="parameters" />
> </wsdl:message>
> - <wsdl:portType name="transformEnginePortType">
> - <wsdl:operation name="transform">
> <wsdl:input message="tns:transformRequest" name="transformRequest" />
> <wsdl:output message="tns:transformResponse" name="transformResponse" />
> </wsdl:operation>
> </wsdl:portType>
> - <wsdl:binding name="httpConsumerBinding" type="tns:transformEnginePortType">
> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
> - <wsdl:operation name="transform">
> <wsdlsoap:operation soapAction="" />
> - <wsdl:input name="transformRequest">
> <wsdlsoap:body use="literal" />
> </wsdl:input>
> - <wsdl:output name="transformResponse">
> <wsdlsoap:body use="literal" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> - <wsdl:service name="httpConsumer">
> - <wsdl:port binding="tns:httpConsumerBinding" name="httpConsumer">
> <wsdlsoap:address location="http://localhost:8081/services/XSLTEngine/" />
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
> -----Ursprüngliche Nachricht-----
> Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> Gesendet: Donnerstag, 21. Februar 2008 16:31
> An: users@servicemix.apache.org
> Betreff: Re: Problems with SOAP-Request
>
>
>
> Can you check against the WSDL for the jsr181 endpoint ?
> You should be able to access it from jconsole by looking at the http endpoint
> in your browser. It should defines the format of the expected data.
>
> On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
> <Ro...@metafinanz.de> wrote:
> > Hi All!
> >
> > I deployed a simple Pojo into the JSR181 with the following Interface:
> >
> > public String transform(String fromAccountId, String toAccount, String
> > amount);
> >
> > I have build a html-client which calls the Pojo with the following
> > SOAP-Call:
> >
> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:n1="java:de.metafinanz.sca.BankTransaction"
> >
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> > xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> > xsi:type="n1:TransactionRequest">
> >
> > <env:Body>
> > <transactionRequest:transform>
> > <in0>1</in0>
> > <in1>2</in1>
> > <in2>100</in2>
> > </transactionRequest:transform>
> > </env:Body>
> >
> > </env:Envelope>
> >
> > I thought that the values in the parameters would be automatically set
> > into my pojo parameters, but I get the exception:
> >
> > org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> > received for the operation.
> > at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> > ...
> >
> > If I put 5 parameters between the <transactionRequest:transform> tag the
> > values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> > 5th value are passed to my pojo.
> >
> > Can anyone help me?
> >
> > Thanks in advance
> > Roland
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
AW: Problems with SOAP-Request
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hi,
style="document" ends in:
STATUS: 500
<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
at [row,col {unknown-source}]: [12,7]</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
at [row,col {unknown-source}]: [12,7]
at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
at org.codehaus.xfire.transport.DefaultEndpoint.onReceive
typeMapping="default" ends in my old problem:
STATUS: 400
<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>Not enough message parts were received for the operation.</faultstring><detail><stack>org.codehaus.xfire.fault.XFireFault: Not enough message parts were received for the operation.
at org.codehaus.xfire.service.binding.ServiceInvocationHandler.fillInHolders(ServiceInvocationHandler.java:240)
Thx in advance
Roland
-----Ursprüngliche Nachricht-----
Von: Guillaume Nodet [mailto:gnodet@gmail.com]
Gesendet: Donnerstag, 21. Februar 2008 17:50
An: users@servicemix.apache.org
Betreff: Re: Problems with SOAP-Request
Did you configure the endpoint to use doc/lit:
<jsr181:endpoint style="document" ...>
maybe you can try setting the typeMapping="aegis" ?
On Thu, Feb 21, 2008 at 4:37 PM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi Guillaume,
>
> thx for your quick answer.
>
> Here is the wsdl, the format ist xsd:string which should be correct.
>
> <?xml version="1.0" encoding="UTF-8" ?>
> - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
> - <wsdl:types>
> - <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> - <xsd:element name="transform">
> - <xsd:complexType>
> - <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" />
> <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" />
> <xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> - <xsd:element name="transformResponse">
> - <xsd:complexType>
> - <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </xsd:schema>
> </wsdl:types>
> - <wsdl:message name="transformRequest">
> <wsdl:part element="tns:transform" name="parameters" />
> </wsdl:message>
> - <wsdl:message name="transformResponse">
> <wsdl:part element="tns:transformResponse" name="parameters" />
> </wsdl:message>
> - <wsdl:portType name="transformEnginePortType">
> - <wsdl:operation name="transform">
> <wsdl:input message="tns:transformRequest" name="transformRequest" />
> <wsdl:output message="tns:transformResponse" name="transformResponse" />
> </wsdl:operation>
> </wsdl:portType>
> - <wsdl:binding name="httpConsumerBinding" type="tns:transformEnginePortType">
> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
> - <wsdl:operation name="transform">
> <wsdlsoap:operation soapAction="" />
> - <wsdl:input name="transformRequest">
> <wsdlsoap:body use="literal" />
> </wsdl:input>
> - <wsdl:output name="transformResponse">
> <wsdlsoap:body use="literal" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> - <wsdl:service name="httpConsumer">
> - <wsdl:port binding="tns:httpConsumerBinding" name="httpConsumer">
> <wsdlsoap:address location="http://localhost:8081/services/XSLTEngine/" />
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
> -----Ursprüngliche Nachricht-----
> Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> Gesendet: Donnerstag, 21. Februar 2008 16:31
> An: users@servicemix.apache.org
> Betreff: Re: Problems with SOAP-Request
>
>
>
> Can you check against the WSDL for the jsr181 endpoint ?
> You should be able to access it from jconsole by looking at the http endpoint
> in your browser. It should defines the format of the expected data.
>
> On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
> <Ro...@metafinanz.de> wrote:
> > Hi All!
> >
> > I deployed a simple Pojo into the JSR181 with the following Interface:
> >
> > public String transform(String fromAccountId, String toAccount, String
> > amount);
> >
> > I have build a html-client which calls the Pojo with the following
> > SOAP-Call:
> >
> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:n1="java:de.metafinanz.sca.BankTransaction"
> >
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> > xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> > xsi:type="n1:TransactionRequest">
> >
> > <env:Body>
> > <transactionRequest:transform>
> > <in0>1</in0>
> > <in1>2</in1>
> > <in2>100</in2>
> > </transactionRequest:transform>
> > </env:Body>
> >
> > </env:Envelope>
> >
> > I thought that the values in the parameters would be automatically set
> > into my pojo parameters, but I get the exception:
> >
> > org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> > received for the operation.
> > at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> > ...
> >
> > If I put 5 parameters between the <transactionRequest:transform> tag the
> > values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> > 5th value are passed to my pojo.
> >
> > Can anyone help me?
> >
> > Thanks in advance
> > Roland
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Re: Problems with SOAP-Request
Posted by Guillaume Nodet <gn...@gmail.com>.
Did you configure the endpoint to use doc/lit:
<jsr181:endpoint style="document" ...>
maybe you can try setting the typeMapping="aegis" ?
On Thu, Feb 21, 2008 at 4:37 PM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi Guillaume,
>
> thx for your quick answer.
>
> Here is the wsdl, the format ist xsd:string which should be correct.
>
> <?xml version="1.0" encoding="UTF-8" ?>
> - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
> - <wsdl:types>
> - <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> - <xsd:element name="transform">
> - <xsd:complexType>
> - <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" />
> <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" />
> <xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> - <xsd:element name="transformResponse">
> - <xsd:complexType>
> - <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </xsd:schema>
> </wsdl:types>
> - <wsdl:message name="transformRequest">
> <wsdl:part element="tns:transform" name="parameters" />
> </wsdl:message>
> - <wsdl:message name="transformResponse">
> <wsdl:part element="tns:transformResponse" name="parameters" />
> </wsdl:message>
> - <wsdl:portType name="transformEnginePortType">
> - <wsdl:operation name="transform">
> <wsdl:input message="tns:transformRequest" name="transformRequest" />
> <wsdl:output message="tns:transformResponse" name="transformResponse" />
> </wsdl:operation>
> </wsdl:portType>
> - <wsdl:binding name="httpConsumerBinding" type="tns:transformEnginePortType">
> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
> - <wsdl:operation name="transform">
> <wsdlsoap:operation soapAction="" />
> - <wsdl:input name="transformRequest">
> <wsdlsoap:body use="literal" />
> </wsdl:input>
> - <wsdl:output name="transformResponse">
> <wsdlsoap:body use="literal" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> - <wsdl:service name="httpConsumer">
> - <wsdl:port binding="tns:httpConsumerBinding" name="httpConsumer">
> <wsdlsoap:address location="http://localhost:8081/services/XSLTEngine/" />
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
> -----Ursprüngliche Nachricht-----
> Von: Guillaume Nodet [mailto:gnodet@gmail.com]
> Gesendet: Donnerstag, 21. Februar 2008 16:31
> An: users@servicemix.apache.org
> Betreff: Re: Problems with SOAP-Request
>
>
>
> Can you check against the WSDL for the jsr181 endpoint ?
> You should be able to access it from jconsole by looking at the http endpoint
> in your browser. It should defines the format of the expected data.
>
> On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
> <Ro...@metafinanz.de> wrote:
> > Hi All!
> >
> > I deployed a simple Pojo into the JSR181 with the following Interface:
> >
> > public String transform(String fromAccountId, String toAccount, String
> > amount);
> >
> > I have build a html-client which calls the Pojo with the following
> > SOAP-Call:
> >
> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:n1="java:de.metafinanz.sca.BankTransaction"
> >
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> > xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> > xsi:type="n1:TransactionRequest">
> >
> > <env:Body>
> > <transactionRequest:transform>
> > <in0>1</in0>
> > <in1>2</in1>
> > <in2>100</in2>
> > </transactionRequest:transform>
> > </env:Body>
> >
> > </env:Envelope>
> >
> > I thought that the values in the parameters would be automatically set
> > into my pojo parameters, but I get the exception:
> >
> > org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> > received for the operation.
> > at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> > ...
> >
> > If I put 5 parameters between the <transactionRequest:transform> tag the
> > values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> > 5th value are passed to my pojo.
> >
> > Can anyone help me?
> >
> > Thanks in advance
> > Roland
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
AW: Problems with SOAP-Request
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hi Guillaume,
thx for your quick answer.
Here is the wsdl, the format ist xsd:string which should be correct.
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo">
- <wsdl:types>
- <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://de.metafinanz.sca.java.pojo.transform/jsrpojo" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="transform">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
- <xsd:element name="transformResponse">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="transformRequest">
<wsdl:part element="tns:transform" name="parameters" />
</wsdl:message>
- <wsdl:message name="transformResponse">
<wsdl:part element="tns:transformResponse" name="parameters" />
</wsdl:message>
- <wsdl:portType name="transformEnginePortType">
- <wsdl:operation name="transform">
<wsdl:input message="tns:transformRequest" name="transformRequest" />
<wsdl:output message="tns:transformResponse" name="transformResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="httpConsumerBinding" type="tns:transformEnginePortType">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="transform">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="transformRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
- <wsdl:output name="transformResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="httpConsumer">
- <wsdl:port binding="tns:httpConsumerBinding" name="httpConsumer">
<wsdlsoap:address location="http://localhost:8081/services/XSLTEngine/" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
-----Ursprüngliche Nachricht-----
Von: Guillaume Nodet [mailto:gnodet@gmail.com]
Gesendet: Donnerstag, 21. Februar 2008 16:31
An: users@servicemix.apache.org
Betreff: Re: Problems with SOAP-Request
Can you check against the WSDL for the jsr181 endpoint ?
You should be able to access it from jconsole by looking at the http endpoint
in your browser. It should defines the format of the expected data.
On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi All!
>
> I deployed a simple Pojo into the JSR181 with the following Interface:
>
> public String transform(String fromAccountId, String toAccount, String
> amount);
>
> I have build a html-client which calls the Pojo with the following
> SOAP-Call:
>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:n1="java:de.metafinanz.sca.BankTransaction"
>
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> xsi:type="n1:TransactionRequest">
>
> <env:Body>
> <transactionRequest:transform>
> <in0>1</in0>
> <in1>2</in1>
> <in2>100</in2>
> </transactionRequest:transform>
> </env:Body>
>
> </env:Envelope>
>
> I thought that the values in the parameters would be automatically set
> into my pojo parameters, but I get the exception:
>
> org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> received for the operation.
> at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> ...
>
> If I put 5 parameters between the <transactionRequest:transform> tag the
> values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> 5th value are passed to my pojo.
>
> Can anyone help me?
>
> Thanks in advance
> Roland
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Re: Problems with SOAP-Request
Posted by Guillaume Nodet <gn...@gmail.com>.
Can you check against the WSDL for the jsr181 endpoint ?
You should be able to access it from jconsole by looking at the http endpoint
in your browser. It should defines the format of the expected data.
On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
<Ro...@metafinanz.de> wrote:
> Hi All!
>
> I deployed a simple Pojo into the JSR181 with the following Interface:
>
> public String transform(String fromAccountId, String toAccount, String
> amount);
>
> I have build a html-client which calls the Pojo with the following
> SOAP-Call:
>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:n1="java:de.metafinanz.sca.BankTransaction"
>
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:transactionRequest="http://www.metafinanz.org/transform/"
> xsi:type="n1:TransactionRequest">
>
> <env:Body>
> <transactionRequest:transform>
> <in0>1</in0>
> <in1>2</in1>
> <in2>100</in2>
> </transactionRequest:transform>
> </env:Body>
>
> </env:Envelope>
>
> I thought that the values in the parameters would be automatically set
> into my pojo parameters, but I get the exception:
>
> org.codehaus.xfire.fault.XFireFault: Not enough message parts were
> received for the operation.
> at org.codehaus.xfire.service.binding.ServiceInvocationHandler
> ...
>
> If I put 5 parameters between the <transactionRequest:transform> tag the
> values are passed to my pojo. But in an confusing way, the 1st, 3rd and
> 5th value are passed to my pojo.
>
> Can anyone help me?
>
> Thanks in advance
> Roland
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Problems with SOAP-Request
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hi All!
I deployed a simple Pojo into the JSR181 with the following Interface:
public String transform(String fromAccountId, String toAccount, String
amount);
I have build a html-client which calls the Pojo with the following
SOAP-Call:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:n1="java:de.metafinanz.sca.BankTransaction"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:transactionRequest="http://www.metafinanz.org/transform/"
xsi:type="n1:TransactionRequest">
<env:Body>
<transactionRequest:transform>
<in0>1</in0>
<in1>2</in1>
<in2>100</in2>
</transactionRequest:transform>
</env:Body>
</env:Envelope>
I thought that the values in the parameters would be automatically set
into my pojo parameters, but I get the exception:
org.codehaus.xfire.fault.XFireFault: Not enough message parts were
received for the operation.
at org.codehaus.xfire.service.binding.ServiceInvocationHandler
...
If I put 5 parameters between the <transactionRequest:transform> tag the
values are passed to my pojo. But in an confusing way, the 1st, 3rd and
5th value are passed to my pojo.
Can anyone help me?
Thanks in advance
Roland
RE: Installation Problem with ServiceMix into Eclipse - additional information
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hello Marco,
thanks a lot so far. If I do mvn eclipse:eclipse within my sample project, everything is correct and I can import it into eclipse and work with it without problems, too.
I've tried again with the unzipped sources under the servicemix directory as you want but with the same result.
Best Regards
Roland
-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com [mailto:marco.mistroni@uk.bnpparibas.com]
Gesendet: Mittwoch, 16. Januar 2008 14:21
An: users@servicemix.apache.org
Betreff: Re: AW: AW: Installation problem with ServiceMix into Eclipse - additional information
Hello..
didnt go that far i m afraid.. i didnt build from sources :(
mayb servicemix guys can help
only thing i can say (as i have imported mvn project into eclipse) is that
mvn assumes this directory sturcture
src
|__ main
|____java
while in eclipse you'd put everything under src, and src would be your
source directory
afaik the only way to import a maven project into eclipse is to run mv
eclipse:eclipse on an already created maven project (therefore, that mvn
project will
have directory structure as src\main\java
do one last thing for me.
instead of extracting into src directory, extract it into servicemix
directory
then run mvn eclipse:eclipse
i guess that might be your problem,
more than that i cannot help as i extracted it from a .zip
i'll try to build it on Ubuntu Linux this weekend, will post here results
regards
marco
Internet
Roland.Sperl@METAFINANZ.DE
16/01/2008 12:55
Please respond to
users@servicemix.apache.org
To
users
cc
Subject
AW: AW: Installation problem with ServiceMix into Eclipse - additional
information
o.k., in detail: I've done it like it is described in the User Guide
section 'Importing ServiceMix into Eclipse'. This means I've unzipped the
servicemix source distribution into the directory c:\servicemix\src. In
this directory ist the pom-File
<servicemix>
src
|__archetypes
|__build
|__common
|__core
...
pom.xml
>From this directory I started the command 'mvn eclipse:eclipse'. The
option -X shows the same stacktrace:
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for
'source' parameter; contains nested elements
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at
org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
Regards
Roland
-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com
[mailto:marco.mistroni@uk.bnpparibas.com]
Gesendet: Mittwoch, 16. Januar 2008 13:34
An: users@servicemix.apache.org
Betreff: Re: AW: Installation problem with ServiceMix into Eclipse -
additional information
Hello,
what do you mean by
>>i've tried to install ServiceMix into Eclipse via Maven
have u run mvn -X?
i might have missed it, but r u runnig maven from eclipse?
i might have missed also this, but what's your directory structure? what's
below c:\servicemix\src?
where's pom.xml?
when you run mvn for your project, it assumes that you have this directory
structure
<yourproject>
src
|__main
|___ java
|___ resources
|__test
|___ java
|___ resources
regards
marco
This communication is confidential, may be privileged and is meant only
for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete
this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank
are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services
London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services
Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member
of the London Stock Exchange.
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.
Re: AW: AW: Installation problem with ServiceMix into Eclipse - additional
information
Posted by ma...@uk.bnpparibas.com.
Hello..
didnt go that far i m afraid.. i didnt build from sources :(
mayb servicemix guys can help
only thing i can say (as i have imported mvn project into eclipse) is that
mvn assumes this directory sturcture
src
|__ main
|____java
while in eclipse you'd put everything under src, and src would be your
source directory
afaik the only way to import a maven project into eclipse is to run mv
eclipse:eclipse on an already created maven project (therefore, that mvn
project will
have directory structure as src\main\java
do one last thing for me.
instead of extracting into src directory, extract it into servicemix
directory
then run mvn eclipse:eclipse
i guess that might be your problem,
more than that i cannot help as i extracted it from a .zip
i'll try to build it on Ubuntu Linux this weekend, will post here results
regards
marco
Internet
Roland.Sperl@METAFINANZ.DE
16/01/2008 12:55
Please respond to
users@servicemix.apache.org
To
users
cc
Subject
AW: AW: Installation problem with ServiceMix into Eclipse - additional
information
o.k., in detail: I've done it like it is described in the User Guide
section 'Importing ServiceMix into Eclipse'. This means I've unzipped the
servicemix source distribution into the directory c:\servicemix\src. In
this directory ist the pom-File
<servicemix>
src
|__archetypes
|__build
|__common
|__core
...
pom.xml
>From this directory I started the command 'mvn eclipse:eclipse'. The
option -X shows the same stacktrace:
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for
'source' parameter; contains nested elements
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at
org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
Regards
Roland
-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com
[mailto:marco.mistroni@uk.bnpparibas.com]
Gesendet: Mittwoch, 16. Januar 2008 13:34
An: users@servicemix.apache.org
Betreff: Re: AW: Installation problem with ServiceMix into Eclipse -
additional information
Hello,
what do you mean by
>>i've tried to install ServiceMix into Eclipse via Maven
have u run mvn -X?
i might have missed it, but r u runnig maven from eclipse?
i might have missed also this, but what's your directory structure? what's
below c:\servicemix\src?
where's pom.xml?
when you run mvn for your project, it assumes that you have this directory
structure
<yourproject>
src
|__main
|___ java
|___ resources
|__test
|___ java
|___ resources
regards
marco
This communication is confidential, may be privileged and is meant only
for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete
this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank
are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services
London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services
Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member
of the London Stock Exchange.
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.
AW: AW: Installation problem with ServiceMix into Eclipse - additional information
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
o.k., in detail: I've done it like it is described in the User Guide section 'Importing ServiceMix into Eclipse'. This means I've unzipped the servicemix source distribution into the directory c:\servicemix\src. In this directory ist the pom-File
<servicemix>
src
|__archetypes
|__build
|__common
|__core
...
pom.xml
>From this directory I started the command 'mvn eclipse:eclipse'. The option -X shows the same stacktrace:
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for 'source' parameter; contains nested elements
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for 'source' parameter; contains nested element
s
at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for 'source' parameter; contains nested element
s
at org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
Regards
Roland
-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com [mailto:marco.mistroni@uk.bnpparibas.com]
Gesendet: Mittwoch, 16. Januar 2008 13:34
An: users@servicemix.apache.org
Betreff: Re: AW: Installation problem with ServiceMix into Eclipse - additional information
Hello,
what do you mean by
>>i've tried to install ServiceMix into Eclipse via Maven
have u run mvn -X?
i might have missed it, but r u runnig maven from eclipse?
i might have missed also this, but what's your directory structure? what's
below c:\servicemix\src?
where's pom.xml?
when you run mvn for your project, it assumes that you have this directory
structure
<yourproject>
src
|__main
|___ java
|___ resources
|__test
|___ java
|___ resources
regards
marco
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.
Re: AW: Installation problem with ServiceMix into Eclipse - additional
information
Posted by ma...@uk.bnpparibas.com.
Hello,
what do you mean by
>>i've tried to install ServiceMix into Eclipse via Maven
have u run mvn -X?
i might have missed it, but r u runnig maven from eclipse?
i might have missed also this, but what's your directory structure? what's
below c:\servicemix\src?
where's pom.xml?
when you run mvn for your project, it assumes that you have this directory
structure
<yourproject>
src
|__main
|___ java
|___ resources
|__test
|___ java
|___ resources
regards
marco
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.
AW: Installation problem with ServiceMix into Eclipse - additional information
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Marco,
thx for your help!
I unzipped the sources into c:\servicemix\src and started mvn from this directory in a dos box. I've installed the eclipse maven plugin but didn't start mvn eclipse:eclipse within. I don't run mvn for a multiproject.
I've tried to generate the sources but at step 2 (mvn -Dmaven.test.skip=true -Pstep2 install) the same error occurs at this part:
[INFO] ------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-jaxws-api/1.3-
r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws
-api-1.3-r562247.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-j
axws-api-1.3-r562247.pom
Downloading: http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading: http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-saaj-api/1.3-r
562247/axis2-saaj-api-1.3-r562247.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-a
pi-1.3-r562247.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-sa
aj-api-1.3-r562247.pom
Downloading: http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 11 seconds
[INFO] Finished at: Wed Jan 16 13:01:56 CET 2008
[INFO] Final Memory: 87M/156M
[INFO] ------------------------------------------------------------------------
C:\servicemix\src>
Regards
Roland
-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com [mailto:marco.mistroni@uk.bnpparibas.com]
Gesendet: Mittwoch, 16. Januar 2008 13:00
An: users@servicemix.apache.org
Betreff: Re: Installation problem with ServiceMix into Eclipse - additional information
Hi
can u pls post your directory structure, as well as where are you
running mvn?
one thing you ca ndo.
delete ur current project
recreate using maven
run mvn eclipse:eclipse
open it up with eclipse. try to install eclipse maven plugin (i assume you
have done it as you can run it from eclipse)
right click on your project and check where is the source directory
defined
are you runnig mvn for a multiproject?
regards
marco
Internet
Roland.Sperl@METAFINANZ.DE
16/01/2008 11:52
Please respond to
users@servicemix.apache.org
To
users
cc
Subject
Installation problem with ServiceMix into Eclipse - additional information
Hi all,
the option mvn -e eclipse:eclipse is showing some more info, maybe this
can help anyone...
Thanks
Roland
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-jaxws-api/1.3-
r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws
-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-j
axws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-saaj-api/1.3-r
562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-a
pi-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-sa
aj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for
'source' parameter; contains nested elements
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at
org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 50 seconds
[INFO] Finished at: Wed Jan 16 12:46:52 CET 2008
[INFO] Final Memory: 85M/152M
[INFO]
------------------------------------------------------------------------
-----Ursprüngliche Nachricht-----
Von: Roland Sperl [mailto:Roland.Sperl@METAFINANZ.DE]
Gesendet: Mittwoch, 16. Januar 2008 12:43
An: users@servicemix.apache.org
Betreff: Installation problem with ServiceMix into Eclipse
Hi all,
i've tried to install ServiceMix into Eclipse via Maven but it failed at
this point:
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.p
om
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562
247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r5622
47/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r5622
47/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r56224
7/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 59 seconds
[INFO] Finished at: Wed Jan 16 12:37:03 CET 2008
[INFO] Final Memory: 86M/154M
[INFO]
------------------------------------------------------------------------
C:\servicemix\src>
Has anyone this problem before and could help me?
Thanks in advance. Any help would be much appreciated.
Roland
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.
Re: Installation problem with ServiceMix into Eclipse - additional
information
Posted by ma...@uk.bnpparibas.com.
Hi
can u pls post your directory structure, as well as where are you
running mvn?
one thing you ca ndo.
delete ur current project
recreate using maven
run mvn eclipse:eclipse
open it up with eclipse. try to install eclipse maven plugin (i assume you
have done it as you can run it from eclipse)
right click on your project and check where is the source directory
defined
are you runnig mvn for a multiproject?
regards
marco
Internet
Roland.Sperl@METAFINANZ.DE
16/01/2008 11:52
Please respond to
users@servicemix.apache.org
To
users
cc
Subject
Installation problem with ServiceMix into Eclipse - additional information
Hi all,
the option mvn -e eclipse:eclipse is showing some more info, maybe this
can help anyone...
Thanks
Roland
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-jaxws-api/1.3-
r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws
-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-j
axws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-saaj-api/1.3-r
562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-a
pi-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-sa
aj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for
'source' parameter; contains nested elements
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value
for 'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at
org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at
org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 50 seconds
[INFO] Finished at: Wed Jan 16 12:46:52 CET 2008
[INFO] Final Memory: 85M/152M
[INFO]
------------------------------------------------------------------------
-----Ursprüngliche Nachricht-----
Von: Roland Sperl [mailto:Roland.Sperl@METAFINANZ.DE]
Gesendet: Mittwoch, 16. Januar 2008 12:43
An: users@servicemix.apache.org
Betreff: Installation problem with ServiceMix into Eclipse
Hi all,
i've tried to install ServiceMix into Eclipse via Maven but it failed at
this point:
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.p
om
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562
247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r5622
47/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r5622
47/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r56224
7/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 59 seconds
[INFO] Finished at: Wed Jan 16 12:37:03 CET 2008
[INFO] Final Memory: 86M/154M
[INFO]
------------------------------------------------------------------------
C:\servicemix\src>
Has anyone this problem before and could help me?
Thanks in advance. Any help would be much appreciated.
Roland
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.
Installation problem with ServiceMix into Eclipse - additional information
Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hi all,
the option mvn -e eclipse:eclipse is showing some more info, maybe this can help anyone...
Thanks
Roland
[INFO] ------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading: http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-jaxws-api/1.3-
r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws
-api-1.3-r562247.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-j
axws-api-1.3-r562247.pom
Downloading: http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading: http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-saaj-api/1.3-r
562247/axis2-saaj-api-1.3-r562247.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-a
pi-1.3-r562247.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-sa
aj-api-1.3-r562247.pom
Downloading: http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for 'source' parameter; contains nested elements
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for 'source' parameter; contains nested element
s
at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for 'source' parameter; contains nested element
s
at org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 50 seconds
[INFO] Finished at: Wed Jan 16 12:46:52 CET 2008
[INFO] Final Memory: 85M/152M
[INFO] ------------------------------------------------------------------------
-----Ursprüngliche Nachricht-----
Von: Roland Sperl [mailto:Roland.Sperl@METAFINANZ.DE]
Gesendet: Mittwoch, 16. Januar 2008 12:43
An: users@servicemix.apache.org
Betreff: Installation problem with ServiceMix into Eclipse
Hi all,
i've tried to install ServiceMix into Eclipse via Maven but it failed at
this point:
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.p
om
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562
247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r5622
47/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r5622
47/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r56224
7/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 59 seconds
[INFO] Finished at: Wed Jan 16 12:37:03 CET 2008
[INFO] Final Memory: 86M/154M
[INFO]
------------------------------------------------------------------------
C:\servicemix\src>
Has anyone this problem before and could help me?
Thanks in advance. Any help would be much appreciated.
Roland
Re: Installation problem with ServiceMix into Eclipse
Posted by ma...@uk.bnpparibas.com.
Hello
2 things to try
1) run maven from OUTSIDE eclipse, to see that it's not an eclipse problem
2) have you run mvn eclipse:eclipse after generating the sources?
my guess is taht Eclipse does not understand what's source directory...
try it out and let us know
regards
marco
Internet
Roland.Sperl@METAFINANZ.DE
16/01/2008 11:43
Please respond to
users@servicemix.apache.org
To
users
cc
Subject
Installation problem with ServiceMix into Eclipse
Hi all,
i've tried to install ServiceMix into Eclipse via Maven but it failed at
this point:
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.p
om
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562
247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r5622
47/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/or
g/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2/axis
2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/
axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r5622
47/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r56224
7/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 59 seconds
[INFO] Finished at: Wed Jan 16 12:37:03 CET 2008
[INFO] Final Memory: 86M/154M
[INFO]
------------------------------------------------------------------------
C:\servicemix\src>
Has anyone this problem before and could help me?
Thanks in advance. Any help would be much appreciated.
Roland
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.