开发者

WSDL conversion to Java

开发者 https://www.devze.com 2023-03-21 10:17 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消