Hi all,

Does anybody know how to solve this? a workaround or a specific
configuration to be able to send '+' symbols in GET parameters? Thank you
in advance.

Regards

2013/2/14 Miguel Ángel Francisco Fernández <miguel...@gmail.com>

> Hello,
>
> I am using wsdl2java tool to generate a Java client to access a REST web
> service described with a WSDL 2.0. I am using these options:
>
> <plugin>
>     <groupId>org.apache.axis2</
> groupId>
>     <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>     <version>1.6.2</version>
>     <configuration>
>         <packageName>com.interoud.vodkatv.wsdl</packageName>
>         <wsdlFile>src/main/wsdl/vodkatv.wsdl</wsdlFile>
>         <wsdl-version>2</wsdl-version>
>         <unwrap>true</unwrap>
>         <wsdlVersion>2</wsdlVersion>
>     </configuration>
>     <executions>
>         <execution>
>             <goals>
>                 <goal>wsdl2code</goal>
>             </goals>
>         </execution>
>     </executions>
> </plugin>
>
> The generated client works ok, except when I invoke a GET operation with a
> parameter that contains the symbol '+'. For example, if I have an URL
> "/get_url", and I set the parameter "param" to "x+x", the symbol "+" is not
> encoded, and therefore it is interpreted as a space on my server ("x x").
> If I try to send the parameter encoded, i.e., "%2B", I received "%252B" in
> my server. Am I doing anything wrong? Thank you for your help.
>
> Regards
>

Reply via email to