POM.xml for jsr component has reference to wsdl file. That wsdl file should
be present.
<configuration>
<wsdls>
<wsdl>src/main/resources/person.wsdl</wsdl>
</wsdls>
<outputDirectory>target/jaxws</outputDirectory>
<profile>org.codehaus.xfire.jaxws.gen.JAXWSProfile</profile>
</configuration>-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 3:21 AM To: [email protected] Subject: Error while building SA with jsr181-wsdl-first SU and http:consumerSU Can anyone suggest me whats going on wrong here? Do I need to configure something before building? C:\crws>mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] CRWS [INFO] JSR-181::SU [INFO] HTTP::SU [INFO] CRWS::SA [INFO] ---------------------------------------------------------------------------- [INFO] Building CRWS [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing C:\crws\pom.xml to C:\Documents and Settings\ykhanal\.m2\repository\org\apache\servicemix\crws\parent\1.0-SNAPSH OT\parent- [INFO] ---------------------------------------------------------------------------- [INFO] Building JSR-181::SU [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- Downloading: http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss 4j-1.5.0.pom Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom Downloading: http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1 .3.0/xmlsec-1.3.0.pom Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom Downloading: http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/s aaj-impl-1.3.pom Downloading: http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom [INFO] [xfire:wsgen {execution: default}] [INFO] Executing XFire WsGen task with url: file:/C:/crws/src/main/resources/service.wsdl [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] command execution failed Embedded error: java.io.IOException: Could not find resource 'file:/C:/crws/src/main/resources/service.wsdl [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 seconds [INFO] Finished at: Sat Oct 13 17:45:56 EDT 2007 [INFO] Final Memory: 11M/22M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://www.nabble.com/Error-while-building-SA-with-jsr181-wsdl-first-SU-and- http%3Aconsumer-SU-tf4619726s12049.html#a13193756 Sent from the ServiceMix - User mailing list archive at Nabble.com.
smime.p7s
Description: S/MIME cryptographic signature
