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 srusda <sr...@yahoo.co.uk> on 2006/10/12 11:19:21 UTC

Re: Parameters in wsdl

I got same result when i tried to get generated wsdl by typing 
http://localhost:8080/axis/services/MyService?wsdl.
the service is EJB, and i publish as webservice by define it in
server-config.wsdd.
may be i forgot some properties, that must be added in server-config.wsdd.
??
anyhelp will be appreciated. thanks.

regards,
srusda



Anne Thomas Manes wrote:
> 
> How did you create this service?
> 
> If you deployed it using the .jws method, you can't change the parameter
> names.
> 
> If you used java2wsdl, then you need to make sure that you use a class
> with debug turned on. I also suggest that you specify that you want
> style=wrapped and use=literal:
> 
>   -y, --style <argument>
>     The style of binding in the WSDL, either DOCUMENT, RPC, or WRAPPED.
>   -u, --use <argument>
>     The use of items in the binding, either LITERAL or ENCODED
> 
> Anne
> 
> 
> On 9/13/06, Nguyen Tuan Anh <an...@gmail.com> wrote:
>> Hi,
>>
>> I tried to get the wsdl from a deployed service by typing
>> http://localhost:8080/axis/services/MyService?wsdl but all the
>> parameters of all the methods named in0, in1, in2...
>>
>> How can I get the real name of the parameters?
>>
>> Thank in advance.
>>
>> Tuan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Parameters-in-wsdl-tf2263966.html#a6772778
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Parameters in wsdl

Posted by Anne Thomas Manes <at...@gmail.com>.
There is no other solution -- use java2wsdl and wsdl2java or accept
the fact that Axis will generate non-informative element names.

Annr

On 10/16/06, Rusda, Sabri <Sa...@wincor-nixdorf.com> wrote:
> Hi Anne,
>
> Thanks for your respnse..
> I already compiled java source with debug option. But I'm not using
> java2wsdl, I just create the server-config.wsdd file. Any ohers
> suggestion to solve this problem ?
>
> Regards,
> srusda
>
>
> -----Original Message-----
> From: Anne Thomas Manes [mailto:atmanes@gmail.com]
> Sent: Sunday, October 15, 2006 11:59 PM
> To: axis-user@ws.apache.org
> Subject: Re: Parameters in wsdl
>
> See my last response -- you must run java2wsdl on the class compiled
> with debug turned on. Then run wsdl2java on the generated WSDL. If you
> don't run java2wsdl, you won't be able to change the generated
> paramater names.
>
> Anne
>
> On 10/12/06, srusda <sr...@yahoo.co.uk> wrote:
> >
> > I got same result when i tried to get generated wsdl by typing
> > http://localhost:8080/axis/services/MyService?wsdl.
> > the service is EJB, and i publish as webservice by define it in
> > server-config.wsdd.
> > may be i forgot some properties, that must be added in
> server-config.wsdd.
> > ??
> > anyhelp will be appreciated. thanks.
> >
> > regards,
> > srusda
> >
> >
> >
> > Anne Thomas Manes wrote:
> > >
> > > How did you create this service?
> > >
> > > If you deployed it using the .jws method, you can't change the
> parameter
> > > names.
> > >
> > > If you used java2wsdl, then you need to make sure that you use a
> class
> > > with debug turned on. I also suggest that you specify that you want
> > > style=wrapped and use=literal:
> > >
> > >   -y, --style <argument>
> > >     The style of binding in the WSDL, either DOCUMENT, RPC, or
> WRAPPED.
> > >   -u, --use <argument>
> > >     The use of items in the binding, either LITERAL or ENCODED
> > >
> > > Anne
> > >
> > >
> > > On 9/13/06, Nguyen Tuan Anh <an...@gmail.com> wrote:
> > >> Hi,
> > >>
> > >> I tried to get the wsdl from a deployed service by typing
> > >> http://localhost:8080/axis/services/MyService?wsdl but all the
> > >> parameters of all the methods named in0, in1, in2...
> > >>
> > >> How can I get the real name of the parameters?
> > >>
> > >> Thank in advance.
> > >>
> > >> Tuan
> > >>
> > >>
> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > >> For additional commands, e-mail: axis-user-help@ws.apache.org
> > >>
> > >>
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> > >
> >
> > --
> > View this message in context:
> http://www.nabble.com/Parameters-in-wsdl-tf2263966.html#a6772778
> > Sent from the Axis - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

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


RE: Parameters in wsdl

Posted by "Rusda, Sabri" <Sa...@wincor-nixdorf.com>.
Hi Anne,

Thanks for your respnse..
I already compiled java source with debug option. But I'm not using
java2wsdl, I just create the server-config.wsdd file. Any ohers
suggestion to solve this problem ?

Regards,
srusda


-----Original Message-----
From: Anne Thomas Manes [mailto:atmanes@gmail.com] 
Sent: Sunday, October 15, 2006 11:59 PM
To: axis-user@ws.apache.org
Subject: Re: Parameters in wsdl

See my last response -- you must run java2wsdl on the class compiled
with debug turned on. Then run wsdl2java on the generated WSDL. If you
don't run java2wsdl, you won't be able to change the generated
paramater names.

Anne

On 10/12/06, srusda <sr...@yahoo.co.uk> wrote:
>
> I got same result when i tried to get generated wsdl by typing
> http://localhost:8080/axis/services/MyService?wsdl.
> the service is EJB, and i publish as webservice by define it in
> server-config.wsdd.
> may be i forgot some properties, that must be added in
server-config.wsdd.
> ??
> anyhelp will be appreciated. thanks.
>
> regards,
> srusda
>
>
>
> Anne Thomas Manes wrote:
> >
> > How did you create this service?
> >
> > If you deployed it using the .jws method, you can't change the
parameter
> > names.
> >
> > If you used java2wsdl, then you need to make sure that you use a
class
> > with debug turned on. I also suggest that you specify that you want
> > style=wrapped and use=literal:
> >
> >   -y, --style <argument>
> >     The style of binding in the WSDL, either DOCUMENT, RPC, or
WRAPPED.
> >   -u, --use <argument>
> >     The use of items in the binding, either LITERAL or ENCODED
> >
> > Anne
> >
> >
> > On 9/13/06, Nguyen Tuan Anh <an...@gmail.com> wrote:
> >> Hi,
> >>
> >> I tried to get the wsdl from a deployed service by typing
> >> http://localhost:8080/axis/services/MyService?wsdl but all the
> >> parameters of all the methods named in0, in1, in2...
> >>
> >> How can I get the real name of the parameters?
> >>
> >> Thank in advance.
> >>
> >> Tuan
> >>
> >>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Parameters-in-wsdl-tf2263966.html#a6772778
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

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


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


Re: Parameters in wsdl

Posted by Anne Thomas Manes <at...@gmail.com>.
See my last response -- you must run java2wsdl on the class compiled
with debug turned on. Then run wsdl2java on the generated WSDL. If you
don't run java2wsdl, you won't be able to change the generated
paramater names.

Anne

On 10/12/06, srusda <sr...@yahoo.co.uk> wrote:
>
> I got same result when i tried to get generated wsdl by typing
> http://localhost:8080/axis/services/MyService?wsdl.
> the service is EJB, and i publish as webservice by define it in
> server-config.wsdd.
> may be i forgot some properties, that must be added in server-config.wsdd.
> ??
> anyhelp will be appreciated. thanks.
>
> regards,
> srusda
>
>
>
> Anne Thomas Manes wrote:
> >
> > How did you create this service?
> >
> > If you deployed it using the .jws method, you can't change the parameter
> > names.
> >
> > If you used java2wsdl, then you need to make sure that you use a class
> > with debug turned on. I also suggest that you specify that you want
> > style=wrapped and use=literal:
> >
> >   -y, --style <argument>
> >     The style of binding in the WSDL, either DOCUMENT, RPC, or WRAPPED.
> >   -u, --use <argument>
> >     The use of items in the binding, either LITERAL or ENCODED
> >
> > Anne
> >
> >
> > On 9/13/06, Nguyen Tuan Anh <an...@gmail.com> wrote:
> >> Hi,
> >>
> >> I tried to get the wsdl from a deployed service by typing
> >> http://localhost:8080/axis/services/MyService?wsdl but all the
> >> parameters of all the methods named in0, in1, in2...
> >>
> >> How can I get the real name of the parameters?
> >>
> >> Thank in advance.
> >>
> >> Tuan
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Parameters-in-wsdl-tf2263966.html#a6772778
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

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