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 "Hoda, Nadeem [USA]" <ho...@bah.com> on 2007/12/06 12:48:39 UTC

Simple scenario not working

 
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: 

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

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:

<?xml version="1.0" encoding="UTF-8"?>
<!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47
LKT) -->
<serviceGroup>
    <service name="LookupWS">
        <messageReceivers>
            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
class="org.lookup.test.LookupWSMessageReceiverInOut"/>
        </messageReceivers>
        <parameter
name="ServiceClass">org.lookup.test.LookupWSSkeleton</parameter>
        <parameter name="useOriginalwsdl">true</parameter>
        <parameter name="modifyUserWSDLPortAddress">true</parameter>
        <operation name="getAttachmentTypes"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getAttachmentTypes</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getAttachmentTypesResponse</outputActionMapping>
        </operation>
        <operation name="getCities"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getCities</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getCitiesResponse</outputActionMapping>
        </operation>
        <operation name="getCountries"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getCountries</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getCountriesResponse</outputActionMapping>
        </operation>
        <operation name="getDeliveryMethods"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getDeliveryMethods</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getDeliveryMethodsResponse</outputActionMapping>
        </operation>
        <operation name="getEmirates"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getEmirates</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getEmiratesResponse</outputActionMapping>
        </operation>
        <operation name="getFishingMethods"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getFishingMethods</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getFishingMethodsResponse</outputActionMapping>
        </operation>
        <operation name="getGenders"
mep="http://www.w3.org/ns/wsdl/in-out">
            <actionMapping>urn:getGenders</actionMapping>
 
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
ortType/getGendersResponse</outputActionMapping>
        </operation>
    </service>
</serviceGroup>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Simple scenario not working

Posted by "Hoda, Nadeem [USA]" <ho...@bah.com>.
 
Yes it does. 

________________________________

From: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com] 
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] <ho...@bah.com> 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: 
	 
	<error>
	  <description>Unable to generate WSDL 1.1 for this
service</description> 
	  <reason>If you wish Axis2 to automatically generate the WSDL
1.1, then please +set useOriginalwsdl as false in your
services.xml</reason> 
	</error>
	
	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:amilasuriarachchi@gmail.com] 
	
	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] <ho...@bah.com>
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:amilasuriarachchi@gmail.com] 
		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
<up...@gmail.com> 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] <
hoda_nadeem@bah.com > 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:
				
				       <error>
				               <description>Unable to
generate WSDL 1.1 for this
				service</description>
				               <reason>If you wish Axis2
to automatically generate the
				WSDL 1.1, then
				               please +set
useOriginalwsdl as false in your
				services.xml</reason>
				       </error>
				
				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:
				
				<?xml version="1.0" encoding="UTF-8"?>
				<!-- This file was auto-generated from
WSDL -->
				<!-- by the Apache Axis2 version: 1.3
Built on : Aug 10, 2007 (04:45:47
				LKT) -->
				<serviceGroup>
				   <service name="LookupWS">
				       <messageReceivers>
				           <messageReceiver mep="
http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "
	
class="org.lookup.test.LookupWSMessageReceiverInOut"/>
				       </messageReceivers>
				       <parameter
	
name="ServiceClass">org.lookup.test.LookupWSSkeleton </parameter>
				       <parameter
name="useOriginalwsdl">true</parameter>
				       <parameter
name="modifyUserWSDLPortAddress">true</parameter>
				       <operation
name="getAttachmentTypes" 
				mep="http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getAttachmentTypes</actionMapping>
				
				<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse> </outputActionMapping> 
				       </operation>
				       <operation name="getCities"
				mep="http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getCities</actionMapping> 
				
	
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getCitiesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCitiesRes
ponse> </outputActionMapping>
				       </operation>
				       <operation name="getCountries"
				mep="http://www.w3.org/ns/wsdl/in-out ">
	
<actionMapping>urn:getCountries</actionMapping>
				
				<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getCountriesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCountries
Response> </outputActionMapping>
				       </operation>
				       <operation
name="getDeliveryMethods"
				mep=" http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getDeliveryMethods</actionMapping>
				
				<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getDeliveryMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getDeliveryM
ethodsResponse> </outputActionMapping>
				       </operation>
				       <operation name="getEmirates"
				mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getEmirates</actionMapping>
				
				<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getEmiratesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getEmiratesR
esponse> </outputActionMapping>
				       </operation>
				       <operation
name="getFishingMethods"
				mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getFishingMethods</actionMapping>
				
				<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getFishingMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getFishingMe
thodsResponse> </outputActionMapping>
				       </operation>
				       <operation name="getGenders"
				mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getGenders</actionMapping>
				
				<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
				ortType/getGendersResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getGendersRe
sponse> </outputActionMapping>
				       </operation>
				   </service>
				</serviceGroup>
				
	
--------------------------------------------------------------------- 
				To unsubscribe, e-mail:
axis-user-unsubscribe@ws.apache.org
				For additional commands, e-mail:
axis-user-help@ws.apache.org 
				
				





		-- 
		Amila Suriarachchi,
		WSO2 Inc. 

	
---------------------------------------------------------------------
		To unsubscribe, e-mail:
axis-user-unsubscribe@ws.apache.org
		For additional commands, e-mail:
axis-user-help@ws.apache.org
		




	-- 
	Amila Suriarachchi,
	WSO2 Inc. 




-- 
Amila Suriarachchi,
WSO2 Inc. 

Re: Simple scenario not working

Posted by Amila Suriarachchi <am...@gmail.com>.
On Dec 10, 2007 1:50 PM, Hoda, Nadeem [USA] <ho...@bah.com> 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:
>
> <error>
>   <description>Unable to generate WSDL 1.1 for this service</description>
>   <reason>If you wish Axis2 to automatically generate the WSDL 1.1, then
> please +set useOriginalwsdl as false in your services.xml</reason>
> </error>
> 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:amilasuriarachchi@gmail.com]
> *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] <ho...@bah.com> 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:amilasuriarachchi@gmail.com]
> > *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 <up...@gmail.com> 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] < hoda_nadeem@bah.com >
> > > 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:
> > > >
> > > >        <error>
> > > >                <description>Unable to generate WSDL 1.1 for this
> > > > service</description>
> > > >                <reason>If you wish Axis2 to automatically generate
> > > > the
> > > > WSDL 1.1, then
> > > >                please +set useOriginalwsdl as false in your
> > > > services.xml</reason>
> > > >        </error>
> > > >
> > > > 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:
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <!-- This file was auto-generated from WSDL -->
> > > > <!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007
> > > > (04:45:47
> > > > LKT) -->
> > > > <serviceGroup>
> > > >    <service name="LookupWS">
> > > >        <messageReceivers>
> > > >            <messageReceiver mep=" http://www.w3.org/ns/wsdl/in-out"
> > > > class="org.lookup.test.LookupWSMessageReceiverInOut"/>
> > > >        </messageReceivers>
> > > >        <parameter
> > > > name="ServiceClass">org.lookup.test.LookupWSSkeleton </parameter>
> > > >        <parameter name="useOriginalwsdl">true</parameter>
> > > >        <parameter name="modifyUserWSDLPortAddress">true</parameter>
> > > >        <operation name="getAttachmentTypes"
> > > > mep="http://www.w3.org/ns/wsdl/in-out">
> > > >            <actionMapping>urn:getAttachmentTypes</actionMapping>
> > > >
> > > > <outputActionMapping>
> > > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getAttachmentTypesResponse</outputActionMapping>
> > > >        </operation>
> > > >        <operation name="getCities"
> > > > mep="http://www.w3.org/ns/wsdl/in-out">
> > > >            <actionMapping>urn:getCities</actionMapping>
> > > >
> > > > <outputActionMapping>
> > > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getCitiesResponse </outputActionMapping>
> > > >        </operation>
> > > >        <operation name="getCountries"
> > > > mep="http://www.w3.org/ns/wsdl/in-out ">
> > > >            <actionMapping>urn:getCountries</actionMapping>
> > > >
> > > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getCountriesResponse</outputActionMapping>
> > > >        </operation>
> > > >        <operation name="getDeliveryMethods"
> > > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > > >            <actionMapping>urn:getDeliveryMethods</actionMapping>
> > > >
> > > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getDeliveryMethodsResponse</outputActionMapping>
> > > >        </operation>
> > > >        <operation name="getEmirates"
> > > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > > >            <actionMapping>urn:getEmirates</actionMapping>
> > > >
> > > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getEmiratesResponse</outputActionMapping>
> > > >        </operation>
> > > >        <operation name="getFishingMethods"
> > > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > > >            <actionMapping>urn:getFishingMethods</actionMapping>
> > > >
> > > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getFishingMethodsResponse</outputActionMapping>
> > > >        </operation>
> > > >        <operation name="getGenders"
> > > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > > >            <actionMapping>urn:getGenders</actionMapping>
> > > >
> > > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > > ortType/getGendersResponse</outputActionMapping>
> > > >        </operation>
> > > >    </service>
> > > > </serviceGroup>
> > > >
> > > > ---------------------------------------------------------------------
> > > >
> > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> >
> >
> > --
> > Amila Suriarachchi,
> > WSO2 Inc.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>



-- 
Amila Suriarachchi,
WSO2 Inc.

RE: Simple scenario not working

Posted by "Hoda, Nadeem [USA]" <ho...@bah.com>.
 
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: 
 
<error>
  <description>Unable to generate WSDL 1.1 for this
service</description> 
  <reason>If you wish Axis2 to automatically generate the WSDL 1.1, then
please +set useOriginalwsdl as false in your services.xml</reason> 
</error>

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:amilasuriarachchi@gmail.com] 
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] <ho...@bah.com> 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:amilasuriarachchi@gmail.com] 
	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 <up...@gmail.com> 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] <
hoda_nadeem@bah.com > 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:
			
			       <error>
			               <description>Unable to generate
WSDL 1.1 for this
			service</description>
			               <reason>If you wish Axis2 to
automatically generate the
			WSDL 1.1, then
			               please +set useOriginalwsdl as
false in your
			services.xml</reason>
			       </error>
			
			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:
			
			<?xml version="1.0" encoding="UTF-8"?>
			<!-- This file was auto-generated from WSDL -->
			<!-- by the Apache Axis2 version: 1.3  Built on
: Aug 10, 2007 (04:45:47
			LKT) -->
			<serviceGroup>
			   <service name="LookupWS">
			       <messageReceivers>
			           <messageReceiver mep="
http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "
	
class="org.lookup.test.LookupWSMessageReceiverInOut"/>
			       </messageReceivers>
			       <parameter
	
name="ServiceClass">org.lookup.test.LookupWSSkeleton </parameter>
			       <parameter
name="useOriginalwsdl">true</parameter>
			       <parameter
name="modifyUserWSDLPortAddress">true</parameter>
			       <operation name="getAttachmentTypes" 
			mep="http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getAttachmentTypes</actionMapping>
			
			<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse> </outputActionMapping> 
			       </operation>
			       <operation name="getCities"
			mep="http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getCities</actionMapping> 
			
	
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getCitiesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCitiesRes
ponse> </outputActionMapping>
			       </operation>
			       <operation name="getCountries"
			mep="http://www.w3.org/ns/wsdl/in-out ">
	
<actionMapping>urn:getCountries</actionMapping>
			
			<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getCountriesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCountries
Response> </outputActionMapping>
			       </operation>
			       <operation name="getDeliveryMethods"
			mep=" http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getDeliveryMethods</actionMapping>
			
			<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getDeliveryMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getDeliveryM
ethodsResponse> </outputActionMapping>
			       </operation>
			       <operation name="getEmirates"
			mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getEmirates</actionMapping>
			
			<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getEmiratesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getEmiratesR
esponse> </outputActionMapping>
			       </operation>
			       <operation name="getFishingMethods"
			mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getFishingMethods</actionMapping>
			
			<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getFishingMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getFishingMe
thodsResponse> </outputActionMapping>
			       </operation>
			       <operation name="getGenders"
			mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getGenders</actionMapping>
			
			<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
			ortType/getGendersResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getGendersRe
sponse> </outputActionMapping>
			       </operation>
			   </service>
			</serviceGroup>
			
	
--------------------------------------------------------------------- 
			To unsubscribe, e-mail:
axis-user-unsubscribe@ws.apache.org
			For additional commands, e-mail:
axis-user-help@ws.apache.org 
			
			





	-- 
	Amila Suriarachchi,
	WSO2 Inc. 

	
---------------------------------------------------------------------
	To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
	For additional commands, e-mail: axis-user-help@ws.apache.org
	




-- 
Amila Suriarachchi,
WSO2 Inc. 

Re: Simple scenario not working

Posted by Amila Suriarachchi <am...@gmail.com>.
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] <ho...@bah.com> 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:amilasuriarachchi@gmail.com]
> *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 <up...@gmail.com> 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] < hoda_nadeem@bah.com >
> > 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:
> > >
> > >        <error>
> > >                <description>Unable to generate WSDL 1.1 for this
> > > service</description>
> > >                <reason>If you wish Axis2 to automatically generate the
> > > WSDL 1.1, then
> > >                please +set useOriginalwsdl as false in your
> > > services.xml</reason>
> > >        </error>
> > >
> > > 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:
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <!-- This file was auto-generated from WSDL -->
> > > <!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007
> > > (04:45:47
> > > LKT) -->
> > > <serviceGroup>
> > >    <service name="LookupWS">
> > >        <messageReceivers>
> > >            <messageReceiver mep=" http://www.w3.org/ns/wsdl/in-out"
> > > class="org.lookup.test.LookupWSMessageReceiverInOut"/>
> > >        </messageReceivers>
> > >        <parameter
> > > name="ServiceClass">org.lookup.test.LookupWSSkeleton </parameter>
> > >        <parameter name="useOriginalwsdl">true</parameter>
> > >        <parameter name="modifyUserWSDLPortAddress">true</parameter>
> > >        <operation name="getAttachmentTypes"
> > > mep="http://www.w3.org/ns/wsdl/in-out">
> > >            <actionMapping>urn:getAttachmentTypes</actionMapping>
> > >
> > > <outputActionMapping>
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getAttachmentTypesResponse</outputActionMapping>
> > >        </operation>
> > >        <operation name="getCities"
> > > mep="http://www.w3.org/ns/wsdl/in-out">
> > >            <actionMapping>urn:getCities</actionMapping>
> > >
> > > <outputActionMapping>
> > > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getCitiesResponse </outputActionMapping>
> > >        </operation>
> > >        <operation name="getCountries"
> > > mep="http://www.w3.org/ns/wsdl/in-out ">
> > >            <actionMapping>urn:getCountries</actionMapping>
> > >
> > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getCountriesResponse</outputActionMapping>
> > >        </operation>
> > >        <operation name="getDeliveryMethods"
> > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > >            <actionMapping>urn:getDeliveryMethods</actionMapping>
> > >
> > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getDeliveryMethodsResponse</outputActionMapping>
> > >        </operation>
> > >        <operation name="getEmirates"
> > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > >            <actionMapping>urn:getEmirates</actionMapping>
> > >
> > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getEmiratesResponse</outputActionMapping>
> > >        </operation>
> > >        <operation name="getFishingMethods"
> > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > >            <actionMapping>urn:getFishingMethods</actionMapping>
> > >
> > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getFishingMethodsResponse</outputActionMapping>
> > >        </operation>
> > >        <operation name="getGenders"
> > > mep=" http://www.w3.org/ns/wsdl/in-out">
> > >            <actionMapping>urn:getGenders</actionMapping>
> > >
> > > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > > ortType/getGendersResponse</outputActionMapping>
> > >        </operation>
> > >    </service>
> > > </serviceGroup>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>



-- 
Amila Suriarachchi,
WSO2 Inc.

RE: Simple scenario not working

Posted by "Hoda, Nadeem [USA]" <ho...@bah.com>.
 
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:amilasuriarachchi@gmail.com] 
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 <up...@gmail.com> 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] < hoda_nadeem@bah.com
> 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:
		
		       <error>
		               <description>Unable to generate WSDL 1.1
for this
		service</description>
		               <reason>If you wish Axis2 to
automatically generate the
		WSDL 1.1, then
		               please +set useOriginalwsdl as false in
your
		services.xml</reason>
		       </error>
		
		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:
		
		<?xml version="1.0" encoding="UTF-8"?>
		<!-- This file was auto-generated from WSDL -->
		<!-- by the Apache Axis2 version: 1.3  Built on : Aug
10, 2007 (04:45:47
		LKT) -->
		<serviceGroup>
		   <service name="LookupWS">
		       <messageReceivers>
		           <messageReceiver mep=" 
http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "
		class="org.lookup.test.LookupWSMessageReceiverInOut"/>
		       </messageReceivers>
		       <parameter
		name="ServiceClass">org.lookup.test.LookupWSSkeleton
</parameter>
		       <parameter
name="useOriginalwsdl">true</parameter>
		       <parameter
name="modifyUserWSDLPortAddress">true</parameter>
		       <operation name="getAttachmentTypes" 
		mep="http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getAttachmentTypes</actionMapping>
		
		<outputActionMapping> 
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse> </outputActionMapping> 
		       </operation>
		       <operation name="getCities"
		mep="http://www.w3.org/ns/wsdl/in-out">
		           <actionMapping>urn:getCities</actionMapping> 
		
		<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getCitiesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCitiesRes
ponse>  </outputActionMapping>
		       </operation>
		       <operation name="getCountries"
		mep="http://www.w3.org/ns/wsdl/in-out ">
	
<actionMapping>urn:getCountries</actionMapping>
		
		<outputActionMapping> 
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getCountriesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCountries
Response> </outputActionMapping>
		       </operation>
		       <operation name="getDeliveryMethods"
		mep=" http://www.w3.org/ns/wsdl/in-out">
	
<actionMapping>urn:getDeliveryMethods</actionMapping>
		
		<outputActionMapping> 
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getDeliveryMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getDeliveryM
ethodsResponse> </outputActionMapping>
		       </operation>
		       <operation name="getEmirates"
		mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getEmirates</actionMapping>
		
		<outputActionMapping> 
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getEmiratesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getEmiratesR
esponse> </outputActionMapping>
		       </operation>
		       <operation name="getFishingMethods"
		mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	
<actionMapping>urn:getFishingMethods</actionMapping>
		
		<outputActionMapping> 
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getFishingMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getFishingMe
thodsResponse> </outputActionMapping>
		       </operation>
		       <operation name="getGenders"
		mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
		           <actionMapping>urn:getGenders</actionMapping>
		
		<outputActionMapping> 
http://gov.ead.services.delegate/LookupWS/LookupWSP
		ortType/getGendersResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getGendersRe
sponse> </outputActionMapping>
		       </operation>
		   </service>
		</serviceGroup>
		
	
--------------------------------------------------------------------- 
		To unsubscribe, e-mail: 
axis-user-unsubscribe@ws.apache.org
		For additional commands, e-mail: 
axis-user-help@ws.apache.org 
		
		





-- 
Amila Suriarachchi,
WSO2 Inc. 

Re: Simple scenario not working

Posted by Amila Suriarachchi <am...@gmail.com>.
Can you send your wsdl?

On Dec 6, 2007 6:17 PM, Upul Godage <up...@gmail.com> 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] <hoda_nadeem@bah.com > 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:
> >
> >        <error>
> >                <description>Unable to generate WSDL 1.1 for this
> > service</description>
> >                <reason>If you wish Axis2 to automatically generate the
> > WSDL 1.1, then
> >                please +set useOriginalwsdl as false in your
> > services.xml</reason>
> >        </error>
> >
> > 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:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!-- This file was auto-generated from WSDL -->
> > <!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47
> > LKT) -->
> > <serviceGroup>
> >    <service name="LookupWS">
> >        <messageReceivers>
> >            <messageReceiver mep=" http://www.w3.org/ns/wsdl/in-out"
> > class="org.lookup.test.LookupWSMessageReceiverInOut"/>
> >        </messageReceivers>
> >        <parameter
> > name="ServiceClass">org.lookup.test.LookupWSSkeleton </parameter>
> >        <parameter name="useOriginalwsdl">true</parameter>
> >        <parameter name="modifyUserWSDLPortAddress">true</parameter>
> >        <operation name="getAttachmentTypes"
> > mep="http://www.w3.org/ns/wsdl/in-out">
> >            <actionMapping>urn:getAttachmentTypes</actionMapping>
> >
> > <outputActionMapping>
> > http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getAttachmentTypesResponse</outputActionMapping>
> >        </operation>
> >        <operation name="getCities"
> > mep="http://www.w3.org/ns/wsdl/in-out">
> >            <actionMapping>urn:getCities</actionMapping>
> >
> > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getCitiesResponse </outputActionMapping>
> >        </operation>
> >        <operation name="getCountries"
> > mep="http://www.w3.org/ns/wsdl/in-out ">
> >            <actionMapping>urn:getCountries</actionMapping>
> >
> > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getCountriesResponse</outputActionMapping>
> >        </operation>
> >        <operation name="getDeliveryMethods"
> > mep=" http://www.w3.org/ns/wsdl/in-out">
> >            <actionMapping>urn:getDeliveryMethods</actionMapping>
> >
> > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getDeliveryMethodsResponse</outputActionMapping>
> >        </operation>
> >        <operation name="getEmirates"
> > mep=" http://www.w3.org/ns/wsdl/in-out">
> >            <actionMapping>urn:getEmirates</actionMapping>
> >
> > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getEmiratesResponse</outputActionMapping>
> >        </operation>
> >        <operation name="getFishingMethods"
> > mep=" http://www.w3.org/ns/wsdl/in-out">
> >            <actionMapping>urn:getFishingMethods</actionMapping>
> >
> > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getFishingMethodsResponse</outputActionMapping>
> >        </operation>
> >        <operation name="getGenders"
> > mep=" http://www.w3.org/ns/wsdl/in-out">
> >            <actionMapping>urn:getGenders</actionMapping>
> >
> > <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> > ortType/getGendersResponse</outputActionMapping>
> >        </operation>
> >    </service>
> > </serviceGroup>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>


-- 
Amila Suriarachchi,
WSO2 Inc.

RE: Simple scenario not working

Posted by "Hoda, Nadeem [USA]" <ho...@bah.com>.
 
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:upulg.dev@gmail.com] 
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] <hoda_nadeem@bah.com > 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:
	
	       <error>
	               <description>Unable to generate WSDL 1.1 for this
	service</description>
	               <reason>If you wish Axis2 to automatically
generate the
	WSDL 1.1, then
	               please +set useOriginalwsdl as false in your
	services.xml</reason>
	       </error>
	
	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:
	
	<?xml version="1.0" encoding="UTF-8"?>
	<!-- This file was auto-generated from WSDL -->
	<!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007
(04:45:47
	LKT) -->
	<serviceGroup>
	   <service name="LookupWS">
	       <messageReceivers>
	           <messageReceiver mep="
http://www.w3.org/ns/wsdl/in-out <http://www.w3.org/ns/wsdl/in-out> "
	class="org.lookup.test.LookupWSMessageReceiverInOut"/>
	       </messageReceivers>
	       <parameter
	name="ServiceClass">org.lookup.test.LookupWSSkeleton
</parameter>
	       <parameter name="useOriginalwsdl">true</parameter>
	       <parameter
name="modifyUserWSDLPortAddress">true</parameter>
	       <operation name="getAttachmentTypes" 
	mep="http://www.w3.org/ns/wsdl/in-out">
	           <actionMapping>urn:getAttachmentTypes</actionMapping>
	
	<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getAttachmentTypesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getAttachmen
tTypesResponse> </outputActionMapping> 
	       </operation>
	       <operation name="getCities"
	mep="http://www.w3.org/ns/wsdl/in-out">
	           <actionMapping>urn:getCities</actionMapping> 
	
	
<outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getCitiesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCitiesRes
ponse>  </outputActionMapping>
	       </operation>
	       <operation name="getCountries"
	mep="http://www.w3.org/ns/wsdl/in-out ">
	           <actionMapping>urn:getCountries</actionMapping>
	
	<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getCountriesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getCountries
Response> </outputActionMapping>
	       </operation>
	       <operation name="getDeliveryMethods"
	mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	           <actionMapping>urn:getDeliveryMethods</actionMapping>
	
	<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getDeliveryMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getDeliveryM
ethodsResponse> </outputActionMapping>
	       </operation>
	       <operation name="getEmirates"
	mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	           <actionMapping>urn:getEmirates</actionMapping>
	
	<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getEmiratesResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getEmiratesR
esponse> </outputActionMapping>
	       </operation>
	       <operation name="getFishingMethods"
	mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	           <actionMapping>urn:getFishingMethods</actionMapping>
	
	<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getFishingMethodsResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getFishingMe
thodsResponse> </outputActionMapping>
	       </operation>
	       <operation name="getGenders"
	mep=" http://www.w3.org/ns/wsdl/in-out
<http://www.w3.org/ns/wsdl/in-out> ">
	           <actionMapping>urn:getGenders</actionMapping>
	
	<outputActionMapping>
http://gov.ead.services.delegate/LookupWS/LookupWSP
	ortType/getGendersResponse
<http://gov.ead.services.delegate/LookupWS/LookupWSPortType/getGendersRe
sponse> </outputActionMapping>
	       </operation>
	   </service>
	</serviceGroup>
	
	
--------------------------------------------------------------------- 
	To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
	For additional commands, e-mail: axis-user-help@ws.apache.org 
	
	



Re: Simple scenario not working

Posted by Upul Godage <up...@gmail.com>.
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] <ho...@bah.com> 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:
>
>        <error>
>                <description>Unable to generate WSDL 1.1 for this
> service</description>
>                <reason>If you wish Axis2 to automatically generate the
> WSDL 1.1, then
>                please +set useOriginalwsdl as false in your
> services.xml</reason>
>        </error>
>
> 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:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- This file was auto-generated from WSDL -->
> <!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47
> LKT) -->
> <serviceGroup>
>    <service name="LookupWS">
>        <messageReceivers>
>            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
> class="org.lookup.test.LookupWSMessageReceiverInOut"/>
>        </messageReceivers>
>        <parameter
> name="ServiceClass">org.lookup.test.LookupWSSkeleton</parameter>
>        <parameter name="useOriginalwsdl">true</parameter>
>        <parameter name="modifyUserWSDLPortAddress">true</parameter>
>        <operation name="getAttachmentTypes"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getAttachmentTypes</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getAttachmentTypesResponse</outputActionMapping>
>        </operation>
>        <operation name="getCities"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getCities</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getCitiesResponse</outputActionMapping>
>        </operation>
>        <operation name="getCountries"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getCountries</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getCountriesResponse</outputActionMapping>
>        </operation>
>        <operation name="getDeliveryMethods"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getDeliveryMethods</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getDeliveryMethodsResponse</outputActionMapping>
>        </operation>
>        <operation name="getEmirates"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getEmirates</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getEmiratesResponse</outputActionMapping>
>        </operation>
>        <operation name="getFishingMethods"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getFishingMethods</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getFishingMethodsResponse</outputActionMapping>
>        </operation>
>        <operation name="getGenders"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:getGenders</actionMapping>
>
> <outputActionMapping>http://gov.ead.services.delegate/LookupWS/LookupWSP
> ortType/getGendersResponse</outputActionMapping>
>        </operation>
>    </service>
> </serviceGroup>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>