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: > > <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:[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: > > > > > > > > <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: [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. > -- Amila Suriarachchi, WSO2 Inc.