Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 38370 invoked from network); 18 Mar 2008 11:55:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 11:55:02 -0000 Received: (qmail 28305 invoked by uid 500); 18 Mar 2008 11:55:00 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 28028 invoked by uid 500); 18 Mar 2008 11:54:59 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 27998 invoked by uid 99); 18 Mar 2008 11:54:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 04:54:59 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dimuthuc@gmail.com designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 11:54:18 +0000 Received: by wf-out-1314.google.com with SMTP id 28so5587002wff.28 for ; Tue, 18 Mar 2008 04:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=GthH0+EYZcq7naYiS2YwqYj1bW28BU6dASssTObztiQ=; b=sUNRf/hCNf59TEdaA29oyU6OBo0zN22TkdheUOlKsUM6mNRR5mVFzyx1gFRJRLIvzbPPugWxSDKauJzeGWs8DGruaMuKxZ1CTnkb90D4BtJ1kXQaeafurmkOhh3yHvzLBvdXLucwn8X9BC+hS0T0Dd4eDAo1mGrd2bzOWPtcqKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MEK7cMIsjUDx9ws6kdmt24xB0mJHIYHv/e24ubiTYug8y7buQf0mEaLEpeO9wnAxvo8mVBx+0lPCZk/ve9k+v3Fyb5NLX4ldOzeE8jFV8qMUlMssfNJvOZ1MHGFutvSmd0Sd4+mBsFANgowm6rAjqKR17FG1X0L0hjPjO+PDhs4= Received: by 10.142.81.6 with SMTP id e6mr820704wfb.205.1205841269635; Tue, 18 Mar 2008 04:54:29 -0700 (PDT) Received: by 10.142.245.19 with HTTP; Tue, 18 Mar 2008 04:54:29 -0700 (PDT) Message-ID: Date: Tue, 18 Mar 2008 17:24:29 +0530 From: "Dimuthu Gamage" To: "Apache AXIS C User List" Subject: Re: FW: Problem with Service deployed In-Reply-To: <20080318112852.CCBB64DA0E4@nike.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080318112852.CCBB64DA0E4@nike.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi rahil, The problem in your wsdl is missing namespace declaration, may be it happened when you are copying the wsdl from a browser (normally firefox hides the namespace declrations) Try replacing with this, And I 've not much familiar with C#, so I don't know exactly how to generate different WSDLs from them, but since you alreadfy have axis2/java, you can use java2wsdl.sh in (axis2snapshot/bin) to create wsdls, for an example the same wsdl can be generated from following java code, public interface Test { public ResponseData FundTransferRequest(String a, String b, String c); } abstract class ResponseData { public String a; public String b; public String x; } And you can use public String a[]; syntax in order to generate array types. I think simmilar thing should be able to do with your C# service as well. Thanks DImuthu On Tue, Mar 18, 2008 at 5:00 PM, Rahil Ali wrote: > > > > > Hello Dimuthu, > > > > Thanks a lot.. I figured that out just a while aga :| > > My calculator webservice is now working fine :) > > > > I am trying to return a class from Webservice, so what I did: I created a > class and a webservice using C# > > > > //////CLASS > > public class ResponseData > > { > > string a; > > string b; > > string x; > > } > > > > ////////////WS > > [WebMethod] > > public ResponseData FundTransferRequest(string a, string b, string c) > > { > > ResponseData RspD =3D new ResponseData(); > > return RspD; > > } > > > > Now I am using the WSDL generated by .Net to generate C code using WSDL2C= .sh > > > > > > targetNamespace=3D"http://tempuri.org/"> > > > > > > > > > > > > > > > > > > > > > > > > > > type=3D"tns:ResponseData"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > style=3D"document"/> > > > > > > > > > > > > > > > > > > > > > > > > style=3D"document"/> > > > > > > > > > > > > > > > > > > > > > > location=3D"http://localhost:2140/FundTransferRequest/Service.asmx"/> > > > > > > location=3D"http://localhost:2140/FundTransferRequest/Service.asmx"/> > > > > > > > > > > WSD2C generates this error: WSDL2C.sh -uri FundTransferRequest.wsdl -ss -= sd > -d adb -u > Retrieving document at 'FundTransferRequest.wsdl'. > > [Fatal Error] FundTransferRequest.wsdl:1:57: The prefix "wsdl" for elemen= t > "wsdl:definitions" is not bound. > > > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationE= ngine.java:163) > > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > > at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31) > > Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=3DPARSER_ER= ROR: > Problem parsing > 'file:/usr/local/axis2c/services/FundTransferRequest/FundTransferRequest.= wsdl'.: > org.xml.sax.SAXParseException: The prefix "wsdl" for element > "wsdl:definitions" is not bound. > > at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) > > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(Code= GenerationEngine.java:295) > > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationE= ngine.java:118) > > ... 2 more > > Caused by: org.xml.sax.SAXParseException: The prefix "wsdl" for element > "wsdl:definitions" is not bound. > > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) > > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Sourc= e) > > ... 7 more > > > > Whats the problem here, I think WSDL2C cannot generated code for WSDL > generated by C#... > > Please advice how to achieve this result, I want a Webservice to return a= n > ARRAY of String or a class=85. How to generate a proper WSDL for such ser= vice. > > > > Thanks & Regards, > > Rahil Ali > > > > > > -----Original Message----- > From: Dimuthu Gamage [mailto:dimuthuc@gmail.com] > Sent: Tuesday, March 18, 2008 4:12 PM > To: Apache AXIS C User List > > Subject: Re: FW: Problem with Service deployed > > > > > > Hi Rahil, > > > > The example shown in the samples/codegen are generated from the > > following wsdl. ( as mentioned in the Readme) > > http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/resources/wsd= l/Calculator.wsdl?view=3Dmarkup > > > > Looks like you are using a different Calculator.wsdl (that is taken > > from samples/servers/Caclculator), You hve to change those mentioned > > functions to suit to your generated code, for an example, > > adb_add_get_param_1 > > adb_add_get_param_2 > > adb_addResponse_create > > adb_addResponse_get_result > > > > Calculator.wsdl in samples/server is added recently and is little bit > > differnet from the Calculator.wsdl in the test/resources/wsdl, As > > senaka said we should make both WSDL the same, otherwise user like you > > can easily confused with different WSDL with same name. > > > > Thanks > > Dimuthu > > > > > > > > On Tue, Mar 18, 2008 at 12:50 PM, Rahil Ali wro= te: > > > Hello Dimuthu, > > > > > > I was using the implementation from > > > > "http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/s= erv > > > er/calculator/axis2_skel_Calculator.c?revision=3D599392&view=3Dmarkup"= . > Whenever > > > the execution reaches any of these functions: > > > > > > -adb_add_get_in0 > > > -adb_add_get_in1 > > > -adb_addResponse_create > > > -adb_addResponse_set_addReturn > > > ..... > > > It generates error "Failed in creating DLL". If I remove all the code = and > > > simple return NULL the service executes fine... I have placed > > > "libCalculator.so", service.xml, Calculator.wsdl in my > services/Calculator > > > fodler. Please tell me where am I going wrong.. > > > > > > I cannot find any implemetation of these functions, how are these > > > executing... > > > > > > Thanks & Regards, > > > Rahil Ali > > > > > > > > > -----Original Message----- > > > > > > From: Dimuthu Gamage [mailto:dimuthuc@gmail.com] > > > > > > > > > Sent: Saturday, March 15, 2008 11:33 AM > > > To: Apache AXIS C User List; senaka@wso2.com > > > Subject: Re: FW: Problem with Service deployed > > > > > > Infact there is a sample for the Calculator with codegen support > > > inside the samples/codegen directory, Hope that set of samples are > > > usefull for you > > > > > > Thanks > > > Dimuthu > > > > > > On Fri, Mar 14, 2008 at 9:20 PM, Senaka Fernando wro= te: > > > > Hi Rahil, > > > > > > > > You should be able to find samples in the "samples" folder, that is > found > > > > inside the distribution. If you are referring to a demo application > that > > > > utilizes the code generated for the Calculator WSDL, I'm sorry that= it > is > > > > not available on Axis2/C at the moment. > > > > > > > > Regards, > > > > Senaka > > > > > > > > > > > > > > > > On Fri, 2008-03-14 at 16:00 +0500, Rahil Ali wrote: > > > > Hi Senaka, > > > > > > > > > > Please provide me some sample web services.. Thanks, > > > > > > > > > > -----Original Message----- > > > > > From: Rahil Ali [mailto:rahil.ali@tpsonline.com] > > > > > Sent: Thursday, March 13, 2008 4:19 PM > > > > > To: 'Apache AXIS C User List'; 'senaka@wso2.com' > > > > > Subject: RE: FW: Problem with Service deployed > > > > > > > > > > Hello Senaka, > > > > > > > > > > Thanks very much for your support, It worked and I can now add th= e > > > > reference > > > > > in .Net. But when I tried to access its method "add" it gave an > > > exception: > > > > > "Data element of the OM Node is NULL" I think this is because I > havent > > > > > implemented anything in the functions: Can you please send me a > sample > > > > > source code so that I can get an idea like what are the uses of " > const > > > > > axutil_env_t *env" or how to use parameteres/returning values " > > > adb_add_t* > > > > > add" , " adb_addResponse_t*" > > > > > > > > > > Thanks & regards, > > > > > Rahil Ali > > > > > > > > > > -----Original Message----- > > > > > From: Senaka Fernando [mailto:senaka@wso2.com] > > > > > Sent: Wednesday, March 12, 2008 9:50 PM > > > > > To: Apache AXIS C User List > > > > > Subject: RE: FW: Problem with Service deployed > > > > > > > > > > Hi Rahil, > > > > > > > > > > This works fine for me. The WSDL discovery will work only if you = use > > > the > > > > > Axis2/C source found in the svn head. I was under the impression > that > > > you > > > > > were using that. However, if you are using the 1.3.0 distribution= , I > > > think > > > > > the other alternate to how a static WSDL can be deployed was > available. > > > > > > > > > > This works as this. > > > > > > > > > > add this to your services.xml after the ServiceClass parameter > > > > > > > > > > [path] > > > > > > > > > > In here specify the absolute path to your wsdl, in the place of > [path]. > > > > > You might be able to specify a relative path, but, the absolute p= ath > is > > > > > guaranteed to work. (ex:- > > > > > /home/user/axis2/c/deploy/services/Calculator/Calculator.wsdl) > > > > > > > > > > The lib.so is rather a Linux convention. And, when > trying > > > to > > > > > locate your service, the engine will try to find the dll by that > name. > > > > > > > > > > Regards, > > > > > Senaka > > > > > > > > > > > Hello Senaka, > > > > > > > > > > > > I have service.xml, Calculator.wsdl and libCalculator.so in my > > > > > > $AXIS2C_HOME/services/Calculator folder, still I cannot access > wsdl > > > using > > > > > > this.. > > > > > > "http://192.168.4.163/axis2/services/Calculator?wsdl" > > > > > > Whats going wrong here... > > > > > > > > > > > > > > > > > > Besides this one other thing to ask: how is libCalculator comes= in > > > > action, > > > > > > does AXIS2C always use lib.so file? > > > > > > > > > > > > Thanks, > > > > > > Rahil > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Senaka Fernando [mailto:senaka@wso2.com] > > > > > > Sent: Wednesday, March 12, 2008 6:50 PM > > > > > > To: axis-c-user@ws.apache.org > > > > > > Subject: RE: FW: Problem with Service deployed > > > > > > > > > > > > Hi Rahil, > > > > > > > > > > > > Well the static WSDL deployment feature was fully supported aft= er > we > > > > > > released 1.3.0. So it will be reflected in the online > documentation > > > with > > > > > > the next release. However, if you use the subversion source (fo= r > > > > > > developers) of Axis2/C; the manual found there has the necessar= y > > > updates. > > > > > > Thus, in addition to copying the service.xml and the .so, you w= ill > > > also > > > > > > have to copy the wsdl and save it by the name, .w= sdl > > > (ex:- > > > > > > Calculator.wsdl). The META-INF folder is something related to > > > Axis2/Java. > > > > > > It doesn't apply to you. > > > > > > > > > > > > Regards, > > > > > > Senaka > > > > > > > > > > > >> Hello Senaka, > > > > > >> > > > > > >> A couple of things to clearup, > > > > > >> I am standing on $AXIS2C_HOME/services/Calculator folder, I ra= n > > > WSDL2C > > > > > >> on > > > > > >> Calculator.wsdl, it generated > > > > > >> - src/ > > > > > >> + *.h > > > > > >> + *.c > > > > > >> + Build.sh > > > > > >> - resources/ > > > > > >> service.xml > > > > > >> > > > > > >> I ran build.sh which generated "libCalculator.so". Now how to > call > > > the > > > > > >> service? for that I setup according to the User-guide. > > > > > >> 1-Copied service.xml from > $AXIS2C_HOME/services/Calculator/resources > > > > > >> directory to $AXIS2C_HOME/services/Calculator and 2-similarly > copied > > > > > >> libCalculator.so > > > > > >> > > > > > >> Still I am unable to access the wsdl via internet explorer. I > read > > > in > > > > > >> some > > > > > >> article that wsdl file should be placed in some META-INF folde= r, > but > > > I > > > > > >> am > > > > > >> not sure about exact setup of files, can you please explain me > that > > > what > > > > > >> should be the folder structure. My current structure is like > > > > > >> > > > > > >> $AXIS2C_HOME/services/Calculator/Calculator.wsdl > > > > > >> /resources/ > > > > > >> /services.xml > > > > > >> /src/ > > > > > >> > > > > > >> $AXIS2C_HOME/services/Calculator/resources/services.xml > > > > > >> > > > > > >> $AXIS2C_HOME/services/Calculator/src/axis2_skel_Calculator.= h > > > > > >> > > > > > >> /axis2_skel_Calculator.c > > > > > >> > /adb_subResponse.h > > > > > >> > /adb_subResponse.c > > > > > >> /adb_sub.h > > > > > >> /adb_sub.c > > > > > >> > /adb_mulResponse.h > > > > > >> > /adb_mulResponse.c > > > > > >> /adb_mul.h > > > > > >> /adb_mul.c > > > > > >> > /adb_divResponse.h > > > > > >> > /adb_divResponse.c > > > > > >> /adb_div.h > > > > > >> /adb_div.c > > > > > >> > /adb_addResponse.h > > > > > >> > /adb_addResponse.c > > > > > >> /adb_add.h > > > > > >> /adb_add.c > > > > > >> /build.sh > > > > > >> > > > > > >> /axis2_svc_skel_Calculator.c > > > > > >> > /libCalculator.so > > > > > >> /Calculator.w= sdl > > > > > >> Thanks & regards, > > > > > >> Rahil > > > > > >> > > > > > >> > > > > > >> -----Original Message----- > > > > > >> From: Senaka Fernando [mailto:senaka@wso2.com] > > > > > >> Sent: Wednesday, March 12, 2008 5:06 PM > > > > > >> To: axis-c-user@ws.apache.org > > > > > >> Subject: RE: FW: Problem with Service deployed > > > > > >> > > > > > >> Hi Rahil, > > > > > >> > > > > > >> This portion is not automated. To get the WSDL u will have to > copy > > > it > > > > > >> manually to the folder in which u find the .so. The name shoul= d > be > > > the > > > > > >> same as the Service. In Axis2/C we do support static WSDLs onl= y. > No > > > > > >> dynamic generation at the moment. > > > > > >> > > > > > >> Regards, > > > > > >> Senaka > > > > > >> > > > > > >>> Hi Senaka, > > > > > >>> > > > > > >>> Thanks very much for your replies, WSDL2C worked.. I removed > > > previous > > > > > >>> JDK > > > > > >>> installation. It generated 2 directories resources and src > > > > > >>> > > > > > >>> Src directory contains lot of files, separate files for each > > > > > >>> functions.. > > > > > >>> In > > > > > >>> which file do I have to implement the business logic, for > example > > > there > > > > > >>> are > > > > > >>> several files for add function : adb_add.c, adb_addResponse.c= . > > > > > >>> > > > > > >>> For now I just ran build.sh without implementing any logic, i= t > > > > > >>> generated > > > > > >>> libCalculator.so; I put service.xml from resources folder and > > > > > >>> libCalculator > > > > > >>> in $AXIS2C_HOME/service/Calculator folder and tried to access > the > > > URL : > > > > > >>> http://192.168.4.163/axis2/services/Calculator?wsdl > > > > > >>> > > > > > >>> It gave error while > http://192.168.4.163/axis2/services/Calculator > > > is > > > > > >>> displaying the service properly... > > > > > >>> > > > > > >>> Deployed Services > > > > > >>> Calculator > > > > > >>> Calculator Service > > > > > >>> > > > > > >>> Available Operations > > > > > >>> div > > > > > >>> add > > > > > >>> sub > > > > > >>> mul > > > > > >>> > > > > > >>> Pls advice, > > > > > >>> Thanks, > > > > > >>> Rahil > > > > > >>> > > > > > >>> -----Original Message----- > > > > > >>> From: Senaka Fernando [mailto:senaka@wso2.com] > > > > > >>> Sent: Wednesday, March 12, 2008 3:05 PM > > > > > >>> To: Apache AXIS C User List > > > > > >>> Subject: RE: FW: Problem with Service deployed > > > > > >>> > > > > > >>> Hi Rahil, > > > > > >>> > > > > > >>> Seems to be a Java issue rather. That should be the most like= ly > > > > > >>> scenario. > > > > > >>> You can AFAIK have concurrent JDK installations. I tried on > Java5 > > > and > > > > > >>> Java6 an it does work fine > > > > > >>> > > > > > >>> Regards, > > > > > >>> Senaka > > > > > >>> > > > > > >>>> Hi Senaka, > > > > > >>>> > > > > > >>>> I tried " WSDL2C.sh -uri ../services/Calculator/Calculator.w= sdl > > > -ss > > > > > >>>> -sd > > > > > >>>> -d adb -u" > > > > > >>>> > > > > > >>>> It gives different error: > > > > > >>>> > > > > > >>>> Retrieving document at > '../services/Calculator/Calculator.wsdl'. > > > > > >>>> Exception in thread "main" > > > > > >>>> org.apache.axis2.wsdl.codegen.CodeGenerationException: Error > > > parsing > > > > > >>>> WSDL > > > > > >>>> at > > > > > >>>> > > > > > >>> > > > > > >> > > > > > > > > > > > > > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.CodeGenerationEngine(o= rg. > > > > > >>>> apache.axis2.util.CommandLineOptionParser) (Unknown Source) > > > > > >>>> at org.apache.axis2.wsdl.WSDL2Code.main(java.lang.String[= ]) > > > > > >>>> (Unknown > > > > > >>>> Source) > > > > > >>>> Caused by: javax.wsdl.WSDLException: WSDLException: > > > > > >>>> faultCode=3DOTHER_ERROR: > > > > > >>>> Unable to resolve imported document at > > > > > >>>> '../services/Calculator/Calculator.wsdl'.: > > > > > >>>> java.io.FileNotFoundException: > > > > > >>>> This file was not found: > > > > > >>>> > > > file:/usr/java/j2sdk1.4.2_17/bin/../services/Calculator/Calculator.wsd= l > > > > > >>>> at > com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(java.lang.String, > > > > > >>>> java.lang.String) (Unknown Source) > > > > > >>>> at > com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(java.lang.String) > > > > > >>>> (Unknown > > > > > >>>> Source) > > > > > >>>> at > > > > > >>>> > > > > > >>> > > > > > >> > > > > > > > > > > > > > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(java= .la > > > > > >>>> ng.String) (Unknown Source) > > > > > >>>> at > > > > > >>>> > > > > > >>> > > > > > >> > > > > > > > > > > > > > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.CodeGenerationEngine(o= rg. > > > > > >>>> apache.axis2.util.CommandLineOptionParser) (Unknown Source) > > > > > >>>> ...1 more > > > > > >>>> Caused by: java.io.FileNotFoundException: This file was not > found: > > > > > >>>> > > > file:/usr/java/j2sdk1.4.2_17/bin/../services/Calculator/Calculator.wsd= l > > > > > >>>> at > > > > > >>>> > > > com.ibm.wsdl.util.StringUtils.getContentAsInputStream(java.net.URL) > > > > > >>>> (Unknown Source) > > > > > >>>> at > com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(java.lang.String, > > > > > >>>> java.lang.String) (Unknown Source) > > > > > >>>> ...4 more > > > > > >>>> > > > > > >>>> > > > > > >>>> Pls Advice, > > > > > >>>> Thanks & Regards, > > > > > >>>> Rahil > > > > > >>>> > > > > > >>>> > > > > > >>>> -----Original Message----- > > > > > >>>> From: Senaka Fernando [mailto:senaka@wso2.com] > > > > > >>>> Sent: Wednesday, March 12, 2008 2:43 PM > > > > > >>>> To: axis-c-user@ws.apache.org > > > > > >>>> Subject: RE: FW: Problem with Service deployed > > > > > >>>> > > > > > >>>> Hi Rahil, > > > > > >>>> > > > > > >>>> Did you try "WSDL2C.sh -uri > ../services/Calculator/Calculator.wsdl > > > -ss > > > > > >>>> -sd > > > > > >>>> -d adb -u" Also? > > > > > >>>> > > > > > >>>> Can you let me know? > > > > > >>>> > > > > > >>>> Regards, > > > > > >>>> Senaka > > > > > >>>> > > > > > >>>>> Hi Senaka, > > > > > >>>>> > > > > > >>>>> I tried that as well > > > > > >>>>>> WSDL2C.sh -uri ../services/Calculator/Calculator.wsdl -ss = -sd > -d > > > > > >>>>>> none > > > > > >>>>> Still the same error... > > > > > >>>>> > > > > > >>>>> > > > > > >>>>> Retrieving document at > '../services/Calculator/Calculator.wsdl'. > > > > > >>>>> Exception in thread "main" java.lang.NoSuchMethodError: met= hod > > > > > >>>>> java.io.File.toURI was not found.... > > [Message clipped] --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org