I have to convert a WSDL to java classes for creating WS server and that WSDL uses RPC/encoded.
This encoding is not supporte开发者_开发技巧d in cxf or in JWS 2.0.
So I have commmented those lines mentioning RPC/Encoded use="encoded"/>
I have created the java classes, but my client's wsdl will still look for use="encoded"/> and currently whatever wsdl my app is generation (using cxf framework), there is no encoded attribute in SOAP:body
Will this create a problem, I am new to web service and I am currently learning stage, Please help
If I'm understanding you correctly, the WSDL you have to match uses an encoding that your library doesn't support. So you either have to change the WSDL or change libraries.
This question seems to address the same situation: java: Rpc/encoded wsdls are not supported in JAXWS 2.0
精彩评论