I created a sample web service with the WSDL shown at the bottom of this post.
wsconsume now creates all relevant artefacts. In detail:
- Greet.java
- GreetResponse.java
- ObjectFactory.java
- package-info.java
- TestWs.java
- TestWsService.java
Which of these files (resp. the classes) should be put into the client *.jar file
(which in turn call the web service later) ?
Are really all *.classes necessary FOR THE CLIENT?
<definitions name="TestWsService"
targetNamespace="http://dhanago.test.com/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://dhanago.test.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xs:schema
targetNamespace="http://dhanago.test.com/" version="1.0"
xmlns:tns="http://dhanago.test.com/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="greet" type="tns:greet" />
<xs:element name="greetResponse" type="tns:greetResponse" />
<xs:complexType name="greet">
<xs:sequence>
<xs:element minOccurs="0" name="name" type="xs:string"
/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="greetResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"
/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<soap:operation soapAction="" />
<soap:body use="literal" />
<soap:body use="literal" />
<soap:address location="http://127.0.0.1:8080/testWsProject/TestWs" />
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184971#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...