Received fail on install of data services of mashup server using P2 link http://wso2.org/forum/thread/10724#comment-15973
" Hi Thomas, I believe you can install it from a p2 command line from previous knowledge but received a fail from both repositories available. Below steps but not worked for me. I guess list for questions. http://wso2.org/mail ******* Installation failed An error occurred while collecting items to be installed from both repos so would be interested in a solution for this ****** Launch console * For linux users : sh wso2server.sh -DosgiConsole * For Windows users : wso2server.bat -DosgiConsole then Should be 1.)provlg 2.)provaddrepo http://dist.wso2.org/p2/carbon/releases/3.0.0/ 3.)provinstall org.wso2.carbon.datasource.feature.group 3.0.0 Have also tried 1.)provlg 2.)provaddrepo http://dist.wso2.org/p2/carbon/releases/2.0.0/ 3.) provinstall org.wso2.carbon.dataservices.feature.group 2.0.0 provinstall org.wso2.carbon.dataservices.server.feature.group 2.0.0 provinstall org.wso2.carbon.dataservices.ui.feature.group 2.0.0 Links http://blog.afkham.org/2010/05/installing-data-services-on-wsas-320.html https://wso2.org/wiki/display/carbon/p2-based-provisioning-support Thanks RobinS" On Tue, Oct 5, 2010 at 7:11 AM, Ruchira Wageesha <[email protected]> wrote: > Hi Jonathan, > > Is it possible to extend current tryit to support relative schema imports? > As current tryit doesn't support schema imports, we cannot tryit JAXWS > services [1]. I guess BPS guys have the same issue. Can't we use just XSLT > to recursively import schemas? I wrote a small code fragment[2] using an > XSLT extension i.e. node-set, but I couldn't check it properly. Is it > possible to use this kind of logic to recursively import schemas? Otherwise, > is there any other solution for this. > > regards, > Ruchira > > [1] https://wso2.org/jira/browse/CARBON-4520 > > [2] > > <xsl:variable name="schema-content"> > <xsl:call-template name="schemata-resolver"> > <xsl:with-param name="current" select="$root/wsdl:types | > $imported-wsdl/wsdl:types"/> > </xsl:call-template> > </xsl:variable> > > <xsl:variable name="schemata" select="exslt:node-set($schema-content)"/> > > > <!-- perform schema importing operation and take them into the top level > --> > <xsl:template name="schemata-resolver"> > <xsl:param name="current"/> > <xsl:for-each select="$current/xs:impo...@schemalocation and > not(starts-with(@schemaLocation,'#'))]"> > <xsl:variable name="schema-uri"> > <xsl:choose> > <xsl:when test="starts-with(@schemaLocation, 'http://') or > starts-with(@schemaLocation, 'https://')"> > <xsl:value-of select="@schemaLocation" /> > </xsl:when> > <xsl:when test="@base[namespace-uri() = ' > http://www.w3.org/XML/1998/namespace'<http://www.w3.org/XML/1998/namespace%27> > ]"> > <xsl:value-of select="concat(@base, @schemaLocation)"/> > </xsl:when> > <xsl:otherwise> > <xsl:value-of select="concat($base-uri, > @schemaLocation)"/> > </xsl:otherwise> > </xsl:choose> > </xsl:variable> > <xsl:call-template name="schemata-resolver"> > <xsl:with-param name="current" select="document($schema-uri)"/> > </xsl:call-template> > </xsl:for-each> > <xsl:for-each select="$current/xs:include"> > <xsl:variable name="schema-uri"> > <xsl:choose> > <xsl:when test="starts-with(@schemaLocation, 'http://') or > starts-with(@schemaLocation, 'https://')"> > <xsl:value-of select="@schemaLocation" /> > </xsl:when> > <xsl:when test="@base[namespace-uri() = ' > http://www.w3.org/XML/1998/namespace'<http://www.w3.org/XML/1998/namespace%27> > ]"> > <xsl:value-of select="concat(@base, @schemaLocation)"/> > </xsl:when> > <xsl:otherwise> > <xsl:value-of select="concat($base-uri, > @schemaLocation)"/> > </xsl:otherwise> > </xsl:choose> > </xsl:variable> > <xsl:call-template name="schemata-resolver"> > <xsl:with-param name="current" select="document($schema-uri)"/> > </xsl:call-template> > </xsl:for-each> > <xsl:for-each select="$current/xs:schema"> > <xsl:call-template name="schemata-resolver"> > <xsl:with-param name="current" select="."/> > </xsl:call-template> > </xsl:for-each> > <xsl:variable name="elements" select="$current/xs:element | > $current/xs:simpleType | > $current/xs:complexType | > $current/xs:attributeGroup | > $current/xs:attribute | > $current/xs:group"/> > <xsl:if test="$elements"> > <xsl:copy> > <xsl:if test="@targetNamespace != ''"> > <xsl:attribute name="targetNamespace"> > <xsl:value-of select="@targetNamespace"/> > </xsl:attribute> > </xsl:if> > <xsl:copy-of select="$elements" /> > </xsl:copy> > </xsl:if> > </xsl:template> > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
