You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Walt <ju...@comcast.net> on 2006/07/24 18:44:57 UTC
[Axis2] PortType Stub and Skeleton not being build
This has got to be something I am consistently doing wrong.
I have tried this with the Axis2SampleDoclit sample, an Ask, and an
OnlineBanking sample from the IBM tutorials for using Axis2. In none of
these cases does the PortTypeStub or PortTypeSkeleton get generated.
I am also using the supplied bat file for wsdl2java so it generates the
local classpath of axis2 jars.
I appreciate any help on this.
Thanks,
Walt
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] PortType Stub and Skeleton not being build
Posted by Martin Gainty <mg...@hotmail.com>.
Hi Walt-
for the file Axis2SampleDocLit.wsdl you should be definitely using AXIS2_HOME distro-
My suggestion is to reget from svn and rebuild all your jars
The bat file didnt work initially so I ran the java class org.apache.axis2.wsdl.WSDL2Java
and started adding classes to find what I needed with similar results-
BTW: if you consider the pricetag .. then everyone is getting their moneys worth
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Walt" <ju...@comcast.net>
To: <ax...@ws.apache.org>
Sent: Monday, July 24, 2006 3:02 PM
Subject: Re: [Axis2] PortType Stub and Skeleton not being build
> Hi Martin,
> I have no clue. What is axis-2_1? It appears you are getting further
> than I got. Are you executing the supplied wsdl2java.bat? Oh, are you
> running with a self built version?I am getting really frustrated with
> this as I have tried several different wsdl files and not a one of them
> generates (emits) the PortType classes. It looks like others have
> gotten past this but perhaps they are using ADB rather than xmlbeans. I
> sure hope they actually tested these samples.
>
> Walt
>
> Martin Gainty wrote:
>> Walt-
>> Here is what I got thus far
>>
>> C:\AXIS\Axis-2_1\samples\wsdl>java -classpath C:\AXIS\Axis-2_1\src\modules\java2
>> wsdl\target\classes;C:\commons-policy\policy-1.0-bin\lib\policy-1.0.jar;C:\commo
>> ns\logging\commons-logging-1.0.4\commons-logging-api.jar;C:\AXIS\Axis-2_1\src\mo
>> dules\core\target\classes;C:\WSDL4J\wsdl4j-1_4\lib\wsdl4j.jar;C:\AXIS\Axis-2_1\l
>> ib;C:\commons-logging\commons-logging-1.0.4\commons-logging.jar;C:\AXIS\AXIS-2_1
>> \src\modules\common\target\classes;C:\AXIS\Axis-2_1\src\modules\codegen\target\c
>> lasses org.apache.axis2.wsdl.WSDL2Java -uri file:///AXIS/Axis-2_1/samples/wsdl/A
>> xis2SampleDocLit.wsdl
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/schema/Schema
>>
>> Any clue as to where this lives??
>> M--
>> *********************************************************************
>> This email message and any files transmitted with it contain confidential
>> information intended only for the person(s) to whom this email message is
>> addressed. If you have received this email message in error, please notify
>> the sender immediately by telephone or email and destroy the original
>> message without making a copy. Thank you.
>>
>>
>>
>> ----- Original Message -----
>> From: "Walt" <ju...@comcast.net>
>> To: <ax...@ws.apache.org>
>> Sent: Monday, July 24, 2006 12:44 PM
>> Subject: [Axis2] PortType Stub and Skeleton not being build
>>
>>
>>
>>> This has got to be something I am consistently doing wrong.
>>>
>>> I have tried this with the Axis2SampleDoclit sample, an Ask, and an
>>> OnlineBanking sample from the IBM tutorials for using Axis2. In none of
>>> these cases does the PortTypeStub or PortTypeSkeleton get generated.
>>>
>>> I am also using the supplied bat file for wsdl2java so it generates the
>>> local classpath of axis2 jars.
>>>
>>> I appreciate any help on this.
>>>
>>> Thanks,
>>> Walt
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: [Axis2] PortType Stub and Skeleton not being build
Posted by Martin Gainty <mg...@hotmail.com>.
Im rebuilding the src distro now with the following mods-
project.properties.svn-base
comment out this unreachable entry
#http://www.apache.org/dist/java-repository/,\
cd $AXIS2_HOME/src
$MAVEN_HOME/bin/maven release
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Walt" <ju...@comcast.net>
To: <ax...@ws.apache.org>
Sent: Monday, July 24, 2006 3:02 PM
Subject: Re: [Axis2] PortType Stub and Skeleton not being build
> Hi Martin,
> I have no clue. What is axis-2_1? It appears you are getting further
> than I got. Are you executing the supplied wsdl2java.bat? Oh, are you
> running with a self built version?I am getting really frustrated with
> this as I have tried several different wsdl files and not a one of them
> generates (emits) the PortType classes. It looks like others have
> gotten past this but perhaps they are using ADB rather than xmlbeans. I
> sure hope they actually tested these samples.
>
> Walt
>
> Martin Gainty wrote:
>> Walt-
>> Here is what I got thus far
>>
>> C:\AXIS\Axis-2_1\samples\wsdl>java -classpath C:\AXIS\Axis-2_1\src\modules\java2
>> wsdl\target\classes;C:\commons-policy\policy-1.0-bin\lib\policy-1.0.jar;C:\commo
>> ns\logging\commons-logging-1.0.4\commons-logging-api.jar;C:\AXIS\Axis-2_1\src\mo
>> dules\core\target\classes;C:\WSDL4J\wsdl4j-1_4\lib\wsdl4j.jar;C:\AXIS\Axis-2_1\l
>> ib;C:\commons-logging\commons-logging-1.0.4\commons-logging.jar;C:\AXIS\AXIS-2_1
>> \src\modules\common\target\classes;C:\AXIS\Axis-2_1\src\modules\codegen\target\c
>> lasses org.apache.axis2.wsdl.WSDL2Java -uri file:///AXIS/Axis-2_1/samples/wsdl/A
>> xis2SampleDocLit.wsdl
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/schema/Schema
>>
>> Any clue as to where this lives??
>> M--
>> *********************************************************************
>> This email message and any files transmitted with it contain confidential
>> information intended only for the person(s) to whom this email message is
>> addressed. If you have received this email message in error, please notify
>> the sender immediately by telephone or email and destroy the original
>> message without making a copy. Thank you.
>>
>>
>>
>> ----- Original Message -----
>> From: "Walt" <ju...@comcast.net>
>> To: <ax...@ws.apache.org>
>> Sent: Monday, July 24, 2006 12:44 PM
>> Subject: [Axis2] PortType Stub and Skeleton not being build
>>
>>
>>
>>> This has got to be something I am consistently doing wrong.
>>>
>>> I have tried this with the Axis2SampleDoclit sample, an Ask, and an
>>> OnlineBanking sample from the IBM tutorials for using Axis2. In none of
>>> these cases does the PortTypeStub or PortTypeSkeleton get generated.
>>>
>>> I am also using the supplied bat file for wsdl2java so it generates the
>>> local classpath of axis2 jars.
>>>
>>> I appreciate any help on this.
>>>
>>> Thanks,
>>> Walt
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: [Axis2] PortType Stub and Skeleton not being build
Posted by Walt <ju...@comcast.net>.
Hi Martin,
I have no clue. What is axis-2_1? It appears you are getting further
than I got. Are you executing the supplied wsdl2java.bat? Oh, are you
running with a self built version?I am getting really frustrated with
this as I have tried several different wsdl files and not a one of them
generates (emits) the PortType classes. It looks like others have
gotten past this but perhaps they are using ADB rather than xmlbeans. I
sure hope they actually tested these samples.
Walt
Martin Gainty wrote:
> Walt-
> Here is what I got thus far
>
> C:\AXIS\Axis-2_1\samples\wsdl>java -classpath C:\AXIS\Axis-2_1\src\modules\java2
> wsdl\target\classes;C:\commons-policy\policy-1.0-bin\lib\policy-1.0.jar;C:\commo
> ns\logging\commons-logging-1.0.4\commons-logging-api.jar;C:\AXIS\Axis-2_1\src\mo
> dules\core\target\classes;C:\WSDL4J\wsdl4j-1_4\lib\wsdl4j.jar;C:\AXIS\Axis-2_1\l
> ib;C:\commons-logging\commons-logging-1.0.4\commons-logging.jar;C:\AXIS\AXIS-2_1
> \src\modules\common\target\classes;C:\AXIS\Axis-2_1\src\modules\codegen\target\c
> lasses org.apache.axis2.wsdl.WSDL2Java -uri file:///AXIS/Axis-2_1/samples/wsdl/A
> xis2SampleDocLit.wsdl
>
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/schema/Schema
>
> Any clue as to where this lives??
> M--
> *********************************************************************
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed. If you have received this email message in error, please notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
>
>
> ----- Original Message -----
> From: "Walt" <ju...@comcast.net>
> To: <ax...@ws.apache.org>
> Sent: Monday, July 24, 2006 12:44 PM
> Subject: [Axis2] PortType Stub and Skeleton not being build
>
>
>
>> This has got to be something I am consistently doing wrong.
>>
>> I have tried this with the Axis2SampleDoclit sample, an Ask, and an
>> OnlineBanking sample from the IBM tutorials for using Axis2. In none of
>> these cases does the PortTypeStub or PortTypeSkeleton get generated.
>>
>> I am also using the supplied bat file for wsdl2java so it generates the
>> local classpath of axis2 jars.
>>
>> I appreciate any help on this.
>>
>> Thanks,
>> Walt
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] PortType Stub and Skeleton not being build
Posted by Martin Gainty <mg...@hotmail.com>.
Walt-
Here is what I got thus far
C:\AXIS\Axis-2_1\samples\wsdl>java -classpath C:\AXIS\Axis-2_1\src\modules\java2
wsdl\target\classes;C:\commons-policy\policy-1.0-bin\lib\policy-1.0.jar;C:\commo
ns\logging\commons-logging-1.0.4\commons-logging-api.jar;C:\AXIS\Axis-2_1\src\mo
dules\core\target\classes;C:\WSDL4J\wsdl4j-1_4\lib\wsdl4j.jar;C:\AXIS\Axis-2_1\l
ib;C:\commons-logging\commons-logging-1.0.4\commons-logging.jar;C:\AXIS\AXIS-2_1
\src\modules\common\target\classes;C:\AXIS\Axis-2_1\src\modules\codegen\target\c
lasses org.apache.axis2.wsdl.WSDL2Java -uri file:///AXIS/Axis-2_1/samples/wsdl/A
xis2SampleDocLit.wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/schema/Schema
Any clue as to where this lives??
M--
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Walt" <ju...@comcast.net>
To: <ax...@ws.apache.org>
Sent: Monday, July 24, 2006 12:44 PM
Subject: [Axis2] PortType Stub and Skeleton not being build
> This has got to be something I am consistently doing wrong.
>
> I have tried this with the Axis2SampleDoclit sample, an Ask, and an
> OnlineBanking sample from the IBM tutorials for using Axis2. In none of
> these cases does the PortTypeStub or PortTypeSkeleton get generated.
>
> I am also using the supplied bat file for wsdl2java so it generates the
> local classpath of axis2 jars.
>
> I appreciate any help on this.
>
> Thanks,
> Walt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>