[Users] [BPEL] Choose endpoint when I call a Web Service

RudyWI rudywi at gmail.com
Wed Mar 16 10:59:32 CET 2011


Ok, thx for your help about dynamic invocation.


> I have created an SU (bc-soap) to provide Web Serviceinto the BUS.
> In its jbi.xml I have specified SOAP1.2 endpoint.
> 
> In this SU, there is also a copy of the WSDL of the Web Service. So, I specified the path of this WSDL.
> Can I delete this WSDL of my SU, and so, specify an external URL in the jbi.xml for the WSDL ? If done, how to do ? 


With the following jbi.xml, it doesn't work.

Code:
<jbi:jbi version="1.0" 
	xmlns:generatedNs="http://namespace.myWebService"
	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
	xmlns:soap="http://petals.ow2.org/components/soap/version-4"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	
	<!-- Import a Service into Petals or Expose a Petals Service => use a BC. -->
	<jbi:services binding-component="true">
	    <!-- Import a Service into Petals => provides a Service. -->
		<jbi:provides 		
			interface-name="generatedNs:myWSPortType"
			service-name="generatedNs:myWS"
			endpoint-name=myWSSOAP12port_http">
	
			<!-- CDK specific elements -->
			<petalsCDK:timeout>30000</petalsCDK:timeout>
			<petalsCDK:validate-wsdl>true</petalsCDK:validate-wsdl>
			<petalsCDK:forward-security-subject>false</petalsCDK:forward-security-subject>
			<petalsCDK:forward-message-properties>false</petalsCDK:forward-message-properties>
			<petalsCDK:forward-attachments>false</petalsCDK:forward-attachments>
			<petalsCDK:wsdl>http://127.0.0.1:8080/axis2/services/myWS.wsdl</petalsCDK:wsdl>
		
			<!-- Component specific elements -->	
			<soap:address>http://localhost:8080/axis2/services/myWS</soap:address>
			<soap:soap-version>1.2</soap:soap-version>
			<soap:add-root>false</soap:add-root>
			<soap:chunked-mode>false</soap:chunked-mode>
			<soap:cleanup-transport>true</soap:cleanup-transport>
			<soap:mode>SOAP</soap:mode>			
		</jbi:provides>
	</jbi:services>
</jbi:jbi>






-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31061#31061

-------------------- m2f --------------------






More information about the Users mailing list