You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Pa...@metavante.com on 2009/05/13 17:19:21 UTC

WSDL Endpoint URL Address

Hello all

I have been reading the endpoint reference document in the users guide, but
I have to admit I am not sure how to set this up.  I put the file in the
process/$SERVICENAME folder, but I am not seeing the desired results.  All
I want to do is configure the URL in the executed services.  In ActiveVOS I
was able to do this with a URN setting, but I am not having any success
with ODE.

This is what I have in my broker.endpoint file.
alias.ode_ns=http://ode.apache.org
ode_ns.SampleOrchestration.SampleService.ode.address=http://www.metavante.com

SampleOrchestration is the name of the Orchestration exposed from the BPEL
Engine, and SampleService is the WSDL name for a service consumed by the
BPEL Process.  I want to change the SampleService url to a different
server. (Better for code migration between dev, unit, readiness, prod)


Any Help will be greatly appreciated.

Paul Johnson
---------------------------------------------------------------------
This message contains confidential and proprietary information of the
sender, and is intended only for the person(s) to whom it is addressed.
Any use, distribution, copying or disclosure by any other person is
strictly prohibited.  If you have received this message in error, please
notify the e-mail sender immediately, and delete the original message
without making a copy.


Re: WSDL Endpoint URL Address

Posted by Park033 <pa...@gmail.com>.
It works.

Thanks you Alexis



Alexis Midon-2 wrote:
> 
> The namespace is not declared properly in the endpoint file. It must be:
> alias.ode_ns=http://NSFromMyService/ <http://nsfrommyservice/>
> 
> Mind the 'alias' prefix.
> 
> See ode/axis2-war/src/test/resources/TestSoapHeader, for a test case.
> 
> Alexis
> 
> On Thu, Oct 8, 2009 at 2:16 AM, Park033 <pa...@gmail.com> wrote:
> 
>>
>> Hello,
>>
>> Ths for you're help Alexis, I've fixed my problem (my ODE version didn't
>> loaded my property file so I've updated ODE to 1.3.3 and it works now,
>> property file is loaded).
>>
>> Loaded but didn't works in my process...
>>
>> Here my broker.endpoint :
>> ode_ns=http://NSFromMyService/
>> ode_ns.MyService.MyServicePort.ode.address=http://MyNewAndSexyEndpoint
>>
>> Here my Service.wsdl :
>>
>> <wsdl:definitions
>>  targetNamespace="http://NSFromMyService/"
>>  txmlns:tns="http://NSFromMyService/">
>> [...]
>> <wsdl:service name="MyService">
>>     <wsdl:port name="MyServicePort" binding="tns:MyBinding">
>>          <wsdlsoap:address location="http://MyOldAndUglyEndpoint" />
>>      </wsdl:port>
>> </wsdl:service>
>>
>> The Deployment works fine, but when I invoke the WS describe in my
>> "Service.wsdl" the process took "MyOldAndUglyEndpoint" instead of
>> "MyNewAndSexyEndpoint" from my broker.endpoint.
>>
>>
>> Here the log :
>>
>> Loading property log :
>> - DEBUG - GeronimoLog.debug(66) | Loading property file:
>> C:\jboss-4.2.3.GA
>> \server\default\.\deploy\ode.war\WEB-INF\processes\editique-1\broker.endpoint
>> - DEBUG - GeronimoLog.debug(66) | New property:ode_ns ->
>> http://NSFromMyService
>> - DEBUG - GeronimoLog.debug(66) | New property: address ->
>> http://MyNewAndSexyEndpoint
>> - INFO - GeronimoLog.info(79) | [Endpoint files for {DeploymentUnit
>> editique-1}] updated
>> - DEBUG - GeronimoLog.debug(66) | Properties for service
>> {http://pv-bpel-editique/}procEditiqueService<http://pv-bpel-editique/%7DprocEditiqueService>,
>> port procEditiquePort:
>> {ode_ns=>http://NSFromMyService}
>> - DEBUG - GeronimoLog.debug(66) | Creating ProcessDao object for process
>> "{http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>
>> ".
>> - INFO - GeronimoLog.info(79) | Created new process DAO for
>> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>(guid=hqejbhcnphr4nhuk560cst)
>> - INFO - GeronimoLog.info(79) | Registered process
>> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>
>> .
>>
>>
>> When the WS is called log :
>> 16:02:54 - DEBUG - GeronimoLog.debug(66) |
>> [C:\jboss-4.2.3.GA
>> \server\default\deploy\ode.war\WEB-INF\processes\editique-1\MyService.axis2]
>> check for changes
>> 16:02:54 - INFO - GeronimoLog.info(79) |
>> [C:\jboss-4.2.3.GA
>> \server\default\deploy\ode.war\WEB-INF\processes\editique-1\MyService.axis2]
>> initialized
>> 16:02:54 - DEBUG - GeronimoLog.debug(66) | [Properties for Endpoint:
>> {http://NSFromMyService/}MyService#MyServicePort<http://NSFromMyService/%7DMyService#MyServicePort>]
>> check for changes
>> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Properties for service
>> {http://NSFromMyService/}MyService <http://NSFromMyService/%7DMyService>,
>> port MyServicePort:
>> {ode_ns=>http://NSFromMyService/}
>> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Properties for service
>> {http://NSFromMyService/}MyService <http://NSFromMyService/%7DMyService>,
>> port MyServicePort:
>> {ode_ns=>http://NSFromMyService/}
>> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Translating Properties for
>> Axis2
>> 16:02:54 - INFO - GeronimoLog.info(79) | [Properties for Endpoint:
>> {http://NSFromMyService/}MyService#MyServicePort<http://NSFromMyService/%7DMyService#MyServicePort>]
>> updated
>> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Commiting on
>> com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
>> 16:02:57 - ERROR - GeronimoLog.error(108) | Error sending message
>> (mex={PartnerRoleMex#4611686018427387904 [PID
>> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
>> calling
>> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
>> MyOldAndUglyEndpoint
>> org.apache.axis2.AxisFault: MyOldAndUglyEndpoint
>>        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>>        at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
>>        at
>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>>        at
>>
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
>>        at
>>
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
>>        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>>        at
>>
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
>>        at
>>
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
>>        at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>>        at
>>
>> org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:201)
>>        at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>        at
>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>        at
>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>        at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.net.UnknownHostException: MyOldAndUglyEndpoint
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>>        at java.net.Socket.connect(Socket.java:519)
>>        at java.net.Socket.connect(Socket.java:469)
>>        at java.net.Socket.<init>(Socket.java:366)
>>        at java.net.Socket.<init>(Socket.java:240)
>>        at
>>
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
>>        at
>>
>> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:90)
>>        at
>>
>> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:157)
>>        ... 1 more
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Beginning a new transaction
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Commiting on
>> com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Beginning a new transaction
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | injecting (...)
>> 16:02:57 - ERROR - GeronimoLog.error(104) | Failure during invoke: Error
>> sending message (mex={PartnerRoleMex#4611686018427387904 [PID
>> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
>> calling
>> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
>> MyOldAndUglyEndpoint
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Removing mex
>> 4611686018427387904
>> from memory store.
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | ActivityRecovery: Activity 16
>> requires recovery
>> 16:02:57 - INFO - GeronimoLog.info(79) | ActivityRecovery: Registering
>> activity 16, failure reason: Error sending message
>> (mex={PartnerRoleMex#4611686018427387904 [PID
>> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
>> calling
>> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
>> MyOldAndUglyEndpoint on channel 27
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Commiting on
>> com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
>> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Properties for service
>> {http://pv-bpel-editique/}procEditiqueService<http://pv-bpel-editique/%7DprocEditiqueService>,
>> port procEditiquePort:
>> {ode_ns=>http://NSFromMyService/}
>> 16:02:57 - WARN - GeronimoLog.warn(96) | MEX produced a fault
>> {MyRoleMex#4611686018427387903 [Client hqejbhcnphr4nhuk560csu] calling
>> {http://pv-bpel-editique/}procEditiqueService.process(...)<http://pv-bpel-editique/%7DprocEditiqueService.process%28...%29>
>> }
>> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
>> sending message (mex={PartnerRoleMex#4611686018427387904 [PID
>> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
>> calling
>> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
>> MyOldAndUglyEndpoint
>>        at
>>
>> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>>        at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:282)
>>        at
>> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:189)
>>        at
>>
>> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
>>        at
>>
>> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52)
>>        at
>>
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>>        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>>        at
>>
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>>        at
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>        at
>>
>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>        at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>>        at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>        at
>>
>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
>>        at
>>
>> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>>        at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>        at
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>        at
>>
>> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>>        at
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>        at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
>>        at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>        at
>>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>>        at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
>>        at java.lang.Thread.run(Thread.java:619)
>>
>>
>> If you have any idea...
>>
>> Vincent
>>
>>
>> Alexis Midon-2 wrote:
>> >
>> > You would need to activate some logging:set the category
>> org.apache.utils
>> > to
>> > DEBUG, then restart.
>> >
>> >
>> > if should see some messages like:
>> > 14:22:17,184 DEBUG [HierarchicalProperties] Loading property file:
>> > (..)/HelloWorld/HelloWorld.ode/config.endpoint
>> >
>> > On Wed, Sep 16, 2009 at 8:11 AM, Park033 <pa...@gmail.com> wrote:
>> >
>> >>
>> >> Hi,
>> >>
>> >> I have exactly the same problem, my broker.endpoint is deployed in my
>> >> process/$SERVICENAME folder,
>> >> the namespace in the property file is the same as in the wsdl and my
>> >> properties are well formed (i.e :
>> ode_ns.SampleService.ode.address=....
>> >> (the service port is optional))
>> >>
>> >> Where can I see if my broker.endpoint is well deployed/used in my
>> >> ode/process ?
>> >>
>> >> Ths,
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/WSDL-Endpoint-URL-Address-tp23524951p25800768.html
>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/WSDL-Endpoint-URL-Address-tp23524951p25826247.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: WSDL Endpoint URL Address

Posted by Alexis Midon <mi...@intalio.com>.
The namespace is not declared properly in the endpoint file. It must be:
alias.ode_ns=http://NSFromMyService/ <http://nsfrommyservice/>

Mind the 'alias' prefix.

See ode/axis2-war/src/test/resources/TestSoapHeader, for a test case.

Alexis

On Thu, Oct 8, 2009 at 2:16 AM, Park033 <pa...@gmail.com> wrote:

>
> Hello,
>
> Ths for you're help Alexis, I've fixed my problem (my ODE version didn't
> loaded my property file so I've updated ODE to 1.3.3 and it works now,
> property file is loaded).
>
> Loaded but didn't works in my process...
>
> Here my broker.endpoint :
> ode_ns=http://NSFromMyService/
> ode_ns.MyService.MyServicePort.ode.address=http://MyNewAndSexyEndpoint
>
> Here my Service.wsdl :
>
> <wsdl:definitions
>  targetNamespace="http://NSFromMyService/"
>  txmlns:tns="http://NSFromMyService/">
> [...]
> <wsdl:service name="MyService">
>     <wsdl:port name="MyServicePort" binding="tns:MyBinding">
>          <wsdlsoap:address location="http://MyOldAndUglyEndpoint" />
>      </wsdl:port>
> </wsdl:service>
>
> The Deployment works fine, but when I invoke the WS describe in my
> "Service.wsdl" the process took "MyOldAndUglyEndpoint" instead of
> "MyNewAndSexyEndpoint" from my broker.endpoint.
>
>
> Here the log :
>
> Loading property log :
> - DEBUG - GeronimoLog.debug(66) | Loading property file:
> C:\jboss-4.2.3.GA
> \server\default\.\deploy\ode.war\WEB-INF\processes\editique-1\broker.endpoint
> - DEBUG - GeronimoLog.debug(66) | New property:ode_ns ->
> http://NSFromMyService
> - DEBUG - GeronimoLog.debug(66) | New property: address ->
> http://MyNewAndSexyEndpoint
> - INFO - GeronimoLog.info(79) | [Endpoint files for {DeploymentUnit
> editique-1}] updated
> - DEBUG - GeronimoLog.debug(66) | Properties for service
> {http://pv-bpel-editique/}procEditiqueService<http://pv-bpel-editique/%7DprocEditiqueService>,
> port procEditiquePort:
> {ode_ns=>http://NSFromMyService}
> - DEBUG - GeronimoLog.debug(66) | Creating ProcessDao object for process
> "{http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>
> ".
> - INFO - GeronimoLog.info(79) | Created new process DAO for
> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>(guid=hqejbhcnphr4nhuk560cst)
> - INFO - GeronimoLog.info(79) | Registered process
> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>
> .
>
>
> When the WS is called log :
> 16:02:54 - DEBUG - GeronimoLog.debug(66) |
> [C:\jboss-4.2.3.GA
> \server\default\deploy\ode.war\WEB-INF\processes\editique-1\MyService.axis2]
> check for changes
> 16:02:54 - INFO - GeronimoLog.info(79) |
> [C:\jboss-4.2.3.GA
> \server\default\deploy\ode.war\WEB-INF\processes\editique-1\MyService.axis2]
> initialized
> 16:02:54 - DEBUG - GeronimoLog.debug(66) | [Properties for Endpoint:
> {http://NSFromMyService/}MyService#MyServicePort<http://NSFromMyService/%7DMyService#MyServicePort>]
> check for changes
> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Properties for service
> {http://NSFromMyService/}MyService <http://NSFromMyService/%7DMyService>,
> port MyServicePort:
> {ode_ns=>http://NSFromMyService/}
> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Properties for service
> {http://NSFromMyService/}MyService <http://NSFromMyService/%7DMyService>,
> port MyServicePort:
> {ode_ns=>http://NSFromMyService/}
> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Translating Properties for Axis2
> 16:02:54 - INFO - GeronimoLog.info(79) | [Properties for Endpoint:
> {http://NSFromMyService/}MyService#MyServicePort<http://NSFromMyService/%7DMyService#MyServicePort>]
> updated
> 16:02:54 - DEBUG - GeronimoLog.debug(66) | Commiting on
> com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
> 16:02:57 - ERROR - GeronimoLog.error(108) | Error sending message
> (mex={PartnerRoleMex#4611686018427387904 [PID
> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
> calling
> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
> MyOldAndUglyEndpoint
> org.apache.axis2.AxisFault: MyOldAndUglyEndpoint
>        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>        at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
>        at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>        at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
>        at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
>        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>        at
>
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
>        at
>
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
>        at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>        at
>
> org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:201)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.net.UnknownHostException: MyOldAndUglyEndpoint
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>        at java.net.Socket.connect(Socket.java:519)
>        at java.net.Socket.connect(Socket.java:469)
>        at java.net.Socket.<init>(Socket.java:366)
>        at java.net.Socket.<init>(Socket.java:240)
>        at
>
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
>        at
>
> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:90)
>        at
>
> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:157)
>        ... 1 more
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Beginning a new transaction
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Commiting on
> com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Beginning a new transaction
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | injecting (...)
> 16:02:57 - ERROR - GeronimoLog.error(104) | Failure during invoke: Error
> sending message (mex={PartnerRoleMex#4611686018427387904 [PID
> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
> calling
> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
> MyOldAndUglyEndpoint
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Removing mex 4611686018427387904
> from memory store.
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | ActivityRecovery: Activity 16
> requires recovery
> 16:02:57 - INFO - GeronimoLog.info(79) | ActivityRecovery: Registering
> activity 16, failure reason: Error sending message
> (mex={PartnerRoleMex#4611686018427387904 [PID
> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
> calling
> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
> MyOldAndUglyEndpoint on channel 27
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Commiting on
> com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
> 16:02:57 - DEBUG - GeronimoLog.debug(66) | Properties for service
> {http://pv-bpel-editique/}procEditiqueService<http://pv-bpel-editique/%7DprocEditiqueService>,
> port procEditiquePort:
> {ode_ns=>http://NSFromMyService/}
> 16:02:57 - WARN - GeronimoLog.warn(96) | MEX produced a fault
> {MyRoleMex#4611686018427387903 [Client hqejbhcnphr4nhuk560csu] calling
> {http://pv-bpel-editique/}procEditiqueService.process(...)<http://pv-bpel-editique/%7DprocEditiqueService.process%28...%29>
> }
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#4611686018427387904 [PID
> {http://pv-bpel-editique/}procEditique-103<http://pv-bpel-editique/%7DprocEditique-103>]
> calling
> org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
> MyOldAndUglyEndpoint
>        at
>
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>        at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:282)
>        at
> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:189)
>        at
>
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
>        at
>
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52)
>        at
>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>        at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>        at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
>
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
>
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
>        at
>
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>        at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
>
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>        at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
>        at java.lang.Thread.run(Thread.java:619)
>
>
> If you have any idea...
>
> Vincent
>
>
> Alexis Midon-2 wrote:
> >
> > You would need to activate some logging:set the category org.apache.utils
> > to
> > DEBUG, then restart.
> >
> >
> > if should see some messages like:
> > 14:22:17,184 DEBUG [HierarchicalProperties] Loading property file:
> > (..)/HelloWorld/HelloWorld.ode/config.endpoint
> >
> > On Wed, Sep 16, 2009 at 8:11 AM, Park033 <pa...@gmail.com> wrote:
> >
> >>
> >> Hi,
> >>
> >> I have exactly the same problem, my broker.endpoint is deployed in my
> >> process/$SERVICENAME folder,
> >> the namespace in the property file is the same as in the wsdl and my
> >> properties are well formed (i.e : ode_ns.SampleService.ode.address=....
> >> (the service port is optional))
> >>
> >> Where can I see if my broker.endpoint is well deployed/used in my
> >> ode/process ?
> >>
> >> Ths,
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/WSDL-Endpoint-URL-Address-tp23524951p25800768.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>

Re: WSDL Endpoint URL Address

Posted by Park033 <pa...@gmail.com>.
Hello,

Ths for you're help Alexis, I've fixed my problem (my ODE version didn't
loaded my property file so I've updated ODE to 1.3.3 and it works now,
property file is loaded).

Loaded but didn't works in my process...

Here my broker.endpoint :
ode_ns=http://NSFromMyService/
ode_ns.MyService.MyServicePort.ode.address=http://MyNewAndSexyEndpoint

Here my Service.wsdl :

<wsdl:definitions
 targetNamespace="http://NSFromMyService/"
 txmlns:tns="http://NSFromMyService/">
[...]
<wsdl:service name="MyService">
     <wsdl:port name="MyServicePort" binding="tns:MyBinding">
          <wsdlsoap:address location="http://MyOldAndUglyEndpoint" />		
      </wsdl:port>
</wsdl:service>

The Deployment works fine, but when I invoke the WS describe in my
"Service.wsdl" the process took "MyOldAndUglyEndpoint" instead of
"MyNewAndSexyEndpoint" from my broker.endpoint.


Here the log : 

Loading property log :
- DEBUG - GeronimoLog.debug(66) | Loading property file:
C:\jboss-4.2.3.GA\server\default\.\deploy\ode.war\WEB-INF\processes\editique-1\broker.endpoint
- DEBUG - GeronimoLog.debug(66) | New property:ode_ns ->
http://NSFromMyService
- DEBUG - GeronimoLog.debug(66) | New property: address ->
http://MyNewAndSexyEndpoint
- INFO - GeronimoLog.info(79) | [Endpoint files for {DeploymentUnit
editique-1}] updated
- DEBUG - GeronimoLog.debug(66) | Properties for service
{http://pv-bpel-editique/}procEditiqueService, port procEditiquePort:
{ode_ns=>http://NSFromMyService}
- DEBUG - GeronimoLog.debug(66) | Creating ProcessDao object for process
"{http://pv-bpel-editique/}procEditique-103".
- INFO - GeronimoLog.info(79) | Created new process DAO for
{http://pv-bpel-editique/}procEditique-103 (guid=hqejbhcnphr4nhuk560cst)
- INFO - GeronimoLog.info(79) | Registered process
{http://pv-bpel-editique/}procEditique-103.


When the WS is called log :
16:02:54 - DEBUG - GeronimoLog.debug(66) |
[C:\jboss-4.2.3.GA\server\default\deploy\ode.war\WEB-INF\processes\editique-1\MyService.axis2]
check for changes
16:02:54 - INFO - GeronimoLog.info(79) |
[C:\jboss-4.2.3.GA\server\default\deploy\ode.war\WEB-INF\processes\editique-1\MyService.axis2]
initialized
16:02:54 - DEBUG - GeronimoLog.debug(66) | [Properties for Endpoint:
{http://NSFromMyService/}MyService#MyServicePort] check for changes
16:02:54 - DEBUG - GeronimoLog.debug(66) | Properties for service
{http://NSFromMyService/}MyService, port MyServicePort:
{ode_ns=>http://NSFromMyService/}
16:02:54 - DEBUG - GeronimoLog.debug(66) | Properties for service
{http://NSFromMyService/}MyService, port MyServicePort:
{ode_ns=>http://NSFromMyService/}
16:02:54 - DEBUG - GeronimoLog.debug(66) | Translating Properties for Axis2
16:02:54 - INFO - GeronimoLog.info(79) | [Properties for Endpoint:
{http://NSFromMyService/}MyService#MyServicePort] updated
16:02:54 - DEBUG - GeronimoLog.debug(66) | Commiting on
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
16:02:57 - ERROR - GeronimoLog.error(108) | Error sending message
(mex={PartnerRoleMex#4611686018427387904 [PID
{http://pv-bpel-editique/}procEditique-103] calling
org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
MyOldAndUglyEndpoint
org.apache.axis2.AxisFault: MyOldAndUglyEndpoint
	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
	at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
	at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
	at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
	at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
	at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
	at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
	at
org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:201)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.UnknownHostException: MyOldAndUglyEndpoint
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:519)
	at java.net.Socket.connect(Socket.java:469)
	at java.net.Socket.<init>(Socket.java:366)
	at java.net.Socket.<init>(Socket.java:240)
	at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
	at
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:90)
	at
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:157)
	... 1 more
16:02:57 - DEBUG - GeronimoLog.debug(66) | Beginning a new transaction
16:02:57 - DEBUG - GeronimoLog.debug(66) | Commiting on
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
16:02:57 - DEBUG - GeronimoLog.debug(66) | Beginning a new transaction
16:02:57 - DEBUG - GeronimoLog.debug(66) | injecting (...)
16:02:57 - ERROR - GeronimoLog.error(104) | Failure during invoke: Error
sending message (mex={PartnerRoleMex#4611686018427387904 [PID
{http://pv-bpel-editique/}procEditique-103] calling
org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
MyOldAndUglyEndpoint
16:02:57 - DEBUG - GeronimoLog.debug(66) | Removing mex 4611686018427387904
from memory store.
16:02:57 - DEBUG - GeronimoLog.debug(66) | ActivityRecovery: Activity 16
requires recovery
16:02:57 - INFO - GeronimoLog.info(79) | ActivityRecovery: Registering
activity 16, failure reason: Error sending message
(mex={PartnerRoleMex#4611686018427387904 [PID
{http://pv-bpel-editique/}procEditique-103] calling
org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
MyOldAndUglyEndpoint on channel 27
16:02:57 - DEBUG - GeronimoLog.debug(66) | Commiting on
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@eeb560...
16:02:57 - DEBUG - GeronimoLog.debug(66) | Properties for service
{http://pv-bpel-editique/}procEditiqueService, port procEditiquePort:
{ode_ns=>http://NSFromMyService/}
16:02:57 - WARN - GeronimoLog.warn(96) | MEX produced a fault
{MyRoleMex#4611686018427387903 [Client hqejbhcnphr4nhuk560csu] calling
{http://pv-bpel-editique/}procEditiqueService.process(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
sending message (mex={PartnerRoleMex#4611686018427387904 [PID
{http://pv-bpel-editique/}procEditique-103] calling
org.apache.ode.bpel.epr.WSAEndpoint@10f8407.processRequest(...)}):
MyOldAndUglyEndpoint
	at
org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
	at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:282)
	at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:189)
	at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
	at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52)
	at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:619)


If you have any idea...

Vincent


Alexis Midon-2 wrote:
> 
> You would need to activate some logging:set the category org.apache.utils
> to
> DEBUG, then restart.
> 
> 
> if should see some messages like:
> 14:22:17,184 DEBUG [HierarchicalProperties] Loading property file:
> (..)/HelloWorld/HelloWorld.ode/config.endpoint
> 
> On Wed, Sep 16, 2009 at 8:11 AM, Park033 <pa...@gmail.com> wrote:
> 
>>
>> Hi,
>>
>> I have exactly the same problem, my broker.endpoint is deployed in my
>> process/$SERVICENAME folder,
>> the namespace in the property file is the same as in the wsdl and my
>> properties are well formed (i.e : ode_ns.SampleService.ode.address=....
>> (the service port is optional))
>>
>> Where can I see if my broker.endpoint is well deployed/used in my
>> ode/process ?
>>
>> Ths,
> 
> 

-- 
View this message in context: http://www.nabble.com/WSDL-Endpoint-URL-Address-tp23524951p25800768.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: WSDL Endpoint URL Address

Posted by Alexis Midon <mi...@intalio.com>.
You would need to activate some logging:set the category org.apache.utils to
DEBUG, then restart.

if should see some messages like:
14:22:17,184 DEBUG [HierarchicalProperties] Loading property file:
(..)/HelloWorld/HelloWorld.ode/config.endpoint

On Wed, Sep 16, 2009 at 8:11 AM, Park033 <pa...@gmail.com> wrote:

>
> Hi,
>
> I have exactly the same problem, my broker.endpoint is deployed in my
> process/$SERVICENAME folder,
> the namespace in the property file is the same as in the wsdl and my
> properties are well formed (i.e : ode_ns.SampleService.ode.address=....
> (the service port is optional))
>
> Where can I see if my broker.endpoint is well deployed/used in my
> ode/process ?
>
> Ths,
>
>
>
> Alexis Midon-2 wrote:
> >
> > Hi Paul,
> >
> > I suspect 2 potential mistakes. First you might not be using the right
> > namespace. The alias should point to the namespace of the
> > SampleService itself. Maybe the documentation sample was misleading.
> >
> > Second, remember that the syntax is the following:
> > [nsalias.servicename[.portname].ode.]property (where elements between
> > brackets are optional)
> >
> > So when you write:
> >    ode_ns.SampleOrchestration.SampleService.ode.address=..
> > it means you want to change the address of the port SampleService of
> > the service SampleOrchestration.
> > The corresponding wsdl would look like below. Obviously this does not
> > match your explanations.
> >
> > <service name="SampleOrchestration">
> >     <port name="SampleService"  binding="....">
> >       <soap:address location="..."/>
> >     </port>
> > </service>
> >
> > So I think what you want to write is:
> > ode_ns.SampleService.ode.address=....   (the service port is optional)
> >
> > Note that the service exposed by the BPEL process is never mentioned
> here.
> >
> > I hope it helps.
> >
> > Alexis
> >
> > On Wed, May 13, 2009 at 8:19 AM, <Pa...@metavante.com> wrote:
> >>
> >> Hello all
> >>
> >> I have been reading the endpoint reference document in the users guide,
> >> but
> >> I have to admit I am not sure how to set this up.  I put the file in the
> >> process/$SERVICENAME folder, but I am not seeing the desired results.
> >>  All
> >> I want to do is configure the URL in the executed services.  In
> ActiveVOS
> >> I
> >> was able to do this with a URN setting, but I am not having any success
> >> with ODE.
> >>
> >> This is what I have in my broker.endpoint file.
> >> alias.ode_ns=http://ode.apache.org
> >> ode_ns.SampleOrchestration.SampleService.ode.address=
> http://www.metavante.com
> >>
> >> SampleOrchestration is the name of the Orchestration exposed from the
> >> BPEL
> >> Engine, and SampleService is the WSDL name for a service consumed by the
> >> BPEL Process.  I want to change the SampleService url to a different
> >> server. (Better for code migration between dev, unit, readiness, prod)
> >>
> >>
> >> Any Help will be greatly appreciated.
> >>
> >> Paul Johnson
> >> ---------------------------------------------------------------------
> >> This message contains confidential and proprietary information of the
> >> sender, and is intended only for the person(s) to whom it is addressed.
> >> Any use, distribution, copying or disclosure by any other person is
> >> strictly prohibited.  If you have received this message in error, please
> >> notify the e-mail sender immediately, and delete the original message
> >> without making a copy.
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/WSDL-Endpoint-URL-Address-tp23524951p25474506.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>

Re: WSDL Endpoint URL Address

Posted by Park033 <pa...@gmail.com>.
Hi, 

I have exactly the same problem, my broker.endpoint is deployed in my
process/$SERVICENAME folder,
the namespace in the property file is the same as in the wsdl and my
properties are well formed (i.e : ode_ns.SampleService.ode.address=....  
(the service port is optional))

Where can I see if my broker.endpoint is well deployed/used in my
ode/process ?

Ths,



Alexis Midon-2 wrote:
> 
> Hi Paul,
> 
> I suspect 2 potential mistakes. First you might not be using the right
> namespace. The alias should point to the namespace of the
> SampleService itself. Maybe the documentation sample was misleading.
> 
> Second, remember that the syntax is the following:
> [nsalias.servicename[.portname].ode.]property (where elements between
> brackets are optional)
> 
> So when you write:
>    ode_ns.SampleOrchestration.SampleService.ode.address=..
> it means you want to change the address of the port SampleService of
> the service SampleOrchestration.
> The corresponding wsdl would look like below. Obviously this does not
> match your explanations.
> 
> <service name="SampleOrchestration">
>     <port name="SampleService"  binding="....">
>       <soap:address location="..."/>
>     </port>
> </service>
> 
> So I think what you want to write is:
> ode_ns.SampleService.ode.address=....   (the service port is optional)
> 
> Note that the service exposed by the BPEL process is never mentioned here.
> 
> I hope it helps.
> 
> Alexis
> 
> On Wed, May 13, 2009 at 8:19 AM, <Pa...@metavante.com> wrote:
>>
>> Hello all
>>
>> I have been reading the endpoint reference document in the users guide,
>> but
>> I have to admit I am not sure how to set this up.  I put the file in the
>> process/$SERVICENAME folder, but I am not seeing the desired results.
>>  All
>> I want to do is configure the URL in the executed services.  In ActiveVOS
>> I
>> was able to do this with a URN setting, but I am not having any success
>> with ODE.
>>
>> This is what I have in my broker.endpoint file.
>> alias.ode_ns=http://ode.apache.org
>> ode_ns.SampleOrchestration.SampleService.ode.address=http://www.metavante.com
>>
>> SampleOrchestration is the name of the Orchestration exposed from the
>> BPEL
>> Engine, and SampleService is the WSDL name for a service consumed by the
>> BPEL Process.  I want to change the SampleService url to a different
>> server. (Better for code migration between dev, unit, readiness, prod)
>>
>>
>> Any Help will be greatly appreciated.
>>
>> Paul Johnson
>> ---------------------------------------------------------------------
>> This message contains confidential and proprietary information of the
>> sender, and is intended only for the person(s) to whom it is addressed.
>> Any use, distribution, copying or disclosure by any other person is
>> strictly prohibited.  If you have received this message in error, please
>> notify the e-mail sender immediately, and delete the original message
>> without making a copy.
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/WSDL-Endpoint-URL-Address-tp23524951p25474506.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: WSDL Endpoint URL Address

Posted by Alexis Midon <mi...@intalio.com>.
Hi Paul,

I suspect 2 potential mistakes. First you might not be using the right
namespace. The alias should point to the namespace of the
SampleService itself. Maybe the documentation sample was misleading.

Second, remember that the syntax is the following:
[nsalias.servicename[.portname].ode.]property (where elements between
brackets are optional)

So when you write:
   ode_ns.SampleOrchestration.SampleService.ode.address=..
it means you want to change the address of the port SampleService of
the service SampleOrchestration.
The corresponding wsdl would look like below. Obviously this does not
match your explanations.

<service name="SampleOrchestration">
    <port name="SampleService"  binding="....">
      <soap:address location="..."/>
    </port>
</service>

So I think what you want to write is:
ode_ns.SampleService.ode.address=....   (the service port is optional)

Note that the service exposed by the BPEL process is never mentioned here.

I hope it helps.

Alexis

On Wed, May 13, 2009 at 8:19 AM, <Pa...@metavante.com> wrote:
>
> Hello all
>
> I have been reading the endpoint reference document in the users guide, but
> I have to admit I am not sure how to set this up.  I put the file in the
> process/$SERVICENAME folder, but I am not seeing the desired results.  All
> I want to do is configure the URL in the executed services.  In ActiveVOS I
> was able to do this with a URN setting, but I am not having any success
> with ODE.
>
> This is what I have in my broker.endpoint file.
> alias.ode_ns=http://ode.apache.org
> ode_ns.SampleOrchestration.SampleService.ode.address=http://www.metavante.com
>
> SampleOrchestration is the name of the Orchestration exposed from the BPEL
> Engine, and SampleService is the WSDL name for a service consumed by the
> BPEL Process.  I want to change the SampleService url to a different
> server. (Better for code migration between dev, unit, readiness, prod)
>
>
> Any Help will be greatly appreciated.
>
> Paul Johnson
> ---------------------------------------------------------------------
> This message contains confidential and proprietary information of the
> sender, and is intended only for the person(s) to whom it is addressed.
> Any use, distribution, copying or disclosure by any other person is
> strictly prohibited.  If you have received this message in error, please
> notify the e-mail sender immediately, and delete the original message
> without making a copy.
>