Thank you very much Joe.

On 14/10/2011 00:14, Caristi, Joe wrote:
This can be controlled at run-time by Axis2, so it's not too important what 
gets generated by java2wsdl.  Two entries in the services.xml file affect this 
by controlling the WSDL Axis2 exposes and whether or not Axis2 will dynamically 
set the WSDLPortAddress:

         <parameter name="useOriginalwsdl">true</parameter>
         <parameter name="modifyUserWSDLPortAddress">true</parameter>

An additional parameter in axis2.xml controls what gets dynamically assigned 
when modifyUserWSDLPortAddress is true (if you need a DNS name or something):

<parameter name="httpFrontendHostUrl">http://myhost:8080</parameter>

There may be other parameters that affect this but these are the ones that we 
use.


-----Original Message-----
From: Zak Mc Kracken [mailto:zakmc...@yahoo.it]
Sent: Thursday, October 13, 2011 6:36 PM
To: java-user@axis.apache.org
Subject: How to set the server address in Maven Java2WSDL

Hi all,

as per subject, "mvn axis2-java2wsdl:java2wsdl" generates a .wsdl file
where the the<wsdl:port>  element has localhost:8080. I know little
about web services, but my understanding is that this should be changed
into the address of e.g. the production server (or am I missing
something?) How can I set a different address for this? Is there a
property that I can set up in the POM?


Many thanks in advance,

Marco



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org


STATEMENT OF CONFIDENTIALITY:



The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify WHI Solutions immediately at g...@whisolutions.com,
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to