192.168.18.101 is my computer 's ip, ping 192.168.18.100 is ok, and all of firewalls
are closed.
when I used , I got the parameter value successful.
But I want to invoke the sayHello function, I got the "AxisFault: Read timed out
" Exception.
wsdl file
| <definitions name='HelloWorldWSService'
targetNamespace='http://webservice_consumer_wise/helloworld'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://webservice_consumer_wise/helloworld'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype">
| <types>
| <xs:schema targetNamespace='http://webservice_consumer_wise/helloworld'
version='1.0' xmlns:tns='http://webservice_consumer_wise/helloworld'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
| <xs:element name='sayHello' type='tns:sayHello'/>
| <xs:element name='sayHelloResponse'
type='tns:sayHelloResponse'/>
| <xs:complexType name='sayHello'>
| <xs:sequence>
| <xs:element minOccurs='0' name='toWhom'
type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='sayHelloResponse'>
| <xs:sequence>
| <xs:element minOccurs='0' name='return'
type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| <message name='HelloWorld_sayHelloResponse'>
| <part element='tns:sayHelloResponse'
name='sayHelloResponse'></part>
| </message>
| <message name='HelloWorld_sayHello'>
| <part element='tns:sayHello' name='sayHello'></part>
| </message>
| <portType name='HelloWorld'>
| <operation name='sayHello' parameterOrder='sayHello'>
| <input message='tns:HelloWorld_sayHello'></input>
| <output message='tns:HelloWorld_sayHelloResponse'></output>
| </operation>
| </portType>
| <portType name="portType1"/>
| <binding name='HelloWorldBinding' type='tns:HelloWorld'>
| <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
| <operation name='sayHello'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| </binding>
| <service name='HelloWorldWSService'>
| <port binding='tns:HelloWorldBinding' name='HelloWorldPort'>
| <soap:address
location='http://192.168.18.101:8080/Quickstart_webservice_consumer_wise/HelloWorldWS'/>
| </port>
| </service>
| <plnk:partnerLinkType name="HelloWorld">
| <plnk:role name="role1" portType="tns:HelloWorld"/>
| <plnk:role name="role2" portType="tns:HelloWorld"/>
| </plnk:partnerLinkType>
| </definitions>
|
bpel file
| <?xml version="1.0" encoding="UTF-8"?>
| <process
| name="newProcess"
|
targetNamespace="http://enterprise.netbeans.org/bpel/BpelModule3/Def...
|
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExten...
|
xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExte...
|
xmlns:tns="http://enterprise.netbeans.org/bpel/BpelModule3/DefaultSe...
xmlns:ns0="http://enterprise.netbeans.org/bpel/HelloWorldWSWrapper&q...
xmlns:ns1="http://webservice_consumer_wise/helloworld">
| <import namespace="http://webservice_consumer_wise/helloworld"
location="192.168.18.101_8080/Quickstart_webservice_consumer_wise/HelloWorldWS.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
| <partnerLinks>
| <partnerLink name="PartnerLink1"
partnerLinkType="ns1:HelloWorld" myRole="role1"
partnerRole="role2"/>
| </partnerLinks>
| <variables>
| <variable name="SayHelloOut"
xmlns:tns="http://webservice_consumer_wise/helloworld"
messageType="tns:HelloWorld_sayHelloResponse"/>
| <variable name="SayHelloIn"
xmlns:tns="http://webservice_consumer_wise/helloworld"
messageType="tns:HelloWorld_sayHello"/>
| </variables>
| <sequence>
| <receive name="Receive1" partnerLink="PartnerLink1"
operation="sayHello"
xmlns:tns="http://webservice_consumer_wise/helloworld"
portType="tns:HelloWorld" createInstance="yes"
variable="SayHelloIn"/>
| <invoke name="Invoke1" partnerLink="PartnerLink1"
operation="sayHello"
xmlns:tns="http://webservice_consumer_wise/helloworld"
portType="tns:HelloWorld" inputVariable="SayHelloIn"
outputVariable="SayHelloOut"/>
| <reply name="Reply1" partnerLink="PartnerLink1"
operation="sayHello"
xmlns:tns="http://webservice_consumer_wise/helloworld"
portType="tns:HelloWorld" variable="SayHelloOut"/>
| </sequence>
| </process>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202726#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...