I was using the expression langague for XPath 2.0 in the invoke activity as below.. but still the same excepiton.. Please look at the below assign activity <bpws:assign name="Assign_Provider_Reference_Search_Details" validate="no" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" > <bpws:copy> <bpws:from> <bpws:literal> <q0:ProviderSearch2 xmlns:q0="http://tempuri.org/"> <q0:requestXML/> </q0:ProviderSearch2> </bpws:literal> </bpws:from> <bpws:to part="parameters" variable="ProviderServiceRequest"/> </bpws:copy> <bpws:copy> <bpws:from xmlns:ext="http://www.apache.org/ode/type/extension">ext:DomToString( <![CDATA[concat('<PrvRequest>','<platformCd>',$SearchProvidersRequest.request/ns:ProviderPlatform,'</platformCd><lastName>',$SearchProvidersRequest.request/ns:ProviderName/xs1:PersonName/xs1:LastName,'</lastName><firstName></firstName><prvType>',2,'</prvType><PhoneNbr><AreaCd></AreaCd><Phone></Phone></PhoneNbr><specialty></specialty><city></city><County></County><stateCd>',$SearchProvidersRequest.request/ns:StateCode,'</stateCd><zipCd></zipCd><zipSuffix></zipSuffix><PlatformInfo><UNetPrvInfo><ProviderType>',2,'</ProviderType><MktNbr></MktNbr><FacilityTypeCd></FacilityTypeCd></UNetPrvInfo></PlatformInfo></PrvRequest>')]]>)</bpws:from> <bpws:to part="parameters" variable="ProviderServiceRequest"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns2:requestXML]]></bpws:query> </bpws:to> </bpws:copy> </bpws:assign> Thanks Jagan
--- On Tue, 8/12/08, Alex Boisvert <[EMAIL PROTECTED]> wrote: From: Alex Boisvert <[EMAIL PROTECTED]> Subject: Re: How to use Custom Function (DomToString) in ODE To: [email protected], [EMAIL PROTECTED] Date: Tuesday, August 12, 2008, 2:11 PM You need to use XPath 2.0 as the expression language in your process to use this function extension. e.g. you need to add expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" to your process or on your assign activity. alex
