Hi!

Did a test run. Dont know if it is usable yet but somethings are generated
using jwsdp 1.6

Commandline:
[EMAIL PROTECTED] wsdltest]$ wscompile.sh -import -keep config.xml
  | [EMAIL PROTECTED] wsdltest]$ ls test
  | MovieServiceAPI.class  MovieService.class       MovieService_Impl.java  
MovieService_Rent_RequestStruct.class  MovieService_Rent_ResponseStruct.class
  | MovieServiceAPI.java   MovieService_Impl.class  MovieService.java       
MovieService_Rent_RequestStruct.java   MovieService_Rent_ResponseStruct.java
  | 

config.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config";>
  |         <wsdl
  |                 location="Test.wsdl"
  |                 packageName="test"
  |         />
  | </configuration>
  | 

The WSDL file:
<?xml version="1.0" ?>
  | <definitions name="OrganizationServiceEJB" 
targetNamespace="http://com.underworld.crimeportal";
  |      xmlns:tns="http://com.underworld.crimeportal"; 
xmlns="http://schemas.xmlsoap.org/wsdl/";
  |      xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
  | 
  |     <types/>
  | 
  |     <message name="RentRequest">
  |       <part name="MovieName" type="xsd:string"/>
  |     </message>
  |     <message name="RentResponse">
  |       <part name="result" type="xsd:boolean"/>
  |     </message>
  | 
  |     <portType name="MovieService">
  |       <operation name="Rent" parameterOrder="MovieName">
  |         <input message="tns:RentRequest"/>
  |         <output message="tns:RentResponse"/>
  |       </operation>
  |     </portType>
  | 
  |     <binding name="MovieServiceBinding" type="tns:MovieService">
  |       <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="rpc"/>
  |       <operation name="Rent">
  |         <soap:operation soapAction=""/>
  |         <input>
  |           <soap:body use="literal" 
namespace="http://com.underworld.crimeportal"/>
  |         </input>
  |         <output>
  |           <soap:body use="literal" 
namespace="http://com.underworld.crimeportal"/>
  |         </output>
  |       </operation>
  |     </binding>
  | 
  |     <service name="MovieServiceAPI">
  |       <port name="MoviePort" binding="tns:MovieServiceBinding">
  |         <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
  |       </port>
  |     </service>
  |   </definitions>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897441#3897441

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897441


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to