[ 
https://issues.apache.org/jira/browse/AXIS2-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jorge Fernández resolved AXIS2-2088.
------------------------------------

    Resolution: Later

> wsdl2java  JiBX code generator and -Ebindingfile option unavailable in ant 
> task
> -------------------------------------------------------------------------------
>
>                 Key: AXIS2-2088
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2088
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, jre 1.5 update 10, and 1.7.0
>            Reporter: Jorge Fernández
>         Attachments: binding.xml, build.xml, LoginServiceJiBX.wsdl, 
> ReturnWebLoginElement.java, WebLoginElement.java
>
>
> First the little question:  is there any way for passing the -Ebindingfile in 
> the ant task of wsdl2java? because I didn't find it.
> The big one: I'm having a problem with wsdl2java code generation. I'm trying 
> JiBX databinding in wrapped mode. I've got my objects defined, my wsdl 
> definition of the service and  I made my binding definition manually. I also 
> made an ant task, following the steps of the jibx tutorial. I generated the 
> binding definition with JiBX tools.
> This is the problem:
> When I use the ant task for compiling the binding definition with the 
> build.xml, everything seems to go alright. After that, I would have to type 
> some code for running the service and that's why I decided to use wsdl2java.  
> When I use wsdl2java for code generation I get this error:
> I use the command like this:
> wsdl2java -uri LoginServiceJiBX.wsdl -o src\ -p loginjibx -ss -sd -d jibx -g 
> -sn LoginServiceJiBX -pn LoginEndpointPort -ns2p 
> http://login=login,http://www.w3.org/2001/XMLSchema=org.w3.www._2001.xmlschema,http://login/ypes=login.types,http:/
> /schemas.xmlsoap.org/wsdl/soap=org.xmlsoap.schemas.wsdl.soap,http://schemas.xmls
> oap.org/wsdl=org.xmlsoap.schemas.wsdl -ssi -Ebindingfile binding.xml
> I made it also in unwrapped mode and there was no problem with that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to