<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
        background-color: #E5E5E5;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11;
        color: #000000;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
p, td                { font-size : 11; color : #000000; }
a:link,a:active,a:visited { color : #006699; }
a:hover                { text-decoration: underline; color : #DD6900; }
hr        { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
h1,h2                { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}


/* This is the border line & background colour round the entire page */
.bodyline        { background-color: #FFFFFF; border: 1px #98AAB1 solid; }


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; line-height: 12px}
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover        { color: #DD6900; text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink                { font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink         { text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link        { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
        font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

-->
</style>
</head>
        <body>

        <div class="postbody"></span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>SpeedAlex wrote:</b></span></td>        </tr>        <tr>          <td class="quote">Hi vzurczak,<br />
<br />
The point is that the REST service does not have any WSDL. So I just followed the steps described in the BC-SOAP Documentation.<br />
Here is the jbi of my su:<br />
<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>Code:</b></span></td>        </tr>        <tr>          <td class="code"><br />
<jbi&#58;provides &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;interface-name="generatedNs&#58;InterfaceName"<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;service-name="generatedNs&#58;ServiceName"<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;endpoint-name="ServiceNameEndpoint"><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<!-- CDK specific elements --><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;timeout>30000</petalsCDK&#58;timeout><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;validate-wsdl>true</petalsCDK&#58;validate-wsdl><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;forward-security-subject>false</petalsCDK&#58;forward-security-subject><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;forward-message-properties>false</petalsCDK&#58;forward-message-properties><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;forward-attachments>false</petalsCDK&#58;forward-attachments><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;wsdl xsi&#58;nil="true" /><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<!-- Component specific elements -->&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;address>https&#58;//ipaddress&#58;port/folder/serviceName/param1=&#123;xpathexpression1&#125;</soap&#58;address><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;soap-version>1.2</soap&#58;soap-version><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;add-root>false</soap&#58;add-root><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;chunked-mode>false</soap&#58;chunked-mode><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;cleanup-transport>true</soap&#58;cleanup-transport><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;mode>REST</soap&#58;mode><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<soap&#58;rest-http-method>GET</soap&#58;rest-http-method>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;</jbi&#58;provides><br />
</td>        </tr></table><span class="postbody"></td>        </tr></table><span class="postbody"><br />
<br />
OK. Since you did not provide a WSDL, Petals generates a basic one.<br />
But there is no valuable information in it. You cannot expect generating a client from this WSDL.<br />
The best practice is to provide a WSDL in the REST SU.<br />
<br />
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.<br />
I will let you test it and generate a PHP client from it. Is that OK with you?</div>
        <br /><div class="gensmall"><br />
<br />
<br />
-------------------- m2f --------------------<br />
<br />
<a href="http://forum.petalslink.com/m2f_usercp.php">Subscribe/Unsubscribe</a> emails notifications.<br />
<br />
Response to this email will be posted on the Petals forum.<br />
Please delete the existing text before responding :)<br />
<br />
Read the topic online:<br />
<a href="http://forum.petalslink.com/viewtopic.php?p=30816#30816" target="_blank">http://forum.petalslink.com/viewtopic.php?p=30816#30816</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>