Here are some more info about the above problem. I use JBoss 4.0.1.
wscompile features are wsi,rpcliteral,useonewayoperations

I generate all code directly from my EE beans with xdoclet tags and the custom 
type get the following tag:



* @wsee.jaxrpc-mapping 
  |  *   root-type-qname="BurritoTO"
  |  *  namespace-uri="http://bullen.com/fleet/api/types";
  |     



The generated jaxrpc-mapping file is as follows:



<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <java-wsdl-mapping
  |   xmlns="http://java.sun.com/xml/ns/j2ee";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |   http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";
  |   version="1.1"> 
  |     <package-mapping>
  |       <package-type>com.bullen.fleet.api.webservices.ejb</package-type>
  |       <namespaceURI>urn-com-bullen-fleet-api-webservices-ejb</namespaceURI>
  |     </package-mapping>
  |     <java-xml-type-mapping>
  |       <java-type>com.bullen.fleet.api.webservices.ejb.BurritoTO</java-type>
  |       <root-type-qname>
  |         BurritoTO
  |       </root-type-qname>
  |       <!-- qname support other than complex type not yet added -->    
  |       <qname-scope>complexType</qname-scope>          
  |     </java-xml-type-mapping>
  |     <!-- service interface mappings are still lacking -->
  |     <!-- service endpoint mappings are still lacking -->
  | </java-wsdl-mapping>
  |     




...and the generated wsdl file is as follows...




<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <definitions name="FleetAPI" targetNamespace="http://bullen.com/fleet/api"; 
xmlns:tns="http://bullen.com/fleet/api"; 
xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:ns2="http://bullen.com/fleet/api/types"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
  |   <types>
  |     <schema targetNamespace="http://bullen.com/fleet/api/types"; 
xmlns:tns="http://bullen.com/fleet/api/type"; 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns="http://www.w3.org/2001/XMLSchema";>
  |       <complexType name="BurritoTO">
  |         <sequence>
  |           <element name="dip" type="string" nillable="true"/>
  |           <element name="extras" type="string" nillable="true"/>
  |           <element name="nr" 
type="int"/></sequence></complexType></schema></types>
  |   <message name="TacoBellService_orderBurrito">
  |     <part name="int_1" type="xsd:int"/>
  |     <part name="String_2" type="xsd:string"/>
  |     <part name="String_3" type="xsd:string"/></message>
  |   <message name="TacoBellService_orderBurritoResponse">
  |     <part name="result" type="ns2:BurritoTO"/></message>
  |   <message name="BurgerKingService_orderWhopper">
  |     <part name="Integer_1" type="xsd:int"/></message>
  |   <message name="BurgerKingService_orderWhopperResponse">
  |     <part name="result" type="xsd:string"/></message>
  |   <message name="LoginService_login">
  |     <part name="String_1" type="xsd:string"/>
  |     <part name="String_2" type="xsd:string"/></message>
  |   <message name="LoginService_loginResponse">
  |     <part name="result" type="xsd:string"/></message>
  |   <portType name="TacoBellService">
  |     <operation name="orderBurrito" parameterOrder="int_1 String_2 String_3">
  |       <input message="tns:TacoBellService_orderBurrito"/>
  |       <output 
message="tns:TacoBellService_orderBurritoResponse"/></operation></portType>
  |   <portType name="BurgerKingService">
  |     <operation name="orderWhopper" parameterOrder="Integer_1">
  |       <input message="tns:BurgerKingService_orderWhopper"/>
  |       <output 
message="tns:BurgerKingService_orderWhopperResponse"/></operation></portType>
  |   <portType name="LoginService">
  |     <operation name="login" parameterOrder="String_1 String_2">
  |       <input message="tns:LoginService_login"/>
  |       <output 
message="tns:LoginService_loginResponse"/></operation></portType>
  |   <binding name="TacoBellServiceBinding" type="tns:TacoBellService">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="rpc"/>
  |     <operation name="orderBurrito">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://bullen.com/fleet/api"/></input>
  |       <output>
  |         <soap:body use="literal" 
namespace="http://bullen.com/fleet/api"/></output></operation></binding>
  |   <binding name="BurgerKingServiceBinding" type="tns:BurgerKingService">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="rpc"/>
  |     <operation name="orderWhopper">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://bullen.com/fleet/api"/></input>
  |       <output>
  |         <soap:body use="literal" 
namespace="http://bullen.com/fleet/api"/></output></operation></binding>
  |   <binding name="LoginServiceBinding" type="tns:LoginService">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="rpc"/>
  |     <operation name="login">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://bullen.com/fleet/api"/></input>
  |       <output>
  |         <soap:body use="literal" 
namespace="http://bullen.com/fleet/api"/></output></operation></binding>
  |   <service name="FleetAPI">
  |     <port name="TacoBellServicePort" binding="tns:TacoBellServiceBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port>
  |     <port name="BurgerKingServicePort" 
binding="tns:BurgerKingServiceBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port>
  |     <port name="LoginServicePort" binding="tns:LoginServiceBinding">
  |       <soap:address 
location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
  |     
  | 



Do I need a ws4ee-mapping.xml file for the returned custom type?


Best regards,

Georg Hallingstrom 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to