axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Tenório ...@presstime.com.br>
Subject Re: Axis2 custom URI
Date Thu, 26 Oct 2006 15:04:25 GMT
Yes!!! Now it works! Now I can use custom URI for my Web Services!!! :-)

Thanks you very much, Dims!!!

Rodrigo Tenório escreveu:
> Nevermind... I had to restart my system because my enviroment 
> variables was not working ok. Now I'll test everything and I'll report 
> it all.
>
> Rodrigo Tenório escreveu:
>> But it was exactly what I did... Now I'm lost :-(
>>
>> Davanum Srinivas escreveu:
>>> please re-run wsdl2java (command line version) in the nightly dist.
>>>
>>> -- dims
>>>
>>> On 10/26/06, Rodrigo Tenório <rt@presstime.com.br> wrote:
>>>> Ok, Dims...
>>>>
>>>> I did what you said but I getting the folllowing:
>>>>
>>>>  [javac] Compiling 5 source files to 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\public_html\WEB-INF\classes

>>>>
>>>>     [javac] 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\src\br\com\ptn\exemplo\ws\cliente\FatorialWSStub.java:142:

>>>> cannot find symbol
>>>>     [javac] symbol  : method 
>>>> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>>>>     [javac] location: class 
>>>> br.com.ptn.exemplo.ws.cliente.FatorialWSStub
>>>>     [javac]                                         
>>>> getElement(_returnEnv,"document"),
>>>>     [javac]                                         ^
>>>>     [javac] 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\src\br\com\ptn\exemplo\ws\cliente\FatorialWSStub.java:233:

>>>> cannot find symbol
>>>>     [javac] symbol: method 
>>>> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>>>>     [javac]                         java.lang.Object object = 
>>>> fromOM(getElement(
>>>>     [javac]                                                          ^
>>>>     [javac] 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\src\br\com\ptn\exemplo\ws\cliente\FatorialWSStub.java:268:

>>>> warning: [deprecation] getName() in org.apache.axiom.om.OMNamespace 
>>>> has been deprecated
>>>>     [javac]             returnMap.put(ns.getPrefix(),ns.getName());
>>>>     [javac]                                            ^
>>>>     [javac] 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\src\br\com\ptn\exemplo\ws\cliente\FatorialWSStub.java:406:

>>>> cannot find symbol
>>>>     [javac] symbol  : method convertTolong(java.lang.String)
>>>>     [javac] location: class 
>>>> org.apache.axis2.databinding.utils.ConverterUtil
>>>>     [javac]                                         
>>>> org.apache.axis2.databinding.utils.ConverterUtil.convertTolong(content));

>>>>
>>>>     
>>>> [javac]                                                                 
                       
>>>> ^
>>>>     [javac] 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\src\br\com\ptn\exemplo\ws\cliente\FatorialWSStub.java:546:

>>>> cannot find symbol
>>>>     [javac] symbol  : method convertTolong(java.lang.String)
>>>>     [javac] location: class 
>>>> org.apache.axis2.databinding.utils.ConverterUtil
>>>>     [javac]                                         
>>>> org.apache.axis2.databinding.utils.ConverterUtil.convertTolong(content));

>>>>
>>>>     
>>>> [javac]                                                                 
                       
>>>> ^
>>>>     [javac] Note: 
>>>> D:\javaFiles\JDeveloper\FatorialWebService__Axis2\src\br\com\ptn\exemplo\ws\cliente\FatorialWSStub.java

>>>> uses unchecked or unsafe operations.
>>>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>>>>     [javac] 4 errors
>>>>     [javac] 1 warning
>>>>
>>>>
>>>> Any ideia?
>>>>
>>>> Thanks
>>>>
>>>> ---
>>>> Rodrigo Tenório
>>>> Press Time Networking
>>>> rt@presstime.com.br
>>>>
>>>>
>>>>  Thu, 26 Oct 2006 10:31:47 -0300, Rodrigo Tenório 
>>>> <rt@presstime.com.br> escreveu:
>>>>
>>>> > Thank you very much for your reply, Dims!
>>>> >
>>>> > I'll try the nightly build and I'll report my tests.
>>>> >
>>>> > --
>>>> > Rodrigo Tenório
>>>> > Press Time Networking
>>>> > rt@presstime.com.br
>>>> >
>>>> >
>>>> > Davanum Srinivas escreveu:
>>>> > > Edit web.xml and the axis2.xml in WEB-INF\ and WEB-INF\conf
>>>> > > directories respectively. Please use the nightly build.
>>>> > >
>>>> > > thanks,
>>>> > > dims
>>>> > >
>>>> > > On 10/26/06, Rodrigo Tenório <rt@presstime.com.br> wrote:
>>>> > >> Ok. That's not correct...
>>>> > >>
>>>> > >> So, how can I set a custom URI for a Web Service? I talking
about
>>>> > >> Axis2...
>>>> > >>
>>>> > >> For example:
>>>> > >>
>>>> > >> I have a working web service at
>>>> > >> http://localhost:8080/axis2/sevices/MyWS.
>>>> > >> How can a I have this working at 
>>>> http://localhost:8080/servlet/MyWS ?
>>>> > >>
>>>> > >> Note: I already created a new context and copied all axis2

>>>> files to it.
>>>> > >>
>>>> > >> thanks
>>>> > >>
>>>> > >> Davanum Srinivas escreveu:
>>>> > >> > That is not correct.
>>>> > >> >
>>>> > >> > -- dims
>>>> > >> >
>>>> > >> > On 10/26/06, Rodrigo Tenório <rt@presstime.com.br>
wrote:
>>>> > >> >> Hi!
>>>> > >> >>
>>>> > >> >> I was searching Axis Mailing lists and I found this:
>>>> > >> >>
>>>> > >> >> --> Note: that currently Axis2 does not allow custom
URI's 
>>>> to be set
>>>> > >> >> for services.
>>>> > >> >>
>>>> > >> >>
>>>> > >> >>
>>>> > >> >> Is this correct? Why we cannot have custom URI?
>>>> > >> >>
>>>> > >> >>
>>>> > >> >>
>>>> > >> >> --
>>>> > >> >> Rodrigo Tenório
>>>> > >> >> Press Time Networking
>>>> > >> >> rt@presstime.com.br
>>>> > >> >> +55 (44) 3225-1824
>>>> > >> >> +55 (44) 9918-5070
>>>> > >> >>
>>>> > >> >> 
>>>> ---------------------------------------------------------------------
>>>> > >> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> > >> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>> > >> >>
>>>> > >> >>
>>>> > >> >
>>>> > >> >
>>>> > >>
>>>> > >>
>>>> > >>
>>>> > >> --
>>>> > >> Rodrigo Tenório
>>>> > >> Press Time Networking
>>>> > >> rt@presstime.com.br
>>>> > >> +55 (44) 3225-1824
>>>> > >> +55 (44) 9918-5070
>>>> > >>
>>>> > >> 
>>>> ---------------------------------------------------------------------
>>>> > >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> > >> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>> > >>
>>>> > >>
>>>> > >
>>>> > >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Rodrigo Tenório
>>>> > Press Time Networking
>>>> > rt@presstime.com.br
>>>> > +55 (44) 3225-1824
>>>> > +55 (44) 9918-5070
>>>> >
>>>> > 
>>>> ---------------------------------------------------------------------
>>>> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>>
>>>> -- 
>>>> Rodrigo Tenório
>>>> Press Time Networking
>>>> rt@presstime.com.br
>>>> +55 (44) 3225-1824
>>>> +55 (44) 9918-5070
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
>



-- 
Rodrigo Tenório
Press Time Networking
rt@presstime.com.br
+55 (44) 3225-1824
+55 (44) 9918-5070

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


Mime
View raw message