You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rex Wang (JIRA)" <ji...@apache.org> on 2011/03/10 04:33:59 UTC
[jira] Commented: (GERONIMO-5857) A mistake of the sample wsdl in
JAX-RPC doc
[ https://issues.apache.org/jira/browse/GERONIMO-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004957#comment-13004957 ]
Rex Wang commented on GERONIMO-5857:
------------------------------------
the "Changes required in Client" is linked to a wrong page, and the original one seems has been removed.
I suggest create the complete steps for creating the client.
1. jaxws-tools.bat wsimport -s D:\axrpc-converter-stub http://localhost:8080/jaxrpc-converter/converter?wsdl
2. create dynamic web project in eclipse and import the stubs generated in step 1
the sample client is in attachment.
> A mistake of the sample wsdl in JAX-RPC doc
> -------------------------------------------
>
> Key: GERONIMO-5857
> URL: https://issues.apache.org/jira/browse/GERONIMO-5857
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: documentation
> Affects Versions: 2.1.7, 2.2.1, 3.0-M1
> Reporter: Rex Wang
>
> in https://cwiki.apache.org/GMOxDOC21/developing-jax-rpc-web-services.html
> there is a mistake in the converter.wsdl
> all the
> <soap:body use="literal" />
> should be
> <soap:body use="literal" namespace="http://org.apache.geronimo.samples.jaxrpc/"/>
> otherwise either our tool:
> jaxws-tools.bat wsimport -s C:\WSDL http://localhost:8080/jaxws-conveter/converter?wsdl
> and sun's tool
> wscomiple
> will report the same error: input message of binding operation "greetMe" must specify a value for the "namespace" attribute
> Ref: the warning message in eclipse of this line
> WS-I: (BP2020) A rpc-literal binding contains soapbind:body element(s) that either does not have a namespace attribute, or has a namespace
> attribute value that is not an absolute URI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira