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 "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL> on 2007/06/26 17:55:31 UTC
[U] [Axis2] useOriginalWsdl
UNCLASSIFIED////
How does the useOriginalWsdl setting work?
If I set this to true, the <service endpoint>?wsdl convention returns an
error that axis is unable to generate the wsdl. Since I am working
contract first and have provided my WSDL to the consumers, I would like
to preserve the WSDL I constructed.
Do I need to ensure my WSDL is in a specific path within the AAR?
Thanks,
Jamie
UNCLASSIFIED////
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [U] RE: [Axis2] useOriginalWsdl
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Ridgway,
If you are using Axis2 nightly builds it had an issue with
userOriginalWsdl. I have fixed the issue and commit the changes today
(27/06/2007)
Thanks
Deepal
> UNCLASSIFIED////
>
>
> Yes.
>
> I am using spring so my AAR file only contains (all under meta-inf/) :
>
> Wsdl file
> Schema files
> Services.xml
>
> If I list the services, I see my service as active and all of the
> operations are listed. I just can't pull up the wsdl.
>
> Thanks,
> Jamie
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [U] RE: [Axis2] useOriginalWsdl
Posted by Alex Dickinson <al...@redback.com>.
The parameter name is case sensitive. Try using "useOriginalwsdl"
instead of "useOriginalWsdl"
Hope it helps,
Alex
Ridgway, Jamie Mr CONT USAAC wrote:
> UNCLASSIFIED////
>
>
> Yes.
>
> I am using spring so my AAR file only contains (all under meta-inf/) :
>
> Wsdl file
> Schema files
> Services.xml
>
> If I list the services, I see my service as active and all of the
> operations are listed. I just can't pull up the wsdl.
>
> Thanks,
> Jamie
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Tuesday, June 26, 2007 12:14 PM
> To: axis-user@ws.apache.org
> Subject: Re: [U] [Axis2] useOriginalWsdl
>
> Did you drop the original wsdl into your aar? under META-INF?
>
> thanks,
> dims
>
> On 6/26/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
> wrote:
>> UNCLASSIFIED////
>>
>>
>> How does the useOriginalWsdl setting work?
>>
>> If I set this to true, the <service endpoint>?wsdl convention returns
>> an error that axis is unable to generate the wsdl. Since I am working
>> contract first and have provided my WSDL to the consumers, I would
>> like to preserve the WSDL I constructed.
>>
>> Do I need to ensure my WSDL is in a specific path within the AAR?
>>
>> Thanks,
>> Jamie
>> UNCLASSIFIED////
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
> UNCLASSIFIED////
>
> ---------------------------------------------------------------------
> 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
[U] RE: [Axis2] useOriginalWsdl
Posted by "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL>.
UNCLASSIFIED////
Yes.
I am using spring so my AAR file only contains (all under meta-inf/) :
Wsdl file
Schema files
Services.xml
If I list the services, I see my service as active and all of the
operations are listed. I just can't pull up the wsdl.
Thanks,
Jamie
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Tuesday, June 26, 2007 12:14 PM
To: axis-user@ws.apache.org
Subject: Re: [U] [Axis2] useOriginalWsdl
Did you drop the original wsdl into your aar? under META-INF?
thanks,
dims
On 6/26/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
wrote:
> UNCLASSIFIED////
>
>
> How does the useOriginalWsdl setting work?
>
> If I set this to true, the <service endpoint>?wsdl convention returns
> an error that axis is unable to generate the wsdl. Since I am working
> contract first and have provided my WSDL to the consumers, I would
> like to preserve the WSDL I constructed.
>
> Do I need to ensure my WSDL is in a specific path within the AAR?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
UNCLASSIFIED////
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Cant build quickstartxmlbeans in SNAPSHOT
Posted by Kjell Nilsson <kj...@oops.se>.
I had put the XBeans-packaged.jar in the /lib folder. When
I took it away it started working.
So now here i my question.
What is this CBeans-packaged.jar and what do you use it
for?
Glad for some help
--kjell
"Kjell Nilsson" <kj...@oops.se> wrote:
>Sry for following up my own post but..
>
>I changed java version to C:\Program\Devenv\jdk1.5.0_01
>
>and the problem I encountered was gone. Now I can build
>the service, but when I run it in a standalone server its
>only the 'update' operation that works. The 'getPrice'
>operation gives an exception.
>
>2007-jun-27 11:47:05
>org.apache.axis2.receivers.AbstractMessageReceiver
>receive
>ALLVARLIG: org.apache.axis2.AxisFault:
>org.apache.xmlbeans.impl.values.XmlComple
>xContentImpl
>
>Sigh...
>
>--kjell
>
>
>
>"Kjell Nilsson" <kj...@oops.se> wrote:
>>Hi
>>I just downloaded the latest snapshot and tried to build
>>the sample quickstartxmlbeans. But it would not even
>>build.
>>
>>I have had this problem with some snapshots before since
>>20070618
>>
>>Are there more people having this problem.
>>
>>Im using java j2sdk1.4.1_05
>>
>>Here is the output:
>>
>>
>>C:\>cd %axis2_home%
>>
>>C:\Program\Devenv\axis2-SNAPSHOT>cd
>>samples\quickstartxmlbeans
>>
>>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans>dir
>> Volymen i enhet C har ingen etikett.
>> Volymens serienummer är 548B-A79D
>>
>> Innehåll i katalogen
>>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbean
>>s
>>
>>2007-06-27 10:52 <KAT> .
>>2007-06-27 10:52 <KAT> ..
>>2007-06-18 02:36 3 226 build.xml
>>2007-06-18 02:35 1 022 README.txt
>>2007-06-27 08:50 <KAT> resources
>>2007-06-27 08:50 <KAT> src
>> 2 fil(er) 4 248 byte
>> 4 katalog(er) 25 446 793 216 byte ledigt
>>
>>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans>ant
>>generate.service
>>
>>Buildfile: build.xml
>>
>>init:
>> [mkdir] Created dir:
>>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlb
>>eans\build
>> [mkdir] Created dir:
>>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlb
>>eans\build\service
>>
>>generate.service:
>>
>>BUILD FAILED
>>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans\build.xml:40:
>>java.l
>>ang.NoSuchMethodError:
>>org.w3c.dom.Document.getInputEncoding()Ljava/lang/String;
>>
>>
>>Total time: 1 second
>>C:\Program\Devenv\axis2\SNAPSHOT\samples\quickstartxmlbeans>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail:
>>axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail:
>>axis-user-help@ws.apache.org
>>
>
>--kjell
>Kjell Nilsson
>Oops Ab
>www.oops.se
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
>axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail:
>axis-user-help@ws.apache.org
>
--kjell
Kjell Nilsson
Oops Ab
www.oops.se
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Cant build quickstartxmlbeans in SNAPSHOT
Posted by Kjell Nilsson <kj...@oops.se>.
Sry for following up my own post but..
I changed java version to C:\Program\Devenv\jdk1.5.0_01
and the problem I encountered was gone. Now I can build
the service, but when I run it in a standalone server its
only the 'update' operation that works. The 'getPrice'
operation gives an exception.
2007-jun-27 11:47:05
org.apache.axis2.receivers.AbstractMessageReceiver receive
ALLVARLIG: org.apache.axis2.AxisFault:
org.apache.xmlbeans.impl.values.XmlComple
xContentImpl
Sigh...
--kjell
"Kjell Nilsson" <kj...@oops.se> wrote:
>Hi
>I just downloaded the latest snapshot and tried to build
>the sample quickstartxmlbeans. But it would not even
>build.
>
>I have had this problem with some snapshots before since
>20070618
>
>Are there more people having this problem.
>
>Im using java j2sdk1.4.1_05
>
>Here is the output:
>
>
>C:\>cd %axis2_home%
>
>C:\Program\Devenv\axis2-SNAPSHOT>cd
>samples\quickstartxmlbeans
>
>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans>dir
> Volymen i enhet C har ingen etikett.
> Volymens serienummer är 548B-A79D
>
> Innehåll i katalogen
>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbean
>s
>
>2007-06-27 10:52 <KAT> .
>2007-06-27 10:52 <KAT> ..
>2007-06-18 02:36 3 226 build.xml
>2007-06-18 02:35 1 022 README.txt
>2007-06-27 08:50 <KAT> resources
>2007-06-27 08:50 <KAT> src
> 2 fil(er) 4 248 byte
> 4 katalog(er) 25 446 793 216 byte ledigt
>
>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans>ant
>generate.service
>
>Buildfile: build.xml
>
>init:
> [mkdir] Created dir:
>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlb
>eans\build
> [mkdir] Created dir:
>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlb
>eans\build\service
>
>generate.service:
>
>BUILD FAILED
>C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans\build.xml:40:
>java.l
>ang.NoSuchMethodError:
>org.w3c.dom.Document.getInputEncoding()Ljava/lang/String;
>
>
>Total time: 1 second
>C:\Program\Devenv\axis2\SNAPSHOT\samples\quickstartxmlbeans>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
>axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail:
>axis-user-help@ws.apache.org
>
--kjell
Kjell Nilsson
Oops Ab
www.oops.se
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Cant build quickstartxmlbeans in SNAPSHOT
Posted by Kjell Nilsson <kj...@oops.se>.
Hi
I just downloaded the latest snapshot and tried to build
the sample quickstartxmlbeans. But it would not even
build.
I have had this problem with some snapshots before since
20070618
Are there more people having this problem.
Im using java j2sdk1.4.1_05
Here is the output:
C:\>cd %axis2_home%
C:\Program\Devenv\axis2-SNAPSHOT>cd
samples\quickstartxmlbeans
C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans>dir
Volymen i enhet C har ingen etikett.
Volymens serienummer är 548B-A79D
Innehåll i katalogen
C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbean
s
2007-06-27 10:52 <KAT> .
2007-06-27 10:52 <KAT> ..
2007-06-18 02:36 3 226 build.xml
2007-06-18 02:35 1 022 README.txt
2007-06-27 08:50 <KAT> resources
2007-06-27 08:50 <KAT> src
2 fil(er) 4 248 byte
4 katalog(er) 25 446 793 216 byte ledigt
C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans>ant
generate.service
Buildfile: build.xml
init:
[mkdir] Created dir:
C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlb
eans\build
[mkdir] Created dir:
C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlb
eans\build\service
generate.service:
BUILD FAILED
C:\Program\Devenv\axis2-SNAPSHOT\samples\quickstartxmlbeans\build.xml:40:
java.l
ang.NoSuchMethodError:
org.w3c.dom.Document.getInputEncoding()Ljava/lang/String;
Total time: 1 second
C:\Program\Devenv\axis2\SNAPSHOT\samples\quickstartxmlbeans>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
[U] RE: [Axis2] useOriginalWsdl
Posted by "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL>.
UNCLASSIFIED////
Thanks Haneef. This did the trick. I now get my WSDL as I expected.
-----Original Message-----
From: Ali, Haneef [mailto:haneef.ali@hp.com]
Sent: Tuesday, June 26, 2007 12:48 PM
To: axis-user@ws.apache.org
Subject: RE: [U] [Axis2] useOriginalWsdl
If you are deploying in application servers like weblogic create a file
called wsdl.list and add the name of the wsdl to it. The wsdl along with
wsdl.list should be in meta-inf of your service archive file. I don't
think you can find any documentation for this. You need to debug to
figure this out.
Thanks,
Haneef
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Tuesday, June 26, 2007 9:14 AM
To: axis-user@ws.apache.org
Subject: Re: [U] [Axis2] useOriginalWsdl
Did you drop the original wsdl into your aar? under META-INF?
thanks,
dims
On 6/26/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
wrote:
> UNCLASSIFIED////
>
>
> How does the useOriginalWsdl setting work?
>
> If I set this to true, the <service endpoint>?wsdl convention returns
> an error that axis is unable to generate the wsdl. Since I am working
> contract first and have provided my WSDL to the consumers, I would
> like to preserve the WSDL I constructed.
>
> Do I need to ensure my WSDL is in a specific path within the AAR?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
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
UNCLASSIFIED////
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
[U] RE: [Axis2] useOriginalWsdl
Posted by "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL>.
UNCLASSIFIED////
Thanks. I am deploying to weblogic. I'll try this.
-----Original Message-----
From: Ali, Haneef [mailto:haneef.ali@hp.com]
Sent: Tuesday, June 26, 2007 12:48 PM
To: axis-user@ws.apache.org
Subject: RE: [U] [Axis2] useOriginalWsdl
If you are deploying in application servers like weblogic create a file
called wsdl.list and add the name of the wsdl to it. The wsdl along with
wsdl.list should be in meta-inf of your service archive file. I don't
think you can find any documentation for this. You need to debug to
figure this out.
Thanks,
Haneef
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Tuesday, June 26, 2007 9:14 AM
To: axis-user@ws.apache.org
Subject: Re: [U] [Axis2] useOriginalWsdl
Did you drop the original wsdl into your aar? under META-INF?
thanks,
dims
On 6/26/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
wrote:
> UNCLASSIFIED////
>
>
> How does the useOriginalWsdl setting work?
>
> If I set this to true, the <service endpoint>?wsdl convention returns
> an error that axis is unable to generate the wsdl. Since I am working
> contract first and have provided my WSDL to the consumers, I would
> like to preserve the WSDL I constructed.
>
> Do I need to ensure my WSDL is in a specific path within the AAR?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
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
UNCLASSIFIED////
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: [U] [Axis2] useOriginalWsdl
Posted by "Ali, Haneef" <ha...@hp.com>.
If you are deploying in application servers like weblogic create a file
called wsdl.list and add the name of the wsdl to it. The wsdl along with
wsdl.list should be in meta-inf of your service archive file. I don't
think you can find any documentation for this. You need to debug to
figure this out.
Thanks,
Haneef
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Tuesday, June 26, 2007 9:14 AM
To: axis-user@ws.apache.org
Subject: Re: [U] [Axis2] useOriginalWsdl
Did you drop the original wsdl into your aar? under META-INF?
thanks,
dims
On 6/26/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
wrote:
> UNCLASSIFIED////
>
>
> How does the useOriginalWsdl setting work?
>
> If I set this to true, the <service endpoint>?wsdl convention returns
> an error that axis is unable to generate the wsdl. Since I am working
> contract first and have provided my WSDL to the consumers, I would
> like to preserve the WSDL I constructed.
>
> Do I need to ensure my WSDL is in a specific path within the AAR?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
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: [U] [Axis2] useOriginalWsdl
Posted by Davanum Srinivas <da...@gmail.com>.
Did you drop the original wsdl into your aar? under META-INF?
thanks,
dims
On 6/26/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil> wrote:
> UNCLASSIFIED////
>
>
> How does the useOriginalWsdl setting work?
>
> If I set this to true, the <service endpoint>?wsdl convention returns an
> error that axis is unable to generate the wsdl. Since I am working
> contract first and have provided my WSDL to the consumers, I would like
> to preserve the WSDL I constructed.
>
> Do I need to ensure my WSDL is in a specific path within the AAR?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org