[jboss-user] [JBossWS] - Re: Bug? operations from doc-literal BARE to WRAPPED

bocio do-not-reply at jboss.com
Wed Feb 14 15:08:08 EST 2007


These are the two WSDL for the working example and not.
As I can see the getConfigurationFile() method part is not changed.

anonymous wrote : <wsdl:definitions xmlns:axis2="http://neo.spectre.com" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://neo.spectre.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://neo.spectre.com">
  |   <wsdl:documentation>NEOServizi</wsdl:documentation>
  |   <wsdl:types>
  |     <xs:schema xmlns:ns="http://neo.spectre.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://neo.spectre.com/xsd">
  |       <xs:element name="getConfigurationFileResponse">
  |         <xs:complexType>
  |           <xs:sequence>
  |             <xs:element name="_return" nillable="true" type="xs:string"/>
  |           </xs:sequence>
  |         </xs:complexType>
  |       </xs:element>
  |       <xs:element name="getProcessorInfo">
  |         <xs:complexType>
  |           <xs:sequence>
  |             <xs:element name="processorInstance" nillable="true" type="xs:string"/>
  |           </xs:sequence>
  |         </xs:complexType>
  |       </xs:element>
  |       <xs:element name="getProcessorInfoResponse">
  |         <xs:complexType>
  |           <xs:sequence>
  |             <xs:element maxOccurs="unbounded" name="_return" nillable="true" type="xs:string"/>
  |           </xs:sequence>
  |         </xs:complexType>
  |       </xs:element>
  |       <xs:element name="getProcessorInstancesResponse">
  |         <xs:complexType>
  |           <xs:sequence>
  |             <xs:element maxOccurs="unbounded" name="_return" nillable="true" type="xs:string"/>
  |           </xs:sequence>
  |         </xs:complexType>
  |       </xs:element>
  |     </xs:schema>
  |   </wsdl:types>
  |   <wsdl:message name="getProcessorInfoMessage">
  |     <wsdl:part name="part1" element="ns0:getProcessorInfo"/>
  |   </wsdl:message>
  |   <wsdl:message name="getProcessorInfoResponse">
  |     <wsdl:part name="part1" element="ns0:getProcessorInfoResponse"/>
  |   </wsdl:message>
  |   <wsdl:message name="getConfigurationFileMessage"/>
  |   <wsdl:message name="getConfigurationFileResponse">
  |     <wsdl:part name="part1" element="ns0:getConfigurationFileResponse"/>
  |   </wsdl:message>
  |   <wsdl:message name="getProcessorInstancesMessage"/>
  |   <wsdl:message name="getProcessorInstancesResponse">
  |     <wsdl:part name="part1" element="ns0:getProcessorInstancesResponse"/>
  |   </wsdl:message>
  |   <wsdl:portType name="NEOServiziPortType">
  |     <wsdl:operation name="getProcessorInfo">
  |       <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getProcessorInfoMessage" wsaw:Action="urn:getProcessorInfo"/>
  |       <wsdl:output message="axis2:getProcessorInfoResponse"/>
  |     </wsdl:operation>
  |     <wsdl:operation name="getConfigurationFile">
  |       <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getConfigurationFileMessage" wsaw:Action="urn:getConfigurationFile"/>
  |       <wsdl:output message="axis2:getConfigurationFileResponse"/>
  |     </wsdl:operation>
  |     <wsdl:operation name="getProcessorInstances">
  |       <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getProcessorInstancesMessage" wsaw:Action="urn:getProcessorInstances"/>
  |       <wsdl:output message="axis2:getProcessorInstancesResponse"/>
  |     </wsdl:operation>
  |   </wsdl:portType>
  |   <wsdl:binding name="NEOServiziSOAP11Binding" type="axis2:NEOServiziPortType">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  |     <wsdl:operation name="getProcessorInfo">
  |       <soap:operation soapAction="urn:getProcessorInfo" style="document"/>
  |       <wsdl:input>
  |         <soap:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |     <wsdl:operation name="getConfigurationFile">
  |       <soap:operation soapAction="urn:getConfigurationFile" style="document"/>
  |       <wsdl:input>
  |         <soap:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |     <wsdl:operation name="getProcessorInstances">
  |       <soap:operation soapAction="urn:getProcessorInstances" style="document"/>
  |       <wsdl:input>
  |         <soap:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |   </wsdl:binding>
  |   <wsdl:binding name="NEOServiziSOAP12Binding" type="axis2:NEOServiziPortType">
  |     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  |     <wsdl:operation name="getProcessorInfo">
  |       <soap12:operation soapAction="urn:getProcessorInfo" style="document"/>
  |       <wsdl:input>
  |         <soap12:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap12:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |     <wsdl:operation name="getConfigurationFile">
  |       <soap12:operation soapAction="urn:getConfigurationFile" style="document"/>
  |       <wsdl:input>
  |         <soap12:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap12:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |     <wsdl:operation name="getProcessorInstances">
  |       <soap12:operation soapAction="urn:getProcessorInstances" style="document"/>
  |       <wsdl:input>
  |         <soap12:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap12:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |   </wsdl:binding>
  |   <wsdl:binding name="NEOServiziHttpBinding" type="axis2:NEOServiziPortType">
  |     <http:binding verb="POST"/>
  |     <wsdl:operation name="getProcessorInfo">
  |       <http:operation location="getProcessorInfo"/>
  |       <wsdl:input>
  |         <mime:content type="text/xml"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <mime:content type="text/xml"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |     <wsdl:operation name="getConfigurationFile">
  |       <http:operation location="getConfigurationFile"/>
  |       <wsdl:input>
  |         <mime:content type="text/xml"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <mime:content type="text/xml"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |     <wsdl:operation name="getProcessorInstances">
  |       <http:operation location="getProcessorInstances"/>
  |       <wsdl:input>
  |         <mime:content type="text/xml"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <mime:content type="text/xml"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |   </wsdl:binding>
  |   <wsdl:service name="NEOServizi">
  |     <wsdl:port name="NEOServiziSOAP11port_http" binding="axis2:NEOServiziSOAP11Binding">
  |       <soap:address location="http://127.0.0.1:8380/axis2-neo/services/NEOServizi"/>
  |     </wsdl:port>
  |     <wsdl:port name="NEOServiziSOAP12port_http" binding="axis2:NEOServiziSOAP12Binding">
  |       <soap12:address location="http://127.0.0.1:8380/axis2-neo/services/NEOServizi"/>
  |     </wsdl:port>
  |     <wsdl:port name="NEOServiziHttpport1" binding="axis2:NEOServiziHttpBinding">
  |       <http:address location="http://127.0.0.1:8380/axis2-neo/rest/NEOServizi"/>
  |     </wsdl:port>
  |   </wsdl:service>
  | </wsdl:definitions>
  | 


This is the wsdl where I get the strange behaviour:

anonymous wrote : 
  | <wsdl:definitions xmlns:axis2="http://neo.spectre.com" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://neo.spectre.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://neo.spectre.com">
  |   <wsdl:documentation>NEOServizi</wsdl:documentation>
  |   <wsdl:types>
  |     <xs:schema xmlns:ns="http://neo.spectre.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://neo.spectre.com/xsd">
  |       <xs:element name="getConfigurationFileResponse">
  |         <xs:complexType>
  |           <xs:sequence>
  |             <xs:element name="_return" nillable="true" type="xs:string"/>
  |           </xs:sequence>
  |         </xs:complexType>
  |       </xs:element>
  |     </xs:schema>
  |   </wsdl:types>
  |   <wsdl:message name="getConfigurationFileMessage"/>
  |   <wsdl:message name="getConfigurationFileResponse">
  |     <wsdl:part name="part1" element="ns0:getConfigurationFileResponse"/>
  |   </wsdl:message>
  |   <wsdl:portType name="NEOServiziPortType">
  |     <wsdl:operation name="getConfigurationFile">
  |       <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getConfigurationFileMessage" wsaw:Action="urn:getConfigurationFile"/>
  |       <wsdl:output message="axis2:getConfigurationFileResponse"/>
  |     </wsdl:operation>
  |   </wsdl:portType>
  |   <wsdl:binding name="NEOServiziSOAP11Binding" type="axis2:NEOServiziPortType">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  |     <wsdl:operation name="getConfigurationFile">
  |       <soap:operation soapAction="urn:getConfigurationFile" style="document"/>
  |       <wsdl:input>
  |         <soap:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |   </wsdl:binding>
  |   <wsdl:binding name="NEOServiziSOAP12Binding" type="axis2:NEOServiziPortType">
  |     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  |     <wsdl:operation name="getConfigurationFile">
  |       <soap12:operation soapAction="urn:getConfigurationFile" style="document"/>
  |       <wsdl:input>
  |         <soap12:body use="literal"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <soap12:body use="literal"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |   </wsdl:binding>
  |   <wsdl:binding name="NEOServiziHttpBinding" type="axis2:NEOServiziPortType">
  |     <http:binding verb="POST"/>
  |     <wsdl:operation name="getConfigurationFile">
  |       <http:operation location="getConfigurationFile"/>
  |       <wsdl:input>
  |         <mime:content type="text/xml"/>
  |       </wsdl:input>
  |       <wsdl:output>
  |         <mime:content type="text/xml"/>
  |       </wsdl:output>
  |     </wsdl:operation>
  |   </wsdl:binding>
  |   <wsdl:service name="NEOServizi">
  |     <wsdl:port name="NEOServiziSOAP11port_http" binding="axis2:NEOServiziSOAP11Binding">
  |       <soap:address location="http://127.0.0.1:8380/axis2-neo/services/NEOServizi"/>
  |     </wsdl:port>
  |     <wsdl:port name="NEOServiziSOAP12port_http" binding="axis2:NEOServiziSOAP12Binding">
  |       <soap12:address location="http://127.0.0.1:8380/axis2-neo/services/NEOServizi"/>
  |     </wsdl:port>
  |     <wsdl:port name="NEOServiziHttpport1" binding="axis2:NEOServiziHttpBinding">
  |       <http:address location="http://127.0.0.1:8380/axis2-neo/rest/NEOServizi"/>
  |     </wsdl:port>
  |   </wsdl:service>
  | </wsdl:definitions>
  | 

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

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



More information about the jboss-user mailing list