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 Gopal Patwa <go...@gmail.com> on 2006/04/17 06:13:28 UTC
[Axis2 1.0 RC1] User defined WSDL
I havve user defined wsdl and added wsdl file into META-INF directory and
deploy
to service archive file look like below;
HelloWorld.aar
META-INF
HelloWorld.wsdl
services.xml
com
test
helloworld
hello.class
But still when I access my wsdl from browser it is different than user
defined
I am still wonder why it doesn't show the wsdl which I provided in service
archive instead of generating new one.
How to stop Axis2 to generating wsdl and use which is provided in service
archive under meta-inf folder.
Is there something I am doing wrong??
Please help
Thanks
Gopal
--
View this message in context: http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a3945891
Sent from the Axis - User forum at Nabble.com.
Re: [Axis2 1.0 RC1] User defined WSDL
Posted by Gopal Patwa <go...@gmail.com>.
Thanks Deepal,
I had 2 port type in my wsdl
<portType name="HelloWorldAsync">
<operation name="initiate">
<input message="tns:HelloWorldAsyncRequestMessage"/>
</operation>
</portType>
<portType name="HelloWorldAsyncCallback">
<operation name="onResult">
<input message="tns:HelloWorldAsyncResponseMessage"/>
</operation>
</portType>
and it completely ignore portType HelloWorldAsyncCallback only one portType
is displayed HelloWorldAsync.
I have BPEL client whose is going to invoke this service and I want him to
see same wsdl which I created not the generated one, work around for this
problem I manually copy same wsdl in some webapp location like
http://localhost:8080/axis2/HelloWorld.wsdl and BPEL access this WSDL
Instead of http://localhost:8080/axis2/services/HelloWorld?wsdl
Thanks
Gopal
--
View this message in context: http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a3946362
Sent from the Axis - User forum at Nabble.com.
Re: [Axis2 1.0 RC1] User defined WSDL
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Gopal;
When you try to access wsdl using the given url , it will generate new
bindings and service ports and will ignore original bindings and ports ,
but original soapacion , soap headers and screams will be preserved.
What kind of information missing in new wsdl ?
Gopal Patwa wrote:
>Thanks for reply,
>
>I have same service name (HelloWorld) and service archive (HelloWorld.aar)
>
>Even I tried changing wsdl file name from HelloWorld.wsdl to services.wsdl
>but nothing change it's still same result
>
>Does anybody tried using user defined wsdl and it worked successfuly showing
>user defined wsdl when try to acccess from url
>http://localhost:8080/axis2/services/HelloWorld?wsdl instead of new one
>
>-Gopal
>
>
>Ajith Ranabahu wrote:
>
>
>>Hi,
>>is the service name equal to the name of your sevice (name of the .aar
>>file) ?
>>
>>Ajith
>>
>>On 4/17/06, Inoguchi, Kinichiro <Ki...@hp.com> wrote:
>>
>>
>>>Gopal,
>>>
>>>I think HelloWorld.wsdl should be services.wsdl.
>>>
>>>
>>>-----Original Message-----
>>>From: Gopal Patwa [mailto:gopalpatwa@gmail.com]
>>>Sent: Monday, April 17, 2006 1:13 PM
>>>To: axis-user@ws.apache.org
>>>Subject: [Axis2 1.0 RC1] User defined WSDL
>>>
>>>
>>>
>>>
>>>I havve user defined wsdl and added wsdl file into META-INF directory
>>>and deploy
>>>to service archive file look like below;
>>>
>>>HelloWorld.aar
>>> META-INF
>>> HelloWorld.wsdl
>>> services.xml
>>> com
>>> test
>>> helloworld
>>> hello.class
>>>
>>>But still when I access my wsdl from browser it is different than user
>>>defined
>>>
>>>I am still wonder why it doesn't show the wsdl which I provided in
>>>service archive instead of generating new one.
>>>
>>>How to stop Axis2 to generating wsdl and use which is provided in
>>>service archive under meta-inf folder.
>>>
>>>Is there something I am doing wrong??
>>>
>>>Please help
>>>
>>>Thanks
>>>Gopal
>>>--
>>>View this message in context:
>>>http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a39
>>>45891
>>>Sent from the Axis - User forum at Nabble.com.
>>>
>>>
>>>
>>>
>>--
>>Ajith Ranabahu
>>
>>
>>
>>
>--
>View this message in context: http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a3946202
>Sent from the Axis - User forum at Nabble.com.
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
Re: [Axis2 1.0 RC1] User defined WSDL
Posted by Gopal Patwa <go...@gmail.com>.
Thanks for reply,
I have same service name (HelloWorld) and service archive (HelloWorld.aar)
Even I tried changing wsdl file name from HelloWorld.wsdl to services.wsdl
but nothing change it's still same result
Does anybody tried using user defined wsdl and it worked successfuly showing
user defined wsdl when try to acccess from url
http://localhost:8080/axis2/services/HelloWorld?wsdl instead of new one
-Gopal
Ajith Ranabahu wrote:
>
> Hi,
> is the service name equal to the name of your sevice (name of the .aar
> file) ?
>
> Ajith
>
> On 4/17/06, Inoguchi, Kinichiro <Ki...@hp.com> wrote:
>> Gopal,
>>
>> I think HelloWorld.wsdl should be services.wsdl.
>>
>>
>> -----Original Message-----
>> From: Gopal Patwa [mailto:gopalpatwa@gmail.com]
>> Sent: Monday, April 17, 2006 1:13 PM
>> To: axis-user@ws.apache.org
>> Subject: [Axis2 1.0 RC1] User defined WSDL
>>
>>
>>
>>
>> I havve user defined wsdl and added wsdl file into META-INF directory
>> and deploy
>> to service archive file look like below;
>>
>> HelloWorld.aar
>> META-INF
>> HelloWorld.wsdl
>> services.xml
>> com
>> test
>> helloworld
>> hello.class
>>
>> But still when I access my wsdl from browser it is different than user
>> defined
>>
>> I am still wonder why it doesn't show the wsdl which I provided in
>> service archive instead of generating new one.
>>
>> How to stop Axis2 to generating wsdl and use which is provided in
>> service archive under meta-inf folder.
>>
>> Is there something I am doing wrong??
>>
>> Please help
>>
>> Thanks
>> Gopal
>> --
>> View this message in context:
>> http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a39
>> 45891
>> Sent from the Axis - User forum at Nabble.com.
>>
>>
>
>
> --
> Ajith Ranabahu
>
>
--
View this message in context: http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a3946202
Sent from the Axis - User forum at Nabble.com.
Re: [Axis2 1.0 RC1] User defined WSDL
Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi,
is the service name equal to the name of your sevice (name of the .aar file) ?
Ajith
On 4/17/06, Inoguchi, Kinichiro <Ki...@hp.com> wrote:
> Gopal,
>
> I think HelloWorld.wsdl should be services.wsdl.
>
>
> -----Original Message-----
> From: Gopal Patwa [mailto:gopalpatwa@gmail.com]
> Sent: Monday, April 17, 2006 1:13 PM
> To: axis-user@ws.apache.org
> Subject: [Axis2 1.0 RC1] User defined WSDL
>
>
>
>
> I havve user defined wsdl and added wsdl file into META-INF directory
> and deploy
> to service archive file look like below;
>
> HelloWorld.aar
> META-INF
> HelloWorld.wsdl
> services.xml
> com
> test
> helloworld
> hello.class
>
> But still when I access my wsdl from browser it is different than user
> defined
>
> I am still wonder why it doesn't show the wsdl which I provided in
> service archive instead of generating new one.
>
> How to stop Axis2 to generating wsdl and use which is provided in
> service archive under meta-inf folder.
>
> Is there something I am doing wrong??
>
> Please help
>
> Thanks
> Gopal
> --
> View this message in context:
> http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a39
> 45891
> Sent from the Axis - User forum at Nabble.com.
>
>
--
Ajith Ranabahu
RE: [Axis2 1.0 RC1] User defined WSDL
Posted by "Inoguchi, Kinichiro" <Ki...@hp.com>.
Gopal,
I think HelloWorld.wsdl should be services.wsdl.
-----Original Message-----
From: Gopal Patwa [mailto:gopalpatwa@gmail.com]
Sent: Monday, April 17, 2006 1:13 PM
To: axis-user@ws.apache.org
Subject: [Axis2 1.0 RC1] User defined WSDL
I havve user defined wsdl and added wsdl file into META-INF directory
and deploy
to service archive file look like below;
HelloWorld.aar
META-INF
HelloWorld.wsdl
services.xml
com
test
helloworld
hello.class
But still when I access my wsdl from browser it is different than user
defined
I am still wonder why it doesn't show the wsdl which I provided in
service archive instead of generating new one.
How to stop Axis2 to generating wsdl and use which is provided in
service archive under meta-inf folder.
Is there something I am doing wrong??
Please help
Thanks
Gopal
--
View this message in context:
http://www.nabble.com/-Axis2-1.0-RC1-User-defined-WSDL-t1460029.html#a39
45891
Sent from the Axis - User forum at Nabble.com.