1 Reply Latest reply on Oct 27, 2008 6:55 PM by Peter Johnson

    Which wconsume artefacts are for the test client?

    Peter Steiner Newbie

      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:element minOccurs="0" name="name" type="xs:string" />
      <xs:complexType name="greetResponse">
      <xs:element minOccurs="0" name="return" type="xs:string" />

      <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="" />