Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » Doubt!
Doubt! [message #9412] Fri, 03 August 2007 18:05 Go to next message
Guilherme Sautner is currently offline Guilherme SautnerFriend
Messages: 3
Registered: July 2009
Junior Member
Hi,

** Versions **
ActiveBPEL3.0
Tomcat5.0.28
EclipseWTP2.0 - Europa
DTP-SDK_1.5_20070704
EMF-SDO-XSD-SDK-M200707242120
BPELDesigner: CVS HEAD
** Versions **

Faultstring:Error evaluating expression: Cause: Unexpected ''

Err: org.jaxen.XPathSyntaxException: Unexpected ''

Sample produced by the BPEL Designer:

<!-- WSDL File -->
<message name="OopsRequestMessage">
<part name="input" type="xsd:string"/> <-- ? Not complexType,
then it not require query ?
</message>
<message name="OopsResponseMessage">
<part name="output" type="xsd:string"/>
</message>
<!-- WSDL File -->

<!-- BPEL File -->
[...]
<bpws:variables>
<bpws:variable messageType="tns:OopsRequestMessage" name="input"/>
<bpws:variable messageType="tns:OopsResponseMessage"
name="output"/>
</bpws:variables>
[...]
<bpws:assign name="Assign" validate="yes">
<bpws:copy>
<bpws:from part="input" variable="input">
<bpws:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0 "><![CDATA[]]></bpws:query>
<!-- ? it's correct ? -->
</bpws:from>
<bpws:to part="output" variable="output">
<bpws:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0 "><![CDATA[]]></bpws:query>
<!-- ? it's correct ? -->
</bpws:to>
[...]
<!-- BPEL File -->

NOTE: Remove 'query' and work.

Thanks in advance.

sautner
Re: Doubt! [message #9435 is a reply to message #9412] Fri, 03 August 2007 20:44 Go to previous message
Guilherme Sautner is currently offline Guilherme SautnerFriend
Messages: 3
Registered: July 2009
Junior Member
Hi,

Class: org.eclipse.bpel.ui.properties.VariablePartAssignCategory
Line: 440
if (displayQuery() && query.trim().length() >= 0) {
Query queryObject = BPELFactory.eINSTANCE.createQuery();
queryObject.setQueryLanguage (BPELConstants.XMLNS_XPATH_QUERY_LANGUAGE);
queryObject.setValue(query);
side.setQuery(queryObject);

Query with value = '' in activeBpel engine isn't valid.

Thanks in advance

sautner
Previous Topic:Eclipse 3.3 installation
Next Topic:So, you wanna try it out ...
Goto Forum:
  


Current Time: Mon Nov 24 14:12:33 GMT 2014

Powered by FUDForum. Page generated in 0.02665 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software