You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/03/14 15:22:10 UTC
[jira] Commented: (AXIS2-2322) If i generate skeleton classes,
interfaces and stubs using the no matter what version of axis2 I use
[ https://issues.apache.org/jira/browse/AXIS2-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480785 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2322:
-----------------------------------------------------
can you check with the wsdl2java tool comes with the axis distribution.
please test with a nightly build?
if you still getting errors can you attach your xsd file as well?
> If i generate skeleton classes, interfaces and stubs using the no matter what version of axis2 I use
> ----------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2322
> URL: https://issues.apache.org/jira/browse/AXIS2-2322
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen, databinding, deployment, wsdl
> Affects Versions: 1.1.1, 1.1, 1.0
> Environment: Windows 2000, sdk 1.5
> Reporter: John McCosker
> Priority: Critical
> Attachments: build.xml, GENI_FileSystemModifyService.wsdl
>
>
> If i generate skeleton classes, interfaces and stubs using the
> wsdl2java ant task I can't then compile my classes,
> now I know its because all of the below mentioned methods (and others)
> fromOM(result.getResponseEnvelope().getBody().getFirstElement() and
> toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI())
> fromOM(faultElt,messageClass,null)
> are not included in org.apache.axis2.client.Stub as they have been
> left out for what-ever reason. All online documentation and mailing
> list indicated that,
> "getElement() method was removed from the stub class sometime back,
> since the generated code no longer uses it.
> Please use the latest nightlies to generate your code... "
> Ok, I have done that, does'nt work.
> Others suggest get the latest stable build, what version is stable,
> have tried, 1.0, 1.1, 1.1.1, extracted axis.war tried that, and tried
> axis2-1.1.1-SNAPSHOT,
> but all gave the same error.
> What version of axis will stop creating the these properties in the
> stubs so that I can then compile it.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [jira] Commented: (AXIS2-2322) If i generate skeleton classes, interfaces and stubs using the no matter what version of axis2 I use
Posted by John McCosker <jm...@gmail.com>.
It seems to work on some clients when I use the wsdl2java.bat file in
my build script using the <exec> task,
however on some clients it fails saying,
[exec] The input line is too long.
[exec] The syntax of the command is incorrect.
with wsdl2java ant task all clients get to the same point but cannot compile.
hope this helps.
On 3/14/07, Amila Chinthaka Suriarachchi (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/AXIS2-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480785 ]
>
> Amila Chinthaka Suriarachchi commented on AXIS2-2322:
> -----------------------------------------------------
>
> can you check with the wsdl2java tool comes with the axis distribution.
> please test with a nightly build?
> if you still getting errors can you attach your xsd file as well?
>
> > If i generate skeleton classes, interfaces and stubs using the no matter what version of axis2 I use
> > ----------------------------------------------------------------------------------------------------
> >
> > Key: AXIS2-2322
> > URL: https://issues.apache.org/jira/browse/AXIS2-2322
> > Project: Axis 2.0 (Axis2)
> > Issue Type: Bug
> > Components: codegen, databinding, deployment, wsdl
> > Affects Versions: 1.1.1, 1.1, 1.0
> > Environment: Windows 2000, sdk 1.5
> > Reporter: John McCosker
> > Priority: Critical
> > Attachments: build.xml, GENI_FileSystemModifyService.wsdl
> >
> >
> > If i generate skeleton classes, interfaces and stubs using the
> > wsdl2java ant task I can't then compile my classes,
> > now I know its because all of the below mentioned methods (and others)
> > fromOM(result.getResponseEnvelope().getBody().getFirstElement() and
> > toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI())
> > fromOM(faultElt,messageClass,null)
> > are not included in org.apache.axis2.client.Stub as they have been
> > left out for what-ever reason. All online documentation and mailing
> > list indicated that,
> > "getElement() method was removed from the stub class sometime back,
> > since the generated code no longer uses it.
> > Please use the latest nightlies to generate your code... "
> > Ok, I have done that, does'nt work.
> > Others suggest get the latest stable build, what version is stable,
> > have tried, 1.0, 1.1, 1.1.1, extracted axis.war tried that, and tried
> > axis2-1.1.1-SNAPSHOT,
> > but all gave the same error.
> > What version of axis will stop creating the these properties in the
> > stubs so that I can then compile it.
>
> --
> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [jira] Commented: (AXIS2-2322) If i generate skeleton classes, interfaces and stubs using the no matter what version of axis2 I use
Posted by John McCosker <jm...@gmail.com>.
I have the following axis distributions, 1.0, 1.1, 1.1.1,
axis2-1.1.1-SNAPSHOT, axis2.war.
I have changed my axis classpath in ant to look at the lib folder when
running my ant task for each distribution,
e.g.,
<fileset dir="c:/axis1.0/lib">
<fileset dir="c:/axis1.1/lib">
and so on, run my wsdl2java tasks, then compiled but always the same problem.
I have attached my xsd's in the JIRA.
On 3/14/07, Amila Chinthaka Suriarachchi (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/AXIS2-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480785 ]
>
> Amila Chinthaka Suriarachchi commented on AXIS2-2322:
> -----------------------------------------------------
>
> can you check with the wsdl2java tool comes with the axis distribution.
> please test with a nightly build?
> if you still getting errors can you attach your xsd file as well?
>
> > If i generate skeleton classes, interfaces and stubs using the no matter what version of axis2 I use
> > ----------------------------------------------------------------------------------------------------
> >
> > Key: AXIS2-2322
> > URL: https://issues.apache.org/jira/browse/AXIS2-2322
> > Project: Axis 2.0 (Axis2)
> > Issue Type: Bug
> > Components: codegen, databinding, deployment, wsdl
> > Affects Versions: 1.1.1, 1.1, 1.0
> > Environment: Windows 2000, sdk 1.5
> > Reporter: John McCosker
> > Priority: Critical
> > Attachments: build.xml, GENI_FileSystemModifyService.wsdl
> >
> >
> > If i generate skeleton classes, interfaces and stubs using the
> > wsdl2java ant task I can't then compile my classes,
> > now I know its because all of the below mentioned methods (and others)
> > fromOM(result.getResponseEnvelope().getBody().getFirstElement() and
> > toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI())
> > fromOM(faultElt,messageClass,null)
> > are not included in org.apache.axis2.client.Stub as they have been
> > left out for what-ever reason. All online documentation and mailing
> > list indicated that,
> > "getElement() method was removed from the stub class sometime back,
> > since the generated code no longer uses it.
> > Please use the latest nightlies to generate your code... "
> > Ok, I have done that, does'nt work.
> > Others suggest get the latest stable build, what version is stable,
> > have tried, 1.0, 1.1, 1.1.1, extracted axis.war tried that, and tried
> > axis2-1.1.1-SNAPSHOT,
> > but all gave the same error.
> > What version of axis will stop creating the these properties in the
> > stubs so that I can then compile it.
>
> --
> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org