Hi,
Are you using code first development?
I'm not really sure, but can you try specifying the style in the
annotation of the pojo?
e.g.
@javax.jws.soap.SOAPBinding(
style=javax.jws.soap.SOAPBinding.Style.RPC,
use=javax.jws.soap.SOAPBinding.Use.LITERAL,
parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED)
Hope it helps.
Sireesh wrote:
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.