Hi 
         The style attribute of jsr181 in service mix is defaulting to
document type. When i set the attribute style = "rpc" the wsdl generated is
still having soap binding style as "document". 

The xbean written looks like :

    <jsr181:endpoint 
               service="blwb:FTPInput"
               endpoint="soap"
               pojoClass="com.dnb.blwb.bltwb.FetchServiceImpl"
               serviceInterface="com.dnb.blwb.bltwb.FetchService"
                       style="rpc" />  

where i mentioned the style as rpc but the wsdl generated shows the
following :

        <wsdl:binding name="endpointBinding" type="tns:FTPInputPortType">
          <wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
                <wsdl:operation name="getFile">
                        <wsdlsoap:operation soapAction=""/>
                        <wsdl:input name="getFileRequest">
                                <wsdlsoap:body use="literal"/>
                        </wsdl:input>
                        <wsdl:output name="getFileResponse">
                                <wsdlsoap:body use="literal"/>
                        </wsdl:output>
                </wsdl:operation>
        </wsdl:binding>


where the soap binding style is still a document type.

We need have an rpc binding style as our service should be invoked by jBPM
which invokes only rpc types.

Can anyone help me on having by service of rpc type.



Thanks,
Sireesh.
-- 
View this message in context: 
http://www.nabble.com/jsr181-style-attribute-defaulting-to-document-type-tf4096617s12049.html#a11648511
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to