You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by krhansen <ex...@vertigonetcare.com> on 2007/02/16 08:21:12 UTC
WSDL using RPC/ENCODED
I have deployed a webservice that uses RPC.
My WSDL contains this:
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"
/>
and my xbean.xml this:
<jsr181:endpoint wsdlResource="classpath:service.wsdl"
style="rpc"
pojoClass="com.my.ServiceImpl" />
However, when I access the WSDL through ServiceMix at
http://localhost:8192/service/main.wsdl
the binding has been changed to
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
I'm able to access the service using an RPC client, so I'm pretty sure, that
the RPC encoding is actually being used.
The problem in this is, that I cannot generate the client from the WSDL
provided by Servicemix, as this would generate a document-based client.
Am I doing anything wrong or is this a bug i SMX? (in the latter case, I
would like a clue as to where to fix it)
Best regards
Kristian
--
View this message in context: http://www.nabble.com/WSDL-using-RPC-ENCODED-tf3238030s12049.html#a8999912
Sent from the ServiceMix - User mailing list archive at Nabble.com.