[Users] dynamic web services(endpoints) call?
vzurczak
petals-components at ebmwebsourcing.com
Wed Mar 16 10:32:44 CET 2011
Hi.
Sorry if I did not reply sooner.
I am not an expert of the EIP component, I simply know the principles.
I thought someone else would give you an answer.
Anyway...
wabom wrote:
>
> I am using petals-standalone-1.5.0 et petals-se-eip-1.4-SNAPSHOT.zip because I think the equivalent of <get-calls-by-service> isn't supported in the new eip version.
I can't tell you either.
But I would be surprised if there wasn't an equivalent to this in the new version.
wabom wrote:
>
>
> Code:
> <?xml version="1.0" encoding="UTF-8"?>
>
> <jbi version="1.0" xmlns="http://java.sun.com/xml/ns/jbi"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:petals="http://petals.objectweb.org/"
> xmlns:extensions="http://petals.objectweb.org/extensions/"
> xmlns:eip="http://petals.objectweb.org/extensions/eip/"
> xmlns:plan="http://plan.myorg"
> xmlns:keyvalue="http://petals.objectweb.org/extensions/key-value/">
> <services binding-component="true">
> <provides interface-name="plan:Planificateur"
> service-name="plan:PlanificateurService"
> endpoint-name="SampleEipChainEndpoint">
> <extensions:extensions>
> <extension xmlns="http://petals.objectweb.org/extensions/eip/">
> <chain>
> <get-calls-by-service service="{http://petals.objectweb.org/}PlanificateurService" operation="getCalls"/>
> </chain>
> </extension>
> <keyvalue:extension>
> <wsdl>Planificateur.wsdl</wsdl>
> </keyvalue:extension>
> </extensions:extensions>
> </provides>
> </services>
> </jbi>
>
>
>
I assume this descriptor is correct.
I don't know in fact. JBI descriptors for service units have not been written in this way for two years.
wabom wrote:
>
> <jbi version="1.0" xmlns="http://java.sun.com/xml/ns/jbi"
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
>
> xmlns:example="http://service.example.com/1.0"
> xmlns:petals="http://petals.objectweb.org/"
> xmlns:soap="http://petals.ow2.org/components/soap/version-3.1"
> xmlns:extensions="http://petals.objectweb.org/extensions/"
> xmlns:plan="http://plan.myorg"
> xmlns:keyvalue="http://petals.objectweb.org/extensions/key-value/">
> <services binding-component="true">
>
> <consumes interface-name="plan:Planificateur"
>
> service-name="plan:PlanificateurService"
>
> endpoint-name="SampleEipChainEndpoint">
>
> <!--<petalsCDK:mep> WC[""]</petalsCDK:mep>-->
> <petalsCDK:mep>InOut</petalsCDK:mep>
> <!-- SOAP specific fields -->
> <soap:address>SampleEipChainEndpoint</soap:address>
> <soap:synchronous-timeout>0</soap:synchronous-timeout>
> <soap:mode>SOAP</soap:mode>
> <keyvalue:extension>
> <wsdl>Planificateur.wsdl</wsdl>
> </keyvalue:extension>
> </consumes>
> </services>
>
> </jbi>[/code]
>
I'm not sure of the interest of the keyvalue:extension...
The WSDL is supposed to be already in the bus (it was provided by a provide SU).
And visibly, the getCalls() method exists but is not found at runtime.
And I have absolutely no idea about the reason.
-------------------- m2f --------------------
Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=788#788
-------------------- m2f --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/956477c6/attachment.htm>
More information about the Users
mailing list