Hi Marcus,
<wsa:ServiceName PortName="Teste">
TesteService
</wsa:ServiceName>
Service name "TesteService" name needs to be qualified. Add a prefix to
"TesteService" and declare NS/prefix in ServiceName element.
Regards
Murali
Marcus Milanez wrote:
> Hello everyone,
>
> I'm trying to develop a simple BPEL process which can invoke web services
> dynamically. To simulate the scenario, I've created an axis web service and
> published it in two different servers, in the very same address. The server
> IPs are different, but the web services are identical. I've also created a
> very simple BPEL proccess to invoke one of the published services, and it
> worked the way it should.
>
> What I would like to do now is dynamically change the target server address,
> using Dynamic Partner Links, but I keep on getting 'unable to resolve the
> service endpoint dynamically' all the time.
>
> Is it possible to solve the described situation? Below is the code snippet
> where I'm trying to change the partner link target address:
>
> <assign name="AssignPartnerLink">
>
> <copy>
>
> <from>
>
> <literal>
>
> <sref:service-ref>
>
> <wsa:EndpointReference>
> <!-- IP address of the secnond
> server -->
> <wsa:Address>
>
>
>
http://10.152.21.38:5080/portal2/componentes/Teste.jws>
> </wsa:Address>
>
> <wsa:ServiceName PortName="Teste">
>
> TesteService
>
> </wsa:ServiceName>
>
> </wsa:EndpointReference>
>
> </sref:service-ref>
>
> </literal>
>
> </from>
>
> <to partnerLink="PartnerLinkServico"/>
>
> </copy>
>
> </assign>
>
>
> Also, attached to this message is my full project including the AXIS web
> service, which is quite simple. Can anybody please help me with that? I
> think I'm stuck in that for 3 days now...
>
> Thank you all in advance for your attention!
>
>
http://www.nabble.com/file/p20346846/project-bpel.zip project-bpel.zip
>
http://www.nabble.com/file/p20346846/AxisWSTeste.zip AxisWSTeste.zip
>