SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 212 | Next

Frank Jennings, David Salter

"Building SOA-Based Composite Applications Using NetBeans IDE 6"

Drag-and-drop
the check sector block to the primary branch of the flow. Now, irrespective of who
processes the request, all partner systems are updated.
Building a Sample Application
[ 258 ]
In the secondary flow branch, let us add one more invoke call that uploads the guest
itinerary to a partner FTP server for further processing. For this you need to create
one more WSDL file of name UploadItinerary.wsdl. Follow the same steps you
have learnt for creating SendItinerary.wsdl but select FTP binding as the binding
type. Now let us take a look at UploadItinerary.wsdl:

"http://j2ee.netbeans.org/wsdl/UploadItinerary"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://j2ee.netbeans.org/wsdl/UploadItinerary"
xmlns:ns="http://j2ee.netbeans.org/xsd/tableSchema"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:ftp="http://schemas.sun.com/jbi/wsdl-extensions/ftp/">

"http://j2ee.netbeans.org/wsdl/UploadItinerary">
"http://j2ee.netbeans.org/xsd/tableSchema"
schemaLocation="ITINERARY.xsd"/>







"tns:UploadItineraryOperationRequest"/>


"tns:UploadItineraryPortType">




messageNamePrefixOB=
"" pollIntervalMillis="5000" archive="true"
protect="true" stage="true" use="literal"
encodingStyle="" messageCorrelate="true"
messageRepository="itinerary"/>




Chapter 10
[ 259 ]
"tns:UploadItineraryBinding">
"ftp://userftp:userftp@localhost:21" dirListStyle="UNIX"
useUserDefinedHeuristics="false" userDefDirListStyle=""
userDefDirListHeuristics="" cmdChannelTimeout="45000"
dataChannelTimeout="45000"/>



portType="tns:UploadItineraryPortType"/>


As usual make changes to the binding and service parts of the WSDL document to
provide your FTP server information.


Pages:
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224