Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24864

Re: Axis2 web service How to Make Web Service Address Configurable

From Arved Sandstrom <asandstrom2@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Axis2 web service How to Make Web Service Address Configurable
References <160ade1f-4f9c-43a9-aeb8-d9d4f600184f@googlegroups.com> <YZeKt.101731$iM7.68974@fx05.iad> <ee19731e-d2b2-4bc8-9d04-07edb3133576@googlegroups.com> <a83d7f21-4c0d-48bf-910a-092147ce8f3f@googlegroups.com> <a9a036a4-b77a-4b58-8e9a-910d048f5bd6@googlegroups.com>
Message-ID <buiKt.128226$zd5.117946@fx18.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2013-07-31 22:04 -0300

Show all headers | View raw


On 07/31/2013 09:47 PM, Lew wrote:
> zigz...@yahoo.com wrote:
>> Lew wrote:
>>> I always used to just WSDL the URL with a "localhost/..." and just had Axis call the actual
>>> URL at run time.
>>
>> Thanks, I will do just that.
>
> One caveat - this was an old version of Axis a few years ago. I can't guarantee the behavior is the
> same now.
>
> In those days, at least, the system somehow figured out the right URL at run time.
>
I think we're all talking the same approach here. For WSDL-first the 
generated @WebServiceClient annotation is more documentation and tools 
support than anything else; the code that calls the client stub can 
choose what actual endpoint URL and QName to supply. The WSDL URL can be 
externally configured; the annotation can be reflected to manufacture 
the QName...after all, if this latter changes then the WSDL itself 
changed and you have generated new client code.

AHS

-- 
When a true genius appears, you can know him by this sign:
that all the dunces are in a confederacy against him.
-- Jonathan Swift

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Axis2 web service How to Make Web Service Address Configurable zigzagdna@yahoo.com - 2013-07-30 21:30 -0700
  Re: Axis2 web service How to Make Web Service Address Configurable Sebastian <news@seyweiler.dyndns.org> - 2013-07-31 07:26 +0200
    Re: Axis2 web service How to Make Web Service Address Configurable zigzagdna@yahoo.com - 2013-07-31 09:28 -0700
  Re: Axis2 web service How to Make Web Service Address Configurable Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-07-31 18:04 -0300
    Re: Axis2 web service How to Make Web Service Address Configurable Lew <lewbloch@gmail.com> - 2013-07-31 14:14 -0700
      Re: Axis2 web service How to Make Web Service Address Configurable zigzagdna@yahoo.com - 2013-07-31 15:07 -0700
        Re: Axis2 web service How to Make Web Service Address Configurable Lew <lewbloch@gmail.com> - 2013-07-31 17:47 -0700
          Re: Axis2 web service How to Make Web Service Address Configurable Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-07-31 22:04 -0300
  Re: Axis2 web service How to Make Web Service Address Configurable Arne Vajhøj <arne@vajhoej.dk> - 2013-07-31 23:26 -0400

csiph-web