[Users] How to generate a WSDL 1

vzurczak vincent.zurczak at petalslink.com
Wed Mar 16 10:56:21 CET 2011


SpeedAlex wrote:
> Hi vzurczak,
> 
> The point is that the REST service does not have any WSDL. So I just followed the steps described in the BC-SOAP Documentation.
> Here is the jbi of my su:
> 
> 
> Code:
> 
> <jbi:provides 		
> 			interface-name="generatedNs:InterfaceName"
> 			service-name="generatedNs:ServiceName"
> 			endpoint-name="ServiceNameEndpoint">
> 	
> 			<!-- 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 xsi:nil="true" />
> 			
> 		
> 			<!-- Component specific elements -->	
> 			<soap:address>https://ipaddress:port/folder/serviceName/param1={xpathexpression1}</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>REST</soap:mode>
> 			<soap:rest-http-method>GET</soap:rest-http-method>			
> 		</jbi:provides>
> 
> 
> 


OK. Since you did not provide a WSDL, Petals generates a basic one.
But there is no valuable information in it. You cannot expect generating a client from this WSDL.
The best practice is to provide a WSDL in the REST SU.

Since I was planning to provide a default WSDL for REST services in the next version of the Petals Studio, I can post one in the afternoon.
I will let you test it and generate a PHP client from it. Is that OK with you?




-------------------- 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=30816#30816

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/f12ebc4e/attachment.htm>


More information about the Users mailing list