Actually, I've already tryed the mirror site http://mirrors.ibiblio.org/pub/mirrors/ and it worked pretty well. But your guess is right : though I downloaded the 3.3 version of servicemix, the maven auto generation tool set the servicemix-version to 3.2.2. Do you have an idea of why it acts like this? Furthermore, should I jump to serviceMix 4.0 or can I keep the 3.3 version?
Gert Vanthienen wrote: > > Cedric, > > Could you verify that the pom.xml files mention the correct version of > ServiceMix? It looks like you are using an older version (3.2.2 or > something), while I guess that, since you're new to ServiceMix, you're > more likely to be using 3.3 or 4.0.0, isn't it? > > Regards, > > Gert Vanthienen > ------------------------ > Open Source SOA: http://fusesource.com > Blog: http://gertvanthienen.blogspot.com/ > > > > 2009/5/28 Fly13DW <[email protected]>: >> >> Thank you for your answer. >> >> I create the project as said in the tutorial: >>> mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling >>> -DarchetypeArtifactId=servicemix-project-root >>> -DgroupId=org.apache.servicemix.test3 -DartifactId=TestWsdlDistant3 >> >> ------------------------------------------------------------ >> >> Then I create a HTTP SU consumer into the new created folder: >> TestWsdlDistant3> mvn archetype:create >> -DarchetypeGroupId=org.apache.servicemix.tooling >> -DarchetypeArtifactId=servicemix-http-consumer-service-unit >> -DgroupId=org.apache.servicemix.test3 -DartifactId=in-http-bc >> the Camel SU (the SE, I think?): >> TestWsdlDistant3> mvn archetype:create >> -DarchetypeGroupId=org.apache.servicemix.tooling >> -DarchetypeArtifactId=servicemix-camel-service-unit >> -DgroupId=org.apache.servicemix.test3 -DartifactId=camel-su >> and finally the CXF SU provider: >> TestWsdlDistant3> mvn archetype:create >> -DarchetypeGroupId=org.apache.servicemix.tooling >> -DarchetypeArtifactId=servicemix-cxf-bc-service-unit >> -DgroupId=org.apache.servicemix.test3 -DartifactId=out-cxf-bc >> >> ------------------------------------------------------------ >> >> I try mvn install (just to see if everything is ok) >> >> I have a Build failed and these error messages : >> error: error reading >> D:\Users\itmaster\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar; >> error in opening zip file >> error: error reading >> D:\Users\itmaster\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; >> error >> in opening zip file >> >> so I just try to delete these files and build again and I have the same >> error with another one: >> [INFO] Unable to find resource 'xerces:xerces:jar:2.0.2' in repository >> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository) >> Downloading: >> http://servicemix.org/m2-repo/xerces/xerces/2.0.2/xerces-2.0.2.jar >> 1K downloaded (spring-support-2.0.6.jar) >> 1K downloaded (xerces-2.0.2.jar) >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> '000fe85014f41d2570499c0f861c6e98665499ec'; remote = '<!-- >> >> top.location="http://servicemix.org/?fp=kXHnDH0xDZIfzlzX%2BEMg2aI8qPN9TqlzHEvrAIivMgIVV8vmkUBX4h5fLLjpt9HdKiETENFLeq7LkY2rrQCF2FHRwxbQ0JOI5XstHCqgtkjkneSsbkG9g5TREzkc6g28z%2B3I&cifr=1"; >> /* >> --> >> <script' - RETRYING >> Downloading: >> http://servicemix.org/m2-repo/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> 'd8139c47cb24b298407e36191473fa0a5ab8bbdd'; remote = '<!-- >> >> top.location="http://servicemix.org/?fp=kXHnDH0xDZIfzlzX%2BEMg2aI8qPN9TqlzHEvrAIivMgG0LVtTK53YbqdD8EHCEuJyd%2BkjnjI2WBtsvlBX76VzTsAnUF%2FzL%2BaLUNTBFrTXZaMDt3sXM13kSMp4Y56EJ3DCJUDA&cifr=1"; >> /* >> --> >> <script' - RETRYING >> Downloading: >> http://servicemix.org/m2-repo/xerces/xerces/2.0.2/xerces-2.0.2.jar >> 1K downloaded (spring-support-2.0.6.jar) >> 1K downloaded (xerces-2.0.2.jar) >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> 'f080208aea8ead70f558a477b75823eb2edf0528'; remote = '<!-- >> >> top.location="http://servicemix.org/?fp=kXHnDH0xDZIfzlzX%2BEMg2aI8qPN9TqlzHEvrAIivMgV6gYeVlYjq3NS%2BzAEK8w9wFtV%2FHPf%2BrPQZdHtrGqJHtifNu99Ejea0M8k2UkVu6zZn%2FCpaMZLYESTRe7Gfw%2FqxB90c&cifr=1"; >> /* >> --> >> <script' - IGNORING >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> '6bdc54056ba8980e25701c351629116897ace8ee'; remote = '<!-- >> >> top.location="http://servicemix.org/?fp=kXHnDH0xDZIfzlzX%2BEMg2aI8qPN9TqlzHEvrAIivMgRsfuksEv7MO3Rr1LS8rmxCcpQDTTFBgZnvXuESeWVrUW%2BLbGYnJsDy3WYHVnKIan6zcl7W08M%2Bmm6a3rJd0s20huUO&cifr=1"; >> /* >> --> >> <script' - IGNORING >> >> (and the same for spring-support). >> I think this means that the source is not available. >> Do I have to modify some configuration (resource server)? >> Does someone have a hint? >> >> Regards, >> Cedric >> >> >> >> Gert Vanthienen wrote: >>> >>> L.S., >>> >>> First of all, welcome to ServiceMix! ;) >>> >>> If you want to receive the non-soap XML message using a HTTP POST, an >>> HTTP consumer endpoint would be the ideal solution there. For >>> invoking the external endpoint, you could use an HTTP provider >>> endpoint but we would generally recommend using the servicemix-cxfbc, >>> because it is specifically geared towards dealing with web services. >>> >>> Once you have these two set up, you could actually choose any >>> component that best suits your needs : servicemix-bean if you want to >>> use a POJO, servicemix-saxon if you are going for XSL, ... My >>> personal favorite/recommendation would be to use Camel inbetween the >>> two endpoints: it has excellent EIP and POJO support and there are >>> components available for XSL, EL, ... to help you build the >>> transformations. >>> >>> So in a nutshell, I think the best solution for you would be: >>> HTTP consumer -> Camel route -> CXF provider >>> >>> Regards, >>> >>> Gert Vanthienen >>> ------------------------ >>> Open Source SOA: http://fusesource.com >>> Blog: http://gertvanthienen.blogspot.com/ >>> >>> >>> >>> 2009/5/27 Fly13DW <[email protected]>: >>>> >>>> Hello, >>>> >>>> I'm new with Apache ServiceMix, and I'm asking questions concerning >>>> the> >>>> architecture I should use. >>>> 1) I have a XML message as entry (no-SOAP) >>>> <message>msg</message> >>>> 2) This message has to be converted to be passed to an external Web >>>> Service, >>>> using SOAP. >>>> 3) The Web Service returns a SOAP message that has to be converted back >>>> to >>>> XML >>>> >>>> I thought I use the servicemix-http for the Binding Component (1), and >>>> maybe >>>> the servicemix-jsr181 (2). >>>> My questions are : >>>> - do you think there is a better Binding Component (1) to do this job? >>>> - my servicemix-jsr181 will use a java pojo. Do I have to do a call to >>>> the >>>> Web Service in this implemented class, or should I use another >>>> architecture? >>>> >>>> thank you for your answers >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/components-to-use-for-an-XML-to-SOAP-request-tp23745527p23745527.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> ----- >>> --- >>> Gert Vanthienen >>> http://gertvanthienen.blogspot.com >>> >> >> -- >> View this message in context: >> http://www.nabble.com/components-to-use-for-an-XML-to-SOAP-request-tp23745527p23757970.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > ----- > --- > Gert Vanthienen > http://gertvanthienen.blogspot.com > -- View this message in context: http://www.nabble.com/components-to-use-for-an-XML-to-SOAP-request-tp23745527p23759926.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
