RE: Simple scenario not working

2007-12-10 Thread Hoda, Nadeem [USA]
 
Yes it does. 



From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 12:31 PM
To: axis-user@ws.apache.org
Subject: Re: Simple scenario not working




On Dec 10, 2007 1:50 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:


 
Thanks Amila. 
 
I've been trying to find a baseline as to where it is failing
for me. I was able to confirm that the service, as is, works with Tomcat
5.5, Axis2 1.3.
 
But it fails, as is, on oc4j 10.1.3 with the following error:


Does this server extract the war file or not?  Like in tomcat. 



 
[INFO] Trouble processing wsdl file :Could not create URL from
'META-INF/LookupWS.wsdl' and 'xsd0.xsd'
[INFO] Deploying Web service: LookupWS.aar
 
with the wsdl message: 
 

  Unable to generate WSDL 1.1 for this
service 
  If you wish Axis2 to automatically generate the WSDL
1.1, then please +set useOriginalwsdl as false in your
services.xml 


Any suggestions?
 
My target env is jdk1.4, but the service isn't working with jdk5
yet.
 
Thanks for the help, 
 
Nadeem
 




From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 

Sent: Friday, December 07, 2007 12:24 PM 

To: axis-user@ws.apache.org
        Subject: Re: Simple scenario not working


hi,
try to use the following command
sh wsdl2java.sh -uri LookupWS.wsdl -ss -sd -g -u -uw

and use the generated build.xml to create the .aar file.

this worked fine for me with the current code base.
Please have a look at with a nighly build.

thanks,
Amila.


On Dec 6, 2007 6:49 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]>
wrote:


 
Here it is. 
 
Please note, as previously mentioned, this WSDL was
generated by jibx2wsdl, and I used the produced text wsdl without
binding.
 
Thanks, 
 
Nadeem



From: Amila Suriarachchi
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 06, 2007 5:13 PM 

To: axis-user@ws.apache.org
            Subject: Re: Simple scenario not working


Can you send your wsdl?


On Dec 6, 2007 6:17 PM, Upul Godage
<[EMAIL PROTECTED]> wrote:


Hi,

Have you put the original LookupWS.wsdl in the
META-INF directory of the .aar?

Upul 


On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] <
[EMAIL PROTECTED] > wrote:



All,

I am using a WSDL to create an Axis2
service.

I used the command (I tried both adb and
xmlbeans databinding): 

wsdl2java -uri LookupWS.wsdl -o lookup
-p org.lookup.test -d adb -s -ss
-ssi -sd -g -Ew false -ns2p

Then I built the service (aar file) and
deployed with no errors. Then, I
get the following error:

   
   Unable to
generate WSDL 1.1 for this
service
   If you wish Axis2
to automatically generate the
WSDL 1.1, then
   please +set
useOriginalwsdl as false in your
services.xml
   

In this case, I DO want to use the
original WSDL. Is there a
config/parameter/setting value that I am
missing? 

Also, how do I debug further as there
are no log/error messages beyond
the above error.

I am using JDK1.4, oc4j 10.1.3, and
Axis2 1.3.

The plain text WSDL (without binding)
was generated by jibx2wsdl. 
 

Re: Simple scenario not working

2007-12-10 Thread Amila Suriarachchi
On Dec 10, 2007 1:50 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:

>
> Thanks Amila.
>
> I've been trying to find a baseline as to where it is failing for me. I
> was able to confirm that the service, as is, works with Tomcat 5.5, Axis2
> 1.3.
>
> But it fails, as is, on oc4j 10.1.3 with the following error:
>

Does this server extract the war file or not?  Like in tomcat.

>
> [INFO] Trouble processing wsdl file :Could not create URL from
> 'META-INF/LookupWS.wsdl' and 'xsd0.xsd'
> [INFO] Deploying Web service: LookupWS.aar
>
> with the wsdl message:
>
> 
>   Unable to generate WSDL 1.1 for this service
>   If you wish Axis2 to automatically generate the WSDL 1.1, then
> please +set useOriginalwsdl as false in your services.xml
> 
> Any suggestions?
>
> My target env is jdk1.4, but the service isn't working with jdk5 yet.
>
> Thanks for the help,
>
> Nadeem
>
>
>  --
> *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED]
> *Sent:* Friday, December 07, 2007 12:24 PM
>
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Simple scenario not working
>
> hi,
> try to use the following command
> sh wsdl2java.sh -uri LookupWS.wsdl -ss -sd -g -u -uw
>
> and use the generated build.xml to create the .aar file.
>
> this worked fine for me with the current code base.
> Please have a look at with a nighly build.
>
> thanks,
> Amila.
>
> On Dec 6, 2007 6:49 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:
>
> >
> > Here it is.
> >
> > Please note, as previously mentioned, this WSDL was generated by
> > jibx2wsdl, and I used the produced text wsdl without binding.
> >
> > Thanks,
> >
> > Nadeem
> >
> >  --
> > *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED]
> > *Sent:* Thursday, December 06, 2007 5:13 PM
> > *To:* axis-user@ws.apache.org
> > *Subject:* Re: Simple scenario not working
> >
> >   Can you send your wsdl?
> >
> > On Dec 6, 2007 6:17 PM, Upul Godage <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >
> > > Have you put the original LookupWS.wsdl in the META-INF directory of
> > > the .aar?
> > >
> > > Upul
> > >
> > >
> > > On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] < [EMAIL PROTECTED] >
> > > wrote:
> > >
> > > >
> > > > All,
> > > >
> > > > I am using a WSDL to create an Axis2 service.
> > > >
> > > > I used the command (I tried both adb and xmlbeans databinding):
> > > >
> > > > wsdl2java -uri LookupWS.wsdl -o lookup -p org.lookup.test -d adb -s
> > > > -ss
> > > > -ssi -sd -g -Ew false -ns2p
> > > >
> > > > Then I built the service (aar file) and deployed with no errors.
> > > > Then, I
> > > > get the following error:
> > > >
> > > >
> > > >Unable to generate WSDL 1.1 for this
> > > > service
> > > >If you wish Axis2 to automatically generate
> > > > the
> > > > WSDL 1.1, then
> > > >please +set useOriginalwsdl as false in your
> > > > services.xml
> > > >
> > > >
> > > > In this case, I DO want to use the original WSDL. Is there a
> > > > config/parameter/setting value that I am missing?
> > > >
> > > > Also, how do I debug further as there are no log/error messages
> > > > beyond
> > > > the above error.
> > > >
> > > > I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.
> > > >
> > > > The plain text WSDL (without binding) was generated by jibx2wsdl.
> > > >
> > > > Thanks,
> > > >
> > > > Nadeem
> > > >
> > > > services.xml:
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > >http://www.w3.org/ns/wsdl/in-out";
> > > > class="org.lookup.test.LookupWSMessageReceiverInOut"/>
> > > >
> > > > > > > name="ServiceClass">org.lookup.test.LookupWSSkeleton 
> > > >true
> > > >true
> > > > > > > mep="http://www.w3.org/ns/wsdl/in-out";>
> > > >urn:getAttachmentTyp

RE: Simple scenario not working

2007-12-10 Thread Hoda, Nadeem [USA]
 
Thanks Amila. 
 
I've been trying to find a baseline as to where it is failing for me. I
was able to confirm that the service, as is, works with Tomcat 5.5,
Axis2 1.3.
 
But it fails, as is, on oc4j 10.1.3 with the following error: 
 
[INFO] Trouble processing wsdl file :Could not create URL from
'META-INF/LookupWS.wsdl' and 'xsd0.xsd'
[INFO] Deploying Web service: LookupWS.aar
 
with the wsdl message: 
 

  Unable to generate WSDL 1.1 for this
service 
  If you wish Axis2 to automatically generate the WSDL 1.1, then
please +set useOriginalwsdl as false in your services.xml 


Any suggestions?
 
My target env is jdk1.4, but the service isn't working with jdk5 yet.
 
Thanks for the help, 
 
Nadeem
 



From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 07, 2007 12:24 PM
To: axis-user@ws.apache.org
Subject: Re: Simple scenario not working


hi,
try to use the following command
sh wsdl2java.sh -uri LookupWS.wsdl -ss -sd -g -u -uw

and use the generated build.xml to create the .aar file.

this worked fine for me with the current code base.
Please have a look at with a nighly build.

thanks,
Amila.


On Dec 6, 2007 6:49 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:


 
Here it is. 
 
Please note, as previously mentioned, this WSDL was generated by
jibx2wsdl, and I used the produced text wsdl without binding.
 
Thanks, 
 
Nadeem



From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 06, 2007 5:13 PM 

To: axis-user@ws.apache.org
        Subject: Re: Simple scenario not working


Can you send your wsdl?


On Dec 6, 2007 6:17 PM, Upul Godage <[EMAIL PROTECTED]> wrote:


Hi,

Have you put the original LookupWS.wsdl in the META-INF
directory of the .aar?

Upul 


On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] <
[EMAIL PROTECTED] > wrote:



All,

I am using a WSDL to create an Axis2 service.

I used the command (I tried both adb and
xmlbeans databinding): 

wsdl2java -uri LookupWS.wsdl -o lookup -p
org.lookup.test -d adb -s -ss
-ssi -sd -g -Ew false -ns2p

Then I built the service (aar file) and deployed
with no errors. Then, I
get the following error:

   
   Unable to generate
WSDL 1.1 for this
service
   If you wish Axis2 to
automatically generate the
WSDL 1.1, then
   please +set useOriginalwsdl as
false in your
services.xml
   

In this case, I DO want to use the original
WSDL. Is there a
config/parameter/setting value that I am
missing? 

Also, how do I debug further as there are no
log/error messages beyond
the above error.

I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.

The plain text WSDL (without binding) was
generated by jibx2wsdl. 

Thanks,

Nadeem

services.xml:





   
   
   http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "

class="org.lookup.test.LookupWSMessageReceiverInOut"/>
   
   org.lookup.test.LookupWSSkeleton 
   true
   true
   http://www.w3.org/ns/wsdl/in-out";>

urn:getAttachmentTypes


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse>  
   
   http://www.w3.org/ns/wsdl/in-out";>

urn:getCities 
   

Re: Simple scenario not working

2007-12-07 Thread Amila Suriarachchi
hi,
try to use the following command
sh wsdl2java.sh -uri LookupWS.wsdl -ss -sd -g -u -uw

and use the generated build.xml to create the .aar file.

this worked fine for me with the current code base.
Please have a look at with a nighly build.

thanks,
Amila.

On Dec 6, 2007 6:49 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:

>
> Here it is.
>
> Please note, as previously mentioned, this WSDL was generated by
> jibx2wsdl, and I used the produced text wsdl without binding.
>
> Thanks,
>
> Nadeem
>
>  --
> *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, December 06, 2007 5:13 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Simple scenario not working
>
> Can you send your wsdl?
>
> On Dec 6, 2007 6:17 PM, Upul Godage <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > Have you put the original LookupWS.wsdl in the META-INF directory of the
> > .aar?
> >
> > Upul
> >
> >
> > On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] < [EMAIL PROTECTED] >
> > wrote:
> >
> > >
> > > All,
> > >
> > > I am using a WSDL to create an Axis2 service.
> > >
> > > I used the command (I tried both adb and xmlbeans databinding):
> > >
> > > wsdl2java -uri LookupWS.wsdl -o lookup -p org.lookup.test -d adb -s
> > > -ss
> > > -ssi -sd -g -Ew false -ns2p
> > >
> > > Then I built the service (aar file) and deployed with no errors. Then,
> > > I
> > > get the following error:
> > >
> > >
> > >Unable to generate WSDL 1.1 for this
> > > service
> > >If you wish Axis2 to automatically generate the
> > > WSDL 1.1, then
> > >please +set useOriginalwsdl as false in your
> > > services.xml
> > >
> > >
> > > In this case, I DO want to use the original WSDL. Is there a
> > > config/parameter/setting value that I am missing?
> > >
> > > Also, how do I debug further as there are no log/error messages beyond
> > > the above error.
> > >
> > > I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.
> > >
> > > The plain text WSDL (without binding) was generated by jibx2wsdl.
> > >
> > > Thanks,
> > >
> > > Nadeem
> > >
> > > services.xml:
> > >
> > > 
> > > 
> > > 
> > > 
> > >
> > >
> > >http://www.w3.org/ns/wsdl/in-out";
> > > class="org.lookup.test.LookupWSMessageReceiverInOut"/>
> > >
> > > > > name="ServiceClass">org.lookup.test.LookupWSSkeleton 
> > >true
> > >true
> > > > > mep="http://www.w3.org/ns/wsdl/in-out";>
> > >urn:getAttachmentTypes
> > >
> > > 
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getAttachmentTypesResponse
> > >
> > > > > mep="http://www.w3.org/ns/wsdl/in-out";>
> > >urn:getCities
> > >
> > > 
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getCitiesResponse 
> > >
> > > > > mep="http://www.w3.org/ns/wsdl/in-out ">
> > >urn:getCountries
> > >
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getCountriesResponse
> > >
> > > > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> > >urn:getDeliveryMethods
> > >
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getDeliveryMethodsResponse
> > >
> > > > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> > >urn:getEmirates
> > >
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getEmiratesResponse
> > >
> > > > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> > >urn:getFishingMethods
> > >
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getFishingMethodsResponse
> > >
> > > > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> > >urn:getGenders
> > >
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getGendersResponse
> > >
> > >
> > > 
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-- 
Amila Suriarachchi,
WSO2 Inc.


RE: Simple scenario not working

2007-12-06 Thread Hoda, Nadeem [USA]
 
Here it is. 
 
Please note, as previously mentioned, this WSDL was generated by
jibx2wsdl, and I used the produced text wsdl without binding.
 
Thanks, 
 
Nadeem



From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 06, 2007 5:13 PM
To: axis-user@ws.apache.org
Subject: Re: Simple scenario not working


Can you send your wsdl?


On Dec 6, 2007 6:17 PM, Upul Godage <[EMAIL PROTECTED]> wrote:


Hi,

Have you put the original LookupWS.wsdl in the META-INF
directory of the .aar?

Upul 


On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] < [EMAIL PROTECTED]
> wrote:



All,

I am using a WSDL to create an Axis2 service.

I used the command (I tried both adb and xmlbeans
databinding): 

wsdl2java -uri LookupWS.wsdl -o lookup -p
org.lookup.test -d adb -s -ss
-ssi -sd -g -Ew false -ns2p

Then I built the service (aar file) and deployed with no
errors. Then, I
get the following error:

   
   Unable to generate WSDL 1.1
for this
service
   If you wish Axis2 to
automatically generate the
WSDL 1.1, then
   please +set useOriginalwsdl as false in
your
services.xml
   

In this case, I DO want to use the original WSDL. Is
there a
config/parameter/setting value that I am missing? 

Also, how do I debug further as there are no log/error
messages beyond
the above error.

I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.

The plain text WSDL (without binding) was generated by
jibx2wsdl. 

Thanks,

Nadeem

services.xml:





   
   
   http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "
class="org.lookup.test.LookupWSMessageReceiverInOut"/>
   
   org.lookup.test.LookupWSSkeleton

   true
   true
   http://www.w3.org/ns/wsdl/in-out";>

urn:getAttachmentTypes

 
http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse>  
   
   http://www.w3.org/ns/wsdl/in-out";>
   urn:getCities 


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getCitiesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCitiesRes
ponse>  
   
   http://www.w3.org/ns/wsdl/in-out ">

urn:getCountries

 
http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getCountriesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCountries
Response> 
   
   http://www.w3.org/ns/wsdl/in-out";>

urn:getDeliveryMethods

 
http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getDeliveryMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getDeliveryM
ethodsResponse> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">

urn:getEmirates

 
http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getEmiratesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getEmiratesR
esponse> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">

urn:getFishingMethods

 
http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getFishingMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getFishingMe
thodsResponse> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
   urn:getGenders

 
http://g

Re: Simple scenario not working

2007-12-06 Thread Amila Suriarachchi
Can you send your wsdl?

On Dec 6, 2007 6:17 PM, Upul Godage <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Have you put the original LookupWS.wsdl in the META-INF directory of the
> .aar?
>
> Upul
>
>
> On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED] > wrote:
>
> >
> > All,
> >
> > I am using a WSDL to create an Axis2 service.
> >
> > I used the command (I tried both adb and xmlbeans databinding):
> >
> > wsdl2java -uri LookupWS.wsdl -o lookup -p org.lookup.test -d adb -s -ss
> > -ssi -sd -g -Ew false -ns2p
> >
> > Then I built the service (aar file) and deployed with no errors. Then, I
> > get the following error:
> >
> >
> >Unable to generate WSDL 1.1 for this
> > service
> >If you wish Axis2 to automatically generate the
> > WSDL 1.1, then
> >please +set useOriginalwsdl as false in your
> > services.xml
> >
> >
> > In this case, I DO want to use the original WSDL. Is there a
> > config/parameter/setting value that I am missing?
> >
> > Also, how do I debug further as there are no log/error messages beyond
> > the above error.
> >
> > I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.
> >
> > The plain text WSDL (without binding) was generated by jibx2wsdl.
> >
> > Thanks,
> >
> > Nadeem
> >
> > services.xml:
> >
> > 
> > 
> > 
> > 
> >
> >
> >http://www.w3.org/ns/wsdl/in-out";
> > class="org.lookup.test.LookupWSMessageReceiverInOut"/>
> >
> > > name="ServiceClass">org.lookup.test.LookupWSSkeleton 
> >true
> >true
> > > mep="http://www.w3.org/ns/wsdl/in-out";>
> >urn:getAttachmentTypes
> >
> > 
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getAttachmentTypesResponse
> >
> > > mep="http://www.w3.org/ns/wsdl/in-out";>
> >urn:getCities
> >
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getCitiesResponse 
> >
> > > mep="http://www.w3.org/ns/wsdl/in-out ">
> >urn:getCountries
> >
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getCountriesResponse
> >
> > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> >urn:getDeliveryMethods
> >
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getDeliveryMethodsResponse
> >
> > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> >urn:getEmirates
> >
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getEmiratesResponse
> >
> > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> >urn:getFishingMethods
> >
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getFishingMethodsResponse
> >
> > > mep=" http://www.w3.org/ns/wsdl/in-out";>
> >urn:getGenders
> >
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getGendersResponse
> >
> >
> > 
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


-- 
Amila Suriarachchi,
WSO2 Inc.


RE: Simple scenario not working

2007-12-06 Thread Hoda, Nadeem [USA]
 
Yes, I verified that.
 
Does the error message indicate that it can't find the WSDL or that it
doesn't like the WSDL or something else?
 
Thanks, 
 
Nadeem



From: Upul Godage [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 06, 2007 4:48 PM
To: axis-user@ws.apache.org
Subject: Re: Simple scenario not working


Hi,

Have you put the original LookupWS.wsdl in the META-INF directory of the
.aar?

Upul


On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED] > wrote:



All,

I am using a WSDL to create an Axis2 service.

I used the command (I tried both adb and xmlbeans databinding): 

wsdl2java -uri LookupWS.wsdl -o lookup -p org.lookup.test -d adb
-s -ss
-ssi -sd -g -Ew false -ns2p

Then I built the service (aar file) and deployed with no errors.
Then, I
get the following error:

   
   Unable to generate WSDL 1.1 for this
service
   If you wish Axis2 to automatically
generate the
WSDL 1.1, then
   please +set useOriginalwsdl as false in your
services.xml
   

In this case, I DO want to use the original WSDL. Is there a
config/parameter/setting value that I am missing? 

Also, how do I debug further as there are no log/error messages
beyond
the above error.

I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.

The plain text WSDL (without binding) was generated by
jibx2wsdl. 

Thanks,

Nadeem

services.xml:





   
   
   http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "
class="org.lookup.test.LookupWSMessageReceiverInOut"/>
   
   org.lookup.test.LookupWSSkeleton

   true
   true
   http://www.w3.org/ns/wsdl/in-out";>
   urn:getAttachmentTypes


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse>  
   
   http://www.w3.org/ns/wsdl/in-out";>
   urn:getCities 


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getCitiesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCitiesRes
ponse>  
   
   http://www.w3.org/ns/wsdl/in-out ">
   urn:getCountries


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getCountriesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCountries
Response> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
   urn:getDeliveryMethods


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getDeliveryMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getDeliveryM
ethodsResponse> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
   urn:getEmirates


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getEmiratesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getEmiratesR
esponse> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
   urn:getFishingMethods


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getFishingMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getFishingMe
thodsResponse> 
   
   http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
   urn:getGenders


http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getGendersResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getGendersRe
sponse> 
   
   



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






Re: Simple scenario not working

2007-12-06 Thread Upul Godage
Hi,

Have you put the original LookupWS.wsdl in the META-INF directory of the
.aar?

Upul

On Dec 6, 2007 5:18 PM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:

>
> All,
>
> I am using a WSDL to create an Axis2 service.
>
> I used the command (I tried both adb and xmlbeans databinding):
>
> wsdl2java -uri LookupWS.wsdl -o lookup -p org.lookup.test -d adb -s -ss
> -ssi -sd -g -Ew false -ns2p
>
> Then I built the service (aar file) and deployed with no errors. Then, I
> get the following error:
>
>
>Unable to generate WSDL 1.1 for this
> service
>If you wish Axis2 to automatically generate the
> WSDL 1.1, then
>please +set useOriginalwsdl as false in your
> services.xml
>
>
> In this case, I DO want to use the original WSDL. Is there a
> config/parameter/setting value that I am missing?
>
> Also, how do I debug further as there are no log/error messages beyond
> the above error.
>
> I am using JDK1.4, oc4j 10.1.3, and Axis2 1.3.
>
> The plain text WSDL (without binding) was generated by jibx2wsdl.
>
> Thanks,
>
> Nadeem
>
> services.xml:
>
> 
> 
> 
> 
>
>
>http://www.w3.org/ns/wsdl/in-out";
> class="org.lookup.test.LookupWSMessageReceiverInOut"/>
>
> name="ServiceClass">org.lookup.test.LookupWSSkeleton
>true
>true
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getAttachmentTypes
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getAttachmentTypesResponse
>
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getCities
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getCitiesResponse
>
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getCountries
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getCountriesResponse
>
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getDeliveryMethods
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getDeliveryMethodsResponse
>
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getEmirates
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getEmiratesResponse
>
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getFishingMethods
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getFishingMethodsResponse
>
> mep="http://www.w3.org/ns/wsdl/in-out";>
>urn:getGenders
>
> http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getGendersResponse
>
>
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>