You are viewing a plain text version of this content. The canonical link for it is here.
Posted to agila-dev@incubator.apache.org by nancy <na...@daffodildb.com> on 2006/03/17 07:37:48 UTC

urgent:Can't deploy example1

Thanks Matthieu,It was a corrupted download.now I have deployed agila in
tomcat 5.0.I am facing problem in deploying example1:

I am having 2 xml:
Wsdef.xml
Process.xml

Please can you clear it which file I should specify in deploying?

1) Select a resource to deploy (XML schema or WSDL import) (Which file I
must give?)
2) Select a WSDL to deploy (main WSDL file) (is it wsdef.xml?)
3) select a process to deploy (WS-BPEL description) (Is it process.xml)


I gave wsdef.xml in 1 and 2.

Step 1 submitted without any error but 

In 2) I am facing problem

Errors have been found when validating your document. 

Couldn't find a definition for Message:
name={http://www.apache.org/agila/samples/exemple1/definition/}errorMessage

In 3) error is:

Remote error: org.apache.agila.bpel.deployer.exception.DeploymentException:
Could not find the WSDL document referenced in the provided BPEL process
description, please make sure you deployed the referenced WSDL description.

I found in agila mailing list a solution for 2) :
 
http://mail-archives.apache.org/mod_mbox/incubator-agila-dev/200506.mbox/%3C
ac0203f605060708211ff42d1c@mail.gmail.com%3E

So I changed in wsdef but facing error:

 Remote error :
org.apache.agila.bpel.deployer.exception.DeploymentException: Could not
parse document..

Changes done by me:

<bpel:property name="customerFirstName" type="xsd:string"/>
<bpel:propertyAlias propertyName="customerFirstName" 
messageType="creditInformationMessage" part="firstName"/>
<bpel:propertyAlias propertyName="customerFirstName" 
messageType="approvalMessage" part="firstName"/>
<bpel:propertyAlias propertyName="customerFirstName" 
messageType="riskAssessmentMessage" part="firstName"/>

<bpel:property name="customerLastName" type="xsd:string"/>
<bpel:propertyAlias propertyName="customerLastName" 
messageType="creditInformationMessage" part="lastName"/>
<bpel:propertyAlias propertyName="customerLastName" 
messageType="approvalMessage" part="lastName"/>
<bpel:propertyAlias propertyName="customerLastName" 
messageType="riskAssessmentMessage" part="lastName"/>

<bpel:property name="workitem" type="xsd:string"/>
<bpel:propertyAlias propertyName="workitem" messageType="workMessage" 
part="wipart" query="/workitemid"/>


I think its due to undefined namespace bpel in wsdef.xml definition.
Please tell which namespace I must define to define bpel.

Thanks,
Nancy



-----Original Message-----
From: Matthieu Riou [mailto:matthieu.riou@gmail.com] 
Sent: Friday, March 17, 2006 1:28 AM
To: agila-dev@incubator.apache.org
Subject: Re: can't find 'xindice.war'

Well, I have no problem unzipping or untargzipping the binary webapp
distribution... perhaps a corrupted download?

Matthieu.

On 3/16/06, nancy <na...@daffodildb.com> wrote:
> Hi,
>
> I have built successfully Agila Bpel using Maven1.0.Now the problem is I
> can't find 'xindice.war'
>
> As per instruction in:
> *Copy Xindice war file included in Xindice's distribution in
tomcat/webapps
> (make sure the file name is 'xindice.war'
>
> I have downloaded src many times from
> http://xml.apache.org/xindice/download.cgi But problem is that src is not
> compilable error:
>
>   [echo] Compiling Source
>  [javac] Compiling 93 source files to
> E:\Repository\AgilaRequiredProjects\xml-xindice-1.0\java\classes
>  [javac]
>
\xml-xindice-1.0\java\src\org\apache\xindice\core\query\XPathQueryResolver.j
> ava:502
> rray required, but org.apache.xpath.compiler.OpMapVector found
>  [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
>  [javac]                                            ^
>  [javac]
>
\xml-xindice-1.0\java\src\org\apache\xindice\core\query\XPathQueryResolver.j
> ava:502
> perator - cannot be applied to java.lang.String,int
>  [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
>  [javac]                                                    ^
>  [javac] Note: Some input files use or override a deprecated API.
>  [javac] Note: Recompile with -deprecation for details.
>  [javac] 2 errors
>
>
> So I tried downloading Version 1.1b4 - Binary (webapp) but this is not a
> valid zip so unable to extract it.
>
> Please help what should I do?
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
>

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006