I figured out an answer to my question.  You must make sure that your wsdl
is in the META-INF folder of your aar file and that your wsdl service
element is the same name as the service element in the services.xml file.
You must also have these two elements set as such:

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

Axis2 will then use your wsdl and the endpoint you have defined within it
and display that.

Chad

On 6/15/07, Chad DeBauch <[EMAIL PROTECTED]> wrote:

In Axis1 in my wsdd for the service I could put this property to replace
the soap:address in my wsdl <endpointURL>
http://www.mysite.com/services/xxx</endpointURL>

I figured there was a way of doing this in Axis2 as well.  I don't have
access to be able to change windows settings nor am I using Tomcat.  Is
there a similar property in Axis2 that I can add to my services.xml or in
the Axis2.xml configuration?

Thanks,
Chad

On 6/15/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
>  Chad-
>
> The solution I provided earlier is the best one
>
> If you're amenable to installing Apache as a front end you can configure
> a VirtualHost
> http://apptools.com/phptools/virtualhost.php
>
> Make sure you do this on a dev box you have root access to!
>
> This email message and any files transmitted with it contain
> confidential
> information intended only for the person(s) to whom this email message
> is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
> ----- Original Message -----
>  *From:* Chad DeBauch <[EMAIL PROTECTED]>
> *To:* [email protected] ; Martin Gainty <[EMAIL PROTECTED]>
> *Sent:* Friday, June 15, 2007 12:09 PM
> *Subject:* Re: Have wsdl soap:address show different public url
>
> Thanks Martin...is there not a way of doing this in Axis2?
>
> Chad
>
> On 6/15/07, Martin Gainty <[EMAIL PROTECTED] <[EMAIL PROTECTED]>>
> wrote:
> >
> >  Good Morning Chad--
> >
> > 2 options:
> > 1)
> > backup
> > /drivers/etc/hosts file
> > set the entry www.mysite.com in /drivers/etc/hosts file
> > 127.0.0.1       www.mysite.com
> >
> > OR
> > 2)
> > backup
> > $CATALINA_HOME/conf/server.xml
> >
> > then change your defaultHost to www.mysite.com
> > e.g. change
> >    <Engine name="Catalina" defaultHost="localhost">
> > TO
> >     <Engine name="Catalina" defaultHost=www.mysite.com>
> >
> > Note the port specification in
> >     <Connector
> > port="8080"
> >
> >   which MUST be used to reference the tomcat site where AxisServlet is
> > deployed
> >
> > after reconfiguring $CATALINA_HOME/conf/server.xml is completed *OR*
> > /drivers/etc/hosts is reconfigured
> >
> > cycle Tomcat
> >
> > test the configuration Point your browser to
> > http://www.mysite.com:Port
> >
> > HTH
> > Martin
> > This email message and any files transmitted with it contain
> > confidential
> > information intended only for the person(s) to whom this email message
> > is
> > addressed.  If you have received this email message in error, please
> > notify
> > the sender immediately by telephone or email and destroy the original
> > message without making a copy.  Thank you.
> >
> > ----- Original Message -----
> >  *From:* Chad DeBauch <[EMAIL PROTECTED]>
> > *To:* [email protected]
> > *Sent:* Friday, June 15, 2007 11:33 AM
> > *Subject:* Have wsdl soap:address show different public url
> >
> > I would like my wsdl to show a different url then the one it auto
> > generates.  For example instead of http://localhost:9080/xxx, I would
> > like http://www.mysite.com/xxx <http://www.mysite.com/xxx+>.  I
> > changed the property in the axis2.xml to be <parameter
> > name="httpFrontendHostUrl">http://www.mysite.com</parameter>.  But
> > this didn't show up in my wsdl soap:address, it still displays localhost.
> > How do I do this?
> >
> > Thanks,
> > Chad
> >
> >
>

Reply via email to